Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Consecutive losing trades

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

    Consecutive losing trades

    Using Wizard, I would like to build a strategy to tell the script to "quit" trading after so many consecutive losers during a trading day? To date I have not been able to figure this out.

    #2
    hello NFT-Trader,

    to determine if the last trade was a losing trade, you could take a look at the image I posted in post#3 in the following thread: http://www.ninjatrader.com/support/f...ad.php?t=51783

    Problem you'll run into is that in the Wizard it is currently impossible to add or substract variables from each other, so the actual counting of consecutive losers will not be possible.

    Maybe someone else knows a workaround for this by for example loading the SUM indicator with 2 variables so the output will give the summation of these 2 ?

    Marco

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mlprice12, 12-21-2021, 04:55 PM
    3 responses
    290 views
    0 likes
    Last Post paypachaysa  
    Started by lorem, 04-25-2024, 09:18 AM
    20 responses
    85 views
    0 likes
    Last Post lorem
    by lorem
     
    Started by xepher101, 05-10-2024, 12:19 PM
    4 responses
    51 views
    0 likes
    Last Post xepher101  
    Started by DawnTreader, 05-08-2024, 05:58 PM
    22 responses
    82 views
    0 likes
    Last Post DawnTreader  
    Started by Mathias79, Today, 03:44 PM
    0 responses
    17 views
    0 likes
    Last Post Mathias79  
    Working...
    X