ArraySetAsSeries sets the value that changes how the indexing works in your arrays. ArrayGetAsSeries read the value. I use Set in my ResizeBuffer() code to expand arrays like indicator buffers.
My read is ArrayIsSeries tells you if the array is Time[], Open[], Close[], High[], Low[], or Volume[]. Possibly buffers set by ArrayCopyRates() and ArrayCopySeries(). I've never used it.
Try this code:
bool IsSeries(double A[]){ return( ArrayIsSeries (A) ); } bool AsSeries(double A[]){ return( ArrayGetAsSeries(A) ); } : double myA[]; Print(IsSeries(Close),IsSeries(myA)); // 10 Print(AsSeries(Close),AsSeries(myA)); // 10 ArraySetAsSeries(myA, true); // See ResizeBuffer Print(IsSeries(Close),IsSeries(myA)); // 10 Print(AsSeries(Close),AsSeries(myA)); // 11
WHRoeder:
ArraySetAsSeries sets the value that changes how the indexing works in your arrays. ArrayGetAsSeries read the value. I use Set in my ResizeBuffer() code to expand arrays like indicator buffers.
ArraySetAsSeries sets the value that changes how the indexing works in your arrays. ArrayGetAsSeries read the value. I use Set in my ResizeBuffer() code to expand arrays like indicator buffers.
My read is ArrayIsSeries tells you if the array is Time[], Open[], Close[], High[], Low[], or Volume[]. Possibly buffers set by ArrayCopyRates() and ArrayCopySeries(). I've never used it.
Try this code:
Ok, thanks. I got it.

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
Hello
What is the difference between these two functions, because in the documentation the descriptions are very similar?
Thanks in advance