Buffer Query
Array indexing and resizing an AS_SERIES array - MQL4 programming forum #2 (2017)
There are no buffers, no IndicatorCounted() or prev_calculated. No way to know if older bars have changed or been added (history update.)
Just get the value(s) of the indicator(s) into EA/indicator (using iCustom) and do what you want with it.
(MT4) Detailed explanation of iCustom - MQL4 programming forum (2017)
EAs do not have the OnCalculate() event handler, so they do not have the concept of "buffers" as used in Custom Indicators.
In all MQL4 programs (Indicators, Expert Advisors, Scripts), you can have arrays be they handled as Series or Non-Series.
OKAY!
Thank you very much to both.
Hello everyone!
I have a question, can someone tell me? My question is about buffers and arrays and it is: Can Buffers be used in Expert Advisors or just Arrays.
Thank you very much
Manuel