Need help to code a rising value increasing from an indicator for my screener
For example MACD, MOMENTUM, or RSI is increasing its value or it´s rising from 30 days ago
Thanks in advance
Do you want to test if the value is continuously increasing during 30 days or only if the current period value is superior to the one 30 bars ago?
Yes I need test if the value is continuously increasing during 30 days, Thank you Nicolas
This code snippet should do the trick, but the kind of oscillator you mention are not climbing straight upward in a continuous line, so this condition will certainly not return anything at all..
m=momentum[10]
c=summation[30](m>m[1])=30
screener[c]
Thank you I will test it and share my results