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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          52 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          142 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          160 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          96 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          276 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X