NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 07-14-2010, 12:20 PM   #1
cgeorgan
Senior Member
 
Join Date: Dec 2008
Location: Ann Arbor, MI
Posts: 323
Thanks: 4
Thanked 0 times in 0 posts
Default Entries Per Direction...not working...

Hi guys-

I see this question all over the forums (Entries Per Direction). I thought I had it figure out, turns out that I don't.

I thought I was setting my parameters correctly (see picture attached; code is to the right). However, this code - which specifies 5 entries per direction, allowed what must have been 30 different entries?

What am I doing wrong here?
Attached Images
File Type: jpg NG.JPG (392.7 KB, 8 views)
Last edited by cgeorgan; 07-14-2010 at 12:23 PM.
cgeorgan is offline  
Old 07-14-2010, 01:03 PM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

When using this with unmanaged approach, these properties are not relevent.

http://www.ninjatrader.com/support/h...d_approach.htm

Signal Tracking
Since the Unmanaged approach does not utilize NinjaScript's signal tracking the features associated with it will no longer be relevant. The following properties and their associated concept cannot be used with Unmanaged order methods:

EntriesPerDirection
EntryHandling
Last edited by NinjaTrader_RyanM; 07-14-2010 at 02:12 PM.
NinjaTrader_RyanM is offline  
Old 07-14-2010, 01:57 PM   #3
cgeorgan
Senior Member
 
Join Date: Dec 2008
Location: Ann Arbor, MI
Posts: 323
Thanks: 4
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_RyanM View Post
This property works closely with another property: EntryHandling

If you had entries per direction set to 5 and entry handling set to unique entries, then it can enter up to 5 times for each uniquely named rules. 6 uniquely named signals might explain your 30 entries here.

Edit:
A closer look at your screenshot shows entry handling set to all entries. In this case, there is confusion about how EntriesPerDirection works. This refers only to open trades at any given time. Your screenshot shows several closed trades.
Hi-

Well, one thing I've been doing is concatenating the symbol + timestamp as my "entry signal name", so that I can associate unmanaged stop/target orders with it. This would explain why *every* entry has a unique name.

However, I was under the impression that by setting "AllEntries = true" I was limiting opening trades to 5 for each direction.

Is this not how it works?
cgeorgan is offline  
Old 07-14-2010, 02:12 PM   #4
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Yes, EntriesPerDirection set to 5 and all entries should only allow 5 entries.

These properties are not used in the unmanaged approach as you're using. I've changed my first reply for accuracy here.

http://www.ninjatrader.com/support/h...d_approach.htm

Signal Tracking
Since the Unmanaged approach does not utilize NinjaScript's signal tracking the features associated with it will no longer be relevant. The following properties and their associated concept cannot be used with Unmanaged order methods:

EntriesPerDirection
EntryHandling
NinjaTrader_RyanM is offline  
Old 07-14-2010, 02:13 PM   #5
cgeorgan
Senior Member
 
Join Date: Dec 2008
Location: Ann Arbor, MI
Posts: 323
Thanks: 4
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_RyanM View Post
Yes, EntriesPerDirection set to 5 and all entries should only allow 5 entries.

These properties are not used in the unmanaged approach as you're using. I've changed my first reply for accuracy here.

http://www.ninjatrader.com/support/h...d_approach.htm

Signal Tracking
Since the Unmanaged approach does not utilize NinjaScript's signal tracking the features associated with it will no longer be relevant. The following properties and their associated concept cannot be used with Unmanaged order methods:

EntriesPerDirection
EntryHandling
AHHHHHHHHHHHHHHHH this makes all the difference. I was not aware that entries/direction was relevant only to managed orders. This makes sense now, TY.
cgeorgan is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do not want multiple entries in same direction RickStevenson1 Strategy Development 1 03-04-2010 08:50 AM
Entries per direction Maletor Strategy Development 1 06-13-2009 06:29 AM
bug Entries per direction gregorio123456 Strategy Analyzer 3 04-24-2009 09:16 AM
Entries per direction philxhong Strategy Analyzer 5 03-20-2009 10:24 AM
Entries per direction latkinso General Programming 4 02-12-2008 09:27 AM


All times are GMT -6. The time now is 10:50 AM.