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 ghoul, Today, 06:02 PM
                  3 responses
                  14 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by jeronymite, 04-12-2024, 04:26 PM
                  3 responses
                  44 views
                  0 likes
                  Last Post jeronymite  
                  Started by Barry Milan, Yesterday, 10:35 PM
                  7 responses
                  20 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by AttiM, 02-14-2024, 05:20 PM
                  10 responses
                  180 views
                  0 likes
                  Last Post jeronymite  
                  Started by DanielSanMartin, Yesterday, 02:37 PM
                  2 responses
                  13 views
                  0 likes
                  Last Post DanielSanMartin  
                  Working...
                  X