Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to set 2 different profit targets in strategy builder?

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

    How to set 2 different profit targets in strategy builder?

    Hello Ninja Support team, As per my strategy, i take an entry(lets call it as Trade1[T1]), it could be either short or Long (based on certain criteria) and if it hits SL(based on certain criteria), then only i will take T2(it could be either short or Long, based on certain criteria).
    So, basically T2 is taken only when T1 hits SL. Otherwise, there will be no T2. (Even if T1 hits PT, there will be no T2). That being said , at a single point of time - there will not be 2 trades active. Only 1 trade will be ON at a single point of time.

    In this strategy, i want to set a different Profit Target for T1 and different profit target for T2(if incase T2 gets triggered). How can i do this using "Stops and Targets" section in the strategy builder.

    I know how to set a static PT for all the trades but how can i set it for each individual trade that get's executed.
    Please note, my strategy runs on bar close. So entry is on bar close and SL is also on bar close but the PT will be set as soon as the trade is entered and as soon as it hits PT - it has to close the trade.
    In my case, i want to set PT of 10 pts for T1 and if incase T2 gets executed, i want to set 15 pts as PT for T2.

    How can i do this?​

    #2
    Hello psangram,

    In the builder you would need to submit separate entries with unique signal names in order to have two unrelated targets. If you have a single entry then the targets will apply to that total position from that entry. With two entries you have two signal names so you can close a part of the overall position or have different offsets for the targets.

    After creating the two entry actions in your set for entry you would need to go to the default properties page and expand the more properties section and change entries per direction to 2. In the stops and targets page you then add individual stops and targets for each of the signal names from the entries.

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello psangram,

      In the builder you would need to submit separate entries with unique signal names in order to have two unrelated targets. If you have a single entry then the targets will apply to that total position from that entry. With two entries you have two signal names so you can close a part of the overall position or have different offsets for the targets.

      After creating the two entry actions in your set for entry you would need to go to the default properties page and expand the more properties section and change entries per direction to 2. In the stops and targets page you then add individual stops and targets for each of the signal names from the entries.
      Hello Jesse, i do have unique signal names as below under the Conditions and Actions Page --> entry sets.

      Click image for larger version

Name:	image.png
Views:	227
Size:	2.6 KB
ID:	1312222

      Click image for larger version

Name:	image.png
Views:	213
Size:	2.9 KB
ID:	1312223

      Click image for larger version

Name:	image.png
Views:	212
Size:	2.7 KB
ID:	1312224

      Click image for larger version

Name:	image.png
Views:	214
Size:	2.6 KB
ID:	1312225


      However, i do not understand why do we have to set "need to go to the default properties page and expand the more properties section and change entries per direction to 2".

      In my case, i will only enter Trade2 after Trade1 is closed. So at a single point of time, only 1 trade will be open. And based on what i read in the documentation for 'entries per direction' field - i understood that i would only need set it to 2 if i take a second entry before the first entry is closed. Is my understanding incorrect?


      Also, my goal is to have a PT as T1PT(input variable) for L1 or S1 and to have a PT as T2PT(input variable) for L2 or S2.
      In this case, is this(see below) how i should set in the Stops and Targets Page?

      Click image for larger version

Name:	image.png
Views:	221
Size:	19.0 KB
ID:	1312226​​

      Comment


        #4
        Hello psangram,

        Entries per direction lets the platform know that you meant to put in more than one entry in the same direction. The default setting is 1 so if at any time the orders will be active together then you will need to change that to 2. If you just wanted seperate orders at different times with separate targets and your conditions will not become true at the same time you can leave it at 1.

        Regarding the inputs, from the image you have already done that by using the inputs when configuring the targets.

        Comment


          #5
          Originally posted by NinjaTrader_Jesse View Post
          Hello psangram,

          Entries per direction lets the platform know that you meant to put in more than one entry in the same direction. The default setting is 1 so if at any time the orders will be active together then you will need to change that to 2. If you just wanted seperate orders at different times with separate targets and your conditions will not become true at the same time you can leave it at 1.

          Regarding the inputs, from the image you have already done that by using the inputs when configuring the targets.
          Thank you. This helps.
          And i tested with the settings i sent in the images and it worked fine.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          44 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          65 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X