Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two strategies with different ProfitTarget

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

    Two strategies with different ProfitTarget

    Hello,

    I have two strategies that operate on different products and each has different StopLoss and ProfitTarget.

    Would it be enough to call SetStopLoss/SetProfitTarget from each section BarInProgress? Would it work properly?

    Thanks in advance.

    #2
    soyjesus, if you run two strategies then those would act independently, so each managing its own set of orders.

    Comment


      #3
      Sorry, but I have not explained well. I use one strategy and it acts on two different products by BarInProgress.

      Comment


        #4
        Thanks soyjesus, in this case I would name your entry signals uniquely and then tie them each to your SetStopLoss / SetProfitTarget call via the fromEntrySignal parameter.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        673 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        578 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X