VAR1Y:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2Y:=SMA(VAR1Y,3,1);
VAR3Y:=SMA(VAR2Y,3,1);
VAR4Y:=SMA(VAR3Y,3,1);
VAR6Y:=crOSS(VAR3Y,VAR4Y) AND VAR3Y<20;
买:FILTER(VAR6Y,10)=1;
VAR1Y:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2Y:=SMA(VAR1Y,3,1);
VAR3Y:=SMA(VAR2Y,3,1);
VAR4Y:=SMA(VAR3Y,3,1);
VAR6Y:=crOSS(VAR3Y,VAR4Y) AND VAR3Y<20;
买:FILTER(VAR6Y,10)=1;