VAR1:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR2:=EMA(VAR1,30);
VAR3:=2*(VAR1-VAR2)*10;
VAR4:=POW(VAR3,3)*0.1+POW(VAR3,2);
VAR5:=IF(VAR3>0.015,VAR4,0)/45;
优佳:=VAR5;
VAR6:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR7:=EMA(VAR6,100);
VAR8:=2*(VAR6-VAR7);
VAR9:=POW(VAR8,3)*0.1+POW(VAR8,1);
优选:=IF(VAR8>0.1,VAR9,0)*5;
VAR10:=优佳+优选;
关注:=VAR10>0 AND REF(VAR10,1)=0;
STICKLINE(关注>0,O,C,1,0),COLORMAGENTA;
DRAWTEXT(关注>0,L*0.99,' ★优选'),COLORYELLOW;
DRAWICON(关注>0,LOW*0.98,9);