![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Nov 2008
Posts: 87
Thanks: 0
Thanked 0 times in 0 posts
|
I have created a strategy where I enter long say 3 contracts for 1st profit target, 2 contracts for second profit target and 1 contract for 3rd profit target.
So profit_target1 < profit_target2 < profit_target3. If EntriesPerDirection = 3 does this mean that at any one time a maxiumum of 3 contract positions can be opened? So in the example above we are fine as each order has <=3 contracts. But if for the first profit target we open a long position for 5 contracts then the order engine will split this up into 2 and 3 if EntriesPerDirection = 3? Does this cause any problems in real time trading or should I increase the EntriesPerDirection value? |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
mballagan,
EntriesPerDirection does not influence how many contracts you hold. It only influences how many entry orders you can place in the same direction. Setting it to 3 means you can go long 3 separate times simultaneously before it will prevent any more long trades when already holding long positions based on the 3 entry orders.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Nov 2008
Posts: 87
Thanks: 0
Thanked 0 times in 0 posts
|
Ok so in this case I'm entering a maximum of 3 seperate orders so EntriesPerDirection = 3 makes sense.
Thanks Josh. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EntriesPerDirection question.. | heech | Strategy Development | 8 | 03-27-2009 10:21 AM |
| EntriesPerDirection Error | mdrichards | Strategy Development | 10 | 02-02-2009 07:16 AM |
| Setting EntryHandling || EntriesPerDirection From Program Overridden by BackTest Parameters | KBJ | Strategy Analyzer | 4 | 05-01-2007 07:24 AM |