Actually, there is no need to avoid the Sideway Market, because the sideways market is also good when trading, there is a special strategy to be able to seek profit in the sideways market.
We must be able to follow market conditions and know how to trade on the sideways market or on the market with a trend.