Discussion of article "Extending MQL5 Standard Library and reusing code" - page 3

 
Комбинатор:

Why wrapping a simple indicator into a class if it is used later either in a chart or via iCustom?

OOP for OOP's sake, okay.


That's right)))

Very convenient, I recommend it to everyone
 
I read this article (and this https://www.mql5.com/en/forum/335975 and this https://www.mql5.com/en/articles/5) during a bug fix session related to custom indicator buffers, I finally fix it when I realized that only one buffer can set with INDICATOR_DATA flag, otherwise CopyBuffers/GetData returns always -1 except for the first indicator flagged as INDICATOR_DATA.
Thank you.
Example of how to use CiCustom
Example of how to use CiCustom
  • 2020.03.27
  • www.mql5.com
After some in depth debugging, I realized I've been using CiCustom wrong...