MAV:=(C*2+H+L)/4;
SK:= EMA(MAV,13) - EMA(MAV,26);
SD:= EMA(SK,5);
中轴:0;
资金动能:(2*(SK-SD))*3.8;
MA3:EMA(资金动能,1),COLORGREEN,LINETHICK2;
MA5:EMA(资金动能,5),COLORYELLOW,LINETHICK2;
STICKLINE(资金动能>0,0,资金动能,2,0),COLORRED;
STICKLINE(资金动能<0,0,资金动能,2,0),COLORLIBLUE;
买入:(MA5-MA3)/MAV*6,COLORMAGENTA;
DRAWICON(CROSS(中轴,买入)AND(CROSS(MA3,MA5)),2,2),VOLSTICK;
DRAWICON(CROSS(买入,中轴)AND(CROSS(MA5,MA3)),1,2),VOLSTICK;