OPEN-SOURCE SCRIPT
Updated MACD + 1m EMA Zone Filter

Feature Description
Run on Any Chart Works on any timeframe — 5m, 15m, 1h, etc.
MACD Crosses Detected on the current chart's timeframe
EMA Logic All EMA20/50/100/200 come from 1-minute timeframe
Buy Signal MACD crossover + all EMAs (1m) above EMA200
Sell Signal MACD crossunder + all EMAs (1m) below EMA200
Chart Arrows BUY/SELL arrows plotted at each signal
Alerts Configurable alerts for Buy/Sell conditions
Run on Any Chart Works on any timeframe — 5m, 15m, 1h, etc.
MACD Crosses Detected on the current chart's timeframe
EMA Logic All EMA20/50/100/200 come from 1-minute timeframe
Buy Signal MACD crossover + all EMAs (1m) above EMA200
Sell Signal MACD crossunder + all EMAs (1m) below EMA200
Chart Arrows BUY/SELL arrows plotted at each signal
Alerts Configurable alerts for Buy/Sell conditions
Release Notes
How it works:It plots 4 EMAs (Exponential Moving Averages):
EMA 20 (orange)
EMA 50 (yellow)
EMA 100 (blue)
EMA 200 (red)
A Buy signal is triggered when:
All three EMAs (20, 50, 100) are above EMA 200 (indicating an uptrend)
The MACD line crosses above the Signal line (bullish momentum)
A Sell signal is triggered when:
All three EMAs (20, 50, 100) are below EMA 200 (indicating a downtrend)
The MACD line crosses below the Signal line (bearish momentum)
📊 Visual Features:
Buy/Sell arrows directly on the chart
Background turns green in strong uptrends and red in strong downtrends
Built-in alerts for automation or notifications
🕒 Works on any timeframe, using the current chart's data.
USE with FRACTAL indicator for SL aim for 1:2 RR
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.