![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2012
Posts: 23
Thanks: 13
Thanked 0 times in 0 posts
|
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! |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,183
Thanks: 130
Thanked 180 times in 179 posts
|
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.
JC
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_JC for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |