量:=vol,VOLSTICK;
MA5:=MA(V,5),LINETHICK2;
MA35:=MA(V,35),LINETHICK2;
N1:=(C-REF(C,1))/C;
缩地量:=IF(MA35>1.8*MA5 AND V<MA(V,5) AND N1>-0.03 AND N1<0.03
AND MA(V,35)<MA(V,135) ,1,0);
{-股票公式网站 }
AA:=VOL*CLOSE;
BB:=SUM(AA,2)/SUM(VOL,2);
B1:=EMA(BB,7);
主力资金线:(BB-B1)*10000/BB;
IF(主力资金线<REF(主力资金线,1),主力资金线,DRAWNULL),COLORGREEN,LINETHICK1;
MA1:MA(主力资金线,10),COLORBROWN;
DRAWICON(缩地量,主力资金线,1);