• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 6:02pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 6:02pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MetaTrader is running slow: Taking 100% of CPU 6 replies

EA is using 100% CPU in MetaTrader 4 10 replies

Metatrader using 40% of the CPU all the time when using EA 6 replies

indicator taking up cpu resources??? 3 replies

Metatrader 4 99% CPU Usage 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Metatrader is running slow. Taking 50%CPU
Exit Attachments
Tags: Metatrader is running slow. Taking 50%CPU
Cancel

Metatrader is running slow. Taking 50%CPU

  • Last Post
  •  
  • Page 1 2
  • Page 1 2
  •  
  • Post #1
  • Quote
  • First Post: Mar 13, 2008 12:05pm Mar 13, 2008 12:05pm
  •  Breman
  • | Joined Dec 2006 | Status: Member | 2 Posts
Hello,

I just found out that my charts are delayed and I am hoping someone else has had this problem and knows how to fix it.

My processor is running at 50%.

Does anyone know what I should do?

My processor is 2.4 Ghz
RAM 1G

The computer is a year old.
  • Post #2
  • Quote
  • Mar 13, 2008 12:08pm Mar 13, 2008 12:08pm
  •  magnumfreak
  • Joined Nov 2007 | Status: Trying manual mode again | 2,210 Posts
how many charts do you have running? Also, how many indicators are attached to those charts?
 
 
  • Post #3
  • Quote
  • Mar 13, 2008 3:17pm Mar 13, 2008 3:17pm
  •  scorpion
  • | Joined Sep 2005 | Status: Member | 272 Posts
Mine was running constantly at 98% cpu, it is generally down to a custom indicator, in my case it was one called the aroon horn.

What you need to do is load up a profile of blank charts the same as you usually use, then add the indicators you use one at a time to each one, checking your cpu as you go.

It's a process of elimination.

Its nearly always down to a custom indicator.

Since deleting the aroon horn, and going to a normal aroon my cpu has gone from 98% to 15% average usage, this with 16 charts open and lots of moving averages

hope this helps
 
 
  • Post #4
  • Quote
  • Mar 14, 2008 4:21am Mar 14, 2008 4:21am
  •  Breman
  • | Joined Dec 2006 | Status: Member | 2 Posts
Thank you.

I just figured it out after I posted.

You are right. It was a custom indicator.

I have never posted before. It's a great feeling knowing there are people out there that are willing to give you a hand.
 
 
  • Post #5
  • Quote
  • Mar 14, 2008 5:04am Mar 14, 2008 5:04am
  •  shadowninja
  • | Joined Jan 2008 | Status: Small Member | 493 Posts
10 Print "aroon Horn"
20 Goto 10

?

The market reveals who we really are...
 
 
  • Post #6
  • Quote
  • Mar 14, 2008 5:25am Mar 14, 2008 5:25am
  •  scorpion
  • | Joined Sep 2005 | Status: Member | 272 Posts
In case anyone has the same problem I am now using Aroon v1 which is perfect, and you can set the lookback bar count which speeds things up even more.

I have mine set to 300.

Just as an aside I am looking for a alert when you get a Aroon cross but no-one seems to have anything up to now, if anyone can help it would be much appreciated.

Aroon v.1 below
Attached File(s)
File Type: mq4 Aroon_v1.mq4   3 KB | 868 downloads
 
 
  • Post #7
  • Quote
  • Mar 17, 2008 6:47pm Mar 17, 2008 6:47pm
  •  Softy
  • | Joined Mar 2008 | Status: Member | 1 Post
Quoting Breman
Disliked
Hello,

I just found out that my charts are delayed and I am hoping someone else has had this problem and knows how to fix it.

My processor is running at 50%.

Does anyone know what I should do?

My processor is 2.4 Ghz
RAM 1G

The computer is a year old.
Ignored
Solution is very simple.

open tools/options/charts/max bars in chart: decrease number you have by 50%.
If not do it again until CPU usage starts falling
 
 
  • Post #8
  • Quote
  • Mar 18, 2008 3:32am Mar 18, 2008 3:32am
  •  forexmoments
  • | Commercial Member | Joined Dec 2007 | 1,927 Posts
Yeah just be wary of some indicators that paint way back into history. Attaching them to a few charts grinds my computer to a halt!
 
 
  • Post #9
  • Quote
  • Nov 5, 2008 2:07pm Nov 5, 2008 2:07pm
  •  sed34
  • | Joined Jul 2008 | Status: Clear Cut System Trader | 1,111 Posts
Quoting Softy
Disliked
Solution is very simple.

open tools/options/charts/max bars in chart: decrease number you have by 50%.
If not do it again until CPU usage starts falling
Ignored
bump. people need to read this. it helps out a lot. I was wondering why a fresh install is fast, but after awhile my cpu was high.
 
 
  • Post #10
  • Quote
  • Nov 5, 2008 2:40pm Nov 5, 2008 2:40pm
  •  Rabid
  • Joined Jan 2008 | Status: Lunatic Supreme | 1,840 Posts
Keep in mind that doing that will reduce your history, making backtesting less reliable.

One workaround is to install a 2nd copy (like Alpari's demo) and use one specifically for backtests, while using the other for trading. That way you keep the number of big bar windows to a minimum.

Personally, I've noticed a lot has to do w/ the indicators I use. Some are poorly written, make complex calculations every tick rather than every bar. You might be able to speed up MT4 by experimenting w/ your indicators, seeing if any make a big difference.
 
 
  • Post #11
  • Quote
  • Nov 5, 2008 3:29pm Nov 5, 2008 3:29pm
  •  cobraforex
  • Joined Aug 2008 | Status: Sharpen the Scalper Razor | 4,704 Posts
I was reading recently that it helps to erase most of the log files but mostly it is an indicator that uses a lot of math calculations.
Like said before it is good idea to set to read lower candle quantity and you will get less CPU usage.
 
 
  • Post #12
  • Quote
  • Nov 5, 2008 7:29pm Nov 5, 2008 7:29pm
  •  sed34
  • | Joined Jul 2008 | Status: Clear Cut System Trader | 1,111 Posts
Quoting Rabid
Disliked
Keep in mind that doing that will reduce your history, making backtesting less reliable.

One workaround is to install a 2nd copy (like Alpari's demo) and use one specifically for backtests, while using the other for trading. That way you keep the number of big bar windows to a minimum.

Personally, I've noticed a lot has to do w/ the indicators I use. Some are poorly written, make complex calculations every tick rather than every bar. You might be able to speed up MT4 by experimenting w/ your indicators, seeing if any make a big difference.
Ignored
That's fine by me, because I do my trading manually. I don't trust automation with real money, yet.
 
 
  • Post #13
  • Quote
  • Nov 5, 2008 7:34pm Nov 5, 2008 7:34pm
  •  sed34
  • | Joined Jul 2008 | Status: Clear Cut System Trader | 1,111 Posts
Quoting cobraforex
Disliked
I was reading recently that it helps to erase most of the log files but mostly it is an indicator that uses a lot of math calculations.
Like said before it is good idea to set to read lower candle quantity and you will get less CPU usage.
Ignored
i put my bars at 1500 and it is sooooooo much faster now. I changed the indicators i use to 500.

Let get real. That's all we need anyway if we are technically trading short term. My CPU barely makes an uptick. i will check out the log files. thanks for the tip
 
 
  • Post #14
  • Quote
  • Dec 22, 2008 7:54am Dec 22, 2008 7:54am
  •  jimbil
  • | Joined Feb 2007 | Status: Member | 201 Posts
Quoting Softy
Disliked
Solution is very simple.

open tools/options/charts/max bars in chart: decrease number you have by 50%.
If not do it again until CPU usage starts falling
Ignored
Thanks Softy, your solution works a treat. i reduced both the max bars in history, and max bars in chart by 8 times, and my charts are much quicker and the cpu usage is probably 1/4 as much as previously.
 
 
  • Post #15
  • Quote
  • Dec 22, 2008 8:33am Dec 22, 2008 8:33am
  •  jimbil
  • | Joined Feb 2007 | Status: Member | 201 Posts
Quoting jimbil
Disliked
Thanks Softy, your solution works a treat. i reduced both the max bars in history, and max bars in chart by 8 times, and my charts are much quicker and the cpu usage is probably 1/4 as much as previously.
Ignored

I was also experiencing high CPU Usage in IE7 - up to 30%+.
Following the "reset" instructions here, means that IE7 CPU Usage is now maxing at around 13% (usually much lower) when having the same website tabs open as before.

http://www.eggheadcafe.com/software/...ith-inter.aspx

Quote
Disliked
cpu usage 100% with internet explorer 7 - maurizio

25-Feb-08 09:28:03
My ie 7 using cpu to 100%, with process explorer I have seen that the dllthat using100% is ieframe.dll. have same solution?O.S. win pro sp2 ie 7.0.5730.11.(without addons the problem exist too
.....................


I know of three causes for the vast majority of such problems:
1. You might have incompatible add-ons:
Go to Start | All Programs | Accessories | System Tools
and click Internet Explorer (No Add-ons).

2. Tools | Internet Options | Advanced
Scroll to the bottom and click Reset Internet Explorer Settings. Read this
article first:
How to use Reset Internet Explorer Settings (RIES):
http://support.microsoft.com/kb/923737
Note that the Reset IE Settings button will delete AutoComplete data (such
as passwords.) Do you have those backed up?
 
 
  • Post #16
  • Quote
  • Mar 18, 2011 4:56pm Mar 18, 2011 4:56pm
  •  mindreality
  • | Joined Mar 2010 | Status: Member | 338 Posts
What is the difference between max bars on chart and max bars on history?

What if I only decrease max bars on chart? Is it good enough without touching max bars on history?
 
 
  • Post #17
  • Quote
  • Mar 20, 2011 7:40pm Mar 20, 2011 7:40pm
  •  bigsteely101
  • | Joined Jun 2010 | Status: Member | 66 Posts
I just finished posting a reply that may help you with this. My post is in this forum category and it is titled "who here uses an SSD drive???" I found that if you clear out your Java cache, it will likely help.
 
 
  • Post #18
  • Quote
  • Mar 23, 2011 2:56am Mar 23, 2011 2:56am
  •  supremeChaos
  • Joined Feb 2009 | Status: Borderline yahoo & oh-no! | 6,607 Posts
Quoting mindreality
Disliked
What is the difference between max bars on chart and max bars on history?
What if I only decrease max bars on chart? Is it good enough without touching max bars on history?
Ignored
depends on your intentions..

From MT4's Help articles (inside MT4, press F1 to go to 'Help'):
"Bars stored in history and those shown in charts differ from each other. This difference is determined by the fact that any amount of bars can be kept in the hard disk provided that it has enough space. But the amount of bars shown in the chart is limited by the computer resources. To calculate values of technical and custom indicators, bars shown in the chart are used, as well. When a great amount of indicators and data to be shown are used simultaneously, computer free resources (central processor load and free RAM) can exhaust very soon. To avoid such problems, one can specify the amount of data shown in the charts independently. To do so, one must choose the suitable value from the pop-up list or enter it manually in the "Max bars in chart" field. The amount of bars to be stored in the hard disk is specified in the "Max bars in history" field. In future, this value will be used for testing of Expert advisors . Any amount of bars can be specified here"
 
 
  • Post #19
  • Quote
  • Mar 23, 2011 3:16am Mar 23, 2011 3:16am
  •  mindreality
  • | Joined Mar 2010 | Status: Member | 338 Posts
Thanks!

How do I know how much of the RAM is being used on my machine, and what is an acceptable percentage?
 
 
  • Post #20
  • Quote
  • Nov 9, 2011 4:36am Nov 9, 2011 4:36am
  •  spacePip
  • | Joined Feb 2010 | Status: Member | 64 Posts
Quoting Softy
Disliked
Solution is very simple.

open tools/options/charts/max bars in chart: decrease number you have by 50%.
If not do it again until CPU usage starts falling
Ignored
Simple but effective, after suffering slow and sluggish performance I dropped my max charts bars to 5000 and my memory use for metatrader (terminal.exe) has dropped from 182,000k to 74,500k and its now actually quick and usable again. Great tip thanks
 
 
  • Platform Tech
  • /
  • Metatrader is running slow. Taking 50%CPU
  • Reply to Thread
    • Page 1 2
    • Page 1 2
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023