VAR1:=EMA(CLOSE,3)-EMA(CLOSE,8);
VAR2:=EMA(VAR1,5);
VAR3:=2*(VAR1-VAR2);
VAR4:=EMA(VAR1,5)*5;
VAR5:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
VAR6:=IF(VAR5>0,VAR5,0),POINTDOT,COLORRED;
VAR7:=IF(VAR5<0,VAR5,0),POINTDOT,COLORGREEN;
STICKLINE(VAR5>0,0,VAR5,2.8,0),COLORRED;
STICKLINE(VAR5>0,0,VAR5,2.8,0),COLOR000088;
STICKLINE(VAR5>0,0,VAR5,2.6,0),COLOR000099;
STICKLINE(VAR5>0,0,VAR5,2.4,0),COLOR0000AA;
STICKLINE(VAR5>0,0,VAR5,2.2,0),COLOR0000BB;
STICKLINE(VAR5>0,0,VAR5,2,0),COLOR0000CC;
STICKLINE(VAR5>0,0,VAR5,1.8,0),COLOR0000DD;
STICKLINE(VAR5>0,0,VAR5,1.5,0),COLOR0000EE;
STICKLINE(VAR5>0,0,VAR5,1.0,0),COLOR0000FF;
STICKLINE(VAR5>0,0,VAR5,0.0,0),COLOR0000FF;
STICKLINE(VAR5<0,0,VAR5,2.8,0),COLORGREEN;
STICKLINE(VAR5<0,0,VAR5,2.8,0),COLOR007700;
STICKLINE(VAR5<0,0,VAR5,2.6,0),COLOR008800;
STICKLINE(VAR5<0,0,VAR5,2.6,0),COLOR009900;
STICKLINE(VAR5<0,0,VAR5,2.4,0),COLOR00BB00;
STICKLINE(VAR5<0,0,VAR5,2.0,0),COLOR00CC00;
STICKLINE(VAR5<0,0,VAR5,1.8,0),COLOR00DD00;
STICKLINE(VAR5<0,0,VAR5,1.5,0),COLOR00EE00;
STICKLINE(VAR5<0,0,VAR5,1,0),COLOR00FF00;
STICKLINE(VAR5<0,0,VAR5,0,0),,COLOR00FF00;
资金动能:VAR5,COLORYELLOW,LINETHICK2;
资金量能:VAR4,COLORFFFF00,LINETHICK2;
DRAWICON((crOSS(资金动能,资金量能) AND 资金量能<-0.25),资金量能,1);
DRAWICON((CROSS(资金量能,资金动能) AND 资金动能>0.25),资金动能,2);
0,COLORWHITE,DOTLINE;