Hello guys, I currently have a problem, I am trying to find the values of the moving average using iMA, however the only thing it returns is the handle. Is there any way to return ts values?
- Moving Average value is shown as 10 although it is plotted correctly on chart - Help please
- iMA function handle returns int ?
- iCustom function
CopyBuffer().
See this articles 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