EMA(x) crossover SMA(x), EnterLong
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Entries per direction
Collapse
X
-
I am about to increase my trading size and need to be sure that I only enter my default quantity of 25 contracts in one shot and get out of the position in one shot. I have set in my code .allentries and entries per direction = 1 .... is this going to work?
Regards
F Everington
Comment
-
Yes, this should do it - http://www.ninjatrader-support.com/H...yHandling.htmlBertrandNinjaTrader Customer Service
Comment
-
Ok... thx... I take it then that using the code .uniqueEntries might have caused problems? I have read many posts on this subject but pls forgive my ignorance. Entries per direction controls this aspect of order filling or does allEntries/UniqueEntries control it? I want to buy all 25 at once and then not get any added positions in the same direction after the first order is filled...
Regards and thx.
Comment
-
Please take a look at the examples from the helpguide link -
1. EntriesPerDirection with AllEntries, two different entry signals, but only 1 per Direction permitted > only one will be executed, second one ignored.
2. Second example, EntriesPerDirection at 1, but per unique entry name, so two longs are possible.
So AllEntries with PerDirection to 1 will execute one entry per direction whatever signal name produced it.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
148 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 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
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
5 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
|
Comment