![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#16 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Hi, I am using the strategy in real time on a demo account of Ninjatrader.
I have left my computer on throughout so that it can test the strategy, but although there are live trades, the email is not sent. Could you help me out in this? Very desperately need it done :/ Really thanks in advance. |
|
|
|
|
|
#17 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Anyone can help?
|
|
|
|
|
|
#18 |
|
Senior Member
|
|
|
|
|
|
|
#19 | |
|
Senior Member
Join Date: Aug 2010
Location: Washington, D.C.
Posts: 1,184
Thanks: 178
Thanked 301 times in 259 posts
|
Quote:
You should go live. |
|
|
|
|
|
|
#20 | |
|
Senior Member
Join Date: Aug 2010
Location: Washington, D.C.
Posts: 1,184
Thanks: 178
Thanked 301 times in 259 posts
|
Quote:
You could bypass NT (hopefully) by google "C# how to email" that might give you this code: /* MailMessage mail = new MailMessage(); mail.To.Add("sledge@ninjatraderz.com"); mail.From = new MailAddress ("From:Someone"); //txtFrom.Text; mail.Subject = "Subject:We sold";//txtSubject.Text; mail.Body = "Body:" + Close[0]; //txtBody.Text; SmtpClient smtp = new SmtpClient("smtp.somewhere.net"); smtp.Send(mail); */ use with caution, else you might get black listed by your isp. (ie, flooding the server with 1,000 emails every tick) |
|
|
|
|
|
|
#21 | |
|
Senior Member
Join Date: Aug 2010
Location: Washington, D.C.
Posts: 1,184
Thanks: 178
Thanked 301 times in 259 posts
|
Forgot these usings:
using System.Net; using System.Net.Mail; Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What happens if NinjaTrader and Broker position is not in sync? | Rocket130713 | Automated Trading | 7 | 03-19-2012 08:28 AM |
| NinjaTrader shows wrong position after reconnect | koganam | Connecting | 23 | 08-11-2011 01:56 PM |
| Indicators not loaded give audio alerts.... | jeffalan2112 | Miscellaneous Support | 1 | 07-29-2009 07:55 AM |
| "Close position" orders executed via Pats | heech | Miscellaneous Support | 3 | 06-30-2009 02:07 PM |
| Creating NinjaTrader compatible functions from TS ShowMe and indicator email alerts | robinso | Miscellaneous Support | 1 | 04-11-2007 05:33 PM |