Convert watchlist column to Study


New member
Can someone help to convert below two watch list columns to studies so it will be as a Scanner studay filter?

#1) Gap%
plot pop = Round("number" = ((ask + bid) / 2 -close[1]) / close[1] * 100, "numberOfDigits" = 1);
pop.assignvalueColor(if pop >0 then else;

I want to filter use this value and filter the stock > 5%

#2) change from open
plot x=round(100*((close/open)-1),1); x.assignValueColor( if x < 0 then color.RED else color.Dark_GREEN);

Want to filter stocks value > $1

Thanks for your help.
Last edited by a moderator:

Similar threads