Daytona Beach
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 54 since May 2010
Thanks Given: 7
Thanks Received: 100
|
I need help trying to subscribe to an event or overriding a method from an indicator. I want to initiate an action in an indicator when a trade execution occurs. I use a key for NT provided by my broker that disables strategies, so I can't override the OnPositionUpdate() method or use anything in the Strategies namespace. But, I see the same method in the MarketAnayzer.ColumnBase class which I do have access to (won't have to subscribe to an event if I can use this one).
There is also an Execution class in the Cbi namespace that appears to have an event associated with it. I see the classes ExecutionUpdate and ExecutionUpdateEventArgs and a delegate ExecutionUpdateEventHandler, but not sure how I can subscribe to the event.
Can anyone provide some insight? Thanks.
ghoti
|