PROTECTED SOURCE SCRIPT

Trilok saini EMA Pullback + MACD + ADX Strategy

41
๐Ÿ“Œ 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.

Pernyataan Penyangkalan

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.