Re: MACD indicators for MT4

139
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

140
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

These users thanked the author mladen for the post (total 3):
Patrick K, Jedidiah, Chickenspicy


Who is online

Users browsing this forum: ChatGPT [Bot], kvak, SijjiN, sunmetal, Telegram [Bot], TheJurgFX and 115 guests