Zacs MACD Heikin-Ashi OB/OS Signals

Zacs MACD Heikin-Ashi OB/OS is an advanced momentum oscillator designed to identify potential market reversals using standardized MACD calculations, Heikin-Ashi candle transformations, and customizable overbought/oversold zones.
Unlike traditional MACD indicators, this tool transforms MACD momentum into Heikin-Ashi candles, making changes in momentum direction easier to visualize.
Its primary feature is a **two-stage reversal confirmation system** that identifies potential reversals at momentum extremes and optionally waits for a MACD signal-line crossover before generating a BUY or SELL signal.
The indicator displays signals directly on the price chart, within the oscillator pane, or both.
## Key Features
### 1. Standardized MACD Heikin-Ashi Oscillator
The indicator uses a standardized MACD calculation that normalizes the difference between fast and slow EMAs using an EMA of price range.
The resulting values are transformed into Heikin-Ashi candles, providing a visual representation of momentum direction and potential turning points.
- Cyan candles indicate bullish momentum.
- Red candles indicate bearish momentum.
- A separate signal line provides additional momentum confirmation.
- A histogram displays the difference between the oscillator and its signal line.
### 2. Fully Adjustable Overbought and Oversold Zones
Users can independently customize both momentum extremes.
Default settings:
- Overbought: +100
- Oversold: -100
Unlike indicators with fixed OB/OS levels, this tool allows traders to experiment with different thresholds to suit their preferred market, volatility conditions, and timeframe.
The shaded zones automatically adjust to the selected levels.
### 3. OB/OS Reversal Signals
The indicator identifies potential reversals when Heikin-Ashi MACD momentum changes direction at an extreme level.
**SELL (Overbought):**
A bearish Heikin-Ashi MACD reversal occurs after the oscillator reaches the overbought threshold.
**BUY (Oversold):**
A bullish Heikin-Ashi MACD reversal occurs after the oscillator reaches the oversold threshold.
These conditions identify potential exhaustion of the prevailing momentum.
### 4. Delayed Signal-Line Confirmation
This optional feature is enabled by default.
Instead of generating a trade signal immediately following an OB/OS reversal, the indicator waits for the MACD oscillator to cross its signal line in the anticipated trade direction.
**SELL Confirmation:**
1. A bearish reversal occurs in the overbought region.
2. The indicator activates a pending SELL setup.
3. The MACD crosses below its signal line.
4. A SELL signal is generated.
**BUY Confirmation:**
1. A bullish reversal occurs in the oversold region.
2. The indicator activates a pending BUY setup.
3. The MACD crosses above its signal line.
4. A BUY signal is generated.
The confirmation window is adjustable from 1 to 50 candles, with a default of 6 candles after the initial setup. Confirmation can also occur on the setup candle itself.
If confirmation does not occur within the selected window, the pending setup expires.
This feature is designed to reduce premature entries by requiring additional evidence of a momentum shift.
Users can disable confirmation to return to the original OB/OS reversal signal timing.
### 5. Signals on Both Price Chart and Oscillator
BUY and SELL signals can be displayed in two locations:
- **Price Chart:** Triangles appear above or below the corresponding price candles.
- **Oscillator Pane:** Matching triangles appear near the Heikin-Ashi MACD candles.
Both locations use identical signal conditions, ensuring consistent timing.
Each display option can be enabled or disabled independently.
### 6. Confirmed Candle Close Option
An optional candle-close confirmation filter is enabled by default.
When enabled, signals are generated only after the chart candle has closed, helping prevent signals from appearing and disappearing during an unfinished candle.
Disabling this option allows earlier intrabar signal evaluation.
### 7. Customizable Display and Candle Coloring
The indicator includes three display modes:
- Hybrid
- MACD
- Histogram
Additional customization includes hollow Heikin-Ashi candles, optional signal-line visibility, and price candle coloring based on momentum conditions.
Available coloring modes include midline position, Heikin-Ashi direction, signal-line relationship, momentum extremes, and reversals.
### 8. Unified BUY/SELL Alerts
A unified alert system allows traders to monitor both BUY and SELL signals using a single TradingView alert.
Alerts can identify the trade direction, symbol, timeframe, and price.
Users can select the unified OB/OS Buy/Sell alert or use TradingView's "Any alert() function call" option for messages containing BUY or SELL.
Additional individual MACD and momentum alerts are also available.
## Suggested Default Settings
- Fast MACD Length: 12
- Slow MACD Length: 26
- Signal Length: 9
- Overbought Level: +100
- Oversold Level: -100
- Require Signal-Line Confirmation: ON
- Confirmation Window: 6 candles
- Require Confirmed Candle Close: ON
- Show Signals on Price Chart: ON
- Show Signals in Lower Pane: ON
- Display Mode: Hybrid
## Trading Applications
This indicator can be used to investigate:
- Momentum exhaustion at extreme oscillator levels
- Potential bullish and bearish reversals
- Signal-line-confirmed momentum shifts
- Pullback completion and trend continuation opportunities
- Entry timing in conjunction with support/resistance, market structure, moving averages, or other independent confirmation tools
It can be applied to forex, stocks, indices, commodities, and cryptocurrencies across different chart timeframes.
## Important Notes
Overbought and oversold conditions do not necessarily indicate that price will reverse immediately. Strong trends can maintain elevated or depressed momentum for extended periods.
Signal-line confirmation provides an additional condition but does not guarantee profitable trades or eliminate false signals.
Users should independently evaluate settings, account for trading costs, and apply appropriate risk management.
This indicator is an analytical tool, not a complete automated trading strategy.
## Credits
Based on the original **Standardized MACD Heikin-Ashi Transformed** indicator by **EliCobra**.
Additional development includes customizable OB/OS thresholds, delayed signal-line confirmation, dual-location trade signals, and unified alert functionality.
Original work licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Modifications retain the applicable attribution and licensing requirements.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.