OPEN-SOURCE SCRIPT
已更新

EMA Pullback Entry Signals

686
EMA Pullback Entry Signals is a tool designed to help traders identify trend continuation opportunities by detecting price pullbacks toward a slow EMA (Exponential Moving Average) during trending conditions.

This indicator combines moving average crossovers, price interaction with EMAs, and optional filtering to improve the timing and quality of trend entries.

Core Features:
Golden Cross / Death Cross Detection

Golden Cross: Fast EMA crossing above Slow EMA

Death Cross: Fast EMA crossing below Slow EMA

Optional X-shaped markers for crossover visualization

Pullback Signal on Slow EMA

Green triangle: Price crosses up through the slow EMA during a bullish trend

Red triangle: Price crosses down through the slow EMA during a bearish trend

Designed to capture continuation entries after a trend pullback

Optional Fast EMA Signals

Green arrow: Price crosses above fast EMA in a bull trend

Red arrow: Price crosses below fast EMA in a bear trend

Helps confirm minor retracements or short-term momentum shifts

Sideways Market Filter

Suppresses signals when the fast and slow EMAs are too close

Prevents entries during low-trend or choppy price action

Cooldown Timer

Enforces a minimum bar interval between signals to reduce overtrading

Helps avoid multiple entries from clustered signals

Custom Alerts

Alerts available for all signal types

Include ticker and timeframe in each alert message

Configurable Settings:
Fast and slow EMA lengths1

Toggle individual signal types (pullbacks, fast EMA crosses, crossovers)

Enable/disable cooldown logic and set bar duration

Sideways market detection sensitivity (EMA proximity threshold)

Primary Use Case
This script is most useful for trend-following traders seeking to enter pullbacks after a trend is established. When the price retraces to the slow EMA and then resumes in the trend direction, it can offer high-quality continuation setups. Works well across timeframes and markets.
發行說明
EMA Pullback Entry Signals is a trend-following indicator that helps traders identify high-probability reentry points during established trends. It uses a combination of exponential moving averages (EMAs), price action logic, trend filters, and optional noise suppression to generate clear, actionable signals.

Core Logic and Strategy
The indicator is built around the concept of entering trends on pullbacks, specifically when price interacts with key EMAs.

Trend Direction

A trend is considered bullish when the fast EMA is above the slow EMA.

A trend is considered bearish when the fast EMA is below the slow EMA.

Golden and Death Crosses

Golden Cross: Fast EMA crosses above Slow EMA — potential start of a bull trend.

Death Cross: Fast EMA crosses below Slow EMA — potential start of a bear trend.

These events are marked once and help establish the trend context.

Pullback Detection on Slow EMA

In a bull trend, when the price dips below the slow EMA and then closes back above it, a green triangle is shown to signal a potential long entry.

In a bear trend, when the price rises above the slow EMA and then closes back below it, a red triangle signals a possible short opportunity.

These entries are ideal for traders seeking continuation trades after a retracement.

Fast EMA Confirmations (Optional)

In a bull trend, if the price crosses above the fast EMA, a green arrow is shown.

In a bear trend, if price crosses below the fast EMA, a red arrow is shown.

These minor signals help detect momentum shifts or scalping opportunities.

Sideways Market Filter

If the fast and slow EMAs are very close together (configurable), the market is considered "flat" or "choppy", and signals can be suppressed to avoid false entries during low-trend conditions.

Cooldown Timer

You can limit the frequency of signals using a bar-based cooldown.

This helps reduce clutter and overtrading in fast-moving or volatile markets.


How to Use It
Choose your preferred EMA lengths (e.g., 50/200 for swing trading).

Enable/disable signal types based on your strategy (e.g., only show pullbacks to slow EMA).

Tune the sideways filter to suppress signals in consolidation zones.

Adjust the cooldown period to suit your trading timeframe (e.g., 10 bars for 15min charts).

This tool is designed for:

Swing traders looking for trend reentry setups

Momentum traders seeking fast EMA confirmation

Day traders using EMA structure for intraday filtering

Unlike basic EMA crossover indicators, this script:

Combines multi-layer signal logic (crossovers, trend context, price confirmation)

Implements sideways market filtering to reduce false signals

Offers a cooldown mechanism to avoid repeated entries

Separates trend-start signals (crossovers) from trend-continuation entries (pullbacks)

It is not a clone of built-in or beginner examples — it was built to solve a specific problem: entering trending markets after retracements with visual and alert-based assistance.
發行說明
Modified alert messages.
Added Buy/Sell Combo alerts for the Fast and Slow EMAs

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。