Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order of Operations

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

    Order of Operations

    Hello,

    Is there a help page that discusses the order of operations when a tick or price change comes in?

    My question is, is it deterministic that OnBarUpdate is executed for indicators first and then strategies? I'm realizing that logic I put into a custom indicator must be done in OnBarUpdate for the indicator before my strategy runs OnBarUpdate as it relies on the indicator to be updated for that tick (typically, the first tick of a bar) or price change is evaluated.

    Thanks,
    Matt

    #2
    Hello StealthM93,

    I don't know of a specific resource that just directly says what you stated but that would be the general expectation. The indicator will need to process before the strategy can access its values. There is one comment in the help guide that mentions you need to call the indicator to get its values and to have it calculate but not that it happens first (it does).



    Comment


      #3
      Thank you, Jesse!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      598 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      343 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      557 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      555 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X