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. اقرأ المزيد في شروط الاستخدام.