通达信抄底先锋指标公式
2020/2/3 18:34:15
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.kanguba.com'),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;
看股吧公 式 w ww.kanguba.com
其它股票公式列表