Total profit reduces by x % then close everything ..yet again
-
@roar
I was wondering what I've got wrong with this circuit breaker code that you helped with. When I test it it doesn't seem to stop trading. The circuitbreaker constant is a double(0.9). This is in the tick block.
Is there something I'm missing



-
@jzfusion There is time limit defined for new trades not to be opened when the balance limit has been reached. Every day? Every month?
-
@l-andorrà
I do have a time limit filter for the London trading times. Is that what is interfering ? -
@l-andorrà
I have fixed the issue however I noticed during the backtests that after the trading stopped I noticed the equity curve still going down. Is that a back test error? -
@jzfusion Probably. What data quality is your backtest? Never trust anything below 99%.