Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connecting Entry and Exit manually

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

    Connecting Entry and Exit manually

    Hi,

    Is it possible to assign an Entry order a specific Exit order, so NinjaTrader connects these two orders on the chart?

    I have set of entries and a set of exits, however NinjaTrader seems to connect them in a kind of queue, i.e. first exit is connected to the first entry and so on, instead of actual sequence.

    Thanks.

    #2
    Hello alex.nt,
    Unfortunately there is no native way to do it. You have to further custom code your strategy to do it.

    You have to assign custom name to entry/exits and exit the trades as per your desire.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      I do have unique names for Entries and Exits.

      Do you mean that (*) if I use identical names for entries and exits then NinjaTrader should connect them as actual entry ---> exit on a chart?

      I am not sure if that is right because NinjaTrader assigns Exits to Entries based on its own logic. If (*) had been correct then NinjaTrader would not have closed a single position.

      In other words, what would be the way to assure that Entry A has Exit B, and only B?

      Comment


        #4
        Originally posted by alex.nt View Post
        I do have unique names for Entries and Exits.

        Do you mean that (*) if I use identical names for entries and exits then NinjaTrader should connect them as actual entry ---> exit on a chart?

        I am not sure if that is right because NinjaTrader assigns Exits to Entries based on its own logic. If (*) had been correct then NinjaTrader would not have closed a single position.

        In other words, what would be the way to assure that Entry A has Exit B, and only B?
        By naming the Entry signal and specifying that the Exit is for that signal. e.g.,

        Code:
         
        ExitLong(string fromEntrySignal);
        There are other more elaborate overrides. ref: http://www.ninjatrader.com/support/h...l?exitlong.htm

        Comment


          #5
          Hi koganam,

          Sorry, I meant Unmanaged approach. As far as I understand signal tracking features do not work in this case (as stated in documentation).

          So the question remains the same: how would one explicitly assign one order (Exit) to another order (Entry)?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          57 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          36 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          165 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          101 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          162 views
          2 likes
          Last Post CaptainJack  
          Working...
          X