The strategy is based on the idea that once the price is in the overbought or oversold zone, it usually rolls back.
If the market reverses against an open position, the EA uses loss recovery through averaging orders. This allows you to continue trading, even if the trade was initially unprofitable.