via forex-tsd.com
This is one possible solution. Macd is made as a new function (it does not use the built in function) And can be limited in calculation. Here is a comparison of the previous "simple" macd and this one with limited bars to calculate. When you decide how many bars you want to calculate, give it some room (the example is using 200 bars limit, and you can see that at the beginning they are different, and that towards the end, eventually they are the same. It is due to the cumulative effect of ema calculation used for macd (ema always uses previous value so it depends on where does it start)).
Download from here:
http://www.forex-tsd.com/indicators-metatrader-5/32980-something-interesting-...
Комментариев нет:
Отправить комментарий