Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two Losing Trades = No More Trading

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

    Two Losing Trades = No More Trading

    Hi team,

    How do I make it so that if my strategy has two losing trades in a row during today's session I do not open any new positions?

    Cheers,

    Z

    #2
    Zhorny,

    Here is a reference sample that shows you how to do something similar : http://www.ninjatrader.com/support/f...ad.php?t=19289
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks. Is there a way this can be programmed into the Wizard without having to code?

      Comment


        #4
        Zhorny,

        I imagine there would be some way to do something similar, but it would be best to use the reference sample. You can make your strategy to a point in the wizard, then add the loss code as a last step.

        Here is a helpful video on programming in NinjaScript : http://www.youtube.com/watch?v=JZpo01eSO9c
        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X