Attachments forums

List of attachments posted on this forum.


All files on forums: 135642

Re: Coding Help

traderduke, Wed Mar 17, 2021 2:44 am

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:
The green semafor is validated by the 2 rsi The green semafor is validated by the 2 rsi
the red is validated by the 2 rsi, 1HR & 23 minutes later the red is validated by the 2 rsi, 1HR & 23 minutes later
All files in topic