OPEN-SOURCE SCRIPT
RRE Liquidity + VWMA

Added a VWMA Filter input group (length 20, source close, offset, color #2962FF) and plotted it — same VWMA you pasted.
Swapped the liquidity signal mapping so it matches trade intent rather than raw pivot location: a swept low (candle confirmed below) now fires as your Buy signal, and a swept high (candle confirmed above) now fires as your Sell signal — the arrays are renamed buyLiq/sellLiq accordingly, and the sweep-removal conditions were flipped to match.
Added useVwmaFilter (on by default) — Buy signal only fires when close > VWMA, Sell signal only fires when close < VWMA, per "above buy, below sell." Turn it off in inputs if you want raw pivot signals with no VWMA gate.
Added a VWMA Bias row to the info table.
Swapped the liquidity signal mapping so it matches trade intent rather than raw pivot location: a swept low (candle confirmed below) now fires as your Buy signal, and a swept high (candle confirmed above) now fires as your Sell signal — the arrays are renamed buyLiq/sellLiq accordingly, and the sweep-removal conditions were flipped to match.
Added useVwmaFilter (on by default) — Buy signal only fires when close > VWMA, Sell signal only fires when close < VWMA, per "above buy, below sell." Turn it off in inputs if you want raw pivot signals with no VWMA gate.
Added a VWMA Bias row to the info table.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.