以下是通达信三微分BIAS乖离率【源码副图、附图、说明】(无源码的请下载附件导入)
BIAS1:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS2:=(CLOSE-MA(CLOSE,14))/MA(CLOSE,14)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
电:=SUM(BIAS1+BIAS2+BIAS3,1);
DRAWBAND(电,255,0,RGB(34,139,34));
西电:=(-1)*电,VOLSTICK;
DRAWICON(CROSS(-0.01,西电),0,1);
DRAWICON(CROSS(西电,0.01),0,2);
651299217.png
|