带:=(HIGH+LOW+CLOSE)/3;
红飘带:=(带-MA(带,14))/(0.015*AVEDEV(带,14));
绿飘带:=MA(红飘带,3);
多方区:100 , COLOR99CCFF , NODRAW;
空方区:-100 ,COLORCCFFCC NODRAW;
{ _通达信股票指标公式}
DRAWBAND(100,RGB(255,204,153),0,RGB(147, 112, 219));
DRAWBAND(0,RGB(204, 255, 204),-100,RGB(204, 255, 204));
DRAWBAND(红飘带,RGB(255, 0, 0),绿飘带,RGB(50, 255, 50));
飘带:红飘带,COLORRED NODRAW;
DRAWTEXT(crOSS(飘带,0),0,'▲')COLORYELLOW;