PROTECTED SOURCE SCRIPT

MTF-Pullback (RSI, MACD, Fibo)

44
#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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.