同花顺顶底爆发副图源码
2017-09-28网络 编 辑:翔博软件
本指标不含未来函数,方向使用,绿线变红,可以考虑买入。
A:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100-50;
AA:=SMA(A,13,1);
地红线:SMA(AA,3,1),LINETHICK2,colorred;
IF(地红线<REF(地红线,1),地红线,DRAWNULL),colorblue,LINETHICK2;
TMD:=C-REF(C,1);
金线:100*EMA(EMA(TMD,5),5)/EMA(EMA(ABS(TMD),5),5),colorwhite,LINETHICK1;
银线:=MA(金线,5),COLOR00FF00,LINETHICK1;
STICKLINE(金线>银线 , 金线,银线 ,3,2),colorred,LINETHICK2;
STICKLINE(银线>金线,金线,银线,3,2),colorgreen,LINETHICK2;
爆发线:=30,COLORFF00FF,LINETHICK1;
起步线:=0,colorwhite,LINETHICK1;
抄底线:=-25,colorwhite,LINETHICK1;
天线:IF(金线>=50,金线,50),colorred,LINETHICK2;
地线:IF(金线<=-50,金线,-50),colorgreen,LINETHICK2;
DRAWTEXT(CROSS(金线,爆发线),银线,'爆') ,colorwhite;
DRAWTEXT(CROSS(金线,起步线),银线,'加!') ,colorwhite;
DRAWTEXT(CROSS(金线,抄底线),银线,'半!') ,colorwhite;