Scan Criteria

Hi Everyone,

I couldn’t set up following criteria in the scan. Can you help me with that?

Price is above 20MA by maximum 10 percent.

 

Regards

this is how I script for that:

MA1 = MA(BARS=20, CALC=Close);
((close() - MA1)/MA1) > 0.1