Here's the error message I get using and indicator on a EA. It worked perfectly, then show that.
Unfortunately, I restarted the terminal so I can't copy past the exact log.
Anyone has experienced such an error ?
PS : it worked 'til now.
Hi angevoyageur !
I couldn't see any topics related to such an error message. Good news that I don't have to rewrite the thing.
Thanks for your precision, I was desperatly wondering how to quick up an indicator :p
This error occur when you have not enough memory. Even if you process only after bar closed. It's not an "every ticks" issue (may be with a slow computer).
If you have many indicators, and many graphics the key param is "Max bars in chart". May be you are used to set a big number because of back testing requirement.
When you are not testing, i.e. production with a VPS, you dont need a high max bars in chart.
Usualy you test an develop on a PC with, 2,4, 8GB memory.
Then you go to a VPS with 1 or 2 GB memory.
If you forgot to lower max bar in chart, memory used by indicators are pagined. Then when the bar is closed, your EAs call indicators and Windows load from pagined memory the buffers used by indicators. And it takes 1,2 ... 4 seconds if you have several graphics who share memory in competition. Unfortunately, bars are close at the same time from differents symbols :-)
Then the warning message come.
So rather than rent more memory on your VPS, check the Max bars in chart parameters.
On a VPS, it now shows this error with an other indicator (should I rewrite it to ?!), but it worked 'til now, it worked during optimization test ... This may be because of the server speed ?
Array out of Range
Please enable the necessary setting in your browser, otherwise you will not be able to log in.