Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Receive email alerts for executions
Collapse
X
-
-
Hi optimuss, assuming extrategia means strategy (estrategia?), you can use the SendMail() function to send out emails upon executions. You can also use the OnExecution() method to detect exactly when an execution has occurred. Here are the help guide pages for both - http://www.ninjatrader.com/support/h...7/sendmail.htm, http://www.ninjatrader.com/support/h...nexecution.htm.
Code:protected override void OnExecution(IExecution execution) { // put the execution details into string format string exec_s = execution.ToString(); // print out the string, just to verfiy Print(exec_s); //email it SendMail("[email protected]", "[email protected]", "Trade Alert", "Buy ES"); SendMail(<your email address>, <where you want to send the message>, "strategy execution", exec_s); }AustinNinjaTrader Customer Service
-
SendMail() - send chart?
Hi there,
Is it possible to send a chart image programmatically? In a chart, with a right click it is possible to email the image of a chart. I am running various strategies (not on a chart) but I would nevertheless also have a chart attached to my emails (with the SendMail function or otherwise) and not only text. How can I achieve this?
Thank you
wtmnn
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
670 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment