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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
New article Implementation of Indicators as Classes by Examples of Zigzag and ATR is published at mql5.com:
Author: Александр Чугунов