Hi,
For a new stock screener I am looking for a code to filter the volume higher then 0%. Instead of volume<0. This way the negative volume can be filtered out. The code volume<0% seems not to work. Does anyone have a solution to tackle this?
Thank you.
Percentage of what please? In order to calculate of percentage of something, the Volume must be compared to another Volume, but on what basis? The Volume from yesterday or .. ?
Hi Nicolas,
Thanks for your quick reply. I am looking for the daily volume and the percentage which is generated with it of a stock symbol . I would like to filter this mentioned percentage above zero and from high percentage volume to low. This way the screener select only stocks with an upward volume and place the stocks with the most upward volume on top of the screening results.
I hope this make sense to you.
Best regards,
Marcel van Vliet
ok, but:
In order to calculate of percentage of something, the Volume must be compared to another Volume
Which volume to compare with? The ones from X days ago? An average of Y period? Please explain.
Hi Nicolas,
The code for volume>0% compared with the volume[1] is what I am still looking for. I posted another question for a similar kind of code today in which the same coding rule is also required.
Please help me out on this.
Change of volume between 2 bars in percentage:
a = (volume-volume[1])/volume[1]*100
return a