Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators and order of State.DataLoaded

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

    Indicators and order of State.DataLoaded

    I have an indicator that creates other indicators to be used to do its calculations. The parent indicator creates the other indicators in State.Configure. The child indicators State.DataLoaded is occurring after the parents State.DataLoaded. Why isn't the child indicator executing State.DataLoaded first?

    #2
    Hello ntbone,

    I don't know of any resources which would outline details on why that order of processing is used, are you seeing some kind of problem? If you are seeing a problem please provide details about the situation you are seeing including relevant code if there is a problem happening with some code.



    Comment


      #3
      The problem is that my parent indicator needs the child indicator to have executed the DataLoaded state before it executes its own DataLoaded state. Since the order of execution is not happening I am having to move the code in the parent one to a later state and add extra checks to make sure its only executed twice. I moved the code to State.Historical and the documetnation says there are situations where State.Historical may execute more then once..

      Comment

      Latest Posts

      Collapse

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