There are many reasons and implications why you cannot do it from a single strategy. You need to work around the limitation and as such I have already provided you with several alternatives our users use. A third alternative is people just use two strategies running simultaneously.
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
There is no market data available to drive the simulation engine.
Collapse
X
-
whitebelt,
There are many reasons and implications why you cannot do it from a single strategy. You need to work around the limitation and as such I have already provided you with several alternatives our users use. A third alternative is people just use two strategies running simultaneously.Josh P.NinjaTrader Customer Service
-
well my guess is that you have not tested other products like Tradestation or Multicharts and how easy it would be to do something like this with those platforms - as it should be. it's up to you if you want to fix it or keep telling people to go through workarounds.
Comment
-
whitebelt,
NinjaTrader's approach allows you many flexibilities that MultiCharts and TradeStation cannot afford. As such it comes with a different set of implications. Just to give you a scratch at the surface of the issue consider this. NinjaTrader's order placement in NinjaScript automatically reverses you positions. If you are long and you call a short it will automatically close the long before going short. Because of this you cannot have simultaneous orders placed in opposite directions. If you have one filled, does the other close the first? What happens if both fills in a fast moving market? There are merits and virtues in all possible approaches. We have offered you several options to proceed. Unfortunately it is what it is at this point in time. We have already taken note of your concern.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DJ888, Today, 10:57 PM
|
0 responses
1 view
0 likes
|
Last Post
by DJ888
Today, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Today, 10:23 PM | ||
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
7 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
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
Comment