Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
oco orders
Collapse
X
-
thank you, but i was meaning in a strategy. what i am wanting to do is to get into a trade, then have a take profit and stoploss where it would revearse at the stoploss, double up on the trade, and have a different take profit and stoploss. example, the strategy goes long 1 contract, gets stoped out for a loss so it goes short 2 contracts (twice that of the long) with a different take profit and stoploss amount. then it doesn't take anymore trades off of it so if it gets stoped out a second time the trade is over. and if it hits the takeprofit thats the end of the trade. so for example, it goes long 1 contract and goes up to its take profit, and thats the end of the trade.
Comment
-
Hello,
You will have to code all of this out. There is no OCO order function. I suggest looking at all of the order management samples here: http://www.ninjatrader.com/support/f...splay.php?f=30
And posting questions when you have them.DenNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
57 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment