![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
Ok i changed PositionsTotal() by HistoryDealsTotal()... but it still not working :-(
You should stop to guess and start reading and learning the documentation.
Btw, ArrayResize ist one to small...
Yes, I am looking for some function that allows me to allocate an array in memory.
Something like this in C ++:
double * array = new double [size];
But for some reason that I can't understand, this is not working in MQL5 ...
karp wak:
Yes, I am looking for some function that allows me to allocate an array in memory.
Something like this in C ++:
double * array = new double [size];
But for some reason that I can't understand, this is not working in MQL5 ...
You must learn to read the documentation: ArrayResize()
I understand it. Thanks for your help Dominik.