OPEN-SOURCE SCRIPT
MACD EMA + Time Filter

Strategy Description: MACD EMA + Time Filter
This strategy combines MACD momentum, EMA trend filtering, and an optional time-based session filter (GMT+7) to generate high-probability trading signals. It is designed for intraday or short-term trading on small timeframes, and allows both Buy and Sell setups with fixed Risk-Reward (RR) control.
✅ Key Components:
EMA Filter: Uses a 21-period Exponential Moving Average (EMA) to determine the trend direction.
MACD Confirmation: Entries are confirmed using MACD crossover signals with customizable fast, slow, and signal periods.
Time Filter: Trades are only taken during a defined session (e.g., 19:00–22:00 GMT+7), ideal for high-liquidity trading hours.
RR Management: Entry signals include automatic Stop Loss (SL) and Take Profit (TP) levels, based on a pip buffer and RR multiplier.
Custom Options:
Enable/disable Buy or Sell signals
Show/hide SL/TP labels
Optionally display EMA on chart
This strategy combines MACD momentum, EMA trend filtering, and an optional time-based session filter (GMT+7) to generate high-probability trading signals. It is designed for intraday or short-term trading on small timeframes, and allows both Buy and Sell setups with fixed Risk-Reward (RR) control.
✅ Key Components:
EMA Filter: Uses a 21-period Exponential Moving Average (EMA) to determine the trend direction.
MACD Confirmation: Entries are confirmed using MACD crossover signals with customizable fast, slow, and signal periods.
Time Filter: Trades are only taken during a defined session (e.g., 19:00–22:00 GMT+7), ideal for high-liquidity trading hours.
RR Management: Entry signals include automatic Stop Loss (SL) and Take Profit (TP) levels, based on a pip buffer and RR multiplier.
Custom Options:
Enable/disable Buy or Sell signals
Show/hide SL/TP labels
Optionally display EMA on chart
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。