CONTINUOUS DOUBLE AUCTION SIMULATION

The Anatomy of Price Action:
Why Candlestick Prices Fluctuate

Candlesticks do not move because of trendlines, RSI readings, or magic geometries. Every tick, wick, and body expansion is the deterministic outcome of aggressive market orders consuming resting limit liquidity in a live double auction book.

Aggressive Buyers

Market Buys lift the Ask (Offer). When available sell limit contracts at that price are exhausted, price ticks up to the next higher offer.

Aggressive Sellers

Market Sells cross the spread and hit the Bid. Once buy limit orders at that tier are consumed, price ticks down.

Resting Liquidity

Limit orders create resistance to price movement. Thick order books require monumental volume to move; thin books suffer extreme volatility & slippage.

Step-by-Step: The Birth of a Candlestick

A single candlestick represents transactions within a fixed timeframe (e.g., 5-min, 1-hour, or Daily). Witness how dynamic order flow sculpts the body, the extremes, and the wicks.

STAGE VISUALIZATION
STAGE 1 / 5
$105.00 (High) $100.00 (Open) $95.00 (Close) $90.00 (Low)
OPEN $100.00
HIGH $100.00
LOW $100.00
CLOSE $100.00
Genesis of the Period

Stage 1: Opening Tick Sets the Anchor (Open)

The new time period (e.g., 9:30:00 AM) begins. The very first transaction matched between a buyer and a seller is recorded at $100.00. At this initial millisecond, Open = High = Low = Close. The candle is simply a horizontal tick mark with zero height.

Underlying Micro-Auction Mechanism:

- Best Bid: $99.98 | Best Ask: $100.00
- A market buy order for 50 contracts instantly clears the lowest seller on the book.
- Last traded price is stamped as $100.00. The candle benchmark is initiated.

REAL-TIME DOUBLE AUCTION ENGINE

Interactive Matching Engine & Live Candlestick

Test how different market orders consume limit orders on the book in real time. Watch how order depth resistance shapes the candle's body, wicks, and spread.

Order Book Depth (L2) Total Vol: 1,420
Price ($) Size (Qty) Depth %
Spread: $0.50 Market: BALANCED
Micro-Mechanic: Market buys take contracts away from the lowest Ask. When that row reaches 0, price climbs!
Live Price Action Canvas $100.00
Bar Timer: 00:42
$100.00
OPEN $100.00
HIGH $100.00
LOW $100.00
LAST $100.00
Execution Controls
Matching Engine Log Auto-scrolling
[System] Order matching engine initialized.
[Tick] Base liquidity deployed across 8 depth tiers.
Zero slippage only exists in textbooks.
PARTICIPANT TAXONOMY

Who is Really Pulling the Strings?

Prices fluctuate because four distinct market segments interact with conflicting incentives, varied capital sizes, and disparate time horizons.

Non-Directional

1. Market Makers & Liquidity Providers

Firms like Citadel, Virtu, and Flow Traders. They are rarely gambling on direction; their goal is to capture the bid-ask spread thousands of times per minute while maintaining delta-neutral inventory.

Impact on Candlestick:
- They establish the limits (walls) that prevent runaway gap volatility.
- When high-impact news occurs, MMs widen quotes or pull liquidity, triggering sudden massive expansion candles.
Heavy Capital

2. Institutional Whales & Smart Money

Hedge funds, sovereign wealth funds, and mutual funds moving hundreds of millions. Because of their gigantic footprint, they cannot click "Market Buy" without causing catastrophic slippage against themselves.

Impact on Candlestick:
- Execute slicing algorithms (TWAP / VWAP) creating steady micro-absorption.
- Engineer liquidity runs into clusters of retail stop orders to fill size.
Sub-Millisecond

3. High-Frequency Trading (HFT) Bots

Colocated automated systems operating on microsecond latency. They exploit micro-discrepancies between exchanges, index futures vs ETF baskets, and order queue prioritization.

Impact on Candlestick:
- Produce microscopic micro-wicks through cross-venue triangular arbitrage.
- Rapid cancellation rates (90%+ of orders canceled in fractions of a second).
Exit Liquidity

4. Retail Traders & Herd Sentiment

Individual day traders and crypto speculators. Driven heavily by FOMO, panic, chart patterns, and YouTube indicators. Their stop-loss orders are often predictably bunched together.

Impact on Candlestick:
- Provide the counterpart liquidity for institutions to exit their winners.
- Stop-loss cascading triggers sudden vicious blow-off tops and bottom flushes.
Case Study Walkthrough

The Mechanics of a "Liquidity Sweep" (The Reason Wicks Exist)

Ever wonder why price spikes just beyond an obvious support line, stops you out to the exact cent, and instantly shoots the other way? Here is the exact order book dynamic that creates that long rejection wick.

1 Retail Setup

Support Level Established

Retail technical analysis books teach traders to buy at support ($100) and place protective Stop-Loss orders immediately below ($99.40). A Stop-Loss on a long is a Market Sell Order.

2 Institutional Push

The Deliberate Push

An institution wanting to buy 100,000 shares needs sellers. They sell a minor 5,000 shares to nudge price through $99.40. This triggers hundreds of retail market sell stops simultaneously.

3 Absorption Wick

The Giant Absorption

The whale places large limit buy orders at $99.20-$99.40, happily soaking up the flood of panic retail sell orders. With sellers exhausted, price recoils back up to $101.00, leaving a long lower shadow (hammer wick).

Candlestick Pattern X-Ray & Auction Glossary

Select any classical pattern to reveal the true auction forces and order book battles occurring inside the candle.

Hammer
Bullish Reversal Signal

Order-Flow Breakdown: The Hammer

Sellers entered with immense strength early in the period, driving the asset down to make a new low. However, at the extreme bottom, aggressive limit buy orders absorbed the inventory. The aggressive sellers were trapped as buyers re-bid the market all the way back up to close near the high.

WHO WON THE DELTA? +48,200 Buy Delta (Absorption)
PROBABLE NEXT MOVE Short covering rally upwards

Continuous Auction Glossary

Search essential terms explaining the mechanics of price variation.