Thaks in advance.
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
StopLong and StopShort at the same time.
Collapse
X
-
StopLong and StopShort at the same time.
Hello. I tried to make Strategy, where we have two active orders (EnterStopLong&EnterStopShort) for the same ticker at the same time. And I was very surprised, found that it's impossible. The Backtester fill only first stop order and ignore others. Can I switch off this feature somewhere?
Thaks in advance.Tags: None
-
dcheg, welcome to our forums here. Correct with the managed order submission approach you would be working with the internal order handling rules as well - please see the bottom section of my link from the helpguide to see how those would come into play (they would not permit two opposing orders at the same time as in your case) - http://www.ninjatrader.com/support/h...d_approach.htm
With NinjaTrader 7 we introduced the Unmanaged orders submission mode that would not have those order handling rules working under the hood - http://www.ninjatrader.com/support/h...d_approach.htm - this would be an alternative for you but you will give up some convenience of the mananged mode here as far as the order tracking goes.BertrandNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
3 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
150 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
6 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
Comment