Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop Strategy Backtest when balance = 0

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

    Stop Strategy Backtest when balance = 0

    Is it possible for the Backtest to stop when loses are equal to the balance left? I did some examples for myself and after 4 trades the cumulative loses is equal to my account amount, therefore the strategy should stop. But it doesn't. Any way to do it?

    thanks

    #2
    Hello,

    Thank you for the post.

    We have a few example on halting a strategy in the Reference samples here on the forum: http://ninjatrader.com/support/forum...ead.php?t=4804

    These would likely aid in preventing further trading, in regard to the account amount you could see this example which includes accessing PnL information: http://ninjatrader.com/support/forum...ead.php?t=4084

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    630 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    566 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X