三线买卖,手机电脑通用源码: 点:=CROSS(85,RSI1)*30,colorgreen,LINETHICK2; 卖:IF(卖点,6.5,0),STICK,LINETHICK2; 洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱B:=SMA(洗钱A,13,1); 分水岭:SMA(洗钱B,2.5,1.5),LINETHICK1,colorliblue; 牛线:3*洗钱B-2*分水岭,LINETHICK1,colorred ; 熊线:4*分水岭-3*洗钱B,LINETHICK1,colorgreen; TT:=CROSS(分水岭 ,熊线); TY:=CROSS(牛线 ,分水岭); 黄金买点:IF((TT AND TY),5,0),LINETHICK2; TEST: MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10),; MA5REF:=MA5>REF(MA5,1),; MA10REF:=MA10>REF(MA10,1),; MA5A10:= MA5REF AND MA10REF; MLHC1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60),colorred,LINETHICK2; MLHC2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20),colorwhite,LINETHICK2; MLHC3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10),coloryellow,LINETHICK2; MLHC4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13),colorlimagenta,LINETHICK2; MACREF2:=MLHC2>REF(MLHC2,1),; MACREF3:=MLHC3>REF(MLHC3,1),; MACREF4:=MLHC4>REF(MLHC3,1),; MALHC:=MACREF2 OR MACREF3 OR MACREF4 ,; VV:=(C+L+H)/3; DSA:=SMA(XMA(VV,15),2,1); DLINE:=DSA*0.9518,colorlicyan,LINETHICK1; LXD:=L<DLINE; XG_M: LXD AND C<DSA AND MALHC,colormagenta,LINETHICK2,LINESTICK; XGZSL: (XG_M AND MA5A10),coloryellow,LINETHICK4,STICK; DRAWICON(XG_M>0,1.1,1); DRAWICON(XGZSL>0,0.6,9); DRAWICON(XGZSL>0,0.3,9); 趋势分析(顶尖财经 股票学院: www.58188.com): 趋势H1:EMA(CLOSE,6); H2:EMA(趋势H1,18); H3:EMA(CLOSE,108),colorblue; STICKLINE(趋势H1>H2,趋势H1,H2,1,1),colormagenta; STICKLINE(趋势H1<H2,趋势H1,H2,1,1),colorgreen; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25); VAR2:=HIGH-REF(HIGH,1); VAR3:=REF(LOW,1)-LOW; VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25); VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25); VAR6:=VAR4*100/VAR1; VAR7:=VAR5*100/VAR1; VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15); VAR9:=(VAR8+REF(VAR8,15))/2; A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25); D:=CROSS(ZIG(3,50/5)*100,MA(ZIG(3,50/5)*100,2))*1000,colorred; W:=CROSS(MA(ZIG(3,50/5)*100,2),ZIG(3,50/5)*100)*1000,colorblue; E:=REF(INDEXC,1); F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1); VAR10:=F AND F<8; VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR12:=SMA(VAR11,3,1); VAR13:=SMA(VAR12,3,1); VAR14:=VAR13 AND VAR13<20; MM:=A AND D AND VAR10 AND VAR14; DRAWICON(D=1000,L*0.98,1); DRAWTEXT(D=1000,L*0.95,'-买进'), coloryellow; DRAWICON(W=1000,HIGH*1.02,2); DRAWTEXT(W=1000,HIGH*1.02,'卖出'), colorgreen; |