Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Setting Profit and Loss limits in a strategy using the Strategy Builder

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

    Setting Profit and Loss limits in a strategy using the Strategy Builder

    Using the strategy Builder I am trying to set a limit on a Profit and Stop on my strategy.
    I am trying to set it in the Inputs and variables so it will be visible and set in the chart when you add the strategy.

    The targets could be set to the desired amount and when struck, trading would be stopped for that day and then reset for the following day.

    I am getting lost in the syntax to get this right, I have tried but failed to get this working so far?

    Any help would be gratefully appreciated.

    Thanks

    #2
    Hello fredfred,

    A daily loss limit would not be something that can be accomplished with the strategy builder as this requires accumulating the profit/loss which requires math.

    Below is a link to an example.
    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
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    104 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    52 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    34 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    38 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    74 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X