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 Perr0Grande, Today, 08:16 PM
      0 responses
      2 views
      0 likes
      Last Post Perr0Grande  
      Started by elderan, Today, 08:03 PM
      0 responses
      3 views
      0 likes
      Last Post elderan
      by elderan
       
      Started by algospoke, Today, 06:40 PM
      0 responses
      10 views
      0 likes
      Last Post algospoke  
      Started by maybeimnotrader, Today, 05:46 PM
      0 responses
      9 views
      0 likes
      Last Post maybeimnotrader  
      Started by quantismo, Today, 05:13 PM
      0 responses
      7 views
      0 likes
      Last Post quantismo  
      Working...
      X