OPEN-SOURCE SCRIPT
Flat VWMA Highs 3

The Flat VWMA High3 is a short-term resistance detection indicator based on the Volume-Weighted Moving Average (VWMA) applied to the high prices of candles. By default, it uses a length of 3, averaging the last three highs while weighting them according to traded volume.
Because higher-volume candles have a greater influence on the calculation, the indicator is designed to highlight areas where significant selling pressure or price rejection may be occurring. When the VWMA of highs becomes nearly horizontal, the script projects a short blue resistance segment into future bars, helping traders identify potential overhead supply zones.
Usage
The indicator is intended to be used similarly to traditional support and resistance analysis:
The indicator works particularly well for:
Identifying repeated upper wick rejection areas
Optional Features
Because higher-volume candles have a greater influence on the calculation, the indicator is designed to highlight areas where significant selling pressure or price rejection may be occurring. When the VWMA of highs becomes nearly horizontal, the script projects a short blue resistance segment into future bars, helping traders identify potential overhead supply zones.
Usage
The indicator is intended to be used similarly to traditional support and resistance analysis:
- Bullish Signal: Price breaks and closes above a resistance segment, suggesting supply may have been absorbed.
- Bearish / Resistance Holding: Price rejects from the segment, indicating sellers may still be defending that area.
The indicator works particularly well for:
Identifying repeated upper wick rejection areas
- Detecting short-term supply zones
- Visualizing potential institutional resistance levels
- Combining with gap analysis, moving averages, or volume studies
Optional Features
- VWMA Length
Default: 3 - Increase the length to identify broader or smoother resistance areas.
- Flatness Threshold (%)
Default: 0.15% - Controls how “flat” the VWMA must be before a resistance segment is drawn. Higher-volatility stocks may require a larger threshold.
- Extend Segment Right Bars
Default: 5 - Controls how far the resistance segment projects into future bars.
- Show VWMA High
- Displays the underlying VWMA(high) line directly on the chart for additional visualization.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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.