A股:CAPITAL/1000000,LINETHICK0,COLORyellow;
实际量:VOL,LINETHICK0;
{VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
预测:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2)/10000;
预测量:STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2),VAR1,0,7,1),COLORGRay;}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主卖:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
换手率%:VOL/CAPITAL*100,POINTDOT,COLORwhite;
STICKLINE(C>=REF(C,1) ,0,VOL,7,1),COLORRED;
STICKLINE(C<REF(C,1),0,VOL,7,1),COLORGREEN;
STICKLINE(主买>0 ,0,主买,7,0),COLORRED;
STICKLINE(主卖<0 ,0,主卖,7,0),COLORGREEN;
资金异动:VOL/ma(vol,55)*100,COLORyellow;
STICKLINE(资金异动>100 ,0,vol,3,0),COLORyellow;
ma5:ma(v,5),colorwhite;
ma13:ma(v,13),colorred;
DRAWtext(cross(ma5,ma13),(v *1.05),'★'),coloryellow;