var1:=HIGH-LOW;
var2:=ABS(OPEN-CLOSE );
var3:=HIGH-IF(CLOSE>OPEN,CLOSE,O);
var4:=IF(CLOSE>OPEN,O,CLOSE)-LOW;
var5:=(var2/var1)*VOL;
var6:=(var3/var1)*VOL;
var7:=(var4/var1)*VOL;
var8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
var9:=(C-MA(C,5))/MA(C,5)*100;
var10:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
var11:=MA(C,5) var12:=100*(1-WINNER(C)); var13:=100*WINNER(C); 多头:STICKLINE(C>MA(C,30),0,VOL,8,1),colorred; 空头:STICKLINE(C 上攻:STICKLINE(var5>=var6 AND var5>=var7 AND C>O,0,var5,8,0),colorred; 下攻:STICKLINE(var5>=var6 AND var5>=var7 AND C 上探:STICKLINE(var6>VAR5 AND var6>var7,0,var6,8,0),colorcyan; 下探:STICKLINE(var7>var5 AND var7>var6,0,var7,8,0),colorff6600; 相对地量:=STICKLINE( var8>2 AND VOL DRAWTEXT(var8>2 AND V 放量:STICKLINE(VOL>MA(VOL,5)*1.5,VOL,VOL+VOL*0.03,8,0),colorwhite; V1:=H-L; V2:=ABS(O-C); V3:=H-IF(C>O,C,O); V4:=IF(C>O,O,C)-L; V5:=V2/V1*V; V6:=V3/V1*V; V7:=V4/V1*V; M5:=MA(V,5),colorwhite; M10:=MA(V,10),coloryellow; V8:=IF(V/CAPITAL>0.001,1,EXP(ABS(LOG(V/CAPITAL*100)))); M5,colorwhite; M10,coloryellow; 金指:EMA(IF(L<=LLV(L,30),1,0),3)*2*V,colorwhite,Linethick2; RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K1:=SMA(RSV1,3,1); D1:=SMA(K1,3,1); J1:=3*K1-2*D1; RSV:=(C-LLV(L,26))/(HHV(H,26)-LLV(L,26))*100; K:=SMA(RSV, 6, 1); D:=SMA(K, 3, 1); J:=3*K-2*D; LC:=REF(C,1); XA:=IF(CROSS(J1,J) AND J<20,-1,0)+IF(CROSS(J,J1) AND J>80,1,0); TYP:=(H+L+C)/3; CCJ:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2; RSI1:=SMA(MAX(C-LC, 0), 6, 1)/SMA(ABS(C-LC), 6, 1)*100; K2:=EMA((C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100, 9); XB:=IF(CCJ>100 AND K2>50 AND C>O, 0.5, 0)+IF(RSI1>80 AND K2>50 AND C>O, 0.5, 0); RSV3:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100; K13:=SMA(RSV3, 21, 1); D13:=SMA(K1, 3, 1); J13:=3*K13-2*D13; XC:=IF(J13>80 AND RSI1>85, 0.5, 0); 警戒:V*(XA+XB+XC>0),Color009000,linethick2; DRAWICON(CROSS(M5,M10),100,1); DRAWICON(CROSS(M10,M5),100,2); DRAWICON(CROSS(4000,金指),100,4); DRAWICON(CROSS(M5,警戒),100,5); DRAWTEXT(V7>V5 AND V7>V6 AND C DRAWTEXT(FILTER(V5>MA(V,5)*2 AND V5>=V6 AND V5>=V7 AND C>O OR V>MA(VOL,5)*3,2),1.2*V,'强势参与'),colorred; DRAWTEXT(V5>=V6 AND V5>=V7 AND C DRAWTEXT(V6>V5 AND V6>V7 AND C>MA(C,5) AND C>MA(C,34) AND H>MA(C,55) AND V>M5 AND V6>MA(V,5),V,'逢高出货'),colorgreen;