Beouf_Wellington
New member
Hello, noob here.
I'm no coder by any means and a new trader, but found a Relative Volume code in a thread on this site, and it works wonderfully. The code is:
Is there a way to add a line to this so the scan shows ONLY stocks with a RelVol of 2 or higher to keep the list down?
Thanks.
I'm no coder by any means and a new trader, but found a Relative Volume code in a thread on this site, and it works wonderfully. The code is:
Code:
# START
plot c = Volume(period = AggregationPeriod.DAY) / Average(volume(period = AggregationPeriod.DAY), 50);
c.SetDefaultColor(Color.BLACK);
AssignBackgroundColor(if c > 2 then Color.LIGHT_GREEN else Color.PINK);
# END
Is there a way to add a line to this so the scan shows ONLY stocks with a RelVol of 2 or higher to keep the list down?
Thanks.
