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 02-22-2006, 10:58 AM   #1
MrMilesIL
 
Join Date: Feb 2006
Location: , Illinois, USA
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Hi, I am trying to figure out how to change stop orders for trades entered through the ATI. Currently I send a buy/sell signal from Esignal to Ninja referencing a strategy to use. I am using a stop strategy too, but would still like to adjust stops closer if certain events occur.
Can this be done and if so, how?
Thanks for all the fantastic support!
Jonathan
MrMilesIL is offline  
Reply With Quote
Old 02-22-2006, 12:21 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Use "STOP1" as the order id passed into NTChange() function to modify any stop 1 orders. "STOP2" for stop 2 orders etc..

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Old 02-22-2006, 01:20 PM   #3
MrMilesIL
 
Join Date: Feb 2006
Location: , Illinois, USA
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Thanks for the quick response. Do I need to reference the strategy ID too?
Jonathan
MrMilesIL is offline  
Reply With Quote
Old 02-22-2006, 02:57 PM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Oops, yes you do..Sorry for forgetting that.
NinjaTrader_Ray 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


All times are GMT -6. The time now is 10:33 AM.