通达信抄底先锋指标公式
2020/2/3 19:05:31
M:=1;N:=18;
VAR2:=MA(CLOSE,N);
VAR3:=(CLOSE-VAR2)/VAR2*100;
VAR4:=MA(VAR3,M);
升跌: VAR4;
VAR5:=BARSLAST(CROSS(-10,VAR4)=1);
VAR6:=BARSLAST(CROSS(VAR4,10)=1);
VAR7:=VAR4<-10 AND VAR5>=5;
VAR8:=VAR4>10 AND VAR6>=5;
DRAWTEXT(C=C AND CURRBARSCOUNT=129,0,'投股票网 www.tou18.cn'),COLORD8D8BF;
C1: IF(VAR4<-10 AND VAR5>=5,VAR4,0), , COLORWHITE;
C2: C1, COLORSTICK;
C3: IF(VAR4>10 AND VAR6>=5,VAR4,0), , COLORWHITE;
C4: C3, COLORSTICK;
D: 升跌>REF(升跌,1) AND VAR7*25, , COLORRED;
投 股票网 www. tou18.cn
股市公式下载推荐