OPEN-SOURCE SCRIPT
StO Price Action - Orderblock

Short Summary
- Displays bullish and bearish Order Blocks on the chart
- Highlights active, mitigated, and tapped Order Blocks
- Designed for structure- and price-action-based trading
Full Description
Overview
Identifies Order Blocks using pivot-based market structure
Bullish Order Blocks originate from down candles before impulsive moves up
Bearish Order Blocks originate from up candles before impulsive moves down
Order Blocks are visualized as price zones with optional fill and borders
Mitigated Order Blocks can be kept visible as historical context
Consequent Encroachment (CE) line marks the 50% level of the block
Handling
Multi-timeframe capable Order Block detection
Clear visual distinction between bullish and bearish zones
Optional highlighting when price taps an Order Block
Supports clean chart layouts with customizable colors and styles
Designed to work with discretionary and systematic approaches
Usage
Select the timeframe used for Order Block detection
Adjust pivot lookback to control sensitivity
Enable or disable historical (mitigated) Order Blocks
Use highlight-on-touch to spot active interactions
Apply filters such as minimum body size, ATR displacement or EMA trend
Notes
Order Blocks do not predict direction, they mark areas of interest
Once detected, Order Blocks remain static and do not repaint
Higher pivot lengths produce fewer but stronger Order Blocks
ATR and body-percentage filters reduce noise in ranging markets
Best combined with market structure, liquidity or entry confirmation tools
- Displays bullish and bearish Order Blocks on the chart
- Highlights active, mitigated, and tapped Order Blocks
- Designed for structure- and price-action-based trading
Full Description
Overview
Identifies Order Blocks using pivot-based market structure
Bullish Order Blocks originate from down candles before impulsive moves up
Bearish Order Blocks originate from up candles before impulsive moves down
Order Blocks are visualized as price zones with optional fill and borders
Mitigated Order Blocks can be kept visible as historical context
Consequent Encroachment (CE) line marks the 50% level of the block
Handling
Multi-timeframe capable Order Block detection
Clear visual distinction between bullish and bearish zones
Optional highlighting when price taps an Order Block
Supports clean chart layouts with customizable colors and styles
Designed to work with discretionary and systematic approaches
Usage
Select the timeframe used for Order Block detection
Adjust pivot lookback to control sensitivity
Enable or disable historical (mitigated) Order Blocks
Use highlight-on-touch to spot active interactions
Apply filters such as minimum body size, ATR displacement or EMA trend
Notes
Order Blocks do not predict direction, they mark areas of interest
Once detected, Order Blocks remain static and do not repaint
Higher pivot lengths produce fewer but stronger Order Blocks
ATR and body-percentage filters reduce noise in ranging markets
Best combined with market structure, liquidity or entry confirmation tools
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.