I pasted together some code from stuff I found here to try and get the RSI to alert me if:
1 - the RSI is above 70 and turns down; and/or
2 - the RSI is below 30 and turns up.
I only want it to signal once per bar but it's signalling continuously.
Can someone see what I need to change to make it signal only once per bar?
Thanks for any help
1 - the RSI is above 70 and turns down; and/or
2 - the RSI is below 30 and turns up.
I only want it to signal once per bar but it's signalling continuously.
Can someone see what I need to change to make it signal only once per bar?
Thanks for any help

Comment