![]() |
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 |
|
|
#1 |
|
Junior Member
Join Date: May 2011
Posts: 6
Thanks: 1
Thanked 0 times in 0 posts
|
Hi,
I am using the demo version of ninjatrader, and I would like to know if it can give alerts when a position is to be filled (meaning the strategy is fulfilled) I have a live and funded account with Interactive Brokers with market data from there. Is there a way I can demo the alerts on that account before purchasing? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello comfy,
Yes you can set an alert. Please refer to our help guide to know more http://www.ninjatrader.com/support/h...html?alert.htm If you want the alert to trigger when the trade executes you can place it in the OnExecution event. http://www.ninjatrader.com/support/h...nexecution.htm Please let me know if I can assist you any further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks, although it wasn't quite what I was thinking.
Is there a way to send an email to my email address when an alert is triggered? And can this be activated even in demo version to have a trial run? |
|
|
|
|
|
#4 |
|
Senior Member
|
|
|
|
|
|
The following user says thank you to koganam for this post: |
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello comfysofa,
And to add to koganams reply please refer to our help guide from the below link to know more about SendMail() http://www.ninjatrader.com/support/h...l?sendmail.htm
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#6 | |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
|
|
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
|
Hello comfysofa,
Yes, the free version includes NinjaScript, so you can use SendMail() as well.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the help! Can I clarify 2 things?
1. The "From" section can be from any email at all? 2. I am testing out this strategy in ninjatrader demo. I have a live account with live market data from Interactive Brokers. Am I able to get the demo version of Ninjatrader to send me the email alerts in real time? |
|
|
|
|
|
#9 | |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello comfysofa,
1. Yes you can use any email address. You have however need to configure your email settings in the Misc tab in the Options menu In Control Center menu bar goto Tools>Options>Misc tab. Please find settings for some popular email setups http://ninjatrader.com/support/forum...hlight=hotmail 2. Yes, you will be able to send emails in the demo version using live data. Infact the SendMail function is a realtime function only Quote:
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
May I confirm if I'm doing it right?
I go to strategies : New Strategy > Select my strategy, Account Sim101 > Enable Then I just wait for alerts to be sent to the specified email? |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Am I doing it right? (previous post)
|
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
|
comfysofa,
That is correct. I would suggest testing and letting us know if you run into any issues.
Adam P.
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
I have encountered a problem, could you assist me in this? For NinjaTrader, I head to Strategies > Right Click > New Strategy > Fill up the necessary details > Enable it with a proper working "connection" to Interactive Brokers. I have configured my account to send all emails to a specific email account, and even sent a test email and it worked. My settings for a buy position is : SendMail("trades@everestfortune.com"."trades@evere stfortune.com"."Buy Position Has Been Spotted"."Look into buying this position") After running this strategy for some time, I noticed that I have trades executed in historical results, but no email has been sent to my "trades@everestfortune.com", could you help me in this? |
|
|
|
|
|
#14 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hi comfysofa,
SendMail() will only trigger in real time. It's intentionally disabled historically to prevent potential flood of inadvertent emails. To test that mail is working in general, you can click Tools > Options > Misc tab, and click the Test button.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#15 |
|
Junior Member
Join Date: May 2012
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
I am running the strategy in real time on a demo account, is there any reason why the emails won't send? |
|
|
|
![]() |
| 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 |