OBV MACD Indicator + ADX Filter [v6]# OBV MACD + ADX Trend Indicator
The **OBV MACD + ADX Trend Indicator** combines volume-based momentum, MACD-style trend analysis, and ADX trend-strength filtering into one tool.
The indicator is designed to help identify potential bullish and bearish momentum shifts while filtering out weaker market conditions.
## How It Works
The indicator uses a modified **On-Balance Volume (OBV)** calculation to combine price movement and volume information.
This volume-adjusted data is then processed with a selectable moving average and compared against a slower EMA to create a MACD-style momentum value.
A slope calculation is applied to the MACD output, and the resulting trend channel changes direction when momentum shifts.
The indicator also includes an **ADX filter**. Signals are only considered valid when ADX is above the selected minimum level, helping reduce signals during weak or sideways market conditions.
## Signal Logic
**Blue / Bullish Signal**
A bullish signal appears when the internal trend channel changes from bearish to bullish while the ADX value is above the selected minimum threshold.
This can be used as a potential long-entry confirmation.
**Red / Bearish Signal**
A bearish signal appears when the internal trend channel changes from bullish to bearish while the ADX value is above the selected minimum threshold.
This can be used as a potential short-entry confirmation.
## Main Features
* Volume-based OBV momentum calculation
* MACD-style momentum analysis
* Multiple selectable moving-average types
* DEMA, TEMA, TDEMA, TTEMA, HMA-based and zero-lag options
* Adjustable OBV smoothing
* Adjustable MACD slow length
* Adjustable slope sensitivity
* ADX trend-strength filter
* Custom minimum ADX threshold
* Bullish and bearish trend-change signals
* Optional pivot detection
* Alert conditions for long and short signals
## Suggested Usage
This indicator works best when combined with an additional market-direction filter.
For example:
**Long Setup**
1. Price is above VWAP.
2. VWAP slope is bullish.
3. ADX is above the selected threshold.
4. The OBV MACD indicator generates a bullish signal.
5. Enter according to your own risk-management rules.
**Short Setup**
1. Price is below VWAP.
2. VWAP slope is bearish.
3. ADX is above the selected threshold.
4. The OBV MACD indicator generates a bearish signal.
5. Enter according to your own risk-management rules.
The indicator can also be combined with market structure, support/resistance, volume profile, or higher-timeframe trend analysis.
## Important
This indicator is intended as a **confirmation and momentum tool**, not as a complete standalone trading strategy.
Signals should always be combined with proper risk management, stop-loss placement, and independent backtesting.
Performance may vary depending on the market, timeframe, trading session, and selected settings.
Indicator

Bollinger Sweeps & Dynamic Trendline Matrix PROBollinger Sweeps & Dynamic Trendline Matrix PRO
Bollinger Sweeps & Dynamic Trendline Matrix PRO is a modern, high definition technical analysis indicator optimized specifically for clean charting and high visibility across both light and dark themes. It seamlessly combines customized Bollinger Band volatility tracking, liquidity sweep detection, high confluence trendlines, market structure analysis, and outer neon glowing candlesticks.
Key Features Overview
1. Optimized Bollinger Bands Engine
Features lightweight, low opacity Bollinger Bands with fully customizable length, multiplier, line styles (Solid, Dashed, Dotted), line thickness, and transparency controls.
2. Bollinger Liquidity Sweeps (ITH & ITL Badges)
Identifies liquidity sweep points where price action pierces or touches the outer bands and sharply reverses, marking valid Intermediate Term Highs (ITH) and Intermediate Term Lows (ITL).
3. High Confluence Auto Trendlines
Draws precise trendlines anchored strictly across high confluence swing points, avoiding clutter. Includes full customization for line style, thickness, and color.
4. True Outer Neon Glowing Candlesticks
Uses multi layered rendering to project an outer glowing halo around price candlesticks, making trend direction pop cleanly on white or dark backgrounds.
5. Clean Split Line Market Structure Signals
Detects Break of Structure (BOS) and Change of Character (CHoCH) levels. Structure lines split cleanly around centered text labels with an automatic gap for maximum chart legibility.
6. Triangle Pattern Consolidation Engine
Detects volatility squeezes and marks triangle breakout and breakdown confirmations right as volatility expands.
Settings Overview
Bollinger Bands Settings
- Show Bollinger Bands Engine: Toggle display of bands.
- Band Transparency & Thickness: Adjust opacity and line width.
Bollinger Sweep Settings
- Show BB Sweep Pivots: Toggle ITH and ITL liquidity badges.
Smart Trendline Settings
- Show Smart Trendlines: Toggle trendline overlays.
- Custom Styles: Adjust line style (Solid, Dashed, Dotted), thickness, and colors.
Market Structure Settings
- Show BOS & CHoCH Signals: Toggle structure lines and labels.
Outer Glow Settings
- Enable Outer Glowing Theme: Toggle multi layered candlestick halo effects.
Disclaimer
This script is built strictly for educational, analytical, and charting enhancement purposes. It does not provide financial advice, automated trade signals, or guaranteed results. Always practice strict risk management. Indicator

VWAP-MACD with Volume ConfirmationVWAP-MACD with Volume Confirmation
VWAP-MACD+ replaces the price series inside a classic MACD calculation with an anchored VWAP series, then adds a volume-strength filter so that crossover signals are only flagged as "confirmed" when they occur on above-average volume. The result is a momentum oscillator that reflects shifts in the volume-weighted average price rather than raw closing price, with a built-in sanity check against low-conviction crosses.
How it works
Anchored VWAP — VWAP is calculated from hlc3 * volume, accumulated and reset at the start of each new period based on the selected anchor (Session, Week, or Month). This is the same anchoring logic as PulseWire's native VWAP, just computed manually so it can feed into the MACD below.
VWAP-based MACD — instead of EMA-ing close like a standard MACD, this script EMAs the VWAP series itself (fast length default 12, slow length default 26). The difference between the fast and slow EMAs of VWAP is the MACD line; a further EMA of that (default 9) is the signal line; their difference is the histogram. Because VWAP is smoother and volume-weighted, the resulting MACD reacts to shifts in the "fair value" price rather than every tick of noise in the close.
Volume Momentum Filter — each bar's volume is compared to its moving average (default 20-period SMA) to get a relative volume ratio. Bars are classified as strong (≥1.5x average), weak (<0.75x average), or normal, and the histogram's color intensity reflects this — brighter columns mean the current move is backed by stronger volume, faded columns mean it's on thin volume.
Volume-Confirmed Crossovers — a standard MACD/signal-line crossover only becomes a plotted "confirmed" signal when relative volume is at or above average (≥1.0x). This is meant to filter out crossovers that happen on quiet, low-conviction bars.
Reading the indicator
Blue line — VWAP-based MACD line.
Orange line — signal line (EMA of the MACD line).
Histogram columns — MACD minus signal, colored green above zero / red below zero, with intensity scaled by relative volume (bright = strong volume, faded = weak volume, mid = normal).
Green up-triangle — bullish crossover confirmed by volume.
Red down-triangle — bearish crossover confirmed by volume.
Zero line — dashed gray reference; crosses of the MACD line through zero can also be used as a secondary trend-context read, though this script's plotted signals are specifically the signal-line crossovers.
Suggested use
This is a trend/momentum tool built around volume-weighted price rather than raw close, intended for:
Traders who already use VWAP as an intraday or swing fair-value reference and want a momentum oscillator derived from that same series instead of close price
Filtering out MACD crossovers that occur on low-volume, low-conviction bars by relying on the "confirmed" triangle markers rather than every raw crossover
Combining with the anchor period that matches your trading horizon — Session for intraday, Week or Month for swing/position context
As with any momentum oscillator, it works best alongside broader trend or structure context (e.g., higher-timeframe trend, support/resistance) rather than as a standalone signal — volume confirmation reduces noise but doesn't guarantee follow-through.
Inputs
Fast Length / Slow Length / Signal Smoothing — EMA lengths for the VWAP-MACD calculation
VWAP Anchor Period — Session, Week, or Month
Volume MA Lookback — averaging period for the relative volume filter
Enable Volume Confirmation Shading — toggles both the histogram's volume-based color intensity and the volume requirement on confirmed crossover signals
Alerts
Two alert conditions are built in:
VWAP-MACD Bullish Cross (Vol Confirmed)
VWAP-MACD Bearish Cross (Vol Confirmed) Indicator

MACD Momentum Phase & Acceleration ObservatoryMACD Momentum Phase & Acceleration Observatory is a current-chart momentum research indicator that extends the familiar MACD line, Signal line, and Histogram into a structured view of separation, expansion, contraction, equilibrium, relative magnitude, and crossover-cycle behavior.
The script is designed for users who want to study how MACD momentum changes rather than rely only on a line crossover. It is a descriptive context tool. It does not generate Buy or Sell instructions, predict future price movement, estimate win rate, or manage risk.
WHAT IT SHOWS
- A configurable MACD line, Signal line, and state-colored Histogram.
- Five descriptive momentum phases.
- A noise-aware expansion and contraction model.
- An adaptive Near Equilibrium state with separate entry and exit boundaries.
- Three display scales: Raw MACD, Percent of Slow Average, and ATR Units.
- A robust rolling Histogram magnitude score.
- A subdued-to-reactivated magnitude sequence.
- Cross-cycle peak retention.
- MACD path efficiency.
- A compact or detailed context readout.
- Optional factual event markers and alert conditions.
WHY THIS IS MORE THAN A STANDARD MACD
A standard MACD primarily shows the relationship between a fast moving average, a slow moving average, and a smoothed Signal line. This script keeps that familiar structure, but its main contribution is a coordinated lifecycle model built around the MACD Histogram.
The distinguishing design consists of:
- separating the raw analytical engine from display normalization;
- classifying the Histogram into five momentum phases;
- filtering small expansion/contraction changes with an adaptive noise deadband;
- reducing equilibrium-boundary flapping with entry/exit hysteresis;
- measuring relative Histogram magnitude with rank-based methods;
- tracking reactivation after a sustained subdued sequence;
- measuring how much Histogram separation remains inside the active crossover cycle; and
- measuring whether the MACD path has been direct or rotational over a selected lookback.
These components are designed to describe different parts of one MACD separation lifecycle. They are not independent indicators combined without a shared purpose.
CORE MACD ENGINE
The raw calculations are:
Raw MACD = Fast Moving Average - Slow Moving Average
Raw Signal = Moving Average of Raw MACD
Raw Histogram = Raw MACD - Raw Signal
The Fast, Slow, and Signal calculations can each use one of the following moving-average methods:
- EMA
- SMA
- RMA
- WMA
- HMA
The source and all lengths are configurable. Fast Length must remain lower than Slow Length. If the configuration is invalid or the selected scale is unavailable, the context readout reports the condition instead of presenting a normal Ready state.
RAW ANALYTICAL CORE AND DISPLAY SCALE
The analytical state is calculated from the raw MACD structure. Display normalization is handled separately.
Available display modes are:
Raw MACD
Shows the MACD components in their native chart-price units.
Percent of Slow Average
Divides MACD, Signal, and Histogram by one percent of the absolute Slow Average value.
ATR Units
Divides MACD, Signal, and Histogram by the current ATR value using the selected ATR length.
The same positive divisor is applied to all three displayed components on each bar. More importantly, crossover events, zero crossings, phase classification, magnitude scoring, path efficiency, and cycle retention are calculated from the raw series. Changing the display mode therefore changes the visual unit, but it does not rewrite the underlying analytical event history.
FIVE-STATE MOMENTUM PHASE MODEL
The Histogram is classified into five descriptive states:
Positive Expansion
The raw Histogram is above zero and its absolute magnitude is expanding beyond the adaptive noise deadband.
Positive Contraction
The raw Histogram is above zero and its absolute magnitude is contracting.
Negative Expansion
The raw Histogram is below zero and its absolute magnitude is expanding.
Negative Contraction
The raw Histogram is below zero and its absolute magnitude is contracting.
Near Equilibrium
The absolute raw Histogram is inside the adaptive equilibrium boundary.
Expansion and contraction are based on the smoothed one-bar change in absolute Histogram magnitude. The script also estimates ordinary recent one-bar magnitude movement. That estimate creates an adaptive deadband. When the current magnitude change is too small to distinguish clearly from recent noise, the prior motion state is retained instead of forcing another Expansion/Contraction switch.
ADAPTIVE EQUILIBRIUM WITH HYSTERESIS
The equilibrium entry boundary is calculated from an EMA of the absolute raw Histogram multiplied by the Equilibrium Band Multiplier.
Once Near Equilibrium is active, the exit boundary is wider than the entry boundary:
Exit Boundary = Entry Boundary x Equilibrium Exit Hysteresis
Using separate entry and exit boundaries reduces rapid state changes when the Histogram repeatedly moves just above and below one threshold.
HISTOGRAM ACCELERATION
Histogram Acceleration is the smoothed one-bar change of the Histogram. The detailed readout can display the current value and direction. Optional acceleration-turn markers and alerts identify factual zero crossings in the raw acceleration measure.
The acceleration value shown in the readout follows the selected display unit. The five-state phase model remains based on the raw Histogram structure.
ROBUST HISTOGRAM MAGNITUDE SCORE
The Magnitude field measures the current absolute raw Histogram relative to its own recent history. It is bounded from 0 to 100 and offers three methods:
Percent Rank
Ranks the current absolute Histogram among observations in the selected lookback. This method is less dominated by one isolated extreme value.
Range Rank
Locates the current absolute Histogram between the rolling minimum and rolling maximum.
Hybrid Rank
Combines 65 percent Percent Rank with 35 percent Range Rank. This is the default method.
The score is classified as:
- Subdued
- Typical
- Extended
These labels describe relative recent magnitude only. They are not probabilities, confidence levels, overbought/oversold signals, or forecasts.
MAGNITUDE REACTIVATION
Magnitude Reactivation is a stateful sequence, not a directional trade signal.
The sequence works as follows:
1. The Magnitude score remains at or below the Subdued threshold for at least the selected Minimum Subdued Bars.
2. The reactivation condition becomes armed.
3. A reactivation event is recorded when the score reaches the Magnitude Reactivation threshold.
The default visual marker is a small yellow dot at the top of the pane. It indicates that relative Histogram magnitude has re-emerged after a sustained subdued sequence. It does not specify bullish or bearish direction.
CROSS-CYCLE PEAK RETENTION
A cross cycle begins whenever the raw MACD line crosses the raw Signal line.
During the active cycle, the script records the largest absolute raw Histogram magnitude. Cross-Cycle Peak Retention is calculated as:
Current Absolute Histogram / Active-Cycle Peak Absolute Histogram x 100
A value near 100 means the current separation is near the largest separation recorded in that crossover cycle. A lower value means more of that cycle's peak separation has contracted. This measurement is descriptive and does not determine whether price will continue or reverse.
MACD PATH EFFICIENCY
MACD Path Efficiency compares the net displacement of the raw MACD line with the total distance traveled by the raw MACD line over the selected lookback:
Absolute Net MACD Displacement / Sum of Absolute One-Bar MACD Changes x 100
A higher value describes a more direct MACD path. A lower value describes a more rotational or back-and-forth path. It is not a measure of profitability, trend quality, or future reliability.
CONTEXT READOUT
The Context Readout can be disabled or shown in Compact or Detailed mode.
Compact mode shows:
- Phase
- Location relative to zero
- Histogram value
- Magnitude score and state
- Configuration status
Detailed mode additionally shows:
- Histogram Acceleration
- Phase Age
- Bars in the active cross cycle and Peak Retention
- MACD Path Efficiency
- Confirmed or Live bar status
The table position, text size, header size, background, border, and row presentation are configurable.
VISUAL DESIGN
The default palette separates the line family from the Histogram family:
- MACD line: ice white
- Signal line: electric blue
- Positive Expansion: bright green
- Positive Contraction: teal
- Negative Expansion: magenta
- Negative Contraction: orange
- Near Equilibrium: vivid purple
- Magnitude Reactivation: yellow
The Histogram uses a depth layer and a narrower core layer. The MACD and Signal lines can use optional glow and separation fill. The adaptive equilibrium band, zero guide, phase rail, and background tint can be enabled or disabled independently.
EVENT MARKERS AND ALERTS
Default factual markers are:
- a small upward arrow at the pane bottom when MACD crosses above Signal;
- a small downward arrow at the pane top when MACD crosses below Signal; and
- a small yellow dot at the pane top when Magnitude Reactivation occurs.
Optional markers are available for:
- Histogram Acceleration turning positive or negative; and
- MACD crossing above or below zero.
Alert conditions are available for the same events and for each phase transition. These events describe calculated state changes. They are not trade-entry or trade-exit recommendations.
REALTIME AND CONFIRMED-BAR BEHAVIOR
Confirmed Bars Only is enabled by default.
With the default setting:
- markers and alert conditions trigger after the chart bar closes;
- stateful Magnitude Reactivation updates are committed on confirmed realtime bars; and
- the committed cross-cycle peak is updated on confirmed realtime bars.
The MACD lines, Histogram, phase display, and context readout can still change while the current bar is forming because their inputs change with live price. This is normal realtime behavior. Users who disable Confirmed Bars Only intentionally allow intrabar events, which can change before the bar closes.
The script uses the current chart timeframe only. It does not request another symbol or timeframe, use lookahead, access future data, or apply a future plot offset.
HOW TO USE THE INDICATOR
1. Start with Location and Phase.
Location shows whether raw MACD is above or below zero. Phase shows whether Histogram magnitude is expanding, contracting, or near equilibrium.
2. Add Magnitude context.
Use Subdued, Typical, and Extended as rolling relative-magnitude descriptions. Do not interpret them as probabilities.
3. Observe reactivation after subdued conditions.
A yellow dot identifies a transition from a sustained subdued sequence to a higher relative magnitude. Read its direction from the Histogram sign and phase, not from the dot itself.
4. Use Detailed mode for lifecycle context.
Phase Age shows duration. Cross-Cycle Peak Retention shows how much separation remains relative to the active cycle peak. Path Efficiency shows whether the MACD path has been direct or rotational.
5. Select a suitable display unit.
Raw MACD preserves native units. Percent of Slow Average and ATR Units can make the pane easier to read on symbols with different price or volatility scales. Analytical states remain based on raw MACD.
DEFAULT CONFIGURATION
The default core uses 12-period EMA, 26-period EMA, and a 9-period EMA Signal line with Close as the source.
The default research settings use:
- Raw MACD display
- 3-bar acceleration smoothing
- 8-bar phase-noise estimation
- 0.25 phase-noise multiplier
- 34-bar adaptive equilibrium basis
- 0.28 equilibrium entry multiplier
- 1.25 equilibrium exit hysteresis
- 120-bar Hybrid Magnitude Rank
- 20 / 35 / 80 Subdued, Reactivation, and Extended thresholds
- 3 Minimum Subdued Bars
- 20-bar MACD Path Efficiency
- Compact Context Readout
- Confirmed Bars Only enabled
The defaults are general starting points, not optimized settings for a specific symbol or timeframe.
LIMITATIONS
- MACD is derived from moving averages and therefore contains lag.
- Expansion, contraction, equilibrium, magnitude, retention, and efficiency describe the current and historical calculation state; they do not forecast price.
- Results depend on the selected source, moving-average methods, lengths, smoothing, lookbacks, and thresholds.
- Rank-based measurements are relative to a rolling window and can change as old observations leave that window.
- Frequent MACD/Signal crossings create shorter cross cycles and can make Peak Retention change quickly.
- Low-liquidity symbols, gaps, abrupt price changes, and very short timeframes can produce rapid state transitions.
- The open bar remains fluid until it closes.
- The script does not include position sizing, stop placement, targets, backtesting, or risk management.
Use the indicator as one transparent source of momentum context alongside independent price analysis and risk controls. Indicator

MACD/RSI/VWAP/MA/S&R BulkThis all-in-one script packs five of the market's most essential technical analysis tools into a single indicator slot. By combining momentum, trend, volume, and structural levels, you get a complete institutional-grade workspace without hitting upgrade walls or paying monthly subscription fees.
☕ If this indicator helps you optimize your charts and save on subscription costs, consider supporting my work! Buy me a coffee here: ko-fi.com
(Need a custom indicator built specifically for your trading strategy? Reach out for custom Pine Script development!)
🛠️ What's Included in the Bulk Suite?
Dual Moving Averages (MA): Fully customizable fast and slow moving averages. Choose your preferred calculation type (SMA, EMA, WMA, HMA, VWMA, RMA), set your exact lengths, and track trend direction directly on your chart.
VWAP (Volume Weighted Average Price): The gold standard for tracking intraday institutional fair value and average price execution.
Support & Resistance (S/R): Automatically plots historical swing points with clean vertical breaks (linebr), giving you clear structural boundaries for breakout and pullback planning.
MACD (Moving Average Convergence Divergence): Standard momentum and trend-following oscillator to capture shifts in market velocity.
RSI (Relative Strength Index): Essential momentum oscillator with customizable overbought and oversold levels to spot exhaustion and reversals.
⚙️ Full Customization & Control
Every single tool inside this suite comes with independent settings. You can completely toggle individual indicators on or off, adjust their lookback lengths, and fine-tune colors to keep your workspace clean, organized, and tailored precisely to your personal trading plan. Indicator

Strategy

RSI MACD + Bollinger Bands & VWAP Toolkit [OT]This indicator combines RSI, MACD, Bollinger Bands, VWAP, and a simple momentum status table into one clean toolkit.
It is designed to help traders check momentum, volatility, and intraday price position without adding multiple separate indicators to the chart.
Main features:
- RSI with 70 / 50 / 30 reference levels
- Normalized MACD histogram in the RSI panel
- Optional MACD signal lines
- Bollinger Bands displayed on the main chart
- Session VWAP displayed on the main chart
- Momentum background based on RSI, MACD, and VWAP conditions
- Status table showing Bias, Score, RSI, MACD, and Volatility
Default settings:
- RSI: 14 period
- MACD: 12 / 26 / 9
- Bollinger Bands: 20 period, 2 standard deviations
- VWAP: Session VWAP, hidden on daily or higher timeframes by default
- Momentum Score: 0 to 3 based on RSI position, MACD signal, and MACD histogram
This indicator does not generate automatic buy or sell signals. It is intended as a visual reference tool for trend, momentum, volatility, and market condition analysis. Please use it together with your own strategy, risk management, and other forms of analysis.
이 지표는 RSI, MACD, 볼린저 밴드, VWAP, 모멘텀 상태표를 하나로 합친 깔끔한 트레이딩 툴킷입니다.
여러 개의 지표를 따로 추가하지 않아도 모멘텀, 변동성, 장중 가격 위치를 한 화면에서 확인할 수 있도록 제작했습니다.
주요 기능:
- RSI 70 / 50 / 30 기준선
- RSI 패널 안에 정규화된 MACD 히스토그램 표시
- 선택 가능한 MACD 시그널 라인
- 메인 차트 위 볼린저 밴드 표시
- 메인 차트 위 세션 VWAP 표시
- RSI, MACD, VWAP 조건을 기반으로 한 모멘텀 배경색
- Bias, Score, RSI, MACD, Volatility 상태표 제공
기본 설정:
- RSI: 14 기간
- MACD: 12 / 26 / 9
- Bollinger Bands: 20 기간, 표준편차 2
- VWAP: 세션 VWAP, 기본적으로 일봉 이상에서는 숨김
- Momentum Score: RSI 위치, MACD 시그널, MACD 히스토그램 기준으로 0~3점 표시
이 지표는 자동 매수/매도 신호를 제공하지 않습니다. 추세, 모멘텀, 변동성, 시장 상태를 시각적으로 참고하기 위한 도구이며, 본인의 전략과 리스크 관리, 다른 분석과 함께 사용하는 것을 권장합니다. Indicator

Dynamic ICT 2022 Model & Adaptive Structure PRODynamic ICT 2022 Model & Adaptive Structure PRO
Dynamic ICT 2022 Model & Adaptive Structure PRO is an institutional grade technical analysis tool engineered specifically for traders following Smart Money Concepts and ICT 2022 mentorship models. It automatically identifies major macro structural turning points, maps order flow shifts, and plots visual execution position setups optimized for both dark and light chart themes.
Key Features Overview
1. Major Intermediate Term High and Low Badges
Automatically filters market noise to detect major macro swing extremes. Displays clean red Intermediate Term High badges above macro tops and green Intermediate Term Low badges below macro bottoms.
2. Clean Visual Position Execution Tools
Projects sleek, clutter free Long and Short position tools directly at major ITH and ITL setups. The tool automatically maps out entry levels, invalidation stop zones, and dynamic 1:3 risk to reward target areas without messy text labels.
3. Adaptive Structure Shifts
Tracks real time market structure dynamics across all timeframes. Displays precise dashed Break of Structure lines and solid Change of Character signals as price expands.
4. High Contrast Dynamic Trend Wave
Features a smooth, multi layered trend wave that clearly defines overall market direction and dynamic order flow bias, fully optimized for white and light background charts.
How to Use
Step 1: Determine Macro Bias
Follow the direction of the High Contrast Dynamic Trend Wave to identify whether institutional order flow is currently expanding bullish or bearish.
Step 2: Spot Structural Pivots
Identify major highs marked with solid red ITH badges and major lows marked with solid green ITL badges.
Step 3: Analyze Visual Setup Zones
Utilize the built in visual position tools to observe invalidation boundaries and dynamic 1:3 risk to reward target zones following Market Structure Shifts.
Settings Overview
ICT 2022 Settings
- Show Major ITH / ITL & Position Tools: Toggle visibility of pivot badges and position tool boxes.
- Major Pivot Lookback Sensitivity: Adjust pivot lookback sensitivity to isolate macro highs and lows (default set to 20).
- Target Risk to Reward: Customize reward multiplier from 1:1 up to 1:10.
Trend Wave Settings
- Show Trend Wave: Toggle visibility of the dynamic trend wave.
- Wave Period Length: Adjust wave period length to match your trading timeframe.
Market Structure Settings
- Show BOS & CHoCH Lines: Toggle structural lines and text signals.
- Structure Sensitivity: Customize structural pivot lookback length.
Disclaimer
This indicator is created strictly for educational, analytical, and charting enhancement purposes. It does not provide financial advice, trade recommendations, or guaranteed results. Always apply proper risk management principles. Indicator

MACD Trend Phase MTF by [Itto Ryu]# MACD Trend Phase MTF by — User Manual (Publication Version)
---
## 1 · Purpose
This indicator answers one question: **"Where are we in the trend lifecycle?"** — not merely "has MACD crossed yet?"
A single MACD can only describe momentum state; it cannot describe trend *phase*, because phase emerges from the relationship between multiple timeframes. This script reads a PPO-normalized MACD across three time layers — a slow timeframe sets the regime, a mid timeframe defines the phase, and the chart timeframe tracks entry timing — then outputs an instantly readable phase name, a multi-timeframe dashboard, and a weighted consensus verdict (MAJOR).
Because everything is normalized to percentages, it works on any market and any symbol: index futures, stocks, crypto, or forex.
## 2 · Methodology
**Engine — PPO (Percentage Price Oscillator):**
```
PPO = (EMA(close,12) − EMA(close,26)) / EMA(close,26) × 100
Signal = EMA(PPO, 9)
Hist = PPO − Signal
```
PPO is used instead of raw MACD so thresholds stay constant across markets and across years (raw MACD is denominated in price units and cannot be compared across symbols).
**Phase state machine (computed on the Phase TF, default 4H):** each timeframe uses only three features:
1. **Regime** — PPO above/below zero
2. **Impulse** — PPO above/below its signal line
3. **Leg-peak memory** — is the latest impulse leg's PPO peak lower than the previous leg's peak? (structural momentum divergence)
Combined with the slow-TF regime, this yields 9 phases:
| Phase | Condition | Meaning |
|---|---|---|
| ESTABLISHED BULL | Slow bull + mid bull + impulse up | Fully aligned uptrend |
| BULL PULLBACK | Mid bull + impulse down + peaks not declining | Correction inside an uptrend — a classic continuation setup |
| WEAKENING BULL | Mid bull + impulse down + lower peaks | Late-stage uptrend — momentum thinning |
| EMERGING BULL | Mid bull but slow TF not yet bull | New trend, not yet confirmed |
| TRANSITION / CHOP | \|PPO\| < chop threshold | No phase — directionless market |
| (4 BEAR phases = mirror) | | BEAR RALLY = the mirror continuation setup |
**Anti-flicker:** the committed phase changes only after the new raw phase persists for N chart bars (default 2) — hysteresis prevents flickering.
**Timing signal:** when the phase is a pullback phase and the chart-TF histogram inflects back in the trend direction (`hist > hist ` after falling, or the mirror), a ▲/▼ triangle prints on the price chart. The idea: the higher timeframe defines *where* momentum entries make conceptual sense; the chart timeframe shows *when* the counter-move is fading.
**MAJOR consensus:** each grid TF scores its phase (Established ±1.0, Pullback ±0.75, Emerging ±0.5, Weakening ±0.25, Chop 0), weighted by timeframe (default 30m×1, 1H×1.5, 4H×2, D×3) → summed into a net % → |net| ≥ 20% = LONG/SHORT lean, ≥ 50% = strong. This is a structured way of reading multi-timeframe agreement at a glance — higher timeframes get louder votes.
## 3 · Defaults (Inputs)
| Input | Default | Rationale |
|---|---|---|
| Regime TF | D | Slowest layer; only its zero-line side is used |
| Phase TF | 240 (4H) | Phase-defining layer — roughly 4–6× the chart TF works well |
| Fast / Slow / Signal | 12 / 26 / 9 | Standard values, identical on every TF — deliberately untuned |
| Chop threshold | 0.10% | \|PPO\| below this = directionless market |
| Phase confirm bars | 2 | Hysteresis against phase flicker |
| Grid TFs | 30m / 1H / 4H / D | Dashboard rows |
| Weights | 1 / 1.5 / 2 / 3 | Higher timeframes get louder votes |
| Major bias / Strong | 20% / 50% | Verdict thresholds |
| Dashboard size | Middle | Tiny / Middle / Large |
All defaults are starting points, not optimized values — adjust them to your market and timeframe structure.
## 4 · Visual Elements
| Element | Meaning |
|---|---|
| Histogram columns (pane) | Chart-TF PPO − Signal; solid color = accelerating, faded = fading |
| Blue / orange lines (pane) | Chart-TF PPO / Signal |
| Pane background color | Current phase (green = bull family, red = bear family, orange = weakening, gray = chop) |
| ▲ / ▼ on the price chart | Timing markers — phase-gated momentum inflections |
| TF grid table | Phase per timeframe + ● dot in the L / S / H column |
| MAJOR row | Weighted consensus verdict + net % |
| Timing row | Timing status ("wait" / "TIMING NOW") |
| ⚠ row | Warns when chart TF ≥ Phase TF (view a lower TF, e.g. 1H) |
## 5 · Who This Is For / NOT For
**For:** traders studying trend-pullback structure who execute manually and use indicators as context filters; anyone who wants a one-glance answer to "is this market trending, correcting, weakening, or going nowhere?"
**NOT for:** scalpers far below the phase TF (higher-TF data updates too slowly to matter); anyone expecting a fully automatic buy/sell system (this is decision support, not a bot); extended sideways markets (it will mostly show CHOP — which is the correct reading: no trend phase exists).
## 6 · How to Use (Study Playbook)
1. Open the chart one or more steps **below the Phase TF** (e.g. 1H chart with a 4H phase TF).
2. Use the background color and phase label as context: trend-following ideas align with ESTABLISHED phases, continuation setups form during PULLBACK / RALLY phases, and WEAKENING or CHOP suggest standing aside.
3. Check the **MAJOR** row — study how often lower and higher timeframes agree before strong moves, and how disagreement resolves.
4. The ▲/▼ triangles mark where a counter-trend swing's momentum fades *while the higher timeframe still points with the trend* — the classic pullback-entry concept. Observe how these behave on your market before acting on any of them.
5. Momentum-inflection signals are, by nature, short-horizon events — they describe the next swing, not the next month. Re-evaluate whenever the phase changes.
6. Alerts: alert dialog → Condition = "MACD Phase" → choose "Phase changed", "Major bias changed", "Long timing" or "Short timing" → recommended trigger **Once per bar close**.
7. WEAKENING is best studied as a position-management state (momentum thinning), not a reversal signal.
## 7 · Common Mistakes
- ❌ Treating ESTABLISHED phases as entry signals — by the time everything is aligned, much of the move has often happened; the pullback phases are where continuation logic actually applies.
- ❌ Taking every triangle in both directions on every market — different markets have different structural drifts; study each side's behavior on your instrument first.
- ❌ Expecting momentum-inflection signals to define long swings — their information decays quickly.
- ❌ Viewing on a chart TF larger than the Phase TF (the ⚠ row will warn you).
- ❌ Reading MAJOR % as a probability — it is a weighted vote score (a structured prior), not a measured probability.
- ❌ Changing several inputs at once — you lose track of what actually changed the behavior.
## 8 · For Educational Purposes Only
This indicator is published **for educational purposes only**. It is a tool for studying how momentum, trend phase, and multi-timeframe structure interact — it is **not** a trading system, does not generate financial advice, and makes **no claim of profitability**. No performance figures are stated or implied; past behavior of any signal, on any market, does not guarantee future results. Before risking real capital on any concept illustrated here, do your own testing on your own market, timeframe, and cost structure, and consult a licensed financial professional where appropriate. You alone are responsible for your trading decisions.
## 9 · Disclosure Block
- **Pine version:** v6
- **Repaint:** NO on closed bars — every HTF value uses only fully closed bars (`security(expr , lookahead_on)` idiom); historical bars are never redrawn. Note: current-bar table values and signals update until the bar closes — use alerts set to "Once per bar close".
- **Chart type:** standard candles only (no Heikin Ashi / Renko / Range — synthetic prices distort PPO).
- **Originality:** fully original code — the phase state machine, leg-peak memory, and weighted MTF consensus were written from scratch, not adapted from any open-source script.
- **This indicator is create for educational purposes only — not investment advice or recommendation or professional advice, you are on your own risk **
---
Indicator

ICT Smart Money Execution Engine PROICT Smart Money Execution Engine PRO
ICT Smart Money Execution Engine PRO is an advanced, high precision technical analysis tool designed for traders practicing Inner Circle Trader and Smart Money Concepts methodologies. It automatically maps structural context, liquidity sweeps, macro price extremes, and key session windows while keeping your charting environment ultra clean.
Key Features Overview
1. Intermediate Term Highs and Lows Badge Labels
Identifies major market turning points with distinct solid badge style labels. Intermediate Term Highs are clearly displayed with red ITH badges above swing points, and Intermediate Term Lows are displayed with green ITL badges below swing points.
2. Auto Mitigating Previous Day High and Low
Projects active daily boundaries on your chart. To prevent visual clutter, Previous Day High and Previous Day Low lines automatically delete as soon as price touches or mitigates them.
3. Red Line Termination Liquidity Sweeps
Tracks high probability liquidity pools sitting above swing highs and below swing lows. When price sweeps liquidity, a solid 2x width red line connects the original swing point directly to the sweeping candle wick, terminating instantly with a clear Liquidity Swept label.
4. Dynamic Auto Mitigating Fair Value Gaps
Automatically identifies bullish and bearish price imbalances across all timeframes. Unmitigated FVG boxes dynamically clean up and vanish as soon as price returns to fill them.
5. Volume Validated Order Blocks
Detects key institutional order block zones using a customizable 50 bar lookback by default. Zones remain active until price firmly closes beyond their boundaries.
6. Clean New York Session Highlight
Provides a single, ultra light background overlay specifically for the New York Session window, eliminating the distraction of multiple overlapping global sessions.
7. Market Structure Shift Detection
Tracks momentum reversals in real time by drawing clean dashed structure lines and MSS labels when key structural pivots are broken by candle closes.
How to Use
Step 1: Determine Macro Bias
Use the red ITH and green ITL badges to locate institutional swing extremes and understand the broader market trend.
Step 2: Focus on New York Session
Analyze price action during the highlighted New York Session window when market volume and institutional volatility are highest.
Step 3: Identify Liquidity Sweeps
Watch for price to sweep an active Previous Day High, Previous Day Low, or recent swing level marked by the bold red Liquidity Swept line.
Step 4: Execute on Structural Confirmation
Wait for a Market Structure Shift signal following a liquidity sweep, then evaluate entries on retaps into active Order Blocks or Fair Value Gaps.
Settings Overview
ITH / ITL Settings
- Show ITH / ITL Badge Labels: Toggle visibility of intermediate swing badges.
- Lookback Sensitivity Length: Adjust pivot lookback sensitivity for detecting macro highs and lows.
- Colors: Customization options for ITH and ITL badge background colors.
Previous Day High and Low Settings
- Show Active PDH / PDL: Toggle display of auto disappearing daily levels.
- Line Width and Style: Choose between solid, dotted, or dashed line styles and adjust thickness.
Fair Value Gap Settings
- Show Active FVGs: Toggle dynamic imbalance box visibility.
- FVG Transparency: Adjust fill opacity for bullish and bearish boxes.
Order Block Settings
- OB Lookback Length: Customize the pivot length used for order block detection (default is set to 50).
Liquidity Sweep Settings
- Show Liquidity Sweeps: Toggle sweep lines and labels.
- Sweep Line Color: Customize the color of the 2x width sweep termination line.
Session Settings
- Show Only New York Session: Toggle visibility of the session background highlight.
- NY Session Window: Set exact session hours to match your local or UTC-4/5 preferences.
Disclaimer
This script is built strictly for educational, analytical, and charting enhancement purposes. It does not provide financial advice, automated trading signals, trade management, or guaranteed results. Trading financial markets involves substantial risk of capital loss. Always perform your own analysis and practice strict risk management.
Indicator

DNSE VN301!, MACD Cross Strategy"MACD Trend Following with SMA Trend Filter" is a momentum-based trend-following strategy designed to capture directional market moves as momentum begins to strengthen. The strategy uses the MACD indicator, with its standard parameters of Fast EMA(12), Slow EMA(26), and Signal EMA(9), to identify bullish signals when the MACD line crosses above the signal line and bearish signals when it crosses below.
To improve signal quality, the strategy incorporates an optional SMA(200) trend filter, allowing Long trades only when the SMA is rising and Short trades only when it is falling. By combining MACD momentum crossovers with long-term trend confirmation, the strategy seeks to reduce false signals during sideways market conditions while participating in sustained intraday trends. It also includes configurable stop loss, take profit, trading session filters, and automatic end-of-day position closure for disciplined risk management.
Strategy settings and configuration:
Chart timeframe: recommended 5-minute chart
Position size: 3 contracts
MACD fast length: 12
MACD slow length: 26
MACD signal length: 9
SMA length: 200
Stop loss: 10 points
Take profit: 30 points
SMA trend filter: On / Off
Take profit: On / Off
Time filter: On / Off
Trading session: 09:00 – 14:30
Trade direction: Long / Short / Both
Default script settings:
The strategy uses MACD(12,26,9). The MACD line is calculated from the difference between EMA(12) and EMA(26). The Signal line is the EMA(9) of the MACD line.
When MACD crosses above the Signal line, bullish momentum may be taking control. When MACD crosses below the Signal line, bearish momentum may be taking control.
When the SMA(200) trend filter is enabled, the script only allows Long trades when SMA(200) is rising and only allows Short trades when SMA(200) is falling. When the SMA filter is disabled, the strategy can trade both directions based only on MACD crossover signals.
Users can add the built-in MACD indicator on PulseWire with settings 12, 26, 9 and source close to visually monitor the signal below the price chart.
Entry and exit rules:
Long entry:
MACD(12,26,9) crosses above the Signal line
AND SMA(200) is rising, if the SMA filter is enabled
AND the signal appears during the trading session
AND trade direction allows Long entries
Long exit:
Stop loss: 10 points from entry price
Take profit: 30 points from entry price, if enabled
MACD crosses below the Signal line
Reversal when a valid Short signal appears
Automatic position close at the end of the trading session
Short entry:
MACD(12,26,9) crosses below the Signal line
AND SMA(200) is falling, if the SMA filter is enabled
AND the signal appears during the trading session
AND trade direction allows Short entries
Short exit:
Stop loss: 10 points from entry price
Take profit: 30 points from entry price, if enabled
MACD crosses above the Signal line
Reversal when a valid Long signal appears
Automatic position close at the end of the trading session
Risk disclaimer:
Futures trading involves a high level of risk and prices can move sharply. This script is provided for reference, research, and backtesting purposes only. Users should fully understand derivatives trading, their own risk tolerance, and the strategy logic before applying it to live trading.
All investment decisions are the responsibility of the user. phaisinh.online is not responsible for any losses arising from the use of this strategy in real trading. Past performance does not guarantee future results.
___________________________________________________________________
"MACD Trend Following với Bộ lọc Xu hướng SMA" là một chiến lược giao dịch theo xu hướng dựa trên động lượng, được thiết kế nhằm nắm bắt các biến động giá theo một hướng khi động lượng thị trường bắt đầu gia tăng. Chiến lược sử dụng chỉ báo MACD với các tham số tiêu chuẩn gồm Fast EMA(12), Slow EMA(26) và Signal EMA(9) để xác định tín hiệu mua khi đường MACD cắt lên trên đường tín hiệu, và tín hiệu bán khi đường MACD cắt xuống dưới đường tín hiệu.
Để nâng cao chất lượng tín hiệu, chiến lược tích hợp bộ lọc xu hướng SMA(200) (có thể bật hoặc tắt), chỉ cho phép mở vị thế Long khi SMA đang dốc lên và vị thế Short khi SMA đang dốc xuống. Bằng cách kết hợp tín hiệu giao cắt động lượng của MACD với xác nhận xu hướng dài hạn, chiến lược hướng tới việc giảm thiểu các tín hiệu nhiễu trong giai đoạn thị trường đi ngang, đồng thời tận dụng các xu hướng intraday kéo dài. Ngoài ra, chiến lược còn bao gồm các tùy chọn Stop Loss, Take Profit, bộ lọc khung thời gian giao dịch, và cơ chế tự động đóng toàn bộ vị thế khi kết thúc phiên, nhằm đảm bảo quản trị rủi ro một cách chặt chẽ và có kỷ luật.
Cài đặt & cấu hình chiến lược:
Biểu đồ: khuyến nghị khung 5 phút
Khối lượng giao dịch: 3 hợp đồng
Chu kỳ nhanh MACD: 12
Chu kỳ chậm MACD: 26
Chu kỳ tín hiệu MACD: 9
Chu kỳ SMA: 200
Cắt lỗ: 10 điểm
Chốt lời: 30 điểm
Bộ lọc xu hướng SMA: Bật / Tắt
Dùng chốt lời: Bật / Tắt
Bộ lọc giờ: Bật / Tắt
Khung giờ giao dịch: 09:00 – 14:30
Chiều giao dịch: Mua / Bán / Cả hai
Cài đặt mặc định của script:
Chiến lược sử dụng MACD(12,26,9), trong đó đường MACD được tính từ chênh lệch giữa EMA(12) và EMA(26). Đường Signal là EMA(9) của chính đường MACD.
Khi MACD cắt lên đường Signal, động lượng tăng có thể đang chiếm ưu thế. Khi MACD cắt xuống đường Signal, động lượng giảm có thể đang chiếm ưu thế.
Khi bật bộ lọc xu hướng SMA(200), script chỉ cho phép lệnh Mua khi SMA(200) dốc lên và chỉ cho phép lệnh Bán khi SMA(200) dốc xuống. Khi tắt bộ lọc SMA, chiến lược có thể giao dịch cả hai chiều chỉ dựa trên tín hiệu giao cắt MACD.
Người dùng có thể thêm chỉ báo MACD có sẵn trên PulseWire với tham số 12, 26, 9 và nguồn close để quan sát tín hiệu trực quan bên dưới biểu đồ giá.
Điều kiện vào và thoát lệnh:
Vào lệnh Mua:
MACD(12,26,9) cắt lên đường Signal
VÀ SMA(200) dốc lên, nếu bật bộ lọc SMA
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Mua
Thoát lệnh Mua:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: 30 điểm từ giá vào lệnh, nếu bật
MACD cắt xuống đường Signal
Đảo chiều khi xuất hiện tín hiệu Bán hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Vào lệnh Bán:
MACD(12,26,9) cắt xuống đường Signal
VÀ SMA(200) dốc xuống, nếu bật bộ lọc SMA
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Bán
Thoát lệnh Bán:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: 30 điểm từ giá vào lệnh, nếu bật
MACD cắt lên đường Signal
Đảo chiều khi xuất hiện tín hiệu Mua hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Tuyên bố rủi ro:
Giao dịch hợp đồng tương lai có mức độ rủi ro cao và giá có thể biến động mạnh. Script này chỉ phục vụ mục đích tham khảo, nghiên cứu và kiểm thử. Người dùng cần hiểu rõ giao dịch phái sinh, khẩu vị rủi ro cá nhân và logic của chiến lược trước khi áp dụng vào giao dịch thực tế.
Mọi quyết định đầu tư thuộc trách nhiệm của người dùng. phaisinh.online không chịu trách nhiệm cho bất kỳ khoản lỗ nào phát sinh từ việc sử dụng chiến lược này trong giao dịch thực tế. Hiệu quả trong quá khứ không đảm bảo kết quả trong tương lai.
Strategy

MACD with HTF Panels [theUltimator5]This indicator uses the standard MACD signal and displays it on multiple timeframes off to the side of the chart as separate panels. It allows you to view up to 5 (current + 4) separate timeframes at once without changing the chart timeframe.
The core of this indicator is a normal MACD. Line, signal, and histogram, fully adjustable lengths, four-way histogram coloring based on sign and slope so you can read momentum shifts at a glance.
Alongside it, the indicator draws up to four independent higher-timeframe panels directly in the pane. Each panel is a self-contained mini-chart: recent candles (if enabled) plus that timeframe's own MACD line, signal, and histogram.
The default settings show (4) HTF panels, that are automatically set based on what the current chart timeframe is. The HTF panels can be manually adjusted as desired.
The number of HTF panels can be adjusted between 0 and 4. 0 panels is set by disabling the "Show HTF panels" option in the settings. Disabling the HTF panels simply makes this indicator appear as a standard MACD, which isn't unique and can probably be found in 1000 other indicators elsewhere.
The uniqueness comes from the HTF panels on the side.
The panels settings will match for all timeframes.
When there are between 1 and 3 HTF panels enabled, they will appear vertically stacked on each other.
The following image shows (3) panels stacked.
When 4 panels (default) is selected, the stack is 2x2.
The chart price candles can be enabled in the settings to show the candles overlaid on the MACD signals for a complete picture. These are disabled by default to reduce visual clutter.
Here is an image showing (4) panels with chart candles enabled within the panels.
The scaling and position of the panels can be adjusted in the settings.
The vertical scaling is based on ATR, so the height of the candles is always proportional to the chart itself.
The horizontal position is calculated in bars, so it can be shifted left or right relative to the current bar.
Finally, there is a table (default position = bottom right)
The table shows the values of the MACD, Signal, and Histogram for all (4) HTF panels. The table position and size can be modified, but it will always show all (4) HTF panel values. If you have only one HTF panel enabled, it will still show you all values. The Histogram column changes color based on the color of the HTF histogram for that timeframe to give a better visual representation of the signal.
This indicator was made to showcase the method for converting custom signals into HTF side panels for custom and complex indicators. The logic used in this indicator can be used on any plotting indicator to display the signals off to the side. Indicator

FIE Price Action OverlayFIE (Frequency • Influence • Efficiency) Price Action
FIE is a market analysis framework that measures the quality of agreement between multiple stochastic components and MACD and their respective influence on price action. FIE is designed as an educational decision-support tool for traders who want to evaluate not just whether indicators agree, but how much confidence that agreement deserves.
Instead of treating every component equally, FIE evaluates each component according to three characteristics:
Frequency – How consistently the component aligns with price.
Influence – How much price movement occurs while it is aligned.
Efficiency – A weighted measure that combines consistency and impact.
These measurements are then used to determine each component's relative contribution to the current market move through Share Participation and Normalized Efficiency.
The result is a real-time view of which components are driving the current price action, how much they contribute, and how strongly they agree.
FIE helps distinguish between:
Broad market agreement.
Moves driven primarily by a single component.
Weak participation behind price.
High-confidence confluence where multiple components align with meaningful participation.
The integrated dashboard summarizes each component's contribution, efficiency, participation, and agreement, allowing traders to evaluate the strength and quality of a setup at a glance.
Features
- Frequency, Influence, and Efficiency analysis
- Component Share Participation
- Normalized Efficiency (E-Norm)
- Active Average calculations
- Multi-component confluence analysis
- Confidence and participation dashboard
- High-confluence ("Consensus Signal") identification
- Extensive customization and threshold controls
- Optional Entry signals and crossover levels
- 'Enhanced Candles' to further highlight component/price behaviour
FIE is designed as an educational decision-support tool for traders who want to evaluate not just whether indicators agree, but how much confidence that agreement deserves. Indicator

Strategy

Indicator

Indicator

Strategy

Indexed MACD OscillatorIndexed MACD Oscillator — A normalized version of the standard MACD histogram, rescaled to always oscillate between 0 and 100 (rather than fluctuating in raw price-difference units, which vary a lot by symbol/timeframe). It calculates the standard MACD (12/26 EMA) and signal line (9-period EMA of MACD), takes the histogram (MACD − Signal), then min-max normalizes it using the highest and lowest histogram values over the trailing 100 bars. The result: 0 represents the most bearish momentum reading in the lookback window, 100 represents the most bullish, and the two gray reference lines mark those bounds.
This effectively turns MACD histogram into an oscillator similar in spirit to Stochastic or RSI — useful for comparing momentum extremes across different symbols on a consistent 0–100 scale, since raw MACD histogram values aren't comparable between, say, a $30 stock and a $3,000 stock.
One thing worth flagging for the description/documentation: since the normalization uses a rolling 100-bar high/low, the 0 and 100 levels are relative to recent history, not fixed absolute thresholds — a reading of 100 today doesn't necessarily mean the same momentum strength as a 100 from three months ago, since the window is constantly sliding. Might be worth a line in the description clarifying that it's a relative momentum extremity measure, not an absolute one, so users don't misread it like a fixed RSI-style overbought/oversold level. Indicator

Zero-Lag MACD Divergence Pro Zero-Lag MACD Divergence Pro is a MACD-family oscillator that reduces the indicator's inherent lag using zero-lag exponential averaging, detects regular divergences directly inside the MACD pane, and optionally gates its buy/sell markers so they only appear when a divergence and a crossover confirm each other. It is designed for intraday timeframes but works on any chart.
What makes it original
This is not a standard MACD with cosmetic changes. Three elements work as one system: (1) all three components — fast line, slow line, and signal line — are rebuilt on zero-lag EMAs rather than standard EMAs, (2) divergence detection runs on the zero-lag MACD line itself and draws its lines and labels inside the oscillator pane, with an optional mirrored dashed line on the price chart, and (3) a combo-gating mode suppresses crossover markers unless a divergence was confirmed within a recent, user-defined window, which filters the many insignificant crossovers a MACD produces in ranging markets.
How it works
Zero-Lag Core: Each component uses the zero-lag EMA construction (2 × EMA − EMA of EMA), a public-domain technique attributed to John Ehlers' error-correction work. This roughly halves the effective lag of each average, so crossovers occur earlier than on a classic MACD. A faded classic MACD line can be displayed for side-by-side comparison and switched off in the settings.
Divergence Detection: Confirmed pivot highs/lows on the zero-lag MACD line are compared with price highs/lows at the same bars. A regular bullish divergence (price lower low, MACD higher low) or regular bearish divergence (price higher high, MACD lower high) draws a connecting line between the two MACD pivots with a label in the pane. Pivots confirm only after the lookback period elapses, so divergence lines appear with a delay by design and do not repaint.
Combo Signals: In the default mode, a buy/sell marker prints on the price chart only when a zero-lag crossover occurs while a same-direction divergence is still valid (within a user-defined number of bars). Turning combo mode off prints markers on every confirmed crossover instead. Signals respect a cooldown and a daily maximum.
Four-Color Histogram: The histogram distinguishes rising and fading momentum on both sides of the zero line.
Dashboard: A dark, movable panel (styled to stay readable on light-theme charts) summarizes MACD state, histogram direction, active divergence, zero-line position, and the day's signal count.
How to use it
Add the indicator to a lower-timeframe chart (5–15 min for intraday use). Watch for a divergence label in the pane, then wait for the crossover marker that confirms it — the combo mode automates exactly this sequence. The zero-line row on the dashboard helps grade signals: bullish setups above the zero line and bearish setups below it occur in the direction of the broader momentum. All lengths, the divergence window, signal limits, colors, and dashboard placement are adjustable.
Limitations
Divergence lines appear only after pivots confirm (default 5 bars), so they are visible later than the pivot itself; this is the unavoidable cost of non-repainting detection. Reduced lag also means the zero-lag lines are more sensitive than a classic MACD and can produce more crossovers in choppy conditions — the combo mode exists to filter these. This tool describes momentum conditions; it does not predict future price movement, and past behavior of any signal does not guarantee future results. Always combine with your own analysis and risk management. Indicator

Indicator

MACD Market Stage + Hybrid Divergence - TP## MACD Market Stage + Hybrid Divergence
This indicator is a customized version of the classic **MACD** concept commonly available on PulseWire. Credit goes to PulseWire and the original MACD indicator framework. This version adds simple table readings, momentum stages, custom histogram colors, and optional divergence lines to make MACD easier to interpret at a glance.
The goal of this tool is not to predict the future, but to help traders better understand the current momentum condition of the market.
## What This Indicator Shows
This indicator displays:
MACD line
Signal line
MACD histogram
Momentum reading table
Market stage reading
Optional bullish and bearish divergence lines
The histogram colors help show whether momentum is increasing or fading.
## How To Read It
When the histogram is above zero and growing, bullish momentum is expanding.
When the histogram is above zero but shrinking, bullish momentum is weakening.
When the histogram is below zero and moving lower, bearish momentum is expanding.
When the histogram is below zero but improving, bearish momentum is weakening.
## Table Readings
The table summarizes the MACD condition in simple terms.
**Signal** shows whether bullish or bearish momentum is currently leading.
**Market Stage** shows the broader momentum phase.
**Stage Bias** gives a plain-language interpretation of the current stage.
## Market Stages
**Stage 1 Momentum Base**
Bearish momentum is weakening and the market may be trying to recover.
**Stage 2 Bullish Momentum Expansion**
Bullish momentum is strengthening and buyers are currently leading.
**Stage 3 Momentum Distribution**
Bullish momentum is still present, but it is starting to fade.
**Stage 4 Bearish Momentum Expansion**
Bearish momentum is strengthening and sellers are currently leading.
**Market Transition**
Momentum is mixed or unclear.
## Divergence
The optional divergence feature compares price action with the MACD line.
A **bullish divergence** may appear when price makes a lower low, but MACD makes a higher low.
A **bearish divergence** may appear when price makes a higher high, but MACD makes a lower high.
Divergence should not be used alone. It is best used together with price structure, support and resistance, trend, and risk management.
## How To Use
Use this indicator to quickly check whether momentum is expanding, weakening, or transitioning.
It may be useful for:
Confirming trend momentum
Spotting possible momentum weakness
Reading MACD conditions faster
Finding possible divergence areas
Supporting a broader trading plan
## Important Note
This indicator is for educational and informational purposes only. It does not provide financial advice, buy signals, or sell signals. No indicator can guarantee future results. Always use proper risk management and your own analysis before making trading decisions.
Indicator

Indicator

MACD Pullback Validation with Divergence Filters [algo_aakash]MACD Pullback Validation with Divergence Filters is a momentum confirmation indicator designed to identify continuation opportunities after temporary pullbacks rather than generating signals from every MACD crossover.
Instead of relying on a single event, the script evaluates multiple stages of market behavior. It begins by detecting pullbacks within an existing momentum cycle, waits for momentum recovery, confirms that price and the MACD histogram are no longer weakening, and optionally verifies that the setup occurs near significant price locations using pivot-derived support/resistance levels or Bollinger Band extremes.
The objective is to reduce low-quality MACD signals by requiring several independent conditions to align before a bullish or bearish signal is displayed.
Problem Statement
Traditional MACD crossover signals frequently occur during ranging markets or immediately after short-lived momentum fluctuations. Likewise, divergence signals alone often appear too early and do not necessarily indicate that momentum has already shifted back in the anticipated direction.
This indicator addresses that limitation by requiring multiple confirmation stages rather than treating each condition as an independent trading signal.
Instead of responding to isolated events, it evaluates whether a pullback has occurred, whether momentum is rebuilding, whether a recent divergence supports the move, and whether price is located in an area where reversals may be more meaningful.
Methodology
The analytical framework consists of several sequential validation layers.
First, MACD crossover events occurring above or below the zero line are monitored to identify temporary pullbacks within an existing momentum cycle. These crossover events establish the recent pullback state.
Next, the script monitors the MACD histogram. Bullish momentum requires the histogram to remain above zero while increasing relative to the previous bar. Bearish momentum requires the histogram to remain below zero while decreasing.
The indicator then waits for the MACD line itself to cross the zero line, treating this as evidence that momentum has shifted back in the direction of the prevailing move.
Histogram divergence is calculated using confirmed pivot highs and pivot lows. Regular bullish divergence requires price to form a lower low while the histogram forms a higher low. Regular bearish divergence requires price to form a higher high while the histogram forms a lower high. Hidden divergence calculations are also available for users who wish to visualize continuation-type divergence.
Finally, optional contextual filters may be enabled.
The Support/Resistance filter checks whether the current price is interacting with recently confirmed pivot-based levels.
The Bollinger Band filter requires bullish setups to occur after closing below the lower band and bearish setups after closing above the upper band, helping identify momentum reversals from statistically extended price conditions.
Signals are generated only after every enabled validation layer has been satisfied.
Signal Workflow
Bullish workflow
1. Detect a recent bearish MACD crossover occurring above the zero line to identify a pullback.
2. Confirm a regular bullish MACD histogram divergence using pivot comparisons.
3. Require the MACD histogram to begin strengthening.
4. Wait for the MACD line to cross back above the zero line.
5. Optionally require interaction with recent pivot-based support.
6. Optionally require price to close below the lower Bollinger Band.
7. Display a bullish signal.
Bearish workflow
1. Detect a recent bullish MACD crossover occurring below the zero line.
2. Confirm a regular bearish MACD histogram divergence.
3. Require bearish histogram acceleration.
4. Wait for the MACD line to cross below the zero line.
5. Optionally require interaction with recent pivot-based resistance.
6. Optionally require price to close above the upper Bollinger Band.
7. Display a bearish signal.
Why This Indicator Is Different
Many MACD indicators generate signals immediately after crossovers, while divergence indicators typically evaluate price and momentum independently.
This script integrates these concepts into a sequential validation framework where each condition serves a different analytical purpose.
The pullback logic identifies temporary counter-trend momentum.
The histogram evaluates whether momentum is rebuilding.
The zero-line crossover confirms broader momentum alignment.
Divergence provides evidence that momentum and price are no longer moving in agreement.
Optional pivot interaction and Bollinger Band filters add market-location confirmation before a signal is produced.
Rather than displaying every crossover or every divergence, the indicator waits until multiple independent conditions align before producing a trading signal.
Inputs
The script includes configurable parameters for:
* MACD fast, slow, and signal periods
* Pullback lookback window
* Divergence pivot lengths
* Divergence range settings
* Optional hidden divergence display
* Optional Support/Resistance validation
* Pivot sensitivity
* Optional Bollinger Band confirmation
* Bollinger Band length and standard deviation
Alerts
Built-in alert conditions are available for:
* Bullish Signal
* Bearish Signal
* Regular Bullish Divergence
* Hidden Bullish Divergence
* Regular Bearish Divergence
* Hidden Bearish Divergence
Practical Usage
The indicator is intended for traders who prefer waiting for momentum confirmation after temporary pullbacks instead of reacting to every MACD crossover.
Optional Support/Resistance and Bollinger Band filters can be enabled to make signal selection more restrictive when additional price-location confirmation is desired.
Limitations
MACD histogram divergence relies on confirmed pivot highs and lows, so divergence signals are only confirmed after the required pivot bars have formed.
Support and resistance levels are derived from pivot calculations and represent algorithmically identified swing points rather than manually drawn market structure.
Like any momentum-based indicator, performance may vary across different market conditions and should be evaluated alongside a broader trading plan and appropriate risk management.
Notes
This indicator is intended as an analytical decision-support tool. It combines momentum analysis, pullback recognition, divergence detection, and optional contextual filters into a structured confirmation process rather than relying on any individual condition as a standalone trading signal.
Indicator
