Cao Wang:
How to put data values into all_signals[0] directly?
How to put data values into all_signals[0] directly?
I don't know how to do this using the built-in function given the use of a two-dimensional array, but you can simply write 2 lines:
#define _size 19 void OnStart() { int all_signals[6][_size]; int data[_size]; for(int i = _size - 1; i >= 0; i++) all_signals[0][i] = data[i]; }
It's faster than reading the ArrayCopy documentation
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
'all_signals' - invalid array access
How to put data values into all_signals[0] directly?