PROTECTED SOURCE SCRIPT
MTF-Pullback (RSI, MACD, Fibo)

#MTF-Pullback (RSI, MACD, Fibo)
1. Trend Detection (HTF):
The script analyzes the higher-timeframe trend using a Linear Regression Curve (default: 120 min) to ensure alignment with the broader market direction.
2. MACD Trend Filter:
It calculates the MACD Histogram to determine current momentum and validate bullish or bearish phases.
3. Stoch RSI Analysis:
A smoothed Stochastic RSI oscillator acts as a filter to identify overbought conditions (for longs) or oversold conditions (for shorts).
4. Dynamic Fibonacci Levels:
The script automatically calculates the 38.2, 50.0, and 61.8 Fibonacci retracements based on the high/low of a defined lookback period.
5. Golden Zone Visualization:
The area between the 38.2 and 61.8 Fibo levels is shaded in gold to visually highlight the primary pullback zone.
6. Acoustic Alerts:
Is a BUY or SELL signal triggered, the script automatically activates a sound alarm (once per closed bar).
7. Status Table (Dashboard):
A displays all key parameters (MACD, HTF Trend, RSI, Fibo Status) at a glance.
8. Customizable UI:
You can easily adjust the table position, font size, and all technical parameters (timeframes, lengths, Fibo periods) via the settings menu.
1. Trend Detection (HTF):
The script analyzes the higher-timeframe trend using a Linear Regression Curve (default: 120 min) to ensure alignment with the broader market direction.
2. MACD Trend Filter:
It calculates the MACD Histogram to determine current momentum and validate bullish or bearish phases.
3. Stoch RSI Analysis:
A smoothed Stochastic RSI oscillator acts as a filter to identify overbought conditions (for longs) or oversold conditions (for shorts).
4. Dynamic Fibonacci Levels:
The script automatically calculates the 38.2, 50.0, and 61.8 Fibonacci retracements based on the high/low of a defined lookback period.
5. Golden Zone Visualization:
The area between the 38.2 and 61.8 Fibo levels is shaded in gold to visually highlight the primary pullback zone.
6. Acoustic Alerts:
Is a BUY or SELL signal triggered, the script automatically activates a sound alarm (once per closed bar).
7. Status Table (Dashboard):
A displays all key parameters (MACD, HTF Trend, RSI, Fibo Status) at a glance.
8. Customizable UI:
You can easily adjust the table position, font size, and all technical parameters (timeframes, lengths, Fibo periods) via the settings menu.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.