VAR1:=Ema(CLOSE,3)-ema(CLOSE,89);
VAR2:=EMA(VAR1,21);
VAR3:=(VAR1-VAR2)*10;
VAR4:=POW(VAR3,3)*0.1+POW(VAR3,2);
拉升资金:=IF(VAR3>0.015,VAR4,0)/45;
STICKLINE(拉升资金,0,拉升资金,-1,1),COLORWHITE;
STICKLINE(拉升资金<REF(拉升资金,1),0,拉升资金,-1,1),COLORLIGREEN;
VAR5:=EMA(CLOSE,2)-EMA(CLOSE,55);
VAR6:=EMA(VAR5,13);
VAR7:=2*(VAR5-VAR6);
主力资金:=POW(VAR7,3)*0.1+POW(VAR7,1),COLORLIGREEN;
STICKLINE(拉升资金/REF(拉升资金,1 )>2 AND 拉升资金>0.1,0,REF(拉升资金,1),-1,1),COLORBLUE;
DRAWICON(拉升资金/REF(拉升资金,1)>5 AND REF(拉升资金,1)/REF(拉升资金,2)>5,拉升资金,38);
LS:=crOSS(拉升资金,主力资金) AND 拉升资金>1;
STICKLINE(LS,0,拉升资金,1,0),COLORLIMAGENTA;
平价线:MA(拉升资金,5);
AA:=IF(拉升资金>平价线,平价线,DRAWNULL) ;
DRAWBAND(AA,RGB(250,0,0),AA,RGB(0,0,0));