Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

update indicator on each tick

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

    update indicator on each tick

    • My strategy is set to Calculate.OnEachTick.
    • The indicator it hosts is also set to Calculate.OnEachTick, but I understand it inherits parent setting anyway.
    • Strategy primary data series is 15sec bars.
    • Strategy passes "Input" to indicator.
    • Why does indicator only run onbarupdate on each bar close?

    #2
    Hello iantriestrading,

    The strategy is the host in that case so it also has to be set to OnEachTick for the indicators to inherit that. When hosting scripts it passes all the way down from the top script even if your sub scripts use different settings.

    Comment


      #3
      Hi Jesse,
      I'm so confused by your response. In my original post I said "My strategy is set to Calculate.OnEachTick."
      So you just told me to do what I'm already doing.
      Could you recheck my post? Thanks!

      Comment


        #4
        Hello iantriestrading,

        Are you certain that your strategy is using OnEachTick? If you are hosting an indicator and its running on bar close that means the parent is using OnBarClose. The only other way for that to happen would be if you programmed the indicator to only execute on the first tick of the bar. In historical data everything will still run OnBarClose, you would only see OnEachTick in realtime.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        116 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        61 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        40 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        43 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        82 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X