lightning2006:
Hi guys,
Here is my code.
Please help me.
You declared your arrays, but you didn't set their size.
You have to either set size at the declaration, or use ArrayResize() function.
Something like this:
// Set size at the declaration double ilkuclu[10],ikinciuclu[10]; double yuzdefark[10]; double fiyatlar[10];
Or this:
// Set size using ArrayResize double ilkuclu[],ikinciuclu[]; double yuzdefark[]; double fiyatlar[]; ArrayResize(ilkuclu, 10); ArrayResize(ikinciuclu, 10); ArrayResize(yuzdefark, 10); ArrayResize(fiyatlar, 10);
Documentation on MQL5: Array Functions / ArrayResize
- www.mql5.com
ArrayResize - Array Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Drazen Penic #:
You declared your arrays, but you didn't set their size.
You have to either set size at the declaration, or use ArrayResize() function.
Something like this:
Or this:
Thank you. İt worked like that.
Drazen Penic #:
You declared your arrays, but you didn't set their size.
You have to either set size at the declaration, or use ArrayResize() function.
Something like this:
Or this:
The new ArrayResize function has: int reserve_size=0 // reserve size value (excess)
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
Hi guys,
Here is my code.
Please help me.