Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strange situation with strategy names

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

    strange situation with strategy names

    Dear friends.
    I have create strategy which called "stohastic" and I try to run it at chart but I see the message in control center Failed to call method 'Initialize' for strategy 'rx300/086dab1f0aef4b91baca95fcce02ba55': 'CurrentBarArray' property can't be accessed from within 'Initialize' method

    Rx300 - is another strategy but I remove all active code from it. And error message appear only when I run strategy "stohastic".
    What is the reason of it?

    #2
    Hi daglas,

    Initialize() is called for all scripts, so errors in coding in one script can affect functionality for other scripts. You need to correct the error in RX300 before other scripts will work properly.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by daglas View Post
      Dear friends.
      I have create strategy which called "stohastic" and I try to run it at chart but I see the message in control center Failed to call method 'Initialize' for strategy 'rx300/086dab1f0aef4b91baca95fcce02ba55': 'CurrentBarArray' property can't be accessed from within 'Initialize' method

      Rx300 - is another strategy but I remove all active code from it. And error message appear only when I run strategy "stohastic".
      What is the reason of it?
      The error means what it says. You have tried to do something with a bar object in the Initialize() method. At that time, no bar objects exist yet that are accessible.

      Comment


        #4
        Originally posted by koganam View Post
        The error means what it says. You have tried to do something with a bar object in the Initialize() method. At that time, no bar objects exist yet that are accessible.
        ok, thx. I have fix the problem.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        652 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        577 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X