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

 
Nicholas, thank you very much for the article in general, and for JJMA.mq5 in particular!
 

The idea is well realised. Simply and clearly presented. Thank you.

 

I have some indicators are not compiled. For example, Momentum.mq5.

All files are placed in folders as it is written in the instructions inside the code.

Files:
2c544m.PNG  51 kb
 
Alex5757000:

I have some indicators are not compiled. For example Momentum.mq5

All files are placed in folders as it is written in the instructions inside the code.

OK! I fixed something, now all indicators will compile normally, but the thing is that my indicator Momentum.mq5 compiles without problems, so I can't say anything about this indicator!

 
GODZILLA:

OK! I fixed something, now all indicators will compile normally, but the thing is that my indicator Momentum.mq5 compiles without any problems, so I can't say anything about this indicator!

OK. Now everything is fine.
 

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!
 
THANK YOU.ONLY WHERE ( In the archive Include.rar are available ) folder Include.rar
 
V777VV:
THANK YOU.ONLY WHERE (Include.rar archive has) folder Include.rar.
Article codes have been updated. The code of the libraries is now in the files Include.zip and Include_.zip (appendix to the article).
 

When compiling JMA I get this error. How to fix it?

I don't understand JJMA either: