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 bortz, 11-06-2023, 08:04 AM
                  47 responses
                  1,607 views
                  0 likes
                  Last Post aligator  
                  Started by jaybedreamin, Today, 05:56 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post jaybedreamin  
                  Started by DJ888, 04-16-2024, 06:09 PM
                  6 responses
                  19 views
                  0 likes
                  Last Post DJ888
                  by DJ888
                   
                  Started by Jon17, Today, 04:33 PM
                  0 responses
                  6 views
                  0 likes
                  Last Post Jon17
                  by Jon17
                   
                  Started by Javierw.ok, Today, 04:12 PM
                  0 responses
                  15 views
                  0 likes
                  Last Post Javierw.ok  
                  Working...
                  X