NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

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.

Reply
 
Thread Tools Display Modes
Old 08-18-2011, 11:00 AM   #16
JamieHendrix
Member
 
Join Date: Dec 2009
Posts: 47
Thanks: 12
Thanked 0 times in 0 posts
Default

Awesome dude... I will do option #1. Until then, I decided to just load the current day on my chart... now it has no previous data to work off of.... works exactly how I want it to..... using an automated strategy you don't need previous data anyway.... I will write my own EMA though... thanks so much.

Jamie Hendrix
JamieHendrix is offline  
Reply With Quote
Old 08-18-2011, 01:19 PM   #17
michael fantoni
Member
 
Join Date: Aug 2011
Posts: 57
Thanks: 7
Thanked 1 time in 1 post
Default

Hi there

I dont know if this is the right place to post it, so sorry in advance. Im demo testing NT7 and I just entered a limit Sell order for 6S 9-11 @ 1.2607 when price is currently 1.2613 and the order was hit @ 1.2613. In the order book the limit clearly says 1.2607 BUT average price was the market, that is 1.2613. Shouldnt price hit the 1.2607 before being hit? Is this normal?

Regards

Regards
michael fantoni is offline  
Reply With Quote
Old 08-18-2011, 06:35 PM   #18
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello michael fantoni,

Yes, that is normal. Your limit order becomes marketable. The price you submitted at is better than the last traded price, so you are filled at market.

If you want to place a sell order below where the market is trading, can use stop or stop limit orders instead.

You can submit various orders with the SuperDOM using either your left or middle (scroll wheel) mouse button.

http://www.ninjatrader.com/support/h...es/nt7/sub.htm
NinjaTrader_RyanM is offline  
Reply With Quote
Old 08-19-2011, 10:16 PM   #19
JamieHendrix
Member
 
Join Date: Dec 2009
Posts: 47
Thanks: 12
Thanked 0 times in 0 posts
Default

Got it handled, thanks.... Now I am trying to code a cumulative profit trigger that tells the program to stop trading after a certain threshold has been hit... ( like profitable by 2 points, stop trading).

Any ideas?

Jamie Hendrix
JamieHendrix is offline  
Reply With Quote
Old 08-20-2011, 12:17 AM   #20
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Jamie, I would suggest you check into this sample here - http://www.ninjatrader.com/support/f...ead.php?t=4804
NinjaTrader_Bertrand is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Bertrand for this post:
Old 08-20-2011, 10:38 AM   #21
JamieHendrix
Member
 
Join Date: Dec 2009
Posts: 47
Thanks: 12
Thanked 0 times in 0 posts
Default

Thanks Bertrand, You have been a great help.
JamieHendrix is offline  
Reply With Quote
Old 08-20-2011, 10:47 AM   #22
michael fantoni
Member
 
Join Date: Aug 2011
Posts: 57
Thanks: 7
Thanked 1 time in 1 post
Default

Thank you Ryan!

Regards
michael fantoni is offline  
Reply With Quote
Old 09-01-2011, 07:47 PM   #23
JamieHendrix
Member
 
Join Date: Dec 2009
Posts: 47
Thanks: 12
Thanked 0 times in 0 posts
Default

Thanks you guys have been a great help... I just upgraded to NinjaTrader (Full Version) and have some friends who will as well.... Any referral programs??

I have another question. I would like to set up something very simple with Heiken Ashi bars... Bar closes green... Buy... Closes Red, Reverse and go short......

I have had success with manual trading this way, but I can't figure out how to code this into NinjaScript????

Any suggestions??
JamieHendrix is offline  
Reply With Quote
Old 09-01-2011, 08:04 PM   #24
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hi JamieHendrix,

You can email sales 'at' ninjatrader 'dot' com to find out more information on our partner program.

Best way to get started creating the type of strategy you're going for is with the strategy wizard condition builder. You can set this condition up in a point and click interface. See the following link and then the section How to make price data comparisons
http://www.ninjatrader.com/support/h...on_builder.htm
NinjaTrader_RyanM 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
NinjaTrader’s 3rd Party Partner Program adds Profitable-Daytrading.com NinjaTrader_Ray News and Announcements 0 12-13-2010 02:31 PM
try to develop some loe risk profitable stratgey tah123 Strategy Development 1 09-21-2010 07:21 AM
Slippage and commission applied to Percent Profitable in Strategy Analyzer results? adamus Version 7 Beta General Questions & Bug Reports 3 08-09-2010 09:08 AM
Profitable aty close maninjapan General Programming 1 10-15-2009 01:26 PM
sell at the first profitable open - is it possible? pasmao General Programming 1 10-14-2008 08:35 AM


All times are GMT -6. The time now is 11:27 PM.