PulseHub
OPEN-SOURCE SCRIPT

SMC - BOS/CHoCH & FVG & Fib OTE & OB

1 135
# Smart Money Concepts – Market Structure, Order Blocks, Liquidity & Fibonacci

## Overview

This indicator is a comprehensive Smart Money Concepts trading tool designed to help traders analyze market structure, institutional price behavior, liquidity movements, Order Blocks, Breaker Blocks, Fair Value Gaps, and Fibonacci-based reaction zones within a single charting system.

Instead of generating signals from a single technical condition, the indicator evaluates multiple price-action components together. Its main objective is to identify areas where market structure, institutional zones, liquidity, and Fibonacci retracement levels create a higher-quality trading scenario.

The indicator can be used for market analysis, trade planning, confirmation, risk management, and PulseWire alert automation.

---

## Core Features

### Market Structure Analysis

The indicator automatically identifies important structural developments in price, including:

* Bullish market structure
* Bearish market structure
* Break of Structure — BOS
* Change of Character — CHoCH
* Market Structure Shift — MSS
* Swing highs and swing lows
* Structural continuation and reversal scenarios
* Bullish and bearish trend transitions

Market structure is used as the foundation of the indicator. Long and short scenarios are evaluated according to the current structural direction rather than relying only on isolated support or resistance levels.

A bullish scenario generally becomes more relevant after price breaks an important swing high or confirms a bullish structural shift.

A bearish scenario generally becomes more relevant after price breaks an important swing low or confirms a bearish structural shift.

---

## Order Blocks

The indicator detects potential bullish and bearish Order Blocks created before meaningful impulsive price movements.

### Bullish Order Block

A Bullish Order Block represents a potential institutional demand area formed before a strong bullish expansion.

When price returns to this zone, the indicator evaluates whether the area is still valid and whether additional confirmation conditions are present.

### Bearish Order Block

A Bearish Order Block represents a potential institutional supply area formed before a strong bearish expansion.

When price revisits the zone, the indicator checks the current market structure, zone validity, price reaction, and other confirmation factors.

Order Blocks can be used for:

* Potential entry areas
* Pullback and retest analysis
* Support and resistance identification
* Trade invalidation placement
* Liquidity-based reversal scenarios
* Premium and discount zone confirmation

Not every Order Block should automatically be considered a trade entry. The indicator is designed to combine the Order Block with structural and Fibonacci-based confirmation.

---

## Breaker Blocks

When a previously valid Order Block fails and price breaks through it, the zone may later function as a Breaker Block.

A failed bullish Order Block may become a bearish resistance area.

A failed bearish Order Block may become a bullish support area.

Breaker Blocks can be especially useful when analyzing:

* Market structure reversals
* Failed institutional zones
* Retests after structural breaks
* Continuation setups following liquidity sweeps
* Support-to-resistance and resistance-to-support transitions

The indicator tracks these interactions to help traders distinguish between valid Order Blocks, invalidated zones, and possible Breaker Block opportunities.

---

## Fibonacci Retracement and OTE Zones

The Fibonacci module is integrated into the market structure and Order Block system.

The indicator focuses particularly on the retracement area between:

* 0.618 Fibonacci level
* 0.786 Fibonacci level

This region is commonly referred to as the Optimal Trade Entry, or OTE, zone within Smart Money Concepts methodology.

For bullish scenarios, the Fibonacci retracement is measured across the relevant bullish price leg. The indicator then evaluates whether price retraces into the discount area and interacts with a Bullish Order Block, Breaker Block, Fair Value Gap, or liquidity zone.

For bearish scenarios, the Fibonacci retracement is measured across the relevant bearish price leg. The indicator evaluates whether price returns to the premium area and interacts with a Bearish Order Block, Breaker Block, Fair Value Gap, or liquidity zone.

The strongest setups generally occur when multiple elements overlap within the same area.

Examples of bullish confluence include:

* Bullish market structure
* Sell-side liquidity sweep
* Bullish Order Block
* Bullish Fair Value Gap
* Fibonacci 0.618–0.786 retracement
* Discount pricing
* Bullish price-action confirmation

Examples of bearish confluence include:

* Bearish market structure
* Buy-side liquidity sweep
* Bearish Order Block
* Bearish Fair Value Gap
* Fibonacci 0.618–0.786 retracement
* Premium pricing
* Bearish price-action confirmation

---

## Premium and Discount Areas

The Fibonacci range also helps divide the current dealing range into premium and discount areas.

### Discount Area

The discount area represents the lower portion of the selected price range. Bullish opportunities are generally more favorable when price returns to this area while the broader market structure remains bullish.

### Premium Area

The premium area represents the upper portion of the selected price range. Bearish opportunities are generally more favorable when price returns to this area while the broader market structure remains bearish.

This approach helps prevent traders from entering long positions at excessively high prices or short positions at excessively low prices.

---

## Fair Value Gaps and Imbalances

The indicator can identify price imbalances created during strong impulsive movements.

These imbalances are commonly referred to as Fair Value Gaps, or FVGs.

A Fair Value Gap may represent an area where price moved too quickly to allow balanced trading between buyers and sellers. Price may later return to partially or completely rebalance this area.

Fair Value Gaps can be used as:

* Potential retracement targets
* Entry confirmation areas
* Continuation zones
* Support or resistance regions
* Additional confluence inside an Order Block
* Potential targets after a structural breakout

The importance of a Fair Value Gap increases when it overlaps with an Order Block, Breaker Block, liquidity zone, or Fibonacci OTE region.

---

## Liquidity Analysis

Liquidity is one of the central components of Smart Money Concepts.

The indicator helps traders monitor important areas where stop orders and pending orders may be concentrated, including:

* Buy-side liquidity
* Sell-side liquidity
* Equal highs
* Equal lows
* Previous swing highs
* Previous swing lows
* Local liquidity pools
* External range liquidity
* Internal range liquidity

A move above a previous high may represent a buy-side liquidity sweep.

A move below a previous low may represent a sell-side liquidity sweep.

However, a liquidity sweep alone is not treated as a complete signal. The indicator evaluates the sweep together with market structure, institutional zones, Fibonacci positioning, and price reaction.

---

## Bullish Setup Logic

A potential bullish setup may be identified when several of the following conditions align:

1. Sell-side liquidity is taken or swept.
2. Price creates a bullish Change of Character or Market Structure Shift.
3. A bullish Break of Structure confirms the new direction.
4. Price retraces toward a valid Bullish Order Block, Breaker Block, or Fair Value Gap.
5. The retracement enters the Fibonacci 0.618–0.786 OTE region.
6. Price is located within the discount area of the relevant dealing range.
7. The institutional zone remains valid.
8. Bullish price action confirms buyer reaction.
9. The predefined invalidation conditions are not triggered.
10. The complete rule-based setup is confirmed.

When the required conditions are satisfied, the indicator can generate a potential long signal and corresponding alert.

---

## Bearish Setup Logic

A potential bearish setup may be identified when several of the following conditions align:

1. Buy-side liquidity is taken or swept.
2. Price creates a bearish Change of Character or Market Structure Shift.
3. A bearish Break of Structure confirms the new direction.
4. Price retraces toward a valid Bearish Order Block, Breaker Block, or Fair Value Gap.
5. The retracement enters the Fibonacci 0.618–0.786 OTE region.
6. Price is located within the premium area of the relevant dealing range.
7. The institutional zone remains valid.
8. Bearish price action confirms seller reaction.
9. The predefined invalidation conditions are not triggered.
10. The complete rule-based setup is confirmed.

When the required conditions are satisfied, the indicator can generate a potential short signal and corresponding alert.

---

## Rule-Based Signal Validation

The indicator does not consider every Order Block touch or Fibonacci retracement to be a valid trade setup.

Signals are filtered through a rule-based validation process that may include:

* Current market structure
* Direction of the most recent structural break
* Order Block validity
* Breaker Block status
* Fibonacci retracement position
* Premium or discount location
* Liquidity sweep confirmation
* Fair Value Gap interaction
* Price-action confirmation
* Setup invalidation conditions
* Signal repetition controls

This filtering process is intended to reduce low-quality signals and prevent unnecessary entries during unclear or conflicting market conditions.

---

## Entry Confirmation

Depending on the selected settings and trading style, traders may use the indicator in two different ways.

### Aggressive Entry

An aggressive entry may be considered when price first touches a qualified Order Block, Breaker Block, Fair Value Gap, or OTE zone.

This approach may provide a better entry price but generally involves a higher risk of invalidation.

### Confirmed Entry

A confirmed entry requires an additional price-action reaction after price reaches the relevant zone.

Confirmation may include:

* Bullish or bearish rejection
* Engulfing candle formation
* Lower-timeframe structural shift
* Reclaim of an Order Block
* Break and retest
* Strong displacement away from the zone

Confirmed entries may occur later, but they can provide additional evidence that the expected reaction has started.

---

## Risk and Invalidation Logic

Every Smart Money Concepts setup requires a clearly defined invalidation point.

For bullish scenarios, invalidation may occur when:

* Price closes below the relevant Bullish Order Block
* The protected swing low is broken
* Bullish market structure fails
* The selected Fibonacci range becomes invalid
* Price creates a confirmed bearish structural shift

For bearish scenarios, invalidation may occur when:

* Price closes above the relevant Bearish Order Block
* The protected swing high is broken
* Bearish market structure fails
* The selected Fibonacci range becomes invalid
* Price creates a confirmed bullish structural shift

Potential stop-loss areas can be evaluated beyond the relevant swing point, institutional zone, or structural invalidation level.

Potential profit targets can be planned around:

* Previous swing highs or lows
* Opposing liquidity pools
* Equal highs or equal lows
* Untested Order Blocks
* Fair Value Gaps
* External range liquidity
* Fibonacci extension levels
* 1.272 Fibonacci extension
* 1.618 Fibonacci extension

Risk management remains the responsibility of the trader. A valid technical setup does not guarantee a profitable outcome.

---

## Alerts

The indicator includes alert functionality for important market events and potential trading scenarios.

Depending on the enabled settings, alerts may be created for:

* Potential long setups
* Potential short setups
* Bullish Order Block interaction
* Bearish Order Block interaction
* Bullish Breaker Block interaction
* Bearish Breaker Block interaction
* Order Block invalidation
* Market structure breaks
* Bullish or bearish CHoCH
* Fibonacci OTE zone interaction
* Liquidity sweeps
* Confirmed entry conditions

PulseWire alerts can be used for manual notifications or connected to an external automation system through webhooks.

Before using webhook-based execution, traders should carefully test alert frequency, symbol formatting, timeframe behavior, and execution conditions.

---

## Recommended Workflow

A structured top-down analysis process may improve the effectiveness of the indicator.

### Step 1 — Determine the Higher-Timeframe Direction

Start by analyzing the broader market structure.

Identify whether the market is:

* Bullish
* Bearish
* Consolidating
* Transitioning between structures

### Step 2 — Mark Important Liquidity

Locate previous highs, previous lows, equal highs, equal lows, and other obvious liquidity pools.

### Step 3 — Wait for Liquidity to Be Taken

Observe whether price sweeps an important liquidity level before creating a structural shift.

### Step 4 — Confirm Market Structure

Wait for a BOS, CHoCH, or MSS that supports the expected direction.

### Step 5 — Identify the Institutional Zone

Locate the relevant Order Block, Breaker Block, or Fair Value Gap associated with the structural movement.

### Step 6 — Evaluate the Fibonacci Retracement

Check whether the institutional zone overlaps with the 0.618–0.786 Fibonacci OTE region.

### Step 7 — Wait for Price Reaction

Avoid entering only because price reached a zone. Observe whether price produces a meaningful reaction or lower-timeframe confirmation.

### Step 8 — Define Invalidation and Targets

Determine the invalidation point before entering the trade. Potential targets may be placed near opposing liquidity or Fibonacci extension levels.

---

## Timeframes and Markets

The indicator can be applied to different financial markets, including:

* Cryptocurrencies
* Forex
* Stocks
* Indices
* Futures
* Commodities

It can also be used across multiple chart timeframes.

Higher timeframes generally provide more significant market structure and institutional zones, while lower timeframes may provide more frequent but noisier setups.

For intraday trading, traders may combine a higher-timeframe directional bias with lower-timeframe entry confirmation.

For example:

* Higher timeframe for market direction
* Intermediate timeframe for Order Blocks and Fibonacci zones
* Lower timeframe for confirmation and execution

The ideal timeframe combination depends on the traded market, volatility, trading session, and individual risk profile.

---

## Chart Customization

The visual modules can be adjusted according to the trader’s preferred chart layout.

Available display options may include:

* Market structure labels
* BOS and CHoCH labels
* Bullish and bearish Order Blocks
* Breaker Blocks
* Fair Value Gaps
* Liquidity levels
* Fibonacci retracement levels
* OTE zones
* Premium and discount areas
* Long and short signals
* Invalidation levels
* Potential target levels

Disabling unnecessary modules can create a cleaner chart and make it easier to focus on the most relevant information.

---

## Important Notes

This indicator is designed as a market analysis and decision-support tool. It should not be used as a standalone guarantee of future price direction.

Smart Money Concepts involve interpretation. Market structure, Order Blocks, liquidity, and Fibonacci levels may behave differently depending on volatility, timeframe, market conditions, and the selected settings.

Before using the indicator in live trading:

* Test it on historical data.
* Use PulseWire Replay Mode.
* Test different symbols and timeframes.
* Evaluate alert behavior.
* Apply appropriate position sizing.
* Define risk before entering a trade.
* Avoid risking capital that you cannot afford to lose.

No indicator can eliminate risk, false signals, slippage, volatility, or unexpected market movements.

---

## Disclaimer

This indicator is provided for educational and informational purposes only. It does not constitute financial, investment, trading, or professional advice.

Past performance does not guarantee future results. All trading decisions, entries, exits, position sizes, stop-loss levels, and risk-management actions remain the sole responsibility of the user.

The developer is not responsible for any direct or indirect financial losses resulting from the use of this indicator.

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.