OPEN-SOURCE SCRIPT
ATR Delta

ATR Delta is a volatility oscillator that separates the Average True Range into its up- and down-move components instead of showing a single combined value. It's built for anyone who wants to see whether current volatility is being driven more by up bars or by down bars, rather than only how large that volatility is overall — for example to judge whether a rise or a drop in volatility comes from bullish or bearish price action. Each bar's true range is assigned to the up or down side depending on whether the bar closed higher or lower than the previous close, and both sides are then smoothed independently using the same RMA-based method the classic ATR uses. The smoothing length and the two fill colors can be freely adjusted.
Calculation
Length: number of bars used to smooth the directional true range.
Appearance
Bull / Bear: two colors: one for the area between the Up line and the Delta line, the other for the area between the Delta line and the Down line.

The indicator plots two smoothed lines — one for the true range on up bars, one for the true range on down bars, mirrored below the zero line — plus a delta line placed exactly between them. The delta line sits above zero when the up side currently has more true range than the down side, and below zero when the down side has more; the further it moves from zero, the larger that imbalance. The area between the upper line and the delta line is filled in Bull Color, and the area between the delta line and the lower line is filled in Bear Color. A bar with an unchanged close is always counted on the up side.

This indicator is intended solely for market analysis and does not constitute investment advice or a guarantee of success. Use it at your own discretion and risk; past results are not indicative of future performance.
Calculation
Length: number of bars used to smooth the directional true range.
Appearance
Bull / Bear: two colors: one for the area between the Up line and the Delta line, the other for the area between the Delta line and the Down line.
The indicator plots two smoothed lines — one for the true range on up bars, one for the true range on down bars, mirrored below the zero line — plus a delta line placed exactly between them. The delta line sits above zero when the up side currently has more true range than the down side, and below zero when the down side has more; the further it moves from zero, the larger that imbalance. The area between the upper line and the delta line is filled in Bull Color, and the area between the delta line and the lower line is filled in Bear Color. A bar with an unchanged close is always counted on the up side.
This indicator is intended solely for market analysis and does not constitute investment advice or a guarantee of success. Use it at your own discretion and risk; past results are not indicative of future performance.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.