Forum

ChartScreenShot does not pick up OBJ_TEXT

I have a requirement where I want to print some text to the chart. The text should remain under a specific bar (i.e., a fixed time and price) as new bars are printed the text should move left with the price `OBJ_TEXT` does this but when I run ChartScreenShot the text is not captured. I then tried

What is using all my memory?

I am backtesting my algo on MT5 Version 5.00 Build 4153 22 Jan 24 on OSX Sonoma 14.3 M1 Max (10 Cores) 64 GB Ram. When I do it uses a lot of memory and even runs out of application memory space. I am only using 1 core in this example because when I use more than 1 agent it runs out of space quicker