同花顺霹雳趋势线副图指标 源码介绍
同花顺霹雳趋势线副图指标 源码
霹雳闪电,提示底部,感觉可以,乐意分销,多多指点!!!!
A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
霹雳线:EMA(A1,5),LINETHICK2,COLOR6600FF;
A2:=(霹雳线-REF(霹雳线,1))/REF(霹雳线,1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,coloryellow;
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(霹雳线,1)>90 AND A2<0,7),霹雳线,''),COLOR00FF00;
DRAWTEXT(CROSS(A1,霹雳线)AND 霹雳线<A5,霹雳线,'');
DRAWTEXT(CROSS(霹雳线,A5)AND 趋势线<80,霹雳线,'');
DRAWTEXT(CROSS(趋势线,0)AND 霹雳线<40,5,'');
底部:(A2<-10 AND A2>REF(A2,1))*25,colorred;
DRAWICON(底部 AND A3>REF(A3,1),25,4);
全赢启动:REF(IF((MA(C,5)-C)/C>0.04 AND(MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0;
全赢获利:IF(CROSS(霹雳线,A1)AND 霹雳线>70 AND 趋势线>80,90,100),COLORFF0000;
gd49015