This sentence:
from the doc of CopyBuffer() is true if and only if you have set the result arrays to set_as_series - wich is not the default and has to be done separately by ArraySetAsSeries().
- www.mql5.com
This sentence:
from the doc of CopyBuffer() is true if and only if you have set the result arrays to set_as_series - wich is not the default and has to be done separately by ArraySetAsSeries().
This sentence:
from the doc of CopyBuffer() is true if and only if you have set the result arrays to set_as_series - wich is not the default and has to be done separately by ArraySetAsSeries().
I tried to use ArraySetAsSeries and it had no effect - I assumed I had misunderstood this function also.
I made a reverse function of my own:
void ReverseArray(double &arr[]) { int size = ArraySize(arr); double temp[]; ArrayResize(temp, size); for(int i = 0; i < size; i++) { temp[i] = arr[size - 1 - i]; } ArrayCopy(arr, temp); }... which also cannot reverse the array.
I've obviously done something very bad somewhere which I will have to troubleshoot myself.
This sentence:
from the doc of CopyBuffer() is true if and only if you have set the result arrays to set_as_series - wich is not the default and has to be done separately by ArraySetAsSeries().
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
However I have found that the opposite is true. If I get three data points, [0] is the oldest whereas [2] is the most recent (changing on-tick as the price fluctuates).
The issue is that I'm obviously not understanding what is written on the MQL5 site.