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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    52 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X