VAR1XX:=REF(CLOSE,1);
VAR2XX:=SMA(MAX(CLOSE-VAR1XX,0),7,1)/SMA(Abs(CLOSE-VAR1XX),7,1)*100,COLORYELLOW;
买入:FILTER(REF(VAR2XX,1)<20 AND VAR2XX>REF(VAR2XX,1),5);
VAR1XX:=REF(CLOSE,1);
VAR2XX:=SMA(MAX(CLOSE-VAR1XX,0),7,1)/SMA(Abs(CLOSE-VAR1XX),7,1)*100,COLORYELLOW;
买入:FILTER(REF(VAR2XX,1)<20 AND VAR2XX>REF(VAR2XX,1),5);