Please try using 4 as the entries per direction when you apply the strategy or using UniqueEntries for the EntryHandling mode. If you are trading multiple entries in the same direction you will need to increase the entries per direction to match what you want to allow.
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
Sample using Multi-Instruments in strategy
Collapse
X
-
Hello MGHORBEL,
Please try using 4 as the entries per direction when you apply the strategy or using UniqueEntries for the EntryHandling mode. If you are trading multiple entries in the same direction you will need to increase the entries per direction to match what you want to allow.JesseNinjaTrader Customer Service
-
The code used is in the attached file.Attached Files
Comment
-
Hello MGHORBEL,
Are you doing the exact same test with the same primary instrument being used? If any of the series are duplicated meaning if you use a primary that is also being added as secondary that will change how the Positions collection reports, you would need 4 different instruments for that test to show a position on each bars in progress.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by port119, Today, 02:43 PM
|
0 responses
1 view
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
||
Started by Philippe56140, Today, 02:35 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 02:35 PM | ||
Started by 00nevest, Today, 02:27 PM
|
0 responses
1 view
0 likes
|
Last Post
by 00nevest
Today, 02:27 PM
|
||
Started by Jonafare, 12-06-2012, 03:48 PM
|
5 responses
3,986 views
0 likes
|
Last Post
by rene69851
Today, 01:44 PM
|
||
Started by Fitspressorest, Today, 01:38 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 01:38 PM |
Comment