NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 07-14-2009, 11:24 AM   #1
ac24365
Junior Member
 
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
Default Trade Email Script

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
ac24365 is offline  
Reply With Quote
Old 07-14-2009, 11:30 AM   #2
NinjaTrader_Austin
NinjaTrader Customer Service
 
NinjaTrader_Austin's Avatar
 
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
Default

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.
NinjaTrader_Austin is offline  
Reply With Quote
Old 07-14-2009, 11:35 AM   #3
ac24365
Junior Member
 
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
Default

Ok. Is there any script that will email me the filled orders and the pending orders as they happen?

Thanks

AC
ac24365 is offline  
Reply With Quote
Old 07-14-2009, 11:40 AM   #4
NinjaTrader_Austin
NinjaTrader Customer Service
 
NinjaTrader_Austin's Avatar
 
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
Default

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.
NinjaTrader_Austin is offline  
Reply With Quote
Old 07-14-2009, 11:53 AM   #5
ac24365
Junior Member
 
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
Default

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
ac24365 is offline  
Reply With Quote
Old 07-14-2009, 12:02 PM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

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.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 07-14-2009, 12:10 PM   #7
ac24365
Junior Member
 
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks. Can you suggest someone who can custom code it for me...Thanks again
ac24365 is offline  
Reply With Quote
Old 07-14-2009, 12:13 PM   #8
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

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
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 12:49 AM.