• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hooking Directly Into BarUpdateEvent

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

    Hooking Directly Into BarUpdateEvent

    I want to hook directly into the BarUpdateEvent - I'm writing an indicator/strategy with several isolated components that need to perform an action on the bar update and would like to have them hook directly into the event rather than write code inside the main class to call each component separately.

    I can't actually find where the event is declared to attach other handlers to it. Can I handle this event myself?

    #2
    Hello reach4thelasers,

    I am not aware of any supported or unsupported way to capture the OnBarUpdate event itself outside of OnBarUpdate().

    However, this thread will remain open for any community members that would like to contribute.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Italianforex, Today, 06:20 AM
    0 responses
    2 views
    0 likes
    Last Post Italianforex  
    Started by NinjaCustomer, Today, 04:53 AM
    0 responses
    4 views
    0 likes
    Last Post NinjaCustomer  
    Started by Oferedry, Today, 01:56 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by NinjaCustomer, Today, 01:28 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by xbionicx, Today, 01:12 AM
    0 responses
    3 views
    0 likes
    Last Post xbionicx  
    Working...
    X