通达信买卖线主图指标公式

通达信止跌反弹指标公式

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

DRAWKLINE(H,O,L,C);

指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);

买:IF(crOSS(指导线,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;

{www.zhibiaow.com 指标网_最新股票指标公式}

卖:IF(CROSS(界,指导线) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;

K:=(C+H+L)/3;

D:=MA(K,4);

DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.02, '卖');

DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '买'),COLORWHITE;

通达信短线至宝主图指标公式