Can you advise me on an effective indicator to avoid long periods of consolidation in the market?

 

I have a strategy that apparently is very good when there are trends. But this has great losses when the market is consolidating. In fact, it almost lost 90% of the capital between 2000 and 2003. So if I can filter those periods in which the market does not have strength, maybe this strategy can be used without fear of losing everything.

The strategy works in periods of M1 but I need to know if the market is lateral in periods of MN1.

Can you advise me an indicator that works for it?

Thank you so much !!

<Deleted>

 
I also want to know, is there such an indicator?