Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Send e-mail on StopOut

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

    Send e-mail on StopOut

    Is it possible to send an e-mail message out if a position is stopped out? If so, do you have some reference code that shows it, or perhaps you could point me to it somewhere in the forum?
    Thanks
    DaveN

    #2
    Hello daven,

    You could setup an SendMail() method based upon an OrderState using the OnExecution() method. For example if it is OrderState is Accepted, Cancelled, Filled, etc... you could have your strategy SendMail().

    Here are a few links that go over OnExecution(), and SendMail() that you may view.
    OnExecution: http://www.ninjatrader.com/support/h...nexecution.htm
    SendMail: http://www.ninjatrader.com/support/h...l?sendmail.htm

    Here is a beta indicator that you can download and view the code that will send an email whenever a trade get filled or partfilled in the selected account.

    http://www.ninjatrader.com/support/f...d=6&linkid=533


    Let us know if we can be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      Thanks for the guidance. I will study the links and the material and see if I can figure it out.
      DaveN

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by junkone, Today, 11:37 AM
      2 responses
      12 views
      0 likes
      Last Post junkone
      by junkone
       
      Started by frankthearm, Yesterday, 09:08 AM
      12 responses
      43 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by quantismo, 04-17-2024, 05:13 PM
      5 responses
      35 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by proptrade13, Today, 11:06 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by love2code2trade, 04-17-2024, 01:45 PM
      4 responses
      35 views
      0 likes
      Last Post love2code2trade  
      Working...
      X