通达信波段涨跌幅度指标公式
通达信介入吃肉主图及选股指标公式
通达信波段涨跌幅度指标公式:
ZL:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
F11:=zig(3,15);
FXX:=IF((F11> REF(F11,1)),5,105);
转向:=crOSS(ZL,FXX);
高点:=CROSS(FXX,ZL);
stICKLINE(转向,0,100,0,-1),COLOR00009F;
STICKLINE(高点,0,100,0,-1),COLOR009F00;
DRAWICON(转向,LOW,5);
DRAWICON(高点,H,6);
TS:=BArslAST(转向);
波段涨幅:=(C-REF(L,TS+1))/REF(L,TS+1)*100;
GD:=BARSLAST(高点);
波段跌幅:=(C-REF(H,GD+1))/REF(H,GD+1)*100;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.27,0,'波段涨幅:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.27,0,' %'),COLORRED;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.11,0.27,0,波段涨幅),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.33,0,'波段跌幅:'),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.33,0,' %'),COLOR00FF00;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.11,0.33,0,波段跌幅),COLOR00FF00;
通达信双向倍阳胜阴选股指标公式