PROTECTED SOURCE SCRIPT
stelaraX - Order Blocks

stelaraX – Order Blocks
stelaraX – Order Blocks is a price-structure indicator designed to highlight potential institutional supply and demand zones based on impulse behavior. It detects the last opposing candle before a strong directional move and marks that candle range as an Order Block zone for future reaction or mitigation.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com
Core logic
The script identifies bullish and bearish order blocks by searching for an initiating candle followed by a configurable sequence of strong continuation candles.
Key principles:
* bullish order blocks are detected as the last bearish candle before a strong upward impulse
* bearish order blocks are detected as the last bullish candle before a strong downward impulse
* impulse strength is defined by a user-set number of consecutive candles (“strength”)
* continuation candles must close beyond the initiating candle’s key level
* when detected, a box is drawn using the initiating candle’s high/low range
* zones extend forward for contextual tracking and potential retests
This logic is intended to capture simple, rule-based demand and supply zones from price action structure.
Visualization
The script plots:
* colored order block boxes directly on the price chart
* separate colors for bullish and bearish order blocks
* forward extension of each zone for retest monitoring
* “OB” labels at the originating candle location
* alert conditions for bullish and bearish order block detection
This creates a clean SMC-style overlay to visualize potential reaction areas.
Use case
This indicator is intended for:
* mapping demand and supply zones from impulse structure
* identifying potential mitigation and retracement levels
* supporting Smart Money Concepts (SMC) workflows
* structuring entries near defined order block ranges
* combining with market structure, liquidity, and imbalance tools
It works best as a contextual tool and should be combined with confirmation logic and risk management.
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX – Order Blocks is a price-structure indicator designed to highlight potential institutional supply and demand zones based on impulse behavior. It detects the last opposing candle before a strong directional move and marks that candle range as an Order Block zone for future reaction or mitigation.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com
Core logic
The script identifies bullish and bearish order blocks by searching for an initiating candle followed by a configurable sequence of strong continuation candles.
Key principles:
* bullish order blocks are detected as the last bearish candle before a strong upward impulse
* bearish order blocks are detected as the last bullish candle before a strong downward impulse
* impulse strength is defined by a user-set number of consecutive candles (“strength”)
* continuation candles must close beyond the initiating candle’s key level
* when detected, a box is drawn using the initiating candle’s high/low range
* zones extend forward for contextual tracking and potential retests
This logic is intended to capture simple, rule-based demand and supply zones from price action structure.
Visualization
The script plots:
* colored order block boxes directly on the price chart
* separate colors for bullish and bearish order blocks
* forward extension of each zone for retest monitoring
* “OB” labels at the originating candle location
* alert conditions for bullish and bearish order block detection
This creates a clean SMC-style overlay to visualize potential reaction areas.
Use case
This indicator is intended for:
* mapping demand and supply zones from impulse structure
* identifying potential mitigation and retracement levels
* supporting Smart Money Concepts (SMC) workflows
* structuring entries near defined order block ranges
* combining with market structure, liquidity, and imbalance tools
It works best as a contextual tool and should be combined with confirmation logic and risk management.
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。