Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    -EC_Chris-
    NinjaTrader Ecosystem Vendor - Emergent Cybernetics

    #2
    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.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    5 views
    0 likes
    Last Post maybeimnotrader  
    Started by quantismo, Today, 05:13 PM
    0 responses
    6 views
    0 likes
    Last Post quantismo  
    Started by AttiM, 02-14-2024, 05:20 PM
    8 responses
    166 views
    0 likes
    Last Post jeronymite  
    Started by cre8able, Today, 04:22 PM
    0 responses
    8 views
    0 likes
    Last Post cre8able  
    Started by RichStudent, Today, 04:21 PM
    0 responses
    5 views
    0 likes
    Last Post RichStudent  
    Working...
    X