Scan for previous day above average volume


I’m having trouble using the wizard building a scan, rather than doing an EOD scan for Daily above avg (50 period) Vol I would like to add this condition to my scan today looking at yesterdays end of day daily volume. The condition wizard is not working for me, Here is the code I come up with, can someone be kind enough to help me out with this ?

Thanks, Freddy

VolumeAvg(50).”Vol” from -1 bars ago is greater than VolumeAvg(50).”VolAvg” from -1 bars ago within 2 bars

Marked as spam
Posted by (Questions: 2, Answers: 1)
Asked on April 11, 2024 2:18 pm
Private answer

You were very close to completing this solution on your own. The problem is you adjusted the Offset parameter in the wrong direction. Negative values for the Offset parameter will shift the signal to the right, into the future. And for a scan, this does not work at all. You can only use positive values for the Offset parameter, which will cause the signal to be shifted to the left, into the past.

Here is code generated from the Condition Wizard which is shown in the screenshot below:

VolumeAvg()."Vol" from 1 bars ago is greater than VolumeAvg()."VolAvg" from 1 bars ago

If you would like to learn more about how to use the Condition Wizard you should check out our free tutorial located here:

In that video you find an explanation and example of how to use the Offset parameter properly.

Marked as spam
Posted by (Questions: 37, Answers: 4097)
Answered on April 11, 2024 2:22 pm
Thanks Pete, I tried this first and it did not work, I will have to double check. Freddy
( at April 11, 2024 2:33 pm)
Make sure the time frame for the Study Filter is set to Daily (D).
( at April 11, 2024 2:36 pm)
all good now, I must have missed one of the days back settings. Thank You
( at April 11, 2024 5:52 pm)