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 not work with history (Strategy Analyzer)

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

    Strategy not work with history (Strategy Analyzer)

    Hello! I created multi time frame indicator and use them in my stratery. In real time - indicator works in my strategy. But i need analyze strategy on history data, and on history my indicator can't calculate values. Why? If i use simple chart with my multi TF indicator it works.

    #2
    Hello nordseven,

    Thank you for your post.

    Are you running any calculations in specific States? If so what States are used and what is being processed as far as calculations?

    For example: State.DataLoaded or State.Historical.

    Comment


      #3
      No i use only State.SetDefaults and State.Configure.
      State.Configure calculate previous day date.
      Last edited by nordseven; 04-11-2017, 06:57 AM.

      Comment


        #4
        Hello nordseven,

        Thank you for your response.

        May we test the indicator on our end? You can export your indicator by going to Tools > Export > NinjaScript Add On > Add > select your indicator > OK > Export > name the file 'NTsupport' > Save.

        The file will be located under Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript. Please attach the file to your response.

        If you prefer you can send the file to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.

        I look forward to assisting you further.

        Comment


          #5
          Send Email

          Comment


            #6
            Hello nordseven,

            Thank you for sending in the file.

            I have the file and I will be testing on my end. I will follow up with you when I have details on this matter.

            Comment


              #7
              Hello nordseven,

              Thank you for your patience.

              I cannot get the indicator to plot anything when called on it's own. What chart do I need to use and what settings do I need for the indicator? Example: TF 06-17 1 Minute.

              I look forward to your response.

              Comment


                #8
                ES 06-17 60 min

                Indicator params
                CountFromDay 10
                Period 5
                Index 2
                Last edited by nordseven; 04-11-2017, 08:53 AM.

                Comment


                  #9
                  Hello Patrick. I found error... very stupid mistake, sorry and thank you.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by RookieTrader, Today, 09:37 AM
                  3 responses
                  15 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by kulwinder73, Today, 10:31 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post kulwinder73  
                  Started by terofs, Yesterday, 04:18 PM
                  1 response
                  23 views
                  0 likes
                  Last Post terofs
                  by terofs
                   
                  Started by CommonWhale, Today, 09:55 AM
                  1 response
                  4 views
                  0 likes
                  Last Post NinjaTrader_Erick  
                  Started by Gerik, Today, 09:40 AM
                  2 responses
                  7 views
                  0 likes
                  Last Post Gerik
                  by Gerik
                   
                  Working...
                  X