You are right. You may refer to this article - https://www.mql5.com/en/articles/10

MQL5: Create Your Own Indicator
- 2010.01.06
- MetaQuotes Software Corp.
- www.mql5.com
What is an indicator? It is a set of calculated values that we want to be displayed on the screen in a convenient way. Sets of values are represented in programs as arrays. Thus, creation of an indicator means writing an algorithm that handles some arrays (price arrays) and records results of handling to other arrays (indicator values). By describing creation of True Strength Index, the author shows how to write indicators in MQL5.
Thank you.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It is always zero for an indicator applied to bar values ... right?
Exception: It is not zero only if a custom indicator applied to any other previous indicator which has PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,number) in its code?
In this case, "number" parameter is seen as a "begin" value for the second indicator?