Hello,
Good evening.
Hope to find all of you well.
I was looking for a solution for this problem.
I wanted to program a screener that searched for stocks whose current price is 0.85*price(30 days before).
If I put the number, the screener works. But I would like to put a variable instead of a number, so I can change it quickly.
Something like this (but this solution is not working: if I put the decimal number, it works; if I put a variable and the same decimal number in the variable it doesn’t work):
c1 = (close < dd*close[nod])
Variables:
dd = 0.85
nod=20
Can anyone help or explain to me, please, how can I solve this problem? I’ve already tried to find her something similar just to see how it worked on programming, but still didn’t find anything.
Thank you very much for your care and attention. Very grateful for all the aid I hope to find here.
My best regards to all of you.