Hello I would like to know how to use imaonarray, I cannot understand the first variable in the bracket, the array part who do I do that
- How to use Array in Expert?
- moving average over a custom indicator
- What equation inside in iMA and iMAOnArray?
Everything is explained here or just place the cursor on the function and press F1.
iMAOnArray - Technical Indicators - MQL4 Reference
- docs.mql4.com
Unlike iMA(...), the iMAOnArray() function does not take data by symbol name, timeframe, the applied price. The price data must be previously prepared. The indicator is calculated from left to right. To access to the array elements as to a series array (i.e., from right to left), one has to use the ArraySetAsSeries() function.
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