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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        56 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X