![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| NinjaScript File Sharing Discussion Discussion for shared NinjaScript files. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
Hi.
I am looking for a script which will email me the details of an order the moment it is place through the Chart Trader using a strategy. Thanks AC |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
|
Hi AC, unfortunately you can't have both Chart Trader and a strategy running at the same time. In addition, there currently isn't a way to have a strategy interact with manual intervention.
However, if you'd like to send an email for every order a strategy executes, please take a look at the SendMail() function.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
Ok. Is there any script that will email me the filled orders and the pending orders as they happen?
Thanks AC |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
|
AC, that will require some coding. The OnOrderUpdate() method is called for each and every order update. You could then combine that with SendMail to achieve what you're looking for.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
Austin, I am currently using a Chart Trader. On a order being placed I get the buy/sell arrows legends on the Chart with the Text. On an order being executed I get the Stops and Targets shown on the chart since I use ATM. All that I want is to locate the script which print this info on the screen and add the sendmail option there to get the same data on email.
Also let me know how and where my ATM templates are being saved..can I edit them too as any other ninja script? Thanks AC |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
AC, just responded to your email on the same topics - as Austin indicated this would need custom coding, the templates are saved in the database and can't unfortunately be accessed from NinjaScript to edit.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks. Can you suggest someone who can custom code it for me...Thanks again
|
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Can't really recommend one, but you can check this list and then review the listed consultants - http://www.ninjatrader.com/webnew/pa...injaScript.htm
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I set the app so that a single 100-contract trade is listed as 1 trade? | Kovacs | Miscellaneous Support | 1 | 12-08-2008 05:12 PM |
| How to send email from within ninja Script | rocknroll | ATM Strategies (Discretionary Trading) | 1 | 11-05-2008 05:52 AM |
| Tradestation email orders-email functionality | jsl12 | Automated Trading | 5 | 09-13-2008 03:28 PM |
| Trade Station to Ninja with Vista via email | jon_lbs | Automated Trading | 5 | 04-02-2008 09:30 AM |
| deleting spurious trade from sim trade list | Arbitrageur | Miscellaneous Support | 2 | 09-12-2006 03:59 AM |