OPEN-SOURCE SCRIPT

Supertrend with VWAP Filter

122
The Logic Breakdown
VWAP Integration: Added a standard VWAP calculation.

Filtering: The Supertrend "Buy" signal only triggers if close > vwap.

Dynamic Coloring: If the Supertrend says "up" but price is below VWAP, the line turns gray.

Candle Highlights: I added logic for Bullish/Bearish Engulfing and Dojis. These will highlight the bar color specifically when they align with your VWAP-filtered trend.

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 o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.