https://www.mql5.com/en/articles/31

MQL5 for Newbies: Guide to Using Technical Indicators in Expert Advisors
- 2010.03.18
- Sergey Pavlov
- www.mql5.com
In order to obtain values of a built-in or custom indicator in an Expert Advisor, first its handle should be created using the corresponding function. Examples in the article show how to use this or that technical indicator while creating your own programs. The article describes indicators that are built n the MQL5 language. It is intended for those who don't have much experience in the development of trading strategies and offers simple and clear ways of working with indicators using the offered library of functions.

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
Ive tried to load this indicator to my EA: https://www.mql5.com/en/code/575
But i need some help..
Before I was using MQL4 and just switched to MQL5 and MT5.
In mql4 I just could access the values like this.
Now I looked into the documentation of MQL5 iCustom but I am not sure how to now get the data of the buffer and where to specify which candle.
I read something about using a handle and any copybuffer but I do not understand it fully.
Could anyone give me an example (with this indicator if possible) on how to access the data?
Any help is highly appreciated.
Thanks!
cheers,
salexes