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 > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 08-20-2012, 03:52 PM   #1
wuilengh
Junior Member
 
Join Date: Aug 2012
Posts: 23
Thanks: 13
Thanked 0 times in 0 posts
Default SetTrailStop with fromEntrySignal

If I want to use the built in SetTrailStop function with a take profit target which I will calculate manually in my code.

Assuming I call SetTrailStop with a fromEntrySignal and have it simulated rather than submitted after I enter a position, will this automatically be cancelled if my code submits an ExitLong with the same fromEntrySignal?

Just don't want to end up selling or covering twice the intended amount. Thanks!
wuilengh is offline  
Reply With Quote
Old 08-20-2012, 04:07 PM   #2
NinjaTrader_JC
NinjaTrader Customer Service
 
NinjaTrader_JC's Avatar
 
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,202
Thanks: 137
Thanked 183 times in 182 posts
Default

Hello wuilengh,

If you are using the Managed Approach that would be correct. Make sure if you are dynamically changing the trailing stop to reset it once you are flat.
http://www.ninjatrader.com/support/h...ttrailstop.htm

Let us know if we can be of further assistance.
NinjaTrader_JC is offline  
Reply With Quote
The following user says thank you to NinjaTrader_JC for this post:
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
Unmanaged approach and FromEntrySignal anachronist Strategy Development 6 07-05-2012 02:39 AM
Wild card for fromEntrySignal Taddypole Strategy Development 2 05-09-2011 09:50 AM
NT does not honor FromEntrySignal Edward Kunafi Strategy Development 7 01-14-2011 01:08 PM
IOrder FromEntrySignal versus Name heech Strategy Development 4 11-28-2008 03:44 PM
Cancel/Replace using 'fromEntrySignal' nolantx Automated Trading 1 02-23-2007 12:49 AM


All times are GMT -6. The time now is 11:53 AM.