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 Hwop38, 05-04-2026, 07:02 PM
          0 responses
          164 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          317 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          245 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          350 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          179 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X