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

BackTesting with Continuous Contract

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

    BackTesting with Continuous Contract

    Hello,

    I have more questions on back testing software as I am doing reading.

    When Using the Strategy Analyzer back testing software what contract does the software use?

    For instance, I trade the /CL crude future, and I want to back test from 1/16/2016 to 1/16/2017, does the back test software use the continuous contract (/CL) prices or the front contract (e.g, CLZ16, CLF17, CLG17, etc.) prices?


    If the continuous contract (/CL) prices are used during back test and front contract (e.g., CLZ16, CLF17, CLG17, etc.) prices are used during strategy running real-time, will this effect real-time vs back test performance results?

    Technically does using the continuous contract vs front month contract even matter cause its just prices the strategy is trading against? If that makes any sense.


    I am asking this because my trading strategies are all based on trading calculated support and resistances which are previous day Pivot Points, High, Close, Low , Open prices. And I trying to think about if back testing this based on continuous contract prices will give me conflicting performance when I run that same strategy live. The back test can show profitability, but the real live testing I may never know until months later or even years back testing show different performance because the continuous contract issue.

    Maybe I am thinking too much.
    Thanks,

    #2
    Hello simple_goodoboy,

    This will depend on the merge policy selected.

    With MergeBackAdjusted (default setting) the chart with be continuous, stitched together by expiry month and adjusted by an offset to prevent gaps.

    With MergeNonBackAdjusted the chart with be continuous but will not be adjusted.

    With DoNotMerge only the data from the selected contact is shown. Chart is not continuous.

    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello simple_goodoboy,

      This will depend on the merge policy selected.

      With MergeBackAdjusted (default setting) the chart with be continuous, stitched together by expiry month and adjusted by an offset to prevent gaps.

      With MergeNonBackAdjusted the chart with be continuous but will not be adjusted.

      With DoNotMerge only the data from the selected contact is shown. Chart is not continuous.

      http://ninjatrader.com/support/helpG...rge_policy.htm
      Thank you ChelseaB,

      I need to study the guides, then I respond with questions if needed.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by TheWhiteDragon, 01-21-2019, 12:44 PM
      4 responses
      541 views
      0 likes
      Last Post PaulMohn  
      Started by GLFX005, Today, 03:23 AM
      0 responses
      2 views
      0 likes
      Last Post GLFX005
      by GLFX005
       
      Started by XXtrader, Yesterday, 11:30 PM
      2 responses
      11 views
      0 likes
      Last Post XXtrader  
      Started by Waxavi, Today, 02:10 AM
      0 responses
      7 views
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Started by TradeForge, Today, 02:09 AM
      0 responses
      14 views
      0 likes
      Last Post TradeForge  
      Working...
      X