Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder Set Up for Profit Target

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

    Strategy Builder Set Up for Profit Target

    How to properly set up Strategy Builder with TP1 and TP2? The strategy includes the long position converting into the short position. In SET1 I have "Enter Long Position" in SET2 I have "Enter Short Position".

    #2
    Hello Radano,

    Thank you for your note.

    You would need to create 2 entry orders and use signal names to link them to a specific profit target. I'm attaching a very simple strategy that enters two separate orders in a given direction and sets a different profit target for each, linking the entries and exits via signal names. You can import this from Tools > Import > NinjaScript Add-on. Once installed, you can look at the logic by opening a new Strategy Builder window and selecting "ExampleScaleOut" from the list, then advancing through the Builder screens.

    Please let us know if we may be of further assistance to you.
    Attached Files

    Comment


      #3
      I understood the logic, however how to teach the system to avoid overbuying positions. I get on times 4 positions vs 2.

      Comment


        #4
        Hello Radano,

        Thank you for your reply.

        Could you provide screenshots of your logic in your condition and action sets? It should be noted that calling an entry method (such as EnterLong() ) on the same bar on which an exit method is called will result in a larger position than you'd expect as Entry methods automatically submit an exit order for any position in the opposite direction and you can end up with 1 exit from the exit method, 1 exit automatically submitted from the entry method, and 1 order to put the strategy in the new position, which results in a 2 position in the direction opposite the one you started in.

        Thanks in advance; I look forward to assisting you further.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        163 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        81 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        125 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        206 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        184 views
        0 likes
        Last Post CarlTrading  
        Working...
        X