OPEN-SOURCE SCRIPT
Alinhamento H1 + H4 com Fundo Colorido

MACD Alignment Strategy: H1 + H4
This script highlights candles on the H1 chart with a colored background when there's full alignment between H1 and H4 based on the classic MACD (12,26,9) and EMA 200.
✅ Bullish background (green):
Price is above the EMA 200 on both H1 and H4
On both H1 and H4:
MACD line is above the Signal line
Histogram is green and above zero
MACD is above zero
❌ Bearish background (red):
Price is below the EMA 200 on both H1 and H4
On both H1 and H4:
MACD line is below the Signal line
Histogram is red and below zero
MACD is below zero
Use this tool to visually confirm trend alignment between timeframes and filter high-probability entries.
This script highlights candles on the H1 chart with a colored background when there's full alignment between H1 and H4 based on the classic MACD (12,26,9) and EMA 200.
✅ Bullish background (green):
Price is above the EMA 200 on both H1 and H4
On both H1 and H4:
MACD line is above the Signal line
Histogram is green and above zero
MACD is above zero
❌ Bearish background (red):
Price is below the EMA 200 on both H1 and H4
On both H1 and H4:
MACD line is below the Signal line
Histogram is red and below zero
MACD is below zero
Use this tool to visually confirm trend alignment between timeframes and filter high-probability entries.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。