SMA +7 ATR Lines (Normal atr extension + jfserv version)

This script is a comparison study between two different ATR extension calculation methods from a chosen SMA (10, 21, or 50).
Purpose:
To visually compare the classic “Normal / Matrix Style” ATR extension (used in the ATR Matrix indicator) with the jfserv percentage-normalized method.
The Two Methods Compared:
Normal / Matrix Style (Orange Line)
Line = SMA + Multiplier × ATR
→ Classic dollar-based extension. Same formula used in the “ATR Matrix” script (f_lvl_from_sma(n) => sma50 + n * atr).
jfserv % Method (Red Line)
Line = SMA + Multiplier × ATR × (SMA / close)
→ Percentage-normalized approach. Adjusts the extension level based on the current price relative to the SMA.
Features:
Switch between SMA10, SMA21, or SMA50
Show one or both lines (both visible by default)
Background color based on chosen method
Adjustable ATR multiplier (default 7x)
Thicker lines (default width 4)
Fill zone and visual labels
Created by: @denis__hamel
Purpose:
To visually compare the classic “Normal / Matrix Style” ATR extension (used in the ATR Matrix indicator) with the jfserv percentage-normalized method.
The Two Methods Compared:
Normal / Matrix Style (Orange Line)
Line = SMA + Multiplier × ATR
→ Classic dollar-based extension. Same formula used in the “ATR Matrix” script (f_lvl_from_sma(n) => sma50 + n * atr).
jfserv % Method (Red Line)
Line = SMA + Multiplier × ATR × (SMA / close)
→ Percentage-normalized approach. Adjusts the extension level based on the current price relative to the SMA.
Features:
Switch between SMA10, SMA21, or SMA50
Show one or both lines (both visible by default)
Background color based on chosen method
Adjustable ATR multiplier (default 7x)
Thicker lines (default width 4)
Fill zone and visual labels
Created by: @denis__hamel
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.