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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    77 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X