中期波段副图指标 源码 贴图
EXP12:=EXPMA(C,12);
EXP47:=EXPMA(C,47);
中期方向线:EXP12-EXP47,NODRAW;
DRAWGBK(C>0, RGB(0,0,0),RGB(17,21,89),0,'11',0);
DRAWBAND(中期方向线,RGB(190,0,0),0,RGB(0,160,0));
MB2:0,COLORWHITE;
MB:=EXPMA(中期方向线,20),COLORWHITE;
超买线:MB+1.96*STD(中期方向线,20),COLORYELLOW;
超卖线:MB-1.96*STD(中期方向线,20),COLORCYAN;
出货线:(超买线)-(中期方向线)COLORCYAN,NODRAW;
STICKLINE(((出货线<=0)AND BARSCOUNT(C)),0.02,(0+出货线),1.5,0),COLORCYAN;
补货线:(超卖线)-(中期方向线),COLOR8000FF,NODRAW;
STICKLINE(((补货线>=0)AND BARSCOUNT(C)),0.02,(0+补货线),1.5,0),COLOR8000FF;
压缩线:超买线-超卖线,COLORWHITE,NODRAW;
STICKLINE(((压缩线<=0.04)AND BARSCOUNT(C)),0,(0+压缩线),1.8,0),COLORWHITE,,NODRAW;
DRAWICON(CROSS(中期方向线,MB2),中期方向线>2,42);
DRAWICON(CROSS(MB2,中期方向线),MB2<0,43);