实际量: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),COLORGREEN;}
{ _大智慧股票指标公式}
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,4,1),COLORRED;
STICKLINE(C<REF(C,1) ,0,VOL,4,1),COLORGREEN;
STICKLINE(主买>0 ,0,主买,4,0),COLORRED;
STICKLINE(主卖<0 ,0,主卖,4,0),COLORGREEN;
资金异动:VOL/ma(vol,55)*100,COLORyellow;
STICKLINE(资金异动>100,0,vol,2,0),COLORyellow;
A股:CAPITAL/1000000,colorwhite;
ma5:ma(v,5),colorwhite;
ma13:ma(v,13),colorred;
DRAWtext(cross(ma(v,5),ma(v,13)),(v *1.05),'★'),coloryellow;