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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.