NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 02-16-2007, 11:57 PM   #1
knyyt1
Junior Member
 
Join Date: Mar 2006
Location: , ,
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Post imported post



Question:



Is it possible to have entered a position manually, then have a programmed trailing stop exit automatically?



Thankyou, Knyyt1
knyyt1 is offline  
Reply With Quote
Old 02-17-2007, 02:56 AM   #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

This is not possible.

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Old 03-08-2007, 03:41 PM   #3
sdooley
 
Join Date: Mar 2007
Location: , ,
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

How about the other way around? (position entered automatically via ATIthen set manual STOP order)?
sdooley is offline  
Reply With Quote
Old 03-09-2007, 01:03 AM   #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

Yes, this is possible.
NinjaTrader_Ray is offline  
Reply With Quote
Old 03-09-2007, 01:29 AM   #5
sdooley
 
Join Date: Mar 2007
Location: , ,
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Thanks. One more question. Here's the scenario.

Entered a strategy via ATI. During the course of the trading period, lose connection with server and therefore strategy is not being applied. Is it posible to apply a new strategy to the existing position? (for example say trailing stop at 50EMA?)

I guess my real question is this... Once you're in a position and for some reason lose connection, can you ever re-apply the same strategy(or a new strategy)to manage that existing position? Or do you simply, (once connection is lost)manage an open position via "ChartTrader/SuperDOM'?

I just want to make sure I understand this.

Thanks,

Steve
sdooley is offline  
Reply With Quote
Old 03-09-2007, 01:40 AM   #6
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

If you are referring to an ASM strategy initiated via the ATI, on temporary loss of connection or on disconnect/reconnect, the strategy is recovered and still working providedthat the orders it managed are still in the same state on disconnect. If an order is filledwhile disconnected, then the stratgey will not recover.

You can not reapply a strategy to protect an open position.

Ray
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 11:12 AM.