• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Performance with Chart Indicators/Plots NT8 vs. NT7

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strategy Performance with Chart Indicators/Plots NT8 vs. NT7

    Hello,

    I had a discussion with an NT7 user regarding strategy performance. He was under the impression that strategy code for live trading SHOULD NOT include chart indicators or plots, that adding those to the live code would potentially disrupt performance. That those elements should only be in a backtesting version of the code.

    Is this true, or was it true with NT7 and not with NT8?

    If so, should then all live code not include AddChartIndicator() or Drawings?

    Appreciate the feedback.

  • NinjaTrader_Jim
    replied
    Hello EC_Chris,

    Thanks for your post.

    It sound like this user is after bleeding edge performance to have the edge on scripts that do plot and add drawing tools.

    Drawing tools can impact the amount of time it takes to complete a backtest, but I would not describe realtime runs of the strategy to have a comparable impact when using drawing tools or plotting.

    Granted, adding additional code adds execution time, so adding plots and visual indications would technically not be as fast as a script that doesn't add those. I would not say there is a significant difference, however.

    If you want to, you could create two versions of your strategy and test against Market Replay data played back at 1x and then add timers to your strategy to measure how much time is spent calculating and if there is any noticeable delay between your order submissions.

    Let us know if there is anything else we can do to help.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by timcjpfx, Today, 01:18 PM
1 response
6 views
0 likes
Last Post NinjaTrader_Tyler  
Started by lordvader34, Today, 12:48 PM
2 responses
12 views
0 likes
Last Post lordvader34  
Started by Newtrader101, Today, 11:06 AM
1 response
10 views
0 likes
Last Post NinjaTrader_Jesse  
Started by Newtrader101, Today, 11:03 AM
2 responses
9 views
0 likes
Last Post Newtrader101  
Started by rickyblah12, Today, 09:57 AM
1 response
10 views
0 likes
Last Post NinjaTrader_PaulH  
Working...
X