Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
bracketed exit from trade
Collapse
X
-
bracketed exit from trade
for the sake of keeping it simple. i'd like to have the two contracts i enter a trade with exit at different times. 1 contract at 12 ticks. and 1 contract at 20 ticks. is there a way to do this in the strategy builder? can i have two profit targets in one strategy?Tags: None
-
Hello SteveReiza,
Thanks for your notes.
Yes, if these are two separate Entry orders being called, you could set up two profit targets on the Stops and Targets screen of the Strategy Builder if you are using Set methods (such as SetProfitTarget()). The Entry orders should have a unique Signal Name defined for the order methods and then you would set the 'From entry signal' to use the Signal Name of the entry order you want to place the profit target order for.
If this is a single Entry order with a quantity of 2, you could use Exit methods to place two profit target orders, such as ExitLongLimit(). You would give the Entry order a Signal Name and then call your Exit order method twice, each with a quantity of 1, and set the 'From entry signal' property to the same Signal Name being passed into the Entry order method.
Note that a strategy cannot use both Set methods and Exit methods as this would go against the Managed Approach Internal Order Handling Rules linked here: https://ninjatrader.com/support/help...d_approach.htm
See this help guide page for information about the Stops and Targets screen: https://ninjatrader.com/support/help...er_screens.htm
See the 'How to enter a market position' and 'How to exit a market position' on this help guide: https://ninjatrader.com/support/help...t8/actions.htm
Brandon H.NinjaTrader Customer Service
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AaronKoRn, Today, 09:49 PM
|
0 responses
6 views
0 likes
|
Last Post
by AaronKoRn
Today, 09:49 PM
|
||
Started by carnitron, Today, 08:42 PM
|
0 responses
9 views
0 likes
|
Last Post
by carnitron
Today, 08:42 PM
|
||
Started by strategist007, Today, 07:51 PM
|
0 responses
10 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,977 views
3 likes
|
Last Post
by jhudas88
Today, 06:59 PM
|
||
Started by rbeckmann05, Today, 06:48 PM
|
0 responses
9 views
0 likes
|
Last Post
by rbeckmann05
Today, 06:48 PM
|
Comment