OPEN-SOURCE SCRIPT
Basic Echo Ray Draggable Anchor

This is a price deviation / echo / replication band tool built in Pine Script v6, centered around a user-draggable vertical anchor line (time-based starting point).Main idea:You choose one anchor point in time (drag the vertical dashed blue line)
At that exact moment the indicator "freezes" / snapshots selected moving averages (of high/low/close)
It then creates a grid of horizontal rays extending to the right, based on symmetrical echo/deviation distances calculated from that snapshot
The echo size can grow or shrink either linearly (percentage mode) or via repeated square-root compression (very popular in some harmonic / fib-like crypto & forex setups)
Core calculation modesMode
Echo / deviation formula
Typical character
Common use-case feeling
Square Root
scale × √(√MA)
very compressed at higher prices
crypto, logarithmic feel, mean-reversion
Percentage
scale × start% × MA
classical linear percentage bands
stocks, forex, more traditional range
Most important levels drawn as rays (from anchor)u0 / l0 → frozen lowMA / highMA themselves (thick yellow)
u0.5, u1, u2, u3, …, u14 → upper deviations (mostly red)
l0.5, l1, l2, …, l14 → lower deviations (mostly green)
thicker lines at ±4, ±8, ±12 (more visual weight)
mid (50%), mid25, mid75 (customizable quartiles-ish)
Typical use cases (2024–2026 trading context)Anchor-based mean reversion / range trading
→ Drag anchor to recent swing high/low / news event / session open
→ Trade fades / reversals when price reaches u2–u4 or l2–l4 rays
→ Very common on BTC, ETH 1h–4h–1D after big moves
"Echo" continuation / breakout filter
→ After strong trend starts from anchor, price walking along u4–u8 or l4–l8 rays is considered continuation
→ Break & close beyond u12 / l12 often treated as exhaustion or very strong acceleration
Square-root mode as poor-man's log-scale bands
→ On assets that show parabolic / exponential behavior (crypto, some small-caps, meme coins)
→ Square-root compression creates bands that feel "logarithmic-ish" without changing chart scaling
Session / news / event replay analysis
→ Place anchor at FOMC, NFP, ETF approval tweet, halving, etc.
→ See how price respected / ignored the echo grid in following days/weeks
Visual "magnet" & confluence finder
→ Combine with VWAP, volume profile, order blocks, fibs
→ Many traders watch when multiple rays + other levels cluster together
Quick summary – when people usually add this indicatorYou want custom-time-period fixed deviation bands (not rolling like regular Bollinger)
You like draggable anchor VWAP-style tools but want more levels / different math
You trade crypto or high-vol instruments where classical % bands become too wide too quickly
You want to quickly visualise "where would price be if it continued the same volatility pattern from X moment"
In short: draggable time anchor + snapshot MA + square-root or %-based deviation rays
→ modern evolution of fixed-level fib / ATR / percent bands with very strong community usage in 2024–2026 crypto & index futures spaces.
At that exact moment the indicator "freezes" / snapshots selected moving averages (of high/low/close)
It then creates a grid of horizontal rays extending to the right, based on symmetrical echo/deviation distances calculated from that snapshot
The echo size can grow or shrink either linearly (percentage mode) or via repeated square-root compression (very popular in some harmonic / fib-like crypto & forex setups)
Core calculation modesMode
Echo / deviation formula
Typical character
Common use-case feeling
Square Root
scale × √(√MA)
very compressed at higher prices
crypto, logarithmic feel, mean-reversion
Percentage
scale × start% × MA
classical linear percentage bands
stocks, forex, more traditional range
Most important levels drawn as rays (from anchor)u0 / l0 → frozen lowMA / highMA themselves (thick yellow)
u0.5, u1, u2, u3, …, u14 → upper deviations (mostly red)
l0.5, l1, l2, …, l14 → lower deviations (mostly green)
thicker lines at ±4, ±8, ±12 (more visual weight)
mid (50%), mid25, mid75 (customizable quartiles-ish)
Typical use cases (2024–2026 trading context)Anchor-based mean reversion / range trading
→ Drag anchor to recent swing high/low / news event / session open
→ Trade fades / reversals when price reaches u2–u4 or l2–l4 rays
→ Very common on BTC, ETH 1h–4h–1D after big moves
"Echo" continuation / breakout filter
→ After strong trend starts from anchor, price walking along u4–u8 or l4–l8 rays is considered continuation
→ Break & close beyond u12 / l12 often treated as exhaustion or very strong acceleration
Square-root mode as poor-man's log-scale bands
→ On assets that show parabolic / exponential behavior (crypto, some small-caps, meme coins)
→ Square-root compression creates bands that feel "logarithmic-ish" without changing chart scaling
Session / news / event replay analysis
→ Place anchor at FOMC, NFP, ETF approval tweet, halving, etc.
→ See how price respected / ignored the echo grid in following days/weeks
Visual "magnet" & confluence finder
→ Combine with VWAP, volume profile, order blocks, fibs
→ Many traders watch when multiple rays + other levels cluster together
Quick summary – when people usually add this indicatorYou want custom-time-period fixed deviation bands (not rolling like regular Bollinger)
You like draggable anchor VWAP-style tools but want more levels / different math
You trade crypto or high-vol instruments where classical % bands become too wide too quickly
You want to quickly visualise "where would price be if it continued the same volatility pattern from X moment"
In short: draggable time anchor + snapshot MA + square-root or %-based deviation rays
→ modern evolution of fixed-level fib / ATR / percent bands with very strong community usage in 2024–2026 crypto & index futures spaces.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.