在线检测未来函数

通达信烟斗形反弹指标公式

来源:Internet,编辑:股旁网,2013-06-16

M3:=MA(C,3);
A11:IF(CURRBARSCOUNT=11,0+M3/2,DRAWNULL),COLORSTICK;
A10:IF(CURRBARSCOUNT=10,1+M3/2,DRAWNULL),COLORSTICK;
A9:IF(CURRBARSCOUNT=9,2+M3/2,DRAWNULL),COLORSTICK;
A8:IF(CURRBARSCOUNT=8,3+M3/2,DRAWNULL),COLORSTICK;
A7:IF(CURRBARSCOUNT=7,2+M3/2,DRAWNULL),STICK,COLORCYAN;
A6:IF(CURRBARSCOUNT=6,1+M3/2,DRAWNULL),STICK,COLORCYAN;
A5:IF(CURRBARSCOUNT=5,0+M3/2,DRAWNULL),STICK,COLORCYAN;
A4:IF(CURRBARSCOUNT=4,-1+M3/2,DRAWNULL),STICK,COLORCYAN;
A3:IF(CURRBARSCOUNT=3,-2+M3/2,DRAWNULL),STICK,COLORCYAN;
A2:IF(CURRBARSCOUNT=2,-2+M3/2,DRAWNULL),STICK,COLORCYAN;
A1:IF(CURRBARSCOUNT=1,0.1+M3/2,DRAWNULL),STICK,COLORRED;
DRAWTEXT(CURRBARSCOUNT=11,A11,'↗'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=10,A10,'↗'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=9,A9,'↗'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=8,A8,'→'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=7,A7,'↘'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=6,A6,'↘'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=5,A5,'↘'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=4,A4,'↘'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=3,A3,'↘'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=2,A2,'→'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,A1,'↗'),COLORYELLOW;

通达信烟斗形反弹指标公式

 

相关文章