通达信多空变色扇形指标公式
2021/4/7 18:52:34
SJ:=1;
H1:EMA(C,12)*SJ;
H2:EMA(H1,50)*SJ;
VAR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;
VAR2:=SMA(VAR1,5,1);
VAR3:=SMA(VAR2,8,1);
VAR4:=CROSS(VAR2,VAR3) AND VAR3< 20;
VAR5:=C>LLV(C,60)*1.13 AND VAR4;
VAR6:=IF(C>200,VAR4,VAR5);
STICKLINE(H1>H2,H1,H2,0,1),COLORRED;
STICKLINE(H1< H2,H1,H2,0,1),COLORGREEN;
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
IF((H1>=CLOSE),H1,DRAWNULL),LINETHICK1,COLORGREEN;
IF((H1<CLOSE),H1,DRAWNULL),LINETHICK1,COLORRED;
XCLOSE2:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
IF((H2>=XCLOSE2),H2,DRAWNULL),LINETHICK2,COLORBLUE;
IF((H2<XCLOSE2),H2,DRAWNULL),LINETHICK2,COLORMAGENTA;
投股票 网 www.tou18.c n
股市公式下载推荐