![]() |
|
|||||||
| 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 |
|
Join Date: Feb 2006
Location: , Illinois, USA
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Use "STOP1" as the order id passed into NTChange() function to modify any stop 1 orders. "STOP2" for stop 2 orders etc..
Ray
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Join Date: Feb 2006
Location: , Illinois, USA
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the quick response. Do I need to reference the strategy ID too?
Jonathan |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Oops, yes you do..Sorry for forgetting that.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|