Optimization of Multicharts Perfomance

Questions about MultiCharts and user contributed studies.
Spark
Posts: 12
Joined: 30 May 2013
Has thanked: 8 times

Optimization of Multicharts Perfomance

Postby Spark » 03 Oct 2013

Dear friends and colleagues!

Could you please help me to optimize the perfomance of the programm?

I am the licensed user, using the 64-bit version.
2 layouts with 32 graphs on each, 1-hour timeframe. Automated trading is always on. Orders are executed on hour's close (prices are updated on every tick, and strategy code places orders after the 59-th minute of the hour)
The broker is Interactive Brokers, Advisor Account, orders are executed through IB Gateway.
Now I'm going to strart new strategy and there would be 60 (x2 Layouts = 120) more graphs. That would certainly explode my computer.

System Infromation:
RAM: 8 GB
Intel Core i7 3.6 Ghz
Non SSD Hard drive

Here are the screenshots of my layout and Task Manager (sorry for bluring, have no permission to reveal the charts and private information).

What are the ways to reduce memory consumption? Please help me.
Thank you very much!

Yours sincerely,
Nick K.

P.S.: if someone from development team is reading this, do you have plans to develop portfolio trading feature to simplify the process? Thanks!
Attachments
Layout3.png
Layout
(989 KiB) Downloaded 790 times
TaskManager.png
TaskManager
(82.73 KiB) Downloaded 774 times

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Optimization of Multicharts Perfomance

Postby TJ » 03 Oct 2013

Please take a screen shot of the Performance tab in the TaskManger.

What do you see in CPU usage during heavy load? what is the average?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Optimization of Multicharts Perfomance

Postby TJ » 03 Oct 2013

Dear friends and colleagues!
Could you please help me to optimize the perfomance of the programm?
::
What are the ways to reduce memory consumption? Please help me.
::
Which version/built MultiCharts are you using?

1. What prompt you to want to optimize the performance? which performance?

2. is memory the only thing you are concerned with? or others too?

3. what is the memory usage now? why do you want to reduce memory consumption? memory is cheap.

4. how much back data do you have on the charts?
5. do you have a different symbols on each chart? (ie 32x2 symbols?)
6. are you running into bottlenecks?
-- What do you think is the cause? Hardware? indicator? software? internet?
7. What is your definition of "Improved Performance"? Do you have a measurement in mind?
8. why do you not want to use SSD?
9. how many indicators/strategies do you have running in this set up?
10. in your studies, do you have drawing objects? (arrows, line, text, etc.,)
11. in your studies, do you have arrays? How large are they?
12. how many lines of codes are in your largest study?
13. do you use GV or ADE or other custom DLL?

shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

Re: Optimization of Multicharts Perfomance

Postby shanemcdonald » 03 Oct 2013

The last release has memory leak issues which are being fixed now. The new beta release just came out.

My system froze up every 8 hours with 2 workspaces and 20 charts on a similar system.
The tsserver and tradingserver processes would expand until memory was overwhelmed.

It took awhile to figure it out.

I dont think it will work until new release is out.

this has been my experience in past 2 months.

After looking at your task manager, I would say that is what is happening to you also.
Once the multicharts.exe process got beyond 1 gig, I would save my stuff and prepare for freeze up.

shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

Re: Optimization of Multicharts Perfomance

Postby shanemcdonald » 06 Oct 2013

the memory seems to be working much better now in the beta release !
have you tried it ?

Spark
Posts: 12
Joined: 30 May 2013
Has thanked: 8 times

Re: Optimization of Multicharts Perfomance

Postby Spark » 08 Oct 2013

Thanks everyone, now trying the new beta version and it really seems to be much faster.
Will write you back soon! I will take a week for testing

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Optimization of Multicharts Perfomance

Postby Henry MultiСharts » 14 Oct 2013

Spark, on the screenshot you have provided the memory usage is not above normal.
I do not see any problem here. Adding another instance or workspace should do no harm to your PC performance.

If you have any further questions, please reply to the questions from TJ's posts.

Portfolio Trading is coming in MultiCharts 9. If you want to participate in beta testing of this functionality that should start soon - please send an email to support@multicharts.com to sign up for it.
Once the multicharts.exe process got beyond 1 gig, I would save my stuff and prepare for freeze up.
If you are running 64 bit version of MultiCharts then each process can utilize all of the available RAM of your PC ( not just 2gb, like 32 bit applications ).


Return to “MultiCharts”