I cant found the error, here is the code. i want to use this file to import in another
le0max12:
I cant found the error, here is the code. i want to use this file to import in another
I don't think that anybody can help you if you don't specify what error message you received.
I cant found the error, here is the code. i want to use this file to import in another
le0max12: I cant found the error,
Perhaps you should read the manual, especially the examples. They all (including iCustom) return a handle (an int.)
You get that in OnInit. In OnTick (after the indicator has
updated its buffers,) you use the handle, shift and count to get the data. int BollingerBandsDefinition = iBands(_Symbol,_Period,20,0,2,PRICE_CLOSE); CopyBuffer(BollingerBandsDefinition,0,0,3,MiddleBandArray);
Technical Indicators - Reference on algorithmic/automated trading language for MetaTrader 5
Timeseries and Indicators Access / CopyBuffer - Reference on algorithmic/automated trading language for MetaTrader 5
How to start with MQL5 - General - MQL5 programming forum - Page 3 #22 2020.03.08
How to call indicators in MQL5 - MQL5 Articles 12 March 2010
Also see my example for encapsulating calls
Detailed
explanation of iCustom - MQL4 programming forum
2017.05.23
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