OPEN-SOURCE SCRIPT

Gap + Order Blocks

225
1️⃣ What the script does:
A. Price Gaps:
Detects a candle whose low is higher than the previous candle’s high → Bullish Gap.
Detects a candle whose high is lower than the previous candle’s low → Bearish Gap.
Users can choose:
Limited Extension: the rectangle only spans a set number of candles.
Infinite Extension: the rectangle automatically extends to the end of the chart.
B. Order Blocks (simplified version):
Bullish OB: the last bearish candle before a strong upward move.
Bearish OB: the last bullish candle before a strong downward move.
Drawn as colored rectangles for easy visualization of potential buy/sell zones.
2️⃣ Benefits of the script:
All gaps and OBs are drawn automatically on the chart.
Customizable colors for quick recognition of different zones.
Full control over gap extensions and OB length.
Suitable for both beginner and advanced traders.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.