• 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 Barry Milan, Today, 01:33 PM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by dkbyond, Yesterday, 04:11 PM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by ralett, Today, 01:42 PM
    0 responses
    0 views
    0 likes
    Last Post ralett
    by ralett
     
    Started by w0lverine, Yesterday, 08:22 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by brett0, Yesterday, 12:33 PM
    4 responses
    23 views
    0 likes
    Last Post Lancer
    by Lancer
     
    Working...
    X