One moving average ( SMA ) is used. The channel is convened at a moving average rather than prices. Blue is a uptrend. Red is a downtrend.
If the candle has closed above the ribbon - open long (and close short)
If the candle has closed below the ribbon - open short (and close long)