VAR1:=EMA(CLOSE,60)-EMA(CLOSE,300);
VAR2:=EMA(VAR1,300);
VAR3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:SMA(VAR3,2,1);
V5:SMA(V4,2,1);
VAR4:=CLOSE/REF(CLOSE,3)>=1.1;
VAR5:=BACKSET(VAR4,3);
买入:IF(VAR5 AND COUNT(VAR5,3)=1,30,0),COLORYELLOW,LINETHICK3;
DRAWTEXT(买入,35,1),COLORYELLOW,LINETHICK3;