资金动能指标(大智慧)

REFLINE:0;

主力1:=sum((BIGORDER(1,3) - BIGORDER(2,3)) * vol/CAPITAL * 100,8);

主力 2:=sum(((BIGORDER(1,2)-BIGORDER(1,3))-(BIGORDER(2,2)-BIGORDER(2,3)))*100*v/CAPITAL,8);

资金动能a:ma(主力1,8),colorwhite,LINETHICK2;

资金动能b:ma(主力2,8),coloryellow,LINETHICK2;

stickline(主力1>0,0,主力1,8,0),colorred;

stickline(主力1<0,主力1,0,8,0),colorgreen;

stickline(主力2>0,0,主力2,8,0),colorred;

stickline(主力2<0,主力2,0,8,0),colorgreen;