Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Disconnect Email

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

    Strategy Disconnect Email

    I am testing a strategy on the SIM account before taking it live. I have NT running on a server 24hrs. The strategy is setup and tested to enter a trade and at the same time email a trade confirmation to myself.

    Is it possible to (and if so how) setup an email alerting me to a disconnection from the data provider if the disconnection last a certain amount of time? I do not necessarily want a message sent if it is able to reconnect itself.

    Would this need to be setup as an indicator with CalculateOnBarClose = false; so it checks in real time instead of adding it to my strategy that waits to the bar close?

    Thanks!

    GT

    #2
    Hello GreenTrade,
    Thanks for your post.

    Yes it is possible to write custom codes alerting you via email if you are disconnected for more than a certain period. You can basically use the OnConnectionStatus event for this purpose. You can find more on the same from here


    We cannot help you beyond this as this is beyond our support level, though you might consider consulting any of our NinjaScript consultants http://www.ninjatrader.com/partners#...pt-Consultants

    Please do let me know if I can be of any further assistance.

    Regards,
    Joydeep.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    574 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X