New article at mql5.com - Implementation of Indicators as Classes by Examples of Zigzag and ATR

 

New article Implementation of Indicators as Classes by Examples of Zigzag and ATR is published at mql5.com:

Debate about an optimal way of calculating indicators is endless. Where should we calculate the indicator values - in the indicator itself or embed the entire logic in a Expert Advisor that uses it? The article describes one of the variants of moving the source code of a custom indicator iCustom right in the code of an Expert Advisor or script with optimization of calculations and modeling the prev_calculated value.

Author: Александр Чугунов

Reason: