Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Board game geek, Yesterday, 02:20 AM
        2 responses
        20 views
        0 likes
        Last Post Board game geek  
        Started by jackiegils, Yesterday, 11:05 PM
        0 responses
        5 views
        0 likes
        Last Post jackiegils  
        Started by cre8able, 05-09-2024, 09:15 PM
        2 responses
        17 views
        0 likes
        Last Post cre8able  
        Started by Trader146, Yesterday, 09:17 PM
        0 responses
        9 views
        0 likes
        Last Post Trader146  
        Started by ttrader23, 05-08-2024, 09:04 AM
        9 responses
        43 views
        0 likes
        Last Post ttrader23  
        Working...
        X