在线检测未来函数

通达信变异BOLL线主图指标公式

来源:Internet,编辑:股旁网,2024-09-02

boll1:MA(CLOSE,15);
UB:BOLL1+2*STD(CLOSE,15);
LB:BOLL1-2*STD(CLOSE,15);
DRAWKLINE(H,O,L,C);
IF(LB>L,L,DRAWNULL),COLORRED,LINETHICK3;
DRAWICON(crOSS(H,LB),L,1);
IF(H>UB,H,DRAWNULL),COLORBLUE,LINETHICK3;
DRAWICON(CROSS(UB,C),H,2);
IF(C>BOLL1,BOLL1,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(C<BOLL1,BOLL1,DRAWNULL),COLORGREEN,LINETHICK3;
涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块}

通达信变异BOLL线主图指标公式

相关文章