2 consecutive losing races

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
goldfinch77
Posts: 260
Joined: Wed Aug 05, 2020 11:45 am

Been away from here for awhile so not sure if this has been covered. I am running an automated horse strategy in Guardian, is there any way i can detect 2 consecutive losses and stop all trading for the rest of the day ?, the strat is running hands free.
User avatar
Trader724
Posts: 593
Joined: Fri Dec 27, 2019 11:22 pm

I’m not sure stopping after X consecutive losses is necessarily a good idea unless the testing shows those losing streaks are predictive of worse performance afterwards. Two consecutive losses can be completely normal variance so you may just end up stopping the strategy at arbitrary points and missing the recovery.

You can do it with a global Stored Value.
Use it as a loss counter, add 1 after a losing trade and reset it to 0 after a winner then add a condition to your entry rules so they only fire while the counter is below 2.
goldfinch77
Posts: 260
Joined: Wed Aug 05, 2020 11:45 am

My testing has shown that 2 losses does have an impact on my overall strategy which is why I am try to build into my live strat,I have very sensitive conditions for each trade taken.
Post Reply

Return to “Bet Angel - Automation”