MetaTrader at 100% CPU for sometime

 
Hi.

I've a MetaTrader profile with 9 charts (I've a 22" monitor so I've plenty of space). Whenever I move from other profile to this one, MetaTrader goes 100% CPU and stays there for a few minutes.

I've a Core 2 Quad PC with 4GB of RAM so it doesn't seem to be a resources problem. Is there any restriction on the number of chart per profile?

I suspect this could be a bug. If you want I can send you a zip file with the profile.

Thanks,
 
Are those charts naked, or do they have a lot of indicators attached?

Recalculating indicators can take a lot of CPU, as they are likely all being recalculated
for all bars on all the charts.

Save a new profile of nine charts and take off all the tools, see what happens when you switch to it.
Add tools back in a little at a time, and retry. You might find one that is the CPU hog.
 
Hi Phy.

Thanks for your message.

I did what you suggest and I found that removing one indicator from the charts it help a lot. The indicator was "Guppy MACD.mq4" or "G#MACD.mq4". This is the Guppy MMA chart with 13 Moving Averages so each graph as a lot of indicators. But without this one it changes profile quite fast.

Maybe I should change the G#MACD indicator and insert a maxbars variable.

Thanks,
 
You can also set up the "Max bars in charts" as possible less.



See https://www.mql5.com/en/articles/1415
 
Thanks Rosh.

I've much more:

Max bars in history: 512000
Max bars in chart: 65000

I will lower them and try again.

Thanks,
Reason: