OPEN-SOURCE SCRIPT
已更新

MM + MACD [RSI Filter]

222
MM + MACD Trend Follower with RSI Filter
Pedro Canto - Portfolio Manager | CGA/CGE

OVERVIEW

The MM + MACD Trend Follower with RSI Filter is a multi-layered trend-following indicator designed to help traders identify high-probability trend continuation setups while avoiding low-quality entries caused by overbought or oversold market conditions.

This tool combines the power of Moving Averages (MA), the MACD Histogram, and a visual RSI-based filter to validate both trend direction and timing for entries. Its goal is simple: filter out noise and highlight only the most technically relevant buy and sell signals based on objective momentum and trend criteria.

USE CASES

- Identifying trend continuation setups
- Filtering false signals during consolidation phases
- Avoiding trades in overbought or oversold zones
- Enhancing entry timing for both swing and intraday strategies
- Providing visual confirmation of trend strength and momentum alignment

KEY FEATURES

1. Dual Moving Average Setup
The indicator allows full customization of two moving averages (MA1 and MA2), supporting both EMA and SMA types. The slope of the longer MA (MA2) acts as an essential trend filter, ensuring signals are only generated when the market shows clear directional bias.

2. MACD Histogram Trend Confirmation
A classic MACD Histogram calculation is used to validate the momentum of the prevailing trend.

- Bullish Trend: Histogram > 0
- Bearish Trend: Histogram < 0

This step filters out counter-trend signals and ensures trades are aligned with momentum.

3. Intrabar Price Trigger
Unlike standard crossover systems, this indicator waits for intrabar price action to trigger entries:

- Buy Signal: Price crosses below one of the MAs during an uptrend (dip-buy logic)
- Sell Signal: Price crosses above one of the MAs during a downtrend (rally-sell logic)

This intrabar trigger improves entry timing and helps capture retracement-based opportunities.

4. RSI Visual Filter
A short-term RSI is plotted and color-coded to visually highlight overbought and oversold conditions, acting as a discretionary filter for users to avoid low-probability trades during exhaustion points.

5. Dynamic Coloring System

Bar Colors:
- Blue: Bullish trend
- Red: Bearish trend
- Orange: RSI Overbought/Oversold zones

MA Colors:
- Blue for bullish conditions
- Red for bearish conditions
- Gray for neutral/no-trend phases

6. Signal Markers and Alerts
Clear visual buy and sell markers are plotted directly on the chart.

Additionally, the indicator includes real-time alerts for both Buy and Sell signals, helping traders stay informed even when away from the screen.

INPUTS AND CUSTOMIZATION OPTIONS

- Moving Average Types: EMA or SMA for both MA1 and MA2.
- MACD Settings: Customizable fast, slow, and signal periods.
- RSI Settings: Source, length, and overbought/oversold levels fully adjustable.
- Color Customization: Adjust RSI zone colors to suit your chart theme.

---

DISCLAIMER
This indicator is a technical analysis tool designed for educational and informational purposes only. It should not be used as a standalone trading system. Always combine it with sound risk management, price action analysis, and, where applicable, fundamental context.
Past performance does not guarantee future results.
發行說明
MM + MACD Trend Follower with RSI Filter
Pedro Canto - Portfolio Manager | CGA/CGE

OVERVIEW
The MM + MACD Trend Follower with RSI Filter is a multi-layered trend-following indicator designed to help traders identify high-probability trend continuation setups while avoiding low-quality entries caused by overbought or oversold market conditions.

This tool combines the power of Moving Averages (MA), the MACD Histogram, and a visual RSI-based filter to validate both trend direction and timing for entries. Its goal is simple: filter out noise and highlight only the most technically relevant buy and sell signals based on objective momentum and trend criteria.

USE CASES
Identifying trend continuation setups;

Filtering false signals during consolidation phases;

Avoiding trades in overbought or oversold zones;

Enhancing entry timing for both swing and intraday strategies;

Providing visual confirmation of trend strength and momentum alignment.

KEY FEATURES
1. Dual Moving Average Setup
The indicator allows full customization of two moving averages (MA1 and MA2), supporting both EMA and SMA types. The slope of the longer MA (MA2) acts as an essential trend filter, ensuring signals are only generated when the market shows clear directional bias.

2. MACD Histogram Trend Confirmation
A classic MACD Histogram calculation is used to validate the momentum of the prevailing trend.

Bullish Trend: Histogram > 0

Bearish Trend: Histogram < 0

This step filters out counter-trend signals and ensures trades are aligned with momentum.

3. Intrabar Price Trigger
Unlike standard crossover systems, this indicator waits for intrabar price action to trigger entries:

- Buy Signal: Price crosses below one of the MAs during an uptrend (dip-buy logic).
- Sell Signal: Price crosses above one of the MAs during a downtrend (rally-sell logic).

This intrabar trigger improves entry timing and helps capture retracement-based opportunities.

RSI Visual Filter
A short-term RSI is plotted and color-coded to visually highlight overbought and oversold conditions, acting as a discretionary filter for users to avoid low-probability trades during exhaustion points.

Dynamic Coloring System

Bar Colors:

- Blue: Bullish trend
- Red: Bearish trend
- Orange: RSI Overbought/Oversold zones

MA Colors:
- Blue for bullish conditions
- Red for bearish conditions
- Gray for neutral/no-trend phases

Signal Markers and Alerts
Clear visual buy and sell markers are plotted directly on the chart.
Additionally, the indicator includes real-time alerts for both Buy and Sell signals, helping traders stay informed even when away from the screen.

INPUTS AND CUSTOMIZATION OPTIONS
Moving Average Types: EMA or SMA for both MA1 and MA2.

- MACD Settings: Customizable fast, slow, and signal periods.
- RSI Settings: Source, length, and overbought/oversold levels fully adjustable.
- Color Customization: Adjust RSI zone colors to suit your chart theme.

---

DISCLAIMER
This indicator is a technical analysis tool designed for educational and informational purposes only. It should not be used as a standalone trading system. Always combine it with sound risk management, price action analysis, and, where applicable, fundamental context.
Past performance does not guarantee future results.
發行說明
MM + MACD Trend Follower with RSI Filter
Pedro Canto - Portfolio Manager | CGA/CGE

OVERVIEW
The MM + MACD Trend Follower with RSI Filter is a multi-layered trend-following indicator designed to help traders identify high-probability trend continuation setups while avoiding low-quality entries caused by overbought or oversold market conditions.

This tool combines the power of Moving Averages (MA), the MACD Histogram, and a visual RSI-based filter to validate both trend direction and timing for entries. Its goal is simple: filter out noise and highlight only the most technically relevant buy and sell signals based on objective momentum and trend criteria.

USE CASES
Identifying trend continuation setups;

Filtering false signals during consolidation phases;

Avoiding trades in overbought or oversold zones;

Enhancing entry timing for both swing and intraday strategies;

Providing visual confirmation of trend strength and momentum alignment.

KEY FEATURES
1. Dual Moving Average Setup
The indicator allows full customization of two moving averages (MA1 and MA2), supporting both EMA and SMA types. The slope of the longer MA (MA2) acts as an essential trend filter, ensuring signals are only generated when the market shows clear directional bias.

2. MACD Histogram Trend Confirmation
A classic MACD Histogram calculation is used to validate the momentum of the prevailing trend.

Bullish Trend: Histogram > 0

Bearish Trend: Histogram < 0

This step filters out counter-trend signals and ensures trades are aligned with momentum.

3. Intrabar Price Trigger
Unlike standard crossover systems, this indicator waits for intrabar price action to trigger entries:

- Buy Signal: Price crosses below one of the MAs during an uptrend (dip-buy logic).
- Sell Signal: Price crosses above one of the MAs during a downtrend (rally-sell logic).

This intrabar trigger improves entry timing and helps capture retracement-based opportunities.

RSI Visual Filter
A short-term RSI is plotted and color-coded to visually highlight overbought and oversold conditions, acting as a discretionary filter for users to avoid low-probability trades during exhaustion points.

Dynamic Coloring System

Bar Colors:

- Blue: Bullish trend
- Red: Bearish trend
- Orange: RSI Overbought/Oversold zones

MA Colors:
- Blue for bullish conditions
- Red for bearish conditions
- Gray for neutral/no-trend phases

Signal Markers and Alerts
Clear visual buy and sell markers are plotted directly on the chart.
Additionally, the indicator includes real-time alerts for both Buy and Sell signals, helping traders stay informed even when away from the screen.

INPUTS AND CUSTOMIZATION OPTIONS
Moving Average Types: EMA or SMA for both MA1 and MA2.

- MACD Settings: Customizable fast, slow, and signal periods.
- RSI Settings: Source, length, and overbought/oversold levels fully adjustable.
- Color Customization: Adjust RSI zone colors to suit your chart theme.

---

DISCLAIMER
This indicator is a technical analysis tool designed for educational and informational purposes only. It should not be used as a standalone trading system. Always combine it with sound risk management, price action analysis, and, where applicable, fundamental context.
Past performance does not guarantee future results.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。