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 argusthome, Yesterday, 10:06 AM
          0 responses
          20 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          18 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          14 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          9 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          38 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X