量:vol,VOLstick;
MID : MA(vol,20),colorwhite;
饱和:MID + 2*STddeV(v,20),coloryellow;
LlW:=MID - 2*STDDEV(v,20);
stickline(vol>=饱和,0,vol,6,0),colorred;
stickline(vol<饱和 and v>=mid,0,vol,6,0),color0099ff;
stickline(vol<mid and v>llw ,0,vol,6,0),colorff9900;
stickline(vol<=llw,0,vol,6,0),color00ff00;
DRAWTEXTAbs(5,5,' '),linethick1,COLOR00EEff;
月涨幅:(c-llv(c,20))/llv(c,20)*100,linethick0,coloryellow;
月跌幅:(hhv(h,20)-c)/hhv(h,20)*100,linethick0,colorwhite;
Ccdp:=(high+low+2*close)/4;
aa:=Ccdp*vol;
Sq:=SUM(aa,0)/SUM(vol,0);
长期获利比:(close-Sq)/Sq*100,linethick0,color00ff00;