A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;
实际量:VOL,STICK,LINETHICK4,COLORRED;
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)),STICK,LINETHICK3,COLOR00FF00;
换手率%:VOL/CAPITAL*100,POINTDOT,COLORWHITE;
STICKLINE(C =REF(C,1) ,0,VOL,2.5,1),COLORRED;
STICKLINE(C REF(C,1),0,VOL,2.5,1),COLORGREEN;
STICKLINE(主买 0,0,主买,2.5,0),COLORRED;
STICKLINE(主卖 0 ,0,主卖,2.5,0),COLORGREEN;
资金异动:VOL/MA(VOL,155)*100,COLORYELLOW;
STICKLINE(资金异动 100 ,0,VOL,0.6,0),COLORYELLOW;
MA5:MA(V,5),COLORRED,LINETHICK2;
MA35:MA(V,35),COLORYELLOW,LINETHICK1;
MA135:MA(V,135),COLORBLUE,LINETHICK1;
DRAWTEXT(CROSS(MA5,MA135),(V *1.05),'异动'),COLORWHITE;
公式模块:
CROSS(MA(v,5),MA(v,135))