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
How to have stop loss and profit target on same order
Collapse
X
-
How to have stop loss and profit target on same order
Hello. I'm trying to put a stop loss and profit target on a single order. If I use the SetStopLoss() command, it orders with a stop loss only and I dont see how to add a profit target to that same order. Thank you.Tags: None
-
Hello kazisl, thanks for your post.
We have the SetProfitTarget() method that will submit a profit target for entry orders:
https://ninjatrader.com/support/help...ofittarget.htm
Please let me know if I can assist any further.Chris L.NinjaTrader Customer Service
-
Hello kazisl, thanks for your reply.
Yes, they will be OCO automatically. They will be associated with an entry order so if either the other protective order or the position is filled/closed the order will be canceled along with them.
We also have a "DIY" version with advanced order handling techniques here:
https://ninjatrader.com/support/help...and_onexec.htm
Kind regards,
-ChrisLChris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by gleichnerany, Today, 01:17 AM
|
0 responses
3 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
44 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
5 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
||
Started by Conall, Today, 12:06 AM
|
0 responses
7 views
0 likes
|
Last Post
by Conall
Today, 12:06 AM
|
||
Started by proptradingshop, 03-21-2024, 09:50 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 12:02 AM |
Comment