taozemin:
Both are correct. Provided that you use ArraySetAsSeries() before accessing the buffer filled by CopyBuffer().
Dear all,
I am puzzled by the sdequence of calling the two functions: ArraySetAsSeries() and CopyBuffer().
There are 3 articles or (documents?) that give examples on using the 2 function.1. https://www.mql5.com/en/articles/130This article showed calling CopyBuffer() before calling ArraySetAsSeries().
2.https://www.mql5.com/en/docs/series. This article showed calling ArraySetAsSeries() before calling CopyBuffer().
3. https://www.mql5.com/en/articles/43 This article showed calling ArraySetAsSeries() before calling CopyBuffer().
What is the correct sequence in calling the 2 functions?
thanks for your prompt reply.
taozemin.
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
Dear all,
I am puzzled by the sdequence of calling the two functions: ArraySetAsSeries() and CopyBuffer().
There are 3 articles or (documents?) that give examples on using the 2 function.1. https://www.mql5.com/en/articles/130This article showed calling CopyBuffer() before calling ArraySetAsSeries().
2.https://www.mql5.com/en/docs/series. This article showed calling ArraySetAsSeries() before calling CopyBuffer().
3. https://www.mql5.com/en/articles/43 This article showed calling ArraySetAsSeries() before calling CopyBuffer().
What is the correct sequence in calling the 2 functions?
thanks for your prompt reply.
taozemin.