OPEN-SOURCE SCRIPT
Triple ATR Adaptive MAs + VWAP Option + Clouds + Candle Trend V2

Another one of my experiences ... combining things...
📘 Indicator Description – Triple ATR Adaptive Moving Averages with VWAP Influence
This indicator plots three adaptive moving averages whose behavior changes dynamically based on market volatility (ATR) and optionally VWAP deviation.
Because they adapt in real time to both volatility and VWAP pressure, their movement, slope, and reaction speed differ significantly from traditional moving averages.
🔶 1. ATR-Adaptive Moving Averages
Each of the three MAs uses a custom adaptive formula:
ATR (Average True Range) is measured over a chosen period.
Higher ATR → more volatility → the MA becomes more reactive and moves closer to price.
Lower ATR → stable market → the MA becomes smoother and slower.
This creates a volatility-aware smoothing factor, making the MA expand, contract, and respond to market conditions in ways a classic SMA, EMA, or HMA cannot.
🔷 2. Optional VWAP Influence
Each MA has an independent toggle allowing it to be influenced by VWAP.
When enabled:
The MA is gently “pulled” toward VWAP.
The strength of this attraction is determined by the VWAP Influence parameter (0–1).
This causes the moving averages to behave differently from normal MAs:
In trending markets, the ATR and price push the MA away from VWAP.
In mean-reverting or balanced conditions, VWAP pulls the MA back toward fair value.
The result is an MA that reflects both trend pressure and fair-value pressure.
🔶 3. Visual Behavior: Non-Traditional Movement
Because each MA is simultaneously influenced by volatility, trend magnitude, and VWAP deviation, their shape is often very distinct from normal moving averages.
They may:
Respond faster during high volatility
Flatten out earlier during consolidation
Curve toward VWAP when price becomes extended
Separate or compress depending on ATR strength
This is intentional and essential, since the goal is to show:
✔ Volatility expansion
✔ Trend exhaustion
✔ Overextended price relative to VWAP
✔ Dynamic trend confirmation
Rather than simply smoothing past price.
🔷 4. Three Independent Adaptive Lines
Each of the three moving averages has:
Its own ATR length
Its own sensitivity multiplier
Its own optional VWAP influence
Its own color and trail
This allows the user to combine:
a fast volatility-adaptive trend line
a mid-range adaptive baseline
a slow adaptive long-trend MA
All adapting independently to volatility and VWAP conditions.
🔶 5. Optional Candle Coloring
The indicator can color candles according to trend strength derived from the fast/slow MAs.
Stronger trends produce more vivid colors. Neutral or conflicting trends produce softer colors.
This adds a visual layer to identify:
Trend direction
Trend strength
Volatility state
Market compression
at a glance.
📌 Summary
This indicator does not behave like standard SMAs or EMAs because each line dynamically adapts to:
🔸 ATR (volatility)
🔸 VWAP (fair value)
This makes the indicator extremely responsive to market conditions while still reducing noise during stable phases.
It provides a more realistic, context-aware, and intelligent representation of price behavior compared to traditional moving averages.
📘 Indicator Description – Triple ATR Adaptive Moving Averages with VWAP Influence
This indicator plots three adaptive moving averages whose behavior changes dynamically based on market volatility (ATR) and optionally VWAP deviation.
Because they adapt in real time to both volatility and VWAP pressure, their movement, slope, and reaction speed differ significantly from traditional moving averages.
🔶 1. ATR-Adaptive Moving Averages
Each of the three MAs uses a custom adaptive formula:
ATR (Average True Range) is measured over a chosen period.
Higher ATR → more volatility → the MA becomes more reactive and moves closer to price.
Lower ATR → stable market → the MA becomes smoother and slower.
This creates a volatility-aware smoothing factor, making the MA expand, contract, and respond to market conditions in ways a classic SMA, EMA, or HMA cannot.
🔷 2. Optional VWAP Influence
Each MA has an independent toggle allowing it to be influenced by VWAP.
When enabled:
The MA is gently “pulled” toward VWAP.
The strength of this attraction is determined by the VWAP Influence parameter (0–1).
This causes the moving averages to behave differently from normal MAs:
In trending markets, the ATR and price push the MA away from VWAP.
In mean-reverting or balanced conditions, VWAP pulls the MA back toward fair value.
The result is an MA that reflects both trend pressure and fair-value pressure.
🔶 3. Visual Behavior: Non-Traditional Movement
Because each MA is simultaneously influenced by volatility, trend magnitude, and VWAP deviation, their shape is often very distinct from normal moving averages.
They may:
Respond faster during high volatility
Flatten out earlier during consolidation
Curve toward VWAP when price becomes extended
Separate or compress depending on ATR strength
This is intentional and essential, since the goal is to show:
✔ Volatility expansion
✔ Trend exhaustion
✔ Overextended price relative to VWAP
✔ Dynamic trend confirmation
Rather than simply smoothing past price.
🔷 4. Three Independent Adaptive Lines
Each of the three moving averages has:
Its own ATR length
Its own sensitivity multiplier
Its own optional VWAP influence
Its own color and trail
This allows the user to combine:
a fast volatility-adaptive trend line
a mid-range adaptive baseline
a slow adaptive long-trend MA
All adapting independently to volatility and VWAP conditions.
🔶 5. Optional Candle Coloring
The indicator can color candles according to trend strength derived from the fast/slow MAs.
Stronger trends produce more vivid colors. Neutral or conflicting trends produce softer colors.
This adds a visual layer to identify:
Trend direction
Trend strength
Volatility state
Market compression
at a glance.
📌 Summary
This indicator does not behave like standard SMAs or EMAs because each line dynamically adapts to:
🔸 ATR (volatility)
🔸 VWAP (fair value)
This makes the indicator extremely responsive to market conditions while still reducing noise during stable phases.
It provides a more realistic, context-aware, and intelligent representation of price behavior compared to traditional moving averages.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.