Attachments forums

List of attachments posted on this forum.


All files on forums: 136042

Re: Moving Average indicators for MT4

mrtools, Tue Jun 30, 2020 5:13 am

mades wrote: Mon Jun 29, 2020 5:22 pm

Thank you MrTools.

Unfortunately the issue of repeating alerts hasn't been resolved yet. Attaching a pic of it. Is it possible to have it alert only when it changes color? Thank you!

p.s. as it looks now, alerts go on when bearish candle happens above channel ("weak") and vice versa, basically triggering alert any time an opposite candle to previous one appears. My intention is to have it alert only when it changes color from red to green/green to red (crossing the channel completely) or from grey to green/red and green/red to grey (getting in and out of the channel). Also when multiple "choppy" (inside channel) candles appear if they are opposite to each other (one is bullish another one bearish but still inside the channel), alert goes on repeatedly.

Thank you again for looking into it.
Made this version think it's closer to what you are looking for, but if you break out of say the top channel the candle will be strong bull but if the signal changes to weak bull (which is price > upper channel and open price > close price) then the candle will change to weak bull if price strengthens (price > upper channel and open price < close price) then you get the strong bull candle and will get an strong bull alert again, vise versa for bearish candles, not sure of another way to code this, except the version I'm posting.
All files in topic