Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

entry and exit siganls/names

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

    entry and exit siganls/names

    i've been looking through the NTuser doc for the last hour and i can't seem to find a clear definition of the difference between entry and exit signals/names...i need to be able to label entries and exits in order to use entry and exit methods on a smaller time scale...

    #2
    d.allen101,

    Not sure what you mean by differences. They are just string names that you can name however you want. You can name entries however you want and exits as well.

    For example, you can name your entry "Long 1". Then you can tie an exit to fromEntrySignal of "Long 1" and then name your exit "Exit Long 1".
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      example if(Close[0]>Close[20]) EnterLong("Long1"); . now if i want to exit based on: if(BarsInProgress==1 && Closes[1][0]<Low[0]) ExitLong(1,1,"Long1"," ENTRY SIGNAL") i don't know what "ENTRY SIGNAL" is...

      Comment


        #4
        That is the wrong use of the signature.

        ExitLong(int barsInProgressIndex, int quantity, string signalName, string fromEntrySignal)


        The first string, signalName, is the name for the exit order. The second, fromEntrySignal, is what you tie to "Long1" if you wanted to exit that particular entry.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          cool...
          thx

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          633 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          567 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X