PulseHub
OPEN-SOURCE SCRIPT

Pullback Moving Average

379
This is a Moving Average adaptation of my previously published Pullback SAR indicator. It translates the core pullback and continuation methodology into a flexible moving average framework, allowing you to choose between EMA and SMA.

How it works:

Trend Definition: Determines market direction based on price position relative to the selected Moving Average (Bullish when price > MA, Bearish when price < MA).

Pullback Detection: Spots temporary retracements against the primary trend direction.

Re-entry Signals: Generates a signal when price resumes its movement in the direction of the main trend after a pullback.

Features:

MA Type Selector: Easily switch between Exponential (EMA) and Simple (SMA) Moving Averages with customizable lengths.

Clear visual signals (Green triangles for Long, Red triangles for Short).

Built-in alerts for automated workflows.

Lightweight and optimized for Pine Script v6.

Disclaimer

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 PulseWire. Read more in the Terms of Use.