Not enough memory for 1073712 bars for custom indicator MyIndicator XAUUSD,M5

 

Hello,


I using EA to try to get my indicator results (total pips) from custom date (this year) on XAUUSD,M5

For many times with variable settings to get the best setting using for loop.


But i found this error appears many times in Journal tap.

Not enough memory for 1073712 bars for custom indicator MyIndicator XAUUSD,M5

How can i reset the memory after each search? or how can i fix this issue?


Thanks

 
  1. There are only 105,120 bars max in a year, you don't need a million. Reduce Max Bars on Chart.
  2. If you have a memory problem with a million bars, your code has big problems; fix it.
 
William Roeder:
  1. There are only 105,120 bars max in a year, you don't need a million. Reduce Max Bars on Chart.
  2. If you have a memory problem with a million bars, your code has big problems; fix it.
Ok thanks, will try to to it and tell you the results <3
Reason: