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 analyser not analysing full date period

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

    Strategy analyser not analysing full date period

    Hi,

    I am running an imported strategy on strategy analyser.
    I am trying to test the periods 01 jan 017 until 31 dec 2017
    I have the data for this period as the bar chart displays bars for the whole of this period
    However, the strategy analyser is only analysing half the year from end of July 2017 until dec 2017
    I have entered the start date correctly and have bars to look back set to infinite and there are definitely valid setups during this period

    Thanks


    #2
    Hello duncanferguson,

    Thanks for your post.

    After running your strategy, please check the "log" tab of the NT8 control center for any error messages that may be related to the strategy.

    If there are no error messages, please run the SampleMaCrossover strategy over exactly the same data/bars timeframe as your strategy. The sampleMaCrossover is an always in strategy and will place trades all the way through the entire data period.

    If the SampleMaCrossover strategy shows trades all the way through on exactly the same data/bars timeframe then that is a good confirmation that you have all of the data so the next step would be to debug your strategy to see why it stopped trading as you described. You would use print statements to show that all of the bars are being processed and add prints ahead of your entry conditions to output the variables that are used to evaluate for the entry. While tedious, debugging is a necessary step to prove the strategy logic.

    Here is a link to our debugging tips: https://ninjatrader.com/support/help...s/?seriest.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      I have tried MA strategy it works on the data.

      My developer thinks it is a data issue though.

      The strategy he has coded runs on tick data, he says the MA strategy does not use tick data so I might see the MA strategy working but it is still a data issue as I do not have the correct tick data.

      I am on the continuum trial data. Should I have tick data going back pre Aug 2017 on this trial? If I should how do I check I have this tick data?

      Thanks

      Comment


        #4
        Hello duncanferguson,

        Thanks for your reply.

        In that case, all you need to do is to run SampleMaStrategy on a tick based bar type, such as Range, Renko, Tick or Volume type bars. Once the analysis is done, look at the chart in the strategy analyzer and go to the first bar shown to see what the earliest date is.

        Tick data historically typically would be limited to 1 year back.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cls71, Today, 04:45 AM
        2 responses
        10 views
        0 likes
        Last Post eDanny
        by eDanny
         
        Started by proptrade13, Today, 11:06 AM
        0 responses
        2 views
        0 likes
        Last Post proptrade13  
        Started by kulwinder73, Today, 10:31 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by RookieTrader, Today, 09:37 AM
        3 responses
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by terofs, Yesterday, 04:18 PM
        1 response
        24 views
        0 likes
        Last Post terofs
        by terofs
         
        Working...
        X