da420078
 ( 104.34% )
- ago
Please can you tell me how to find the equivalent of "MACDEx_Histogram3" in WL7.

Thank you.
0
722
Solved
5 Replies

Reply

Bookmark

Sort
- ago
#1
Probably .... It has all the same three parameters.
CODE:
MACDHist(TimeSeries source, int period1, int period2, int signalLinePeriod);
0
da420078
 ( 104.34% )
- ago
#2
Thanks for responding superticker.
I didn't assign it as solved — I won't know until I can check the histograms side-by-side, and I need a higher precision to do that.
My concern was whether both MACDEx_Histogram3 in v6 and MACDHist in v7 use the same calculation methodology, i.e., do they both use the same type of exponential moving averages (in v6, there was EMAModern and EMALegacy).
If they're not the same, it will help explain some disparities in backtest results between 6.9 and 7.
0
- ago
#3
I assigned it as solved because @superticker's answer is correct.

WL7 uses modern EMA calculation method as an industry standard. There is no choice for EMALegacy as it might bring in unnecessary confusion.

There also is a MACDClassic indicator which is based on a somewhat different formula, more details here:
https://www.wealth-lab.com/Discussion/Can-classical-MACD-indicator-be-included-5772
0
Best Answer
da420078
 ( 104.34% )
- ago
#4
Ok, thanks for confirming, Eugene.
1
da420078
 ( 104.34% )
- ago
#5
Can you please confirm that the indicator "EMA2" in WL7 corresponds exactly to "EMAModern.Series" in WL6?

Thanks.
0

Reply

Bookmark

Sort