通达信枫叶逃顶副图指标公式源码

以下是枫叶逃顶副图指标公式源码:

零位线:0.00,COLORBLUE,LINETHICK2;
TD10:=IF(C>MA(C,5),2,1);
TD20:=IF(C>MA(C,20),2,1);
TD40:=IF(C>MA(C,40),2,1);
TD60:=IF(C>MA(C,60),2,1);
TD120:=IF(C>MA(C,120),2,1);
TD250:=IF(C>MA(C,250),2,1);
TD5:=(TD10*TD20*TD40*TD60*TD120);
AB1:EMA(TD5,3),COLORFFCC00;
STICKLINE(AB1>25,25,AB1,4,0),COLOR55EEEE;
STICKLINE(AB1>28,28,AB1,4,0),COLORRED;
STICKLINE(AB1<2.5,2.5,AB1,4,0),COLORGREEN;
STICKLINE(AB1<1.8,1.8,AB1,4,0),COLORBLUE;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' 指标网 '),COLOR99EEEE;
AB2:EMA(AB1,1),COLORFFCC00,LINETHICK2;