Consider it akin to a minor liquidity hunt above the previous high or below the previous low. The presence of the Golden Swap pattern, especially when aligned with other indicators and filters, enhances its reliability as a signal for the continuation of the prevailing market trend.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.