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
Changing position size with managed orders
Collapse
X
-
Changing position size with managed orders
Let's say I have strategy logic that is going to ask for a position between zero and +5 contracts. Is it possible via managed orders to move between say a position of +3 and +4 contracts via a market order? If so, how is it done? Some variation of EnterLong()? And will automatically placed stops created via SetStopLoss update to the new position size?Tags: None
-
Hello The Big D,
Are you trying to scale into a position?
If so, you should use separate orders for each quantity set.
If you wanted to scale in to a position of 9, 3 contracts at a time, then use 3 orders with a quantity of 3 each.
Are you asking if you place a market order when a position is already open?
Yes, you can do that, you would need to ensure the EntriesPerDirection is high enough to allow the orders.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mattbsea, Today, 05:44 PM
|
0 responses
4 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
20 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
Comment