Can SetIndexBuffer or ArrayCopy be used against multidimensional arrays?

 

Hello,


Some programs would be easier if one could store information in a multidimensional arrays (MA). But, it seems some of the MQL4 functions don't quite handle the MAs yet.


I'd like to do


SetIndexBuffer(0, SarBuffer[index]);

or

SetIndexBuffer(0, SarBuffer[index][]);


Where SarBuffer is a two dimensional array And ArrayCopy also doesn't seem to handle the above syntax.


Question: Is this possible or am I trying something that is not supported. Or perhaps there is a different way.


Thank you for your time

Kulchar

 

You can use multidimensional arrays, but not as Indicator index buffers.

Reason: