i.e. if EntryHandling == EntryHandling.UniqueEntries and EntriesPerDirection == 4, does this mean that I can only execute EnterLong() 4 times without closing the position? Or, by not naming the entries can I circumvent the EntriesPerDirection limitation?
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
EntryHandling
Collapse
X
-
EntryHandling
Are unnamed entries treated as if all have the same name, or as if all have different names?
i.e. if EntryHandling == EntryHandling.UniqueEntries and EntriesPerDirection == 4, does this mean that I can only execute EnterLong() 4 times without closing the position? Or, by not naming the entries can I circumvent the EntriesPerDirection limitation?Tags: None
-
Hello kaydgee,
They will be assigned a default name like "Buy" or "Sell short" so they will follow the EntriesPerDirection rule. You could use different signal names so that way each different signal name would be able to have the same number of EntriesPerDirection. For an example you can view the following link for EntriesPerDirection.
http://www.ninjatrader.com/support/h...rdirection.htm
Please note that you can use the unmanaged approach that will give you the most flexibility inside NinjaScript for submitting orders, but this approach should be used by very experienced programmers for the error handling of the orders. For more information about the Unmanaged Approach see the following link.
http://www.ninjatrader.com/support/h...d_approach.htm
Let us know if we can be of further assistance.JCNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Uregon, Today, 03:44 AM
|
0 responses
2 views
0 likes
|
Last Post
by Uregon
Today, 03:44 AM
|
||
Started by CyberNate, 11-17-2020, 08:15 PM
|
2 responses
426 views
0 likes
|
Last Post
by nurpalgo
Today, 03:16 AM
|
||
Started by sdauteuil, 09-23-2021, 10:16 AM
|
7 responses
1,247 views
0 likes
|
Last Post
by marcus2300
Today, 01:28 AM
|
||
Started by sofortune, 05-18-2024, 11:48 AM
|
2 responses
34 views
0 likes
|
Last Post Yesterday, 07:11 PM | ||
Started by Zach55, 02-19-2024, 07:22 PM
|
2 responses
67 views
0 likes
|
Last Post
by lbadisa1
Yesterday, 07:06 PM
|
Comment