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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        50 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        16 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X