Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ExitLong & multi targets in strategy builder

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

    ExitLong & multi targets in strategy builder

    Is it possible to create multi targeted orders from within the strategy builder? Like you can do from the normal order panel in NT8

    ie.

    Original order myLong quantity = 4.

    ExitLong SL quantity = 2
    ExitLong TP quantity = 2

    Then once the first SL / TP order has filled, just submit another another couple to close out the remaining quantity from the original order signal name, but with different targets.

    If myPosition = 2

    ExitLong SL quantity = 2
    ExitLong TP quantity = 2​

    Is this the best way to do it? and is this the same logic used in the main NT8 order strategy?
    Last edited by lucyb; 06-27-2024, 12:37 PM.

    #2
    Hello lucyb,

    Yes, this is possible.

    Use EntryHandling.UniqueEntries and give each entry a unique signal name, and use those signal names as the from entry signals of the exits.

    Below is a link to an example.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks, so I must submit 2 long orders each with different signal? I cannot submit 1 order with a quantity of 4 and then simply scale out 2, then another 2 with the same entrysignal ?

      Comment


        #4
        Hello lucyb,

        It's not recommended with the Strategy Builder and the managed approach to prevent an unwanted position and improper trade pairing, but possible to do.

        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Chelsea, how is this actually done in the Conditions and Actions section of the builder, not with the C+ code?

          I want to trade 2 contracts, scaling out 1 contract at 50 bars or 50 ticks later (it's a renko, so 50 bars = 50 ticks).Which ever way is easier, is what I'm interested in.

          I know that I need LongEntry1, LongEntry2, ShortEntry1, and ShortEntry2. I just don't know what it would look like in the Conditions and Actions section. Please do not send me a link to more C+ code.

          Thanks you!

          Comment


            #6
            Hello rjsjr64,

            The EntryHandling is set on the Default properties page of the Strategy Builder.

            The signal names and from entry signals are set when selecting an order type in the Strategy Builder.

            The ScaleOutBuilderExample linked from post # 2 is an example created in the Strategy Builder.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              That tells me nothing

              Comment


                #8
                Hello rjsjr64,

                To confirm, have you downloaded the example, imported this, and opened the strategy in the Strategy Builder?

                Please confirm you have reviewed condition Sets 1 and 2 of this example in the Strategy Builder.
                Are you seeing the From entry signal of the exit matching the Signal name of the entry?
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  Yes, I see it now. That helped. Thank you.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  111 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  59 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  38 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  42 views
                  0 likes
                  Last Post TheRealMorford  
                  Started by Mindset, 02-28-2026, 06:16 AM
                  0 responses
                  78 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Working...
                  X