does anyone have an idea of how to count consecutive losing trades. For example I want to stop trading if I take 3 losses in a row (i.e. one after the other), not a total of 3 losses for the day, but 3 losses in a row.
Any ideas on how to code this out would be greatly appreciated
Thanks Vonsai. I tried that but StrategyProfit seems to be incorrectly counting losing trades. Look at the first example, the trade is profitable albeit a tiny profit but the counter counts it as a losing trade. Any idea what this happens?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.