Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I make a script to monitor submitted orders.

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

    How can I make a script to monitor submitted orders.

    Hello
    How can I make a script to monitor submitted orders.
    I have knowledge in C #, but I'm starting with Ninjatrader.
    My goal is simple, whenever an order is submitted, changed or deleted I need to write a file.
    You can help me with the initial steps.
    Thank you very much

    #2
    Hello almp1, thanks for your post and welcome to the NinjaTrader forum.

    You will need to override either OnOrderUpdate or OnExecutionUpdate for this. For example, I made this indicator that will email the user when an execution occurs on the selected account:

    This indicator will email the specified email address when an execution occurs on the selected account.


    Kind regards.

    Disclaimer:
    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X