Me personally prefer the iMaOnArray, just easier for me.chris006 wrote: Tue Jul 21, 2020 10:48 pm Hi mrtools,
I have taken the standard MACD (attached) from MT4 and managed (by copy-paste) to add 2 EMAs to it with view in trading the intersection of the 2 EMAs.
I would like to do a version by using two LWMAs but I do not have a clue how to proceed:
In MovingAverages.mqh, LinearWeightedMAOnBuffer has an additional switch at the end, "int &weightsum".
Could you demonstrate how to use LinearWeightedMAOnBuffer instead of ExponentialMAOnBuffer in the "MACD with 2 EMAs" below (line 104)?
Attachments forums
Re: MT4 Indicator requests and ideas
mrtools, Wed Jul 22, 2020 4:58 pm