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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。