Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Send an email every time a trade is taken

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

    Send an email every time a trade is taken

    Hello,
    I have an automated trading strategy and I was wondering if there is a way for me to incorporate some kind of code in my Ninja Script code so that every time every time is trade is entered or exited I get an email to my gmail account.

    Is this possible? If yes, can someone please guide me to the appropriate code?

    Thanks!

    #2
    Originally posted by pandyav View Post
    Hello,
    I have an automated trading strategy and I was wondering if there is a way for me to incorporate some kind of code in my Ninja Script code so that every time every time is trade is entered or exited I get an email to my gmail account.

    Is this possible? If yes, can someone please guide me to the appropriate code?

    Thanks!
    Hello,

    In the ninja trader help guide, search for "SendMail". You will also need set up e-mail in the control center tools> options> Misc tab.

    Comment


      #3
      pandyav, tasker-182 is correct here the SendMail command in our NinjaScript would be ideal to work that on. For any fills you want to monitor the OnExecution(), while for any full trade just the OnBarUpdate() conditions of your script should suffice.
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by rbeckmann05, Yesterday, 06:48 PM
      1 response
      12 views
      0 likes
      Last Post bltdavid  
      Started by llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      10 views
      0 likes
      Last Post burtoninlondon  
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      15 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Yesterday, 08:42 PM
      0 responses
      11 views
      0 likes
      Last Post carnitron  
      Working...
      X