lina_2016: Hello, I need to know what functions of MQL4, I could use to perform the same task as BarsCalculated and CopyBuffer of MQL5
They don't exist in MQL4 because the iCustom() function is implemented differently in MQL4 compared to MQL5. In MQL4, you use the iCustom() function to directly return the "buffer" data, one by one, based on a bar shift/index.
![iCustom - Technical Indicators - MQL4 Reference iCustom - Technical Indicators - MQL4 Reference](https://c.mql5.com/36/15/icustom-technical-indicators-mql4__5.png)
iCustom - Technical Indicators - MQL4 Reference
- docs.mql4.com
[in] Custom indicator compiled program name, relative to the root indicators directory (MQL4/Indicators/). If the indicator is located in subdirectory, for example, in MQL4/Indicators/ The passed parameters and their order must correspond with the declaration order and the type of extern variables of the custom indicator...
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello, I need to know what functions of MQL4, I could use to perform the same task as BarsCalculated and CopyBuffer of MQL5
Thank you