VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
VAR3:=IF(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2)),1,0);
VAR4:=IF(FILTER(VAR3=1,5),20,(-10))=20;
VAR5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR6:=SMA(VAR5,3,1);
VAR7:=SMA(VAR6,3,1);
VAR8:=3*VAR6-2*VAR7;
VAR9:=REVERSE(VAR8);
VAR10:=REF(MA(CLOSE,1),10)>REF(MA(CLOSE,60),10);
买点:CROSS(VAR8,VAR9) AND VAR10 AND VAR4 AND CLOSE/REF(CLOSE,1)>1.056;