NexusFi: Find Your Edge


Home Menu

 





Performance issues with multiple Charts and Indicators


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one iq200 with 2 posts (1 thanks)
    2. looks_two mrzz93 with 2 posts (0 thanks)
    3. looks_3 Bobo with 2 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 1,759 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 8 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
mrzz93
Berlin, Germany
 
Posts: 2 since Nov 2018
Thanks Given: 0
Thanks Received: 0

Hello,
my team is currently developing indicators for NT8 and we are confronted with a few performance issues right now:
Our test workspace is consisting of up to 9 charts with resolutions ranging from 1 tick and 1 second (loading 20 days) up to 86400 Seconds (loading 200 days for resolutions above 10 minutes)
  • Every chart has up to 5 of our custom indicators loaded
  • Every Indicator is picking up the Last DataSeries from the BarsArray and adding two new series (Ask and Bid) based on it
  • Each indicator is running OnBarUpdate on each tick
  • We are heavily relying on OnRender to draw most of our objects. Plots are only used for Lines

The main problem is that while the workspace is loading some chart window randomly freeze. Our indicators are heavily tested and have no memory leaks thus we are not really sure what could be causing this issue. Hardware wise we are very far away from being at the limit (6-core intel, 64gb ram).

Also we noticed that when we save the workspace and restart NinjaTrader a random chartwindow doesnt load any indicators when the workspace is automatically loaded. We found a workaround for this:
  • Instead of just saving and exiting NT we save the workspace and close it down manually before exiting
  • When we restart NT we load our workspace manually and every chart window is loaded properly with its indicators

Did anyone else experience one of the issues mentioned above or has a few hints when it comes down to performance?

Thans in advance!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
What a Cool Draw/Markup Tool!
Traders Hideout
Equity Monaco download file?
Psychology and Money Management
RSI Values Scale
NinjaTrader
How to: Multi Time-Frame Volume Profile?
NinjaTrader
NinjaTrader indicator for last bar percentages
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Fighting Addiction and Stops
17 thanks
Just another trading journal: PA, Wyckoff & Trends
6 thanks
Big Mike in Ecuador
6 thanks
Crossing the Abyss: An Adventure Guide by Snax
4 thanks
Want your NinjaTrader indicator created, free?
4 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,092


did you checkout this thread?

Reply With Quote
  #4 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,715 since May 2010
Thanks Given: 203
Thanks Received: 2,687

As to the performance issue and the workspace issue we could help analyze what might be causing this. Can you please write in to [email protected] ATTN: Michael, he will be expecting your contact and we could work through some details.

Disclosure: This communication is sent to you by NinjaTrader, LLC, a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform.
Follow me on Twitter Reply With Quote
  #5 (permalink)
mrzz93
Berlin, Germany
 
Posts: 2 since Nov 2018
Thanks Given: 0
Thanks Received: 0


cory View Post
did you checkout this thread?

I read through the thread and will test the different hints and tricks and then report back, thanks

Reply With Quote
  #6 (permalink)
Bobo
Tampa, FL, USA
 
Posts: 28 since Jul 2013
Thanks Given: 2
Thanks Received: 19

Did you try on a PC with SSD, Intel Xeon processor, DDR4 2666MHz ECC RDIMM memory and at least
NVIDIA Quadro P1000 card?
The 64 Gb RAM alone is not big help. Most of it will not be used for a few charts with a few indicators (you said up to 9 charts).
Is your processor cache enough?
I had some problems with i7 before Xeon, which is by far better for day trading.

Reply With Quote
  #7 (permalink)
 iq200 
London, UK
 
Experience: Intermediate
Platform: Ninjatrader, Tradestation
Broker: Kinetick, InteractiveBrokers
Trading: Equities, Futures
Posts: 410 since Jun 2010
Thanks Given: 146
Thanks Received: 279


Bobo View Post
Did you try on a PC with SSD, Intel Xeon processor, DDR4 2666MHz ECC RDIMM memory and at least
NVIDIA Quadro P1000 card?
The 64 Gb RAM alone is not big help. Most of it will not be used for a few charts with a few indicators (you said up to 9 charts).
Is your processor cache enough?
I had some problems with i7 before Xeon, which is by far better for day trading.

How does having NVIDIA Quadro P1000 card help? I didn't think NT8 used the GPU and/or the onboard graphics memory on the P1000. See:
https://forum.ninjatrader.com/forum/ninjatrader-8/strategy-development/108773-how-to-increase-the-speed-of-optimisation-with-a-gpu

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
Bobo
Tampa, FL, USA
 
Posts: 28 since Jul 2013
Thanks Given: 2
Thanks Received: 19


iq200 View Post
How does having NVIDIA Quadro P1000 card help? I didn't think NT8 used the GPU and/or the onboard graphics memory on the P1000. See:
https://forum.ninjatrader.com/forum/ninjatrader-8/strategy-development/108773-how-to-increase-the-speed-of-optimisation-with-a-gpu

The GPU is the "brain" of the graphics card. The GPU is processing all of the data sent to the graphics card, from images to complex 3D shading, then sends them to the monitor to be displayed.
If low Gb on the card, there can be displaying problems.

Reply With Quote
  #9 (permalink)
 iq200 
London, UK
 
Experience: Intermediate
Platform: Ninjatrader, Tradestation
Broker: Kinetick, InteractiveBrokers
Trading: Equities, Futures
Posts: 410 since Jun 2010
Thanks Given: 146
Thanks Received: 279


Bobo View Post
The GPU is the "brain" of the graphics card. The GPU is processing all of the data sent to the graphics card, from images to complex 3D shading, then sends them to the monitor to be displayed.
If low Gb on the card, there can be displaying problems.

I am not convinced that any high end card such as a P1000 is needed with NT8. I’m running an I7 with two 55” monitors. One monitor runs 48 charts and when loading them, they load in about 40s. I just did it to confirm for you. Oh yeah …. I have a low end NVIDIA GT1030 card that has two ports for the two monitors I have!!

Graphics processing power can be a system performance bottleneck, but this really depends on what you are doing on the computer. If we forget about gaming needs, CAD / video rendering then all a graphics card needs to do is display the output from your PC. It’s a simple job - interpret the data from your PC and ‘draw’ it to your monitor/s.

Using a mid-high end graphics card won’t draw an excel document or a chart to your monitor any faster than a (seemingly) lower powered GT1030 card because the graphics power needed to draw 2D chart onto a screen is a simple blitting (look up ‘screen blitting’) – its pretty much instantaneous!! The processing power gains needed to display charts beyond 2D graphics are negligible.

Besides in the link I gave earlier, Ninjatrader say that Ninjatrader 8 does NOT offload ANY optimizations to the GPU!!

People tend to go over the top in getting graphics card for charting. All you need is multiple ports. If you’re going to play games though then yeah go for a good card but for charting you don’t need it.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on November 18, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Sitemap - Downloads - Top
no new posts