Page 14 of 127

Re: MACD indicators for MT4

Posted: Mon Aug 14, 2017 2:31 am
by soulmysoul
Dear Mladen,
Can you add alerts to this indicator? or is there already a version with alerts, if so then can you link it to me. I couldn't find it.

Re: MACD indicators for MT4

Posted: Mon Aug 14, 2017 4:10 am
by mrtools
soulmysoul wrote: Mon Aug 14, 2017 2:31 am Dear Mladen,
Can you add alerts to this indicator? or is there already a version with alerts, if so then can you link it to me. I couldn't find it.
Soulmysoul, have this version with alerts and mtf, it's basically the same except with the 33 price options and 8 moving average options for the macd.

Re: MACD indicators for MT4

Posted: Mon Aug 14, 2017 11:12 am
by bobzahra
Dear coders,

please help me to add ForSymbol and unique ID for this indicator thank you for your help

Re: MACD indicators for MT4

Posted: Tue Aug 15, 2017 12:34 am
by mladen
bobzahra wrote: Mon Aug 14, 2017 11:12 am Dear coders,

please help me to add ForSymbol and unique ID for this indicator
all_macd_v1.0_nmc.mq4
thank you for your help
Change indicator name from this :

Code: Select all

#define indicatorName "All MACD"
to this :

Code: Select all

extern string  indicatorName = "All MACD";
And use it as unique ID

Re: MACD indicators for MT4

Posted: Tue Aug 15, 2017 8:20 am
by bobzahra
thank you so much for your help Mladen

Re: MACD indicators for MT4

Posted: Tue Aug 15, 2017 4:28 pm
by mladen
bobzahra wrote: Tue Aug 15, 2017 8:20 am thank you so much for your help Mladen
Happy coding

Re: MACD indicators for MT4

Posted: Tue Aug 22, 2017 8:25 pm
by camisa
Dear mods, can you point me the link to the following indicator:

ZeroLag Tema MACD - mtf + lines 2 (alerts + arrows)

Re: MACD indicators for MT4

Posted: Tue Aug 22, 2017 8:34 pm
by mrtools
camisa wrote: Tue Aug 22, 2017 8:25 pm Dear mods, can you point me the link to the following indicator:

ZeroLag Tema MACD - mtf + lines 2 (alerts + arrows)
Think it's in the alerts section but it should be here too :)

Re: MACD indicators for MT4

Posted: Fri Aug 25, 2017 12:32 am
by mladen
Some of you have probably been using in some period of trading the indicator called "future macd"
I have seen a couple of versions, but frankly, they all had issues that are not justified. Like, fixed price, signal method and some more things. Here is a version (and it is, as it can be seen from the code, as simple as it gets). It is trying to "predict" (estimate) what will the macd look like up to FastEma period bars into the future
___________________________________
PS: be advised that the future bars are going to repaint/recalculate - there is no way to prevent that
PPS: no, no need for more buffers, and yes - those two lines of code are all that is needed to calculate this version of future macd :)


Re: MACD indicators for MT4

Posted: Fri Aug 25, 2017 12:39 am
by mladen
And here is this version

While the above version is using the built in ema for calculation, this version is using my type of calculation. And since the built in ema is adding a new instance of ema for each new period used, it is actually a sort of a macd of nnn emas. This version is a completely different story. You might call it an "adaptive indicator to the extremes.

Both are having exactly the same values up to the current bar and both are going to repaint/recalculate the future values. Except that this version is having the "future" values of macd much closer to any future macd value (that will be obvious even after a couple of minutes of using them).

But since both are going to repaint do not use any of the versions for "future" signals (the signals marked by the colored zone in this indicator). The first version was posted to show how it is done. This version is posted to try to make the "future" prediction a bit less random. Enjoy