OPEN-SOURCE SCRIPT

Supertrend with VWAP Filter

104
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.