Hi,
I would like to let the high volume screener below show the highest variations in price today gains only. Now it shows or gains or losses. I have tried to add the condition, Condition4=volume>0, but that didn’t work. Does anyone have a suggestion how to tweak the code in a way it shows the highest variations in price today for gains only?
Thank you,
MinDailyCapital=500000000
// The minimum total capital traded today, yesterday or the day before. Capital is calculated as price*volume.
MinPrice=10
// The minimum price of each security.
MaxPrice=300
// The maximum price of each security.
Condition1= open[1]>average[50] and close[1]>average[50] and high[1]>average[50]
Condition2= ROC[50]>10
Condition3= open>average[50]
SCREENER [(volume[2]*DClose(2)>MinDailyCapital or volume[1]*DClose(1) > MinDailyCapital or volume*DClose(0)>MinDailyCapital) AND close>MinPrice AND Condition1 AND Condition2 AND Condition3 AND close<MaxPrice] (abs(1-close/Dclose(1))*100 AS "var")
// Sorting criteria of results: highest variations in price today (gains or losses).