Discussion of article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers"

 

New article Averaging Price Series for Intermediate Calculations Without Using Additional Buffers is published:

This article is about traditional and unusual algorithms of averaging packed in simplest and single-type classes. They are intended for universal usage in almost all developments of indicators. I hope that the suggested classes will be a good alternative to 'bulky' calls of custom and technical indicators.

Fig. 5 The moving averages that use different averaging algorithms

Author: Nikolay Kositsin

 

Hello,


It looks like SmoothAlgorithms.mqh does not compile. The error is:


'-' - integer expression expected    SmoothAlgorithms (2).mqh    1464    43

'-' - integer expression expected    SmoothAlgorithms (2).mqh    1465    43


Othewise, thank you for a great article.


 
JohnnyDoe:

Hello,


It looks like SmoothAlgorithms.mqh does not compile. The error is:


'-' - integer expression expected    SmoothAlgorithms (2).mqh    1464    43

'-' - integer expression expected    SmoothAlgorithms (2).mqh    1465    43


Othewise, thank you for a great article.


 

OK! I've got it!
 
Awesome article. Even 6 years later, it's still gold.
 
Nikolay Kositsin #:
OK! I've got it!

How ?

Reason: