#通达信#【涨跌分明】的副图指标源码:涨...
#通达信#【涨跌分明】的副图指标
源码:
涨跌分明:=REF(EMA(C,20),1);
ccc:=(EMA(C,10)-涨跌分明)/涨跌分明*100;
通达信:=IF(ccc>=0,REF(EMA(C,10),BARSLAST(CROSS(ccc,0))+1),DRAWNULL);
指标公式:=IF(ccc<0,REF(EMA(C,10),BARSLAST(CROSS(0,ccc))+1),DRAWNULL);
STICKLINE(ccc>=0,通达信,涨跌分明,10,0),COLOR000099;
STICKLINE(ccc<0,指标公式,涨跌分明,10,0),COLOR00CC66;
赞 (0)