Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy not refreshing on focus

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

    Strategy not refreshing on focus

    I might be doing something wrong here, but I wouldn't know exactly what it is because the strategy compiled correctly, and it appears to work fine in chart window, but when I try to select the strategy in Strategy Analyzer, the Parameters do not update with the new strategy parameters.

    Ex.

    If I select from the back test drop down Custom Strategy 1, the parameters change to show the available exposed paremeter for strategy 1.

    If I change to custom stragey 2, the parameters still show the first set from strategy 1.

    If I go to custom strategy 3, it shows parameters for strategy 3.

    It would seem that something is wrong with my strategy 2. But i have been combing over line by line for the past hour and the structure is exactly the same as the rest. Eventually I have commented out almost all the code, and it still does not refresh. I also tried renaming it as a new strategy and recompiling, same thing.

    Any ideas of what to look for?

    #2
    Sounds like some declaration may have been screwed up. Perhaps you could try copying out all the logic parts inside OnBarUpdate() and just create a completely new strategy to put it back into.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      Sounds like some declaration may have been screwed up. Perhaps you could try copying out all the logic parts inside OnBarUpdate() and just create a completely new strategy to put it back into.
      OK, I found the offending line (typo, but still a valid statement). It was in the declaration section. Thanks for pointing me in the right direction.

      Comment


        #4
        Excellent, thanks for letting us know.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by samir, Today, 07:00 PM
        0 responses
        9 views
        0 likes
        Last Post samir
        by samir
         
        Started by travisloneker, Today, 06:52 PM
        0 responses
        6 views
        0 likes
        Last Post travisloneker  
        Started by InfraredBusa, Today, 05:50 PM
        0 responses
        3 views
        0 likes
        Last Post InfraredBusa  
        Started by White Fork, Today, 04:56 PM
        1 response
        8 views
        0 likes
        Last Post White Fork  
        Started by steveyinyang, Today, 02:48 PM
        3 responses
        21 views
        0 likes
        Last Post steveyinyang  
        Working...
        X