Mrtools
I’m trying to get a semafor , which paints, to show a trend 1 or -1 until it changes again. I thought I had it working but it looks like not well enough. Lines 321 to 338 are my code to keep the 1 or -1.
I realize that any false hit later on will change the trend but I hope to validate the real trend ,1 or -1, with another indicator, RSI, at the time of the semafor change, so if the semafor gives me a 1 or -1 it is not used unless the 2nd indic backs it up.
I hope I’ve explained it enough.
I would appreciate any help
See attached: