Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnBarUpdate() is not called at the same frequency between Indicator() and Strategy()

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

    OnBarUpdate() is not called at the same frequency between Indicator() and Strategy()

    Hi, Supper Folks,

    Should OnBarUpdate() be called at the same frequency in Indicator() and Strategy()? Thanks.


    #2
    Hello localappleseed,

    Thank you for your post.

    Are you referring to if an Indicator and Strategy should both be set to the same Calculate mode? (OnBarClose, OnPriceChange, OnEachTick)

    Please note that an Indicator hosted by the Strategy will adopt the Calculate setting of its' host. For example, if you set the Strategy to Calculate OnBarClose and add an Indicator to it, the Indicator would adopt the same Calculate mode of OnBarClose.

    Also, if you are seeing something unexpected, attach a sample of your code demonstrating the unexpected results so that we may further investigate the matter.

    Let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by blar58, Today, 01:21 PM
    0 responses
    1 view
    0 likes
    Last Post blar58
    by blar58
     
    Started by tonynt, Today, 01:21 PM
    0 responses
    6 views
    0 likes
    Last Post tonynt
    by tonynt
     
    Started by Byron22, Today, 12:19 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PaulG  
    Started by Trader17, Today, 12:25 PM
    2 responses
    8 views
    0 likes
    Last Post Trader17  
    Started by focus333, Today, 10:48 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X