OPEN-SOURCE SCRIPT
ADR% Ext MA

This indicator is designed for aggressive short-term momentum swing traders who want to filter out "dead money" and avoid chasing extended stocks. It helps you objectively measure velocity (ADR%) and risk (Extension from 50MA) to identify the hottest setups before they become overextended.
The core philosophy behind this script is simple:
Velocity: We only want stocks that move fast enough to reward us quickly.
Safety: We want to enter near the "launchpad" (50SMA), not when the move is already stretched.
Timing: We want to ensure the stock hasn't already used up its daily fuel.
Key Features
1. ADR% (Average Daily Range %)
Concept: Measures the velocity of the stock.
Function: Calculates the average daily percentage move over a set period (default 20 days).
Logic: If a stock's ADR is too low (e.g., < 3%), it is considered "dead money" and ignored. The indicator highlights the background in BLUE only when the ADR% meets your minimum threshold.
2. Extension from 50 SMA (measured in ATR)
Concept: Measures how stretched the price is from its trend baseline.
Function: Calculates the distance between the Close and the 50 SMA, expressed as multiples of ATR.
Logic: High momentum plays require a base. If the price is extended more than 4x ATR from the 50 SMA, the risk/reward is skewed (rubber band effect). The blue highlight turns off if the price is too extended.
3. Daily Range Used (Intraday Timing)
Concept: Measures how much of the expected daily move has already happened today.
Function: Compares the current day's range (High - Low) against the ATR.
Display: Used: ATR x 0.50 means the stock has only moved 50% of its average range. If it exceeds 1.0 (100%), the text turns RED, warning you that the move might be exhausted for the day.
Visual Guide
Blue Background Highlight: The "Green Light" zone. It appears only when:
ADR% is high enough (High Momentum).
Price is above 50 SMA (Up Trend).
Price is NOT overextended (Safe Entry Zone).
Dashboard Box (Top Right):
ADR: Shows the raw velocity percentage.
Ext: Shows extension from 50SMA in ATR multiples. (Turns RED if > 4.0).
Used: Shows intraday range consumption. (Turns RED if > 1.0).
MA: Displays the 50 SMA value.
Settings
ADR Length & Threshold: Customize the lookback period and minimum % required (Default: 3%).
Extension Limit: Set the maximum ATR multiple allowed from the 50 SMA (Default: 4x).
Visuals: Customize text size and box position.
Disclaimer: This tool is for educational purposes and trend analysis only. Always manage your risk.
The core philosophy behind this script is simple:
Velocity: We only want stocks that move fast enough to reward us quickly.
Safety: We want to enter near the "launchpad" (50SMA), not when the move is already stretched.
Timing: We want to ensure the stock hasn't already used up its daily fuel.
Key Features
1. ADR% (Average Daily Range %)
Concept: Measures the velocity of the stock.
Function: Calculates the average daily percentage move over a set period (default 20 days).
Logic: If a stock's ADR is too low (e.g., < 3%), it is considered "dead money" and ignored. The indicator highlights the background in BLUE only when the ADR% meets your minimum threshold.
2. Extension from 50 SMA (measured in ATR)
Concept: Measures how stretched the price is from its trend baseline.
Function: Calculates the distance between the Close and the 50 SMA, expressed as multiples of ATR.
Logic: High momentum plays require a base. If the price is extended more than 4x ATR from the 50 SMA, the risk/reward is skewed (rubber band effect). The blue highlight turns off if the price is too extended.
3. Daily Range Used (Intraday Timing)
Concept: Measures how much of the expected daily move has already happened today.
Function: Compares the current day's range (High - Low) against the ATR.
Display: Used: ATR x 0.50 means the stock has only moved 50% of its average range. If it exceeds 1.0 (100%), the text turns RED, warning you that the move might be exhausted for the day.
Visual Guide
Blue Background Highlight: The "Green Light" zone. It appears only when:
ADR% is high enough (High Momentum).
Price is above 50 SMA (Up Trend).
Price is NOT overextended (Safe Entry Zone).
Dashboard Box (Top Right):
ADR: Shows the raw velocity percentage.
Ext: Shows extension from 50SMA in ATR multiples. (Turns RED if > 4.0).
Used: Shows intraday range consumption. (Turns RED if > 1.0).
MA: Displays the 50 SMA value.
Settings
ADR Length & Threshold: Customize the lookback period and minimum % required (Default: 3%).
Extension Limit: Set the maximum ATR multiple allowed from the 50 SMA (Default: 4x).
Visuals: Customize text size and box position.
Disclaimer: This tool is for educational purposes and trend analysis only. Always manage your risk.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.