Not enough memory for X bars for indicator

 

Hello,


I am getting these error from my EA :


2025.03.24 19:23:23.626    Not enough memory for 6841107 bars for indicator Stochastic Oscillator (USDJPY,M1)
2025.03.24 19:22:43.306    Not enough memory for 6864630 bars for indicator Relative Strength Index (EURUSD,M1)
2025.03.24 19:17:42.285    Not enough memory for 6841101 bars for indicator Bollinger Bands (USDJPY,M1)


To fix this error, do i have to make the changes in my EA codes or Metatrader 4 settings?

 

To fix that error you either quit running so many EA's, or you put more RAM in your computer.

Unless the EA is programmed really badly, changes to the code aren't going to do anything. Presumably your time is worth something, so just get more RAM.

 
James McKnight #:

To fix that error you either quit running so many EA's, or you put more RAM in your computer.

Unless the EA is programmed really badly, changes to the code aren't going to do anything. Presumably your time is worth something, so just get more RAM.

So, it not a problem with my EA. i have to increase my computer RAM or decrease bar chart limit in MT4 Settings ?