• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IsEntry vs. IsEntryStrategy

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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.
    https://ninjatrader.com/support/helpGuides/nt8/en-us/

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      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.
      Attached Files

      Comment


        #4
        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 Files
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          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


            #6
            Hello traderpards,

            We do not advise using unsupported code.

            Please let us know if you need further assistance.
            Alan P.NinjaTrader Customer Service

            Comment


              #7
              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 ericson, Today, 08:14 PM
              0 responses
              2 views
              0 likes
              Last Post ericson
              by ericson
               
              Started by user1986, Today, 07:28 PM
              1 response
              6 views
              0 likes
              Last Post user1986  
              Started by jertrade, Today, 06:57 PM
              0 responses
              5 views
              0 likes
              Last Post jertrade  
              Started by Emma1, Today, 02:42 PM
              1 response
              17 views
              0 likes
              Last Post NinjaTrader_DrewO  
              Started by fx.practic, Today, 03:10 PM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X