Help with Price Percent Change Today scan

Hi guys,

I'm new to coding but having a hard time getting this to work.

I'm trying to narrow down my scans to stocks that had a "price percent change today" between -1.00% to +1.00%.

This is what I have so far:

def conditionOne = 100 * (close / close[1]) / close[1] between -1.00 and +1.00;

plot scan= conditionOne;


But I end up with stocks that have gone up +12.60% or 7.84% for the day, not between the -1.00 to +1.00 % parameters I was hoping for.

Any help with more experienced coders would be appreciated please!!
 

Similar threads

Top