Trend4friend

📊 MACD 200 EMA Confirmation Filter [Stable + WR + ADX]
This indicator is designed as a trend-following confirmation tool, combining MACD momentum, 200 EMA trend direction, and optional filters to produce high-quality buy and sell signals.
It is built for traders who want structured, rule-based entries rather than overcomplicated or repainting systems.
⚙️ Core Strategy Logic
The indicator generates signals based on the alignment of:
Trend Direction (200 EMA)
Only BUY above EMA
Only SELL below EMA
MACD Cross
Bullish crossover = potential BUY
Bearish crossunder = potential SELL
Momentum Position (Zero Line Filter)
BUY signals occur below zero → early trend continuation
SELL signals occur above zero → early bearish continuation
This ensures entries are not random, but aligned with trend + momentum structure.
🔍 Optional Confirmations (Customizable)
You can enable/disable filters depending on your trading style:
✅ RSI Confirmation
Filters weak momentum setups
Default zones:
BUY above ~45
SELL below ~55
✅ Candle Strength Filter
Ensures strong-bodied candles (momentum entries)
Optional “break previous candle” logic
✅ ADX Trend Strength Filter
Avoids choppy markets
Only trades when trend strength exceeds threshold
✅ Higher Timeframe Bias (HTF)
Aligns lower timeframe entries with higher timeframe direction
Modes:
Bias Only → avoids opposite trades
Strict → only trades with HTF trend
📈 Built-in Win Rate Tracking
The script includes a live performance dashboard (bottom-right of chart):
Buy Win Rate
Sell Win Rate
Sample Size
ADX strength
DMI direction
Two evaluation modes:
Fixed Bars → evaluates outcome after X candles
Target/Stop (ATR-based) → simulates RR trades
This allows you to objectively measure strategy performance, not guess.
📦 Optional Position Boxes
You can enable visual trade boxes showing:
Entry
Stop Loss
Take Profit
Fully customizable:
ATR-based or fixed price distance
Adjustable RR (default 1:1.5)
Toggle labels and entry lines
🎯 Best Use Cases
This indicator performs best in:
Trending markets
Pullback continuation setups
Intraday scalping (1m–15m)
Swing continuation (15m–1H)
Avoid using it alone in:
Sideways/choppy markets (unless ADX filter enabled)
🧠 How to Trade It (Simple Workflow)
Wait for signal (BUY / SELL)
Confirm:
Trend direction (EMA)
Momentum (MACD)
Optional filters (RSI / ADX)
Enter on signal candle or slight pullback
Use RR (e.g. 1:1.5 or 1:2)
⚠️ Notes
This is a non-repainting indicator
Win rate depends on market conditions and settings
Designed as a confirmation tool, not a standalone “holy grail”
🚀 Summary
This indicator provides:
Clean, structured signals
Strong trend alignment
Built-in performance tracking
Flexible filtering system
A solid base for traders looking to refine entries and improve consistency.
This indicator is designed as a trend-following confirmation tool, combining MACD momentum, 200 EMA trend direction, and optional filters to produce high-quality buy and sell signals.
It is built for traders who want structured, rule-based entries rather than overcomplicated or repainting systems.
⚙️ Core Strategy Logic
The indicator generates signals based on the alignment of:
Trend Direction (200 EMA)
Only BUY above EMA
Only SELL below EMA
MACD Cross
Bullish crossover = potential BUY
Bearish crossunder = potential SELL
Momentum Position (Zero Line Filter)
BUY signals occur below zero → early trend continuation
SELL signals occur above zero → early bearish continuation
This ensures entries are not random, but aligned with trend + momentum structure.
🔍 Optional Confirmations (Customizable)
You can enable/disable filters depending on your trading style:
✅ RSI Confirmation
Filters weak momentum setups
Default zones:
BUY above ~45
SELL below ~55
✅ Candle Strength Filter
Ensures strong-bodied candles (momentum entries)
Optional “break previous candle” logic
✅ ADX Trend Strength Filter
Avoids choppy markets
Only trades when trend strength exceeds threshold
✅ Higher Timeframe Bias (HTF)
Aligns lower timeframe entries with higher timeframe direction
Modes:
Bias Only → avoids opposite trades
Strict → only trades with HTF trend
📈 Built-in Win Rate Tracking
The script includes a live performance dashboard (bottom-right of chart):
Buy Win Rate
Sell Win Rate
Sample Size
ADX strength
DMI direction
Two evaluation modes:
Fixed Bars → evaluates outcome after X candles
Target/Stop (ATR-based) → simulates RR trades
This allows you to objectively measure strategy performance, not guess.
📦 Optional Position Boxes
You can enable visual trade boxes showing:
Entry
Stop Loss
Take Profit
Fully customizable:
ATR-based or fixed price distance
Adjustable RR (default 1:1.5)
Toggle labels and entry lines
🎯 Best Use Cases
This indicator performs best in:
Trending markets
Pullback continuation setups
Intraday scalping (1m–15m)
Swing continuation (15m–1H)
Avoid using it alone in:
Sideways/choppy markets (unless ADX filter enabled)
🧠 How to Trade It (Simple Workflow)
Wait for signal (BUY / SELL)
Confirm:
Trend direction (EMA)
Momentum (MACD)
Optional filters (RSI / ADX)
Enter on signal candle or slight pullback
Use RR (e.g. 1:1.5 or 1:2)
⚠️ Notes
This is a non-repainting indicator
Win rate depends on market conditions and settings
Designed as a confirmation tool, not a standalone “holy grail”
🚀 Summary
This indicator provides:
Clean, structured signals
Strong trend alignment
Built-in performance tracking
Flexible filtering system
A solid base for traders looking to refine entries and improve consistency.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。