Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 manueldecastro, Yesterday, 10:26 AM
    6 responses
    25 views
    0 likes
    Last Post manueldecastro  
    Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
    24 responses
    75 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by businessman1929, 04-29-2024, 01:28 PM
    3 responses
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by mintos, 04-02-2024, 08:22 PM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Creamers, 04-27-2024, 05:32 AM
    13 responses
    74 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X