Attachments forums

List of attachments posted on this forum.


All files on forums: 135618

Re: Moving Average indicators for MT4

traderduke, Wed Mar 17, 2021 1:46 am

Mrtools or other coders
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.

See attached: The last green was validated by the 2 rsi's, the new red is still moving and waiting for the RSIs.

I would appreciate any help on this
All files in topic