OPEN-SOURCE SCRIPT
PulseMA Oscillator

Overview
PulseMA Oscillator is a technical analysis tool that transforms the relationship between price and a base moving average (EMA) into an oscillator fluctuating around a zero line. It is based on counting consecutive candles closing above or below the EMA and factoring in the slope of the average to gauge trend momentum.
This indicator helps assess not only the direction of the market but also the strength of the movement and potential exhaustion, making it useful for identifying trade entry and exit points.
Key Features
PulseMA Oscillator: Calculates a value based on the number of consecutive candles above or below an EMA and the angle (slope) of that EMA. Positive values indicate bullish dominance; negative values indicate bearish pressure.
Smoothing (SMA): A moving average of the oscillator to highlight the broader trend and reduce noise.
Zero Line: Acts as a baseline to distinguish between bullish and bearish conditions.
Use Cases
PulseMA Oscillator is designed for technical traders who want to:
Determine the direction and strength of the trend based on candle positioning relative to an EMA.
Identify potential market reversals or exhaustion when the oscillator reaches extreme values.
Generate trade signals when:
The oscillator crosses above/below its smoothed version.
The oscillator crosses the zero line.
The smoothed line (PulseMA MA) crosses the zero line, confirming a shift in the longer-term trend.
Analyze trend momentum with a fresh perspective — different from traditional oscillators like RSI or MACD.
How to Use
Add the indicator to your chart: Search for "PulseMA Oscillator" in the indicators library.
Adjust parameters as needed:
EMA Length (PulseMA Length) – default: 50
SMA Length (Smoothing) – default: 20
Interpretation
Positive values: A series of candles are closing above the EMA — indicates bullish momentum.
Negative values: A series of candles are closing below the EMA — indicates bearish momentum.
Cross of PulseMA above SMA: Potential buy signal.
Cross of PulseMA below SMA: Potential sell signal.
Crossing the zero line by PulseMA: May indicate trend shift.
Crossing the zero line by PulseMA MA: May confirm a more sustained trend change.
Notes
Best used in trending markets. In sideways/consolidating conditions, consider combining with other filters.
Using a higher EMA length (e.g., 100) results in a smoother and more long-term trend representation.
Fine-tuning the parameters to your specific asset and timeframe can greatly improve effectiveness.
PulseMA Oscillator is a technical analysis tool that transforms the relationship between price and a base moving average (EMA) into an oscillator fluctuating around a zero line. It is based on counting consecutive candles closing above or below the EMA and factoring in the slope of the average to gauge trend momentum.
This indicator helps assess not only the direction of the market but also the strength of the movement and potential exhaustion, making it useful for identifying trade entry and exit points.
Key Features
PulseMA Oscillator: Calculates a value based on the number of consecutive candles above or below an EMA and the angle (slope) of that EMA. Positive values indicate bullish dominance; negative values indicate bearish pressure.
Smoothing (SMA): A moving average of the oscillator to highlight the broader trend and reduce noise.
Zero Line: Acts as a baseline to distinguish between bullish and bearish conditions.
Use Cases
PulseMA Oscillator is designed for technical traders who want to:
Determine the direction and strength of the trend based on candle positioning relative to an EMA.
Identify potential market reversals or exhaustion when the oscillator reaches extreme values.
Generate trade signals when:
The oscillator crosses above/below its smoothed version.
The oscillator crosses the zero line.
The smoothed line (PulseMA MA) crosses the zero line, confirming a shift in the longer-term trend.
Analyze trend momentum with a fresh perspective — different from traditional oscillators like RSI or MACD.
How to Use
Add the indicator to your chart: Search for "PulseMA Oscillator" in the indicators library.
Adjust parameters as needed:
EMA Length (PulseMA Length) – default: 50
SMA Length (Smoothing) – default: 20
Interpretation
Positive values: A series of candles are closing above the EMA — indicates bullish momentum.
Negative values: A series of candles are closing below the EMA — indicates bearish momentum.
Cross of PulseMA above SMA: Potential buy signal.
Cross of PulseMA below SMA: Potential sell signal.
Crossing the zero line by PulseMA: May indicate trend shift.
Crossing the zero line by PulseMA MA: May confirm a more sustained trend change.
Notes
Best used in trending markets. In sideways/consolidating conditions, consider combining with other filters.
Using a higher EMA length (e.g., 100) results in a smoother and more long-term trend representation.
Fine-tuning the parameters to your specific asset and timeframe can greatly improve effectiveness.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.