How to use two-dimensional array as buffer in SetIndexBuffer() of MQL5? - page 2

 

The sequence is independent.

Afterwards, I resolved the problem with a very simple method.

Such as:

int iTmp;

iTmp=iParam[i];
MAA[i].mParam=iTmp;
Yeah. You CANNOT assign a array member with another array member, so you need a temporary variable.

It's a strange bug.

 

A newer and better version at
https://www.mql5.com/en/forum/331

You can login mql5.com using your account at mql4.com