OPEN-SOURCE SCRIPT

Trend Strength Oscillator

91
๐Ÿ“Œ Trend Strength Oscillator
๐Ÿ“„ Description
Trend Strength Oscillator measures the directional strength of price relative to an adaptive dynamic trend band. It evaluates how far the current price is from the midpoint of a trend channel and normalizes this value by recent volatility range, allowing traders to detect trend strength, direction, and potential exhaustion in any market condition.

๐Ÿ“Œ Features
๐Ÿ”น Adaptive Trend Band Logic: Uses a modified ATR and time-dependent spread formula to dynamically adjust upper and lower trend bands.

๐Ÿ”น Trendline Midpoint Calculation: The central trendline is defined as the average between upper and lower bands.

๐Ÿ”น Relative Positioning: Measures how far the close is from the center of the band as a percentage.

๐Ÿ”น Range Normalization: Uses a normalized range to account for recent volatility, reducing noise in the oscillator reading.

๐Ÿ”น Oscillator Output (ยฑ100 scale):

+100 indicates strong bullish momentum

-100 indicates strong bearish momentum

0 is the neutral centerline

๐Ÿ› ๏ธ How to Use
โœ… Trend Strength > +50: Indicates a strong bullish phase.

โœ… Trend Strength < -50: Indicates a strong bearish phase.

โš ๏ธ Crossing above 0: Potential bullish trend initiation.

โš ๏ธ Crossing below 0: Potential bearish trend initiation.

๐Ÿ“‰ Values near 0: Suggest trend weakness or ranging conditions.

Best suited timeframes: 1H, 4H, Daily
Ideal combination with: RSI, MACD, volume-based oscillators, moving average crosses

โœ… TradingView House Rules Compliance
This indicator is written in Pine Script v5 and fully open-source.

The script does not repaint, does not generate false alerts, and does not access external or private data.

It is intended strictly as a technical analysis tool, and not a buy/sell signal generator.

Users are encouraged to combine this tool with other confirmations and independent judgment in trading decisions.

=========================================================
๐Ÿ“Œ Trend Strength Oscillator
๐Ÿ“„ ์„ค๋ช… (Description)
Trend Strength Oscillator๋Š” ๊ฐ€๊ฒฉ์ด ๋™์  ์ถ”์„ธ ๋ฐด๋“œ ๋‚ด ์–ด๋””์— ์œ„์น˜ํ•ด ์žˆ๋Š”์ง€๋ฅผ ์ •๋Ÿ‰์ ์œผ๋กœ ๋ถ„์„ํ•˜์—ฌ, ์ถ”์„ธ์˜ ๋ฐฉํ–ฅ์„ฑ๊ณผ ๊ฐ•๋„๋ฅผ ์‹œ๊ฐ์ ์œผ๋กœ ๋ณด์—ฌ์ฃผ๋Š” ์˜ค์‹ค๋ ˆ์ดํ„ฐ ์ง€ํ‘œ์ž…๋‹ˆ๋‹ค. ์ตœ๊ทผ ๋ณ€๋™์„ฑ์„ ๋ฐ˜์˜ํ•œ ๋ฐด๋“œ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ฐ€๊ฒฉ ์œ„์น˜๋ฅผ ์ •๊ทœํ™”ํ•˜์—ฌ, ๊ณผ๋งค์ˆ˜ยท๊ณผ๋งค๋„ ์ƒํƒœ๋‚˜ ์ถ”์„ธ์˜ ์†Œ๋ฉธ ๊ฐ€๋Šฅ์„ฑ๊นŒ์ง€ ํƒ์ง€ํ•  ์ˆ˜ ์žˆ๋„๋ก ์„ค๊ณ„๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ“Œ ์ฃผ์š” ํŠน์ง• (Features)
๐Ÿ”น ์ ์‘ํ˜• ์ถ”์„ธ ๋ฐด๋“œ ๊ณ„์‚ฐ: ATR๊ณผ ์‹œ๊ฐ„ ๊ฒฝ๊ณผ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์ƒ๋‹จ/ํ•˜๋‹จ ๋ฐด๋“œ๋ฅผ ๋™์ ์œผ๋กœ ์กฐ์ •

๐Ÿ”น ์ค‘์‹ฌ ์ถ”์„ธ์„  ์‚ฐ์ถœ: ์ƒ๋‹จ๊ณผ ํ•˜๋‹จ ๋ฐด๋“œ์˜ ํ‰๊ท ๊ฐ’์„ ์ค‘์‹ฌ์„ ์œผ๋กœ ํ™œ์šฉํ•˜์—ฌ ๊ธฐ์ค€ ์ถ• ์ œ๊ณต

๐Ÿ”น ์ƒ๋Œ€ ์œ„์น˜ ๊ณ„์‚ฐ: ํ˜„์žฌ ์ข…๊ฐ€๊ฐ€ ์ค‘์‹ฌ์„ ์—์„œ ์–ผ๋งˆ๋‚˜ ๋–จ์–ด์ ธ ์žˆ๋Š”์ง€๋ฅผ ์ •๊ทœํ™”ํ•˜์—ฌ ์ถ”์„ธ ๊ฐ•๋„ ๊ณ„์‚ฐ

๐Ÿ”น ๋ณ€๋™์„ฑ ๊ธฐ๋ฐ˜ ์ •๊ทœํ™”: ์ตœ๊ทผ ๋ฐด๋“œ ๋ฒ”์œ„๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ƒ๋Œ€ ๊ฑฐ๋ฆฌ๋ฅผ 0~100 ์‚ฌ์ด ๊ฐ’์œผ๋กœ ๋ณ€ํ™˜

๐Ÿ”น ์˜ค์‹ค๋ ˆ์ดํ„ฐ ์ถœ๋ ฅ (๋ฒ”์œ„: ยฑ100):

+100์— ๊ฐ€๊นŒ์šธ์ˆ˜๋ก ๊ฐ•ํ•œ ์ƒ์Šน ์ถ”์„ธ

-100์— ๊ฐ€๊นŒ์šธ์ˆ˜๋ก ๊ฐ•ํ•œ ํ•˜๋ฝ ์ถ”์„ธ

0์— ๊ฐ€๊นŒ์šธ์ˆ˜๋ก ํšก๋ณด ๊ตฌ๊ฐ„ ๊ฐ€๋Šฅ์„ฑ

๐Ÿ› ๏ธ ์‚ฌ์šฉ๋ฒ• (How to Use)
โœ… +50 ์ด์ƒ: ๊ฐ•ํ•œ ์ƒ์Šน ์ถ”์„ธ ์ง€์† ์ค‘

โœ… -50 ์ดํ•˜: ๊ฐ•ํ•œ ํ•˜๋ฝ ์ถ”์„ธ ์ง€์† ์ค‘

โš ๏ธ 0์„  ๋ŒํŒŒ ์ƒํ–ฅ: ์ƒ์Šน ์ถ”์„ธ ์‹œ์ž‘ ๊ฐ€๋Šฅ์„ฑ

โš ๏ธ 0์„  ๋ŒํŒŒ ํ•˜ํ–ฅ: ํ•˜๋ฝ ์ถ”์„ธ ์‹œ์ž‘ ๊ฐ€๋Šฅ์„ฑ

๐ŸŸก 0 ๊ทผ์ฒ˜ ์œ ์ง€: ์ถ”์„ธ ์•ฝํ™” ๋˜๋Š” ํšก๋ณด์žฅ ๊ฐ€๋Šฅ์„ฑ

์ถ”์ฒœ ์‹œ๊ฐ„๋Œ€: 1์‹œ๊ฐ„๋ด‰, 4์‹œ๊ฐ„๋ด‰, ์ผ๋ด‰
๋ณด์กฐ ์ง€ํ‘œ๋กœ ์ถ”์ฒœ: RSI, MACD, OBV, ์ด๋™ํ‰๊ท  ํฌ๋กœ์Šค ๋“ฑ๊ณผ ํ•จ๊ป˜ ํ™œ์šฉ ์‹œ ํšจ๊ณผ์ 

โœ… ํŠธ๋ ˆ์ด๋”ฉ๋ทฐ ํ•˜์šฐ์Šค๋ฃฐ ์ค€์ˆ˜์‚ฌํ•ญ (TradingView House Rules Compliance)
๋ณธ ์ง€ํ‘œ๋Š” Pine Script v5๋กœ ์ž‘์„ฑ๋œ ์˜คํ”ˆ์†Œ์Šค ๊ณต๊ฐœ์šฉ ์Šคํฌ๋ฆฝํŠธ์ž…๋‹ˆ๋‹ค.

๋ฆฌํŽ˜์ธํŠธ(Repaint) ํ˜„์ƒ์ด ์—†์œผ๋ฉฐ, **ํ—ˆ์œ„ ๊ฒฝ๊ณ (Spam Alerts)**๋‚˜ ์„ฑ๋Šฅ ์ €ํ•˜ ์š”์†Œ๋„ ์—†์Šต๋‹ˆ๋‹ค.

์™ธ๋ถ€ ๋ฐ์ดํ„ฐ ์ ‘๊ทผ ์—†์ด ์™„์ „ํžˆ ์ž์ฒด ๊ณ„์‚ฐ์œผ๋กœ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.

์ด ์ง€ํ‘œ๋Š” ํˆฌ์ž ํŒ๋‹จ์„ ๋•๊ธฐ ์œ„ํ•œ ๋ถ„์„์šฉ ๋„๊ตฌ์ด๋ฉฐ, ์ง์ ‘์ ์ธ ๋งค์ˆ˜ยท๋งค๋„ ์‹ ํ˜ธ๋กœ ์‚ฌ์šฉํ•ด์„œ๋Š” ์•ˆ ๋ฉ๋‹ˆ๋‹ค.

๋ชจ๋“  ํŠธ๋ ˆ์ด๋”ฉ์€ ์‚ฌ์šฉ์ž์˜ ๋…๋ฆฝ์ ์ธ ํŒ๋‹จ๊ณผ ์ฑ…์ž„ ํ•˜์— ์ด๋ฃจ์–ด์ ธ์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.