Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

weird optimization error

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

    weird optimization error

    can anyone tell me what this means?

    **NT** Error on getting/setting property 'OptimizationMethod' for strategy 'ASTStrategy/5fe127ce8d8847208905ff508bd77472': Bar index needs to be greater/equal 0

    #2
    Could you please provide a step by step guide on how to reproduce teh issue? Thanks

    Note: We only would be able to provide support for OptimizationMethods provided by NT. You needed to contact the author in case you would be using a custom OptimizationMethod.

    Comment


      #3
      actually, i'm trying to convert my own optimization method from NT6.5 to NT7, and I'm not sure why I'm getting this...

      Comment


        #4
        Unfortunately this is beyond what we provide support. You needed to debug your custom optimization method e.g. by using try/catch blocks. As last resort you might consider contacting a certified NinjaScript consultant.

        Comment


          #5
          Originally posted by NinjaTrader_Dierk View Post
          You needed to debug your custom optimization method e.g. by using try/catch blocks.
          i already tried that - i'm not seeing any exceptions. this message is being printed during the RunIteration() method, none of my code is running at this time - it's all inside NT.

          Comment


            #6
            Please contact a certified NinjaScript consultant in case you needed support for migrating your custom optimization method.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            47 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            23 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            33 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            50 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            42 views
            0 likes
            Last Post CarlTrading  
            Working...
            X