OPEN-SOURCE SCRIPT
Arc Trail Regime [JOAT]

Arc Trail Regime is an open-source Pine Script v6 overlay that builds an accelerating trail around an adaptive EMA arc and gates directional flips with VWAP location. It is designed to show when price has crossed a dynamic trailing level while the broader value anchor agrees with the new side.
The script focuses on a smooth regime trail rather than many signal markers. It displays the active arc, a soft cloud, optional gradient candles, and right-edge shelf levels created after confirmed flips.

Core Concepts
1. Adaptive Arc Core
The core blends fast and slow EMA curves. The blend weight increases when recent speed and volatility expansion increase, which makes the arc respond faster during active movement.
Pine Script®
2. VWAP Gate
Bull flips require price to be above VWAP. Bear flips require price to be below VWAP. This keeps the trail aligned with a basic value-location filter.
3. Accelerating Trail Width
The trail distance uses ATR and a volatility speed boost. During active movement, the trail can tighten within bounds so it reacts faster to regime changes.
4. Confirmed Flip Shelves
When a confirmed regime flip occurs, the script draws a shelf line near the flip bar. The shelf remains active until price invalidates it.
5. Distance Candles
Candles can be colored from bearish to bullish based on their normalized distance from the active trail.
Features
Input Parameters
Visuals:
Engine:
How to Use This Indicator
Step 1: Read the Active Regime
The dashboard shows Bull or Bear based on the active trail side.
Step 2: Confirm VWAP Location
The VWAP row shows whether price is above or below the value gate used by the script.
Step 3: Monitor Shelves
Shelf lines are created after flips and can act as visual invalidation references.
Indicator Limitations
Originality Statement
Arc Trail Regime is original in its adaptive arc weighting, VWAP-gated regime flips, speed-sensitive trail width, and active shelf visualization. It is built with original Pine v6 code and public chart data.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Trail flips can fail in range conditions or during abrupt volatility changes. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
The script focuses on a smooth regime trail rather than many signal markers. It displays the active arc, a soft cloud, optional gradient candles, and right-edge shelf levels created after confirmed flips.
Core Concepts
1. Adaptive Arc Core
The core blends fast and slow EMA curves. The blend weight increases when recent speed and volatility expansion increase, which makes the arc respond faster during active movement.
2. VWAP Gate
Bull flips require price to be above VWAP. Bear flips require price to be below VWAP. This keeps the trail aligned with a basic value-location filter.
3. Accelerating Trail Width
The trail distance uses ATR and a volatility speed boost. During active movement, the trail can tighten within bounds so it reacts faster to regime changes.
4. Confirmed Flip Shelves
When a confirmed regime flip occurs, the script draws a shelf line near the flip bar. The shelf remains active until price invalidates it.
5. Distance Candles
Candles can be colored from bearish to bullish based on their normalized distance from the active trail.
Features
- Adaptive arc core: Blends fast and slow curves by speed and volatility
- VWAP-gated flips: Direction changes require price location agreement
- ATR trail: Trail distance scales with chart volatility
- Arc cloud: Soft band around the active trail
- Active shelves: Right-edge support/resistance references after confirmed flips
- Confirmed buy/sell flip markers: Compact BUY and SELL dots are offset away from candles and only print after confirmed regime flips
- Gradient candles: Optional candle coloring by trail distance
- Dashboard: Shows regime, VWAP side, distance, speed, and shelf status
- Alerts: Confirmed bull flip and confirmed bear flip
Input Parameters
Visuals:
- Palette Preset: Selects bull and bear colors
- Arc Cloud: Shows the trail cloud
- Gradient Candles: Enables candle coloring
- Confirmed Flip Signals: Shows compact BUY and SELL flip markers
- Active Shelves: Shows flip shelf lines and labels
Engine:
- Source: Price source
- Inner Curve Length: Fast EMA length
- Outer Curve Length: Slow EMA length
- ATR Length: Volatility length
- Base Trail Width: Starting ATR trail multiplier
- Volatility Speed Boost: Controls how much expansion affects the trail
How to Use This Indicator
Step 1: Read the Active Regime
The dashboard shows Bull or Bear based on the active trail side.
Step 2: Confirm VWAP Location
The VWAP row shows whether price is above or below the value gate used by the script.
Step 3: Monitor Shelves
Shelf lines are created after flips and can act as visual invalidation references.
Indicator Limitations
- Trail systems can whipsaw during sideways markets
- VWAP behavior varies across sessions and symbols
- A shelf is a visual reference, not a complete stop model
- Fast volatility shifts can temporarily widen or tighten the trail abruptly
Originality Statement
Arc Trail Regime is original in its adaptive arc weighting, VWAP-gated regime flips, speed-sensitive trail width, and active shelf visualization. It is built with original Pine v6 code and public chart data.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Trail flips can fail in range conditions or during abrupt volatility changes. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.