Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

deactivate strategies automatically if pnl = daily win

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

    deactivate strategies automatically if pnl = daily win

    Good morning. I am a beginner on ninjatrader strategy builder. I would like to disconnect the strategy if the pnl = daily win.
    Thank you for your answers​.
    if it's in code, explain to me how to integrate it. I'm not a coder.
    Thank you

    #2
    Hello Tim-c,

    A daily loss limit or profit limit would require editing the strategies to support that. if you are using imported strategies you can contact the developer to implement that. If you made your own strategy you can implement that type of condition. Here is one sample of using PnL values using the strategy builder:
    Hello, I've updated the DailyLossLimit and DailyLosLimitMultiTrade examples that were posted on the forum for NinjaTrader 7 for NinjaTrader 8. These are often requested and I felt they are good examples to have for NT8. DailyLossLimitExample_NT7 - http://ninjatrader.com/support/forum...241#post451241 (http://ninjatrader

    Comment


      #3
      Thank you for your reply. I would like a daily win and not a daily loss

      Comment


        #4
        I use the strategy builder to create the strategy

        Comment


          #5
          Hello Tim-c,

          It would be the same concept for win or loss, to check for win you would just change the condition to check if the PnL is above a certain amount.

          You can find a sample for the builder here: https://forum.ninjatrader.com/forum/...er#post1203124

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          54 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          131 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          73 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          44 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          49 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X