A simple indicator draws many buy and sell arrows when price is above and below RSI 50 line.
I am looking for a sample script that will keep only the first instance of a buy signal and will not draw another buy signal until after a sell signal, and so on.
I know we can use a crossover method for the case of RSI, however, I am looking for a method in general to keep only the first instance of a signal until after an opposing signal is generated.
Many thanks.
Comment