JMSummers / Publications
Forum
trouble indexing a buffer
I am coding an EA in MQL4 that uses a custom indicator . In the EA, on each new Bar I am trying to fetch data from an array that is implemented in the custom indicator: double value_z0 = getData(0); // current bar double value_z1 = getData(1); // last bar double value_z2 = getData(2); // 2 bars ago