PROTECTED SOURCE SCRIPT

Trilok saini EMA Pullback + MACD + ADX Strategy

46
📌 HA Double EMA Pullback + MACD + ADX Strategy — Description

This strategy combines Heikin Ashi candles, Double EMA pullbacks, MACD momentum filtering, and ADX trend-strength confirmation to generate high-probability trend-continuation signals.
It is designed to avoid choppy markets and focus only on strong trending conditions.

🔥 Key Features
1️⃣ Heikin Ashi Trend Analysis

Heikin Ashi candles are calculated on the selected timeframe.

They smooth out market noise to highlight clear bullish or bearish trends.

Trend direction is displayed in a live info table.

2️⃣ Double EMA Pullback Logic

The main signal engine of this strategy:

Buy conditions

Price crosses above EMA 20

EMA 20 > EMA 50 (confirming uptrend)

A pullback is detected using the back-step (price was above EMA earlier)

MACD + ADX filters approve the trade

Sell conditions

Price crosses below EMA 20

EMA 20 < EMA 50 (confirming downtrend)

Pullback confirmation based on earlier price action

MACD + ADX filters approve the trade

This logic focuses on trend continuation instead of reversal setups.

3️⃣ MACD Momentum Filter

Buy signals appear only when MACD histogram is positive (green).

Sell signals appear only when MACD histogram is negative (red).

Prevents entries during weak or directionless momentum.

4️⃣ ADX Trend Strength Filter

Signals are blocked when ADX is below the selected threshold.

Ensures trades happen only in strong trending markets, reducing false signals.

5️⃣ Visual Enhancements

Clean Heikin Ashi candles with customizable colors

Optional regular candles for comparison

EMA overlays on HA candles

Buy/Sell labels with customizable text

Info table showing:

Trend direction

HA close

Regular close

EMA values

ADX reading

Active filters

🎯 Ideal Use Cases

Trend-following traders

Swing traders

Intraday traders who want filtered signals

Anyone wanting fewer false signals in sideways markets

⚠️ Disclaimer

This script is for educational and research purposes only.
Past performance does not guarantee future results. Always backtest and use proper risk management.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.