Please help...Use up all the RAM during backtest !!

 

Happy New Year everyone!!

I'm new in MT5 programming, just wonder why all the RAM is used up during non-visualized backtest and optimization.

There is no such problem when in visualized backtest. Can anyone tell me the reason why? I've ArrayFree() all the 

dynamic arrays after function call. The version of MT5 I used is Build 1966 downloaded form MetaQuotes and my PC

is thinkPad T430 with i5 3210M CPU and 8GB of RAM... Thank you for your attention and help !!


Happy ALGO trading 2019 ^^

 
Freelance sorry - https://www.mql5.com/en/job
Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • www.mql5.com
i need automatic optimization handeling program  The proplem : i need to make an optimization for every month or 3 month in specific period for example from "1/1/2010" for "1/1/2018" So i need to save the result of the optimization process for every month or 3 month in exe files in specific folder i will set the inputs of the optimization ...
 

Hi All,

My problem is solved !! No more OUT of RAM during in strategy tester!! The magic is : do all the indicator scan, trade signal detection ONLY when new bar is formed. This will totally solve the problem. Yeah !!