通达信波段指标附图源码

额:=MA(AMOUNT,22)/AMOUNT;

州:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);

杭:(CLOSE-REF(CLOSE,5))/CLOSE*100,COLOR0000FF,LINETHICK3;

龙:MA(杭,3);分界:0;
 IF(杭<=0,杭,DRAWNULL),COLOR00FF00,LINETHICK3;

DRAWTEXT(CROSS(0,杭),-0,'空'),COLOR00FFFF;
 DRAWTEXT(CROSS(杭,0),-0,'买'),COLORFF00FF;

DRAWTEXT(CROSS(杭,龙),龙,'底'),COLORFF00FF;