OPEN-SOURCE SCRIPT
Trend Strength Oscillator

📌 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)**나 성능 저하 요소도 없습니다.
외부 데이터 접근 없이 완전히 자체 계산으로 동작합니다.
이 지표는 투자 판단을 돕기 위한 분석용 도구이며, 직접적인 매수·매도 신호로 사용해서는 안 됩니다.
모든 트레이딩은 사용자의 독립적인 판단과 책임 하에 이루어져야 합니다.
📄 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)**나 성능 저하 요소도 없습니다.
외부 데이터 접근 없이 완전히 자체 계산으로 동작합니다.
이 지표는 투자 판단을 돕기 위한 분석용 도구이며, 직접적인 매수·매도 신호로 사용해서는 안 됩니다.
모든 트레이딩은 사용자의 독립적인 판단과 책임 하에 이루어져야 합니다.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.