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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        46 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        14 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        20 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X