Hi,
I would like to add a filter to a strategy im forward testing.
To prevent it from taking multiple losers in a falling knife, i would like to limit the amount of losers to 2 per day.
So no trades after 2 losers that day.
What would be the code for that? And would someone be so kind and share this code with me.