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 gravdigaz6, Today, 11:40 PM
                  0 responses
                  4 views
                  0 likes
                  Last Post gravdigaz6  
                  Started by MarianApalaghiei, Today, 10:49 PM
                  3 responses
                  9 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by XXtrader, Today, 11:30 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post XXtrader  
                  Started by love2code2trade, Yesterday, 01:45 PM
                  4 responses
                  28 views
                  0 likes
                  Last Post love2code2trade  
                  Started by funk10101, Today, 09:43 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post funk10101  
                  Working...
                  X