I've been checking both to see if my strategy in entering, at least until I found that IsEntry = true when I manually triggered an exit routine, which of course didn't make sense.
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
IsEntry vs. IsEntryStrategy
Collapse
X
-
IsEntry vs. IsEntryStrategy
What's the difference between IsEntry and IsEntryStrategy?
I've been checking both to see if my strategy in entering, at least until I found that IsEntry = true when I manually triggered an exit routine, which of course didn't make sense.Tags: None
-
Hello Traderpards,
Thank you for your note.
Would you provide more information on IsEntry and IsEntryStrategy? Are these part of a custom strategy? Where are you seeing these used? Would you be able to provide an example?
I’m unable to find information in the helpguide regarding either.
I look forward to your reply.Alan P.NinjaTrader Customer Service
-
They aren't in the help guide, which is why I'm asking. They are publicly accessible objects that are members of the execution object. They are very handy for telling me if the execution is an entry or an exit and an improvement over NT7 for sure.
I think all I need is IsExitStrategy and IsEntryStrategy but I'm really not sure. It seems to me if it's an entry, they both should be true but that isn't necessarily the case. That's where you come in! That's why I'm wondering what the difference is because if I'm going to use those guys, and I want to use those guys, I should probably know how to use them and what they are.
You can just add a break point to any old OnExecutionUpdate() call and check it out.
Comment
-
Hello traderpards,
If not documented in the helpguide its considered unsupported and it’s not recommended for use.
If you’d like to check whether an order is an entry or exit, I would suggest assigning your entry method a signal name, for example “EnterLong”, and then within OnExeuctionUpdate you can check whether the executed order is “EnterLong”.
I have provided a sample strategy demonstrating how to do this.
Please let us know if you need further assistance.Attached FilesAlan P.NinjaTrader Customer Service
Comment
-
Thanks - if you haven't gotten around to documenting it, then it's not recommended. Got it.
So... What's the difference between IsEntry/IsExit and IsEntryStrategy/IsExitStrategy, respecitively?
Comment
-
I do need further assistance... I would like to know the difference between IsEntry/IsExit and IsEntryStrategy/IsExitStrategy, respecitively?
Thank you for your support.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mestor, Today, 03:15 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mestor
Today, 03:15 AM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
11 responses
305 views
0 likes
|
Last Post
by z.franck
Today, 02:29 AM
|
||
Started by Padan, Today, 02:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by Padan
Today, 02:02 AM
|
||
Started by bukowa, 11-09-2023, 06:07 PM
|
20 responses
407 views
0 likes
|
Last Post
by Adfra
Today, 01:36 AM
|
||
Started by yertle, Yesterday, 05:49 PM
|
2 responses
11 views
0 likes
|
Last Post
by yertle
Today, 12:12 AM
|
Comment