← Back to Home
Trading Strategy
🧱

Order Blocks Strategy

Identify the candles where institutions loaded their positions.

Start Automating Free β†’

Want to automate this strategy? Try auto-Trading free β€” no credit card required.

Order Blocks Strategy chart

Overview

What is Order Blocks Strategy?

An Order Block (OB) is the last bearish candle before a bullish impulse move, or the last bullish candle before a bearish impulse move. The logic is that large institutions must execute their orders over time and often return to the price zone where they began their initial entry to add to or complete their position.

Bullish order blocks form when price makes a significant upward move: the last down-close candle before the impulse becomes the bullish OB. When price returns to that zone, institutional buyers are expected to re-enter, creating a support reaction. Bearish OBs work in reverse.

The strength of an OB increases when it is also coincident with a Fair Value Gap or when the move away from it was highly impulsive (large candles, expanding ranges, high volume). An OB that has been "mitigated" β€” meaning price has already returned and traded through it β€” is no longer valid and should be removed from analysis.

Order blocks are best used on higher timeframes (1H, 4H, Daily) to define the directional bias, then drill into lower timeframes (15M, 5M) to find precise entries within the OB zone. The stop-loss is placed just beyond the OB, providing a tight risk-to-reward ratio.

How It Works in auto-Trading

Automate It

auto-Trading's order block detector scans for the last opposite-direction candle before a qualifying impulsive move. A qualifying move is defined as a move of at least N times the ATR that also creates a Break of Structure. The detected OB zone is stored and monitored; when price re-enters the zone, a signal is issued. Position size is calculated automatically based on the zone width and your configured risk percentage.

Try Free β†’

Strategy Code

Pick a script below, copy it, and use it on your chart.

Pine Script (TradingView)

This is a TradingView Pine Script strategy example for this page concept. Paste it into the TradingView Pine Editor, add it to your chart, and run it in the Strategy Tester.

//@version=6
strategy("Order Blocks Strategy", overlay=true)
emaFast = ta.ema(close, 20)
emaSlow = ta.ema(close, 50)
bullStructure = close > emaFast and emaFast > emaSlow

Get full strategy code access

Enter your email address and full name to unlock this strategy code.

ThinkScript (thinkorswim)

This is a thinkorswim ThinkScript strategy example for this page concept. Open thinkorswim, create a custom strategy, paste the script, and apply it to your chart.

def fast = ExpAverage(close, 20);
def slow = ExpAverage(close, 50);
def liquidityGrab = low < Lowest(low, 10)[1] and close > open;
def buySignal = close > fast and fast > slow and liquidityGrab;
def sellSignal = close < fast;

Get full strategy code access

Enter your email address and full name to unlock this strategy code.

Ready to automate Order Blocks Strategy?

Join thousands of traders who use auto-Trading to execute this strategy automatically, 24/7.

Get Started Free β†’

All Strategies & Signals

Continue Learning

Trading Strategies

Trading Signals & Indicators