同花顺追魂剑副图指标
源码
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,30);
Var4:=MA(CLOSE,60);
VarB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VarC:=VarB;
VarD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VarE:=EMA(VarD,9);
VarF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
Var10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
Var11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
Var12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
Var13:=REF(VarE,1);
Var14:=VarE;
Var15:=Var14-Var13;
Var16:=REF(VarD,1);
Var17:=VarD;
Var18:=Var17-Var16;
Var19:=OPEN;
Var1A:=CLOSE;
黑马剑: IF(Var19 =Var1 AND Var19 =Var2 AND Var19 =Var3 AND Var1A =Var1 AND Var1A =VarC AND Var15 0 AND Var18 0,0.8,0),LINETHICK3 , Color00FFFF;
STICKLINE(黑马剑,0,黑马剑*0.86,2,1),LINETHICK3 ,Color00FFFF;
DRAWTEXT(黑马剑 0,黑马剑,'0') ,Color00FFFF;
ma1:=EMA(CLOSE,5);
ma2:=EMA(CLOSE,10);
ma3:=EMA(CLOSE,20);
ma4:=EMA(CLOSE,30);
三线粘合剑:CROSS(MA1,MA2) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
OR CROSS(MA1,MA4) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
OR CROSS(MA2,MA3) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
OR CROSS(MA1,MA3) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018,colorff00ff;
STICKLINE(三线粘合剑,0,三线粘合剑*0.96,2,1),colorff00ff;
DRAWTEXT(三线粘合剑 0,三线粘合剑,'#') ,Color00FFFF;
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=HHV((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,200);
m1:=bias1=bias2 ;
m2:=V MA(V,5) ;
m3:=REF(bias1,1) REF(bias2,1) ;
追魂剑:IF(m1 AND m2 AND m3,0.60,0),colorffcccc,linethick2;
STICKLINE(追魂剑,0,追魂剑*0.56,2,1),colorffcccc,linethick2;
DRAWTEXT(追魂剑 0,追魂剑,'@') ,Colorffcccc;
B1:=REF(OPEN,1);
B2:=REF(CLOSE,1);
B3:=IF(B2-B1 0,1,0);
A1:=CLOSE;
A2:=LOW;
A3:=(B2-LOW)/CLOSE;
A4:=IF(A3 =0.035,B3,0);
A5:=IF(CLOSE =B2,A4,0);
追涨:=IF(CLOSE =OPEN,A5,0);
追涨1:IF(追涨 0,1,0), STICK,COLORf00ff0,linethick4;
DRAWTEXT(追涨1 0,1,'
追涨2:IF(追2 0,0.8,0),STICK,coloryellow,linethick4 ;
DRAWTEXT(追涨2 0,0.85,'%') ,coloryellow;
Var1m:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Var2m:=(EMA(CLOSE, 6)-EMA(CLOSE, 12))*100;
猎庄:Var2m 13 AND Var1m 9,STICK,ColorFFFFFF,linethick2;
YD:=(COUNT(C REF(O,1),13) =10 OR COUNT(C REF(C,2),13) =10) AND COUNT(H/L 1.048,13)
DTJJ:=DMA(C,V/MA(V,13)/13);
XJPL:=C/DTJJ 0.91;
回调买入: YD AND XJPL,colorblue,linethick2;
A11:=CLOSE/MA(CLOSE,40);
A22:=CLOSE/MA(CLOSE,60)*100
代号魔鬼:CROSS(A11,A22),COLORFFB0B0;
Var2g:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Var3g:=(CLOSE-Var2g)/Var2g*100;
专抢反弹:(REF(Var3g,1) -40 AND Var3g REF(Var3g,1) AND REF(Var3g,1) REF(Var3g,2) AND Var3g-REF(Var3g,1) 2.5)*1,colorred;