IndicatorAdd is a class method for CChart class, if that confuse you, IndicatorAdd use mql5 function called ChartIndicatorAdd() - https://www.mql5.com/en/docs/chart_operations/chartindicatoradd

Documentation on MQL5: Chart Operations / ChartIndicatorAdd
- www.mql5.com
Chart Operations / ChartIndicatorAdd - Documentation on MQL5

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
I am having hard time using IndicatorAdd, It does not even being recognized by the complier.
IndicatorAdd
Adds an indicator with the specified handle into a specified chart window.
bool IndicatorAdd(
int sub_win // number of the sub-window
int handle // handle of the indicator
);