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!
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
NinjaTrader
Consecutive losing trades
Collapse
X
-
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. -
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
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mlprice12, 12-21-2021, 04:55 PM
|
3 responses
290 views
0 likes
|
Last Post
by paypachaysa
Today, 06:15 PM
|
||
Started by lorem, 04-25-2024, 09:18 AM
|
20 responses
85 views
0 likes
|
Last Post
by lorem
Today, 06:07 PM
|
||
Started by xepher101, 05-10-2024, 12:19 PM
|
4 responses
51 views
0 likes
|
Last Post
by xepher101
Today, 05:33 PM
|
||
Started by DawnTreader, 05-08-2024, 05:58 PM
|
22 responses
82 views
0 likes
|
Last Post
by DawnTreader
Today, 04:52 PM
|
||
Started by Mathias79, Today, 03:44 PM
|
0 responses
17 views
0 likes
|
Last Post
by Mathias79
Today, 03:44 PM
|
Comment