OPEN-SOURCE SCRIPT
Bias Engine ICT Concept

Bias Engine - ICT Concept
Bias Engine is a market context tool built around ICT (Inner Circle
Trader) methodology. It reads directional bias, identifies draw
targets, and tracks key liquidity levels across multiple timeframes all displayed in a single compact panel.
Most ICT traders manage 4 to 6 separate tools to get the same
picture. This indicator consolidates that context into one place.
WEEKLY AND DAILY LEVELS
Tracks the previous week high/low (PWH/PWL) and previous day
high/low (PDH/PDL) with real-time status for each level:
The weekly range box and equilibrium midpoint (EQ) are drawn on
the chart for quick visual reference.
FVG AND VOLUME IMBALANCE DETECTION
Detects four zone types on the chart:
it converts to an IFVG (Inverse FVG) reference. Zone lookback
scales automatically by timeframe or can be set manually.
MULTI-TIMEFRAME STRUCTURE
Scans four timeframes simultaneously (4H / 1H / 30M / 15M) for:
confluence count (e.g. 3/4 or 4/4 in agreement) feeds directly
into the confidence score shown in the panel.
BIAS ENGINE
The core engine evaluates directional bias using FVG-to-FVG path
logic. It identifies which zone price is drawing from and which
zone it is likely delivering toward next.
DELIVERY
PANEL MODES
Pro Mode: full output including delivery, confluence, structure,
draw targets, and position context.
Beginner Mode: simplified view showing session countdown, key
levels (Week High/Low, Day High/Low), and plain-language position
labels. The bias engine still runs in the background.
HOW TO USE
Recommended timeframes: 15M or 1H for intraday execution context.
This indicator does not generate buy or sell signals. It provides
market context for traders to form their own analysis.
SETTINGS
Display
Bias Engine is open source under CC BY-NC-SA 4.0 and is intended for educational purposes only. Nothing in this script constitutes financial advice or a recommendation to buy or sell any instrument.
The indicator works on any instrument available on TradingView and is primarily optimized for forex majors, gold (XAUUSD), and major indices.
Zone lookback is anchored to bar index rather than timestamps, which means the indicator behaves correctly in TradingView replay mode regardless of which historical period you replay to.
Despite scanning four timeframes for market structure, the script uses only one request.security() call for the weekly ATR. All other multi-timeframe logic runs within the same security context, keeping the indicator lightweight relative to its feature set.
Bias Engine is a market context tool built around ICT (Inner Circle
Trader) methodology. It reads directional bias, identifies draw
targets, and tracks key liquidity levels across multiple timeframes all displayed in a single compact panel.
Most ICT traders manage 4 to 6 separate tools to get the same
picture. This indicator consolidates that context into one place.
WEEKLY AND DAILY LEVELS
Tracks the previous week high/low (PWH/PWL) and previous day
high/low (PDH/PDL) with real-time status for each level:
- Active: level is intact, not yet tested
- Sweep: price ran through and closed back inside
- Delivering: price broke and is moving toward the next FVG
- Liq Grab: price broke without a draw target on the other side
The weekly range box and equilibrium midpoint (EQ) are drawn on
the chart for quick visual reference.
FVG AND VOLUME IMBALANCE DETECTION
Detects four zone types on the chart:
- BISI (Bullish FVG): three-candle gap, price leaving upward
- SIBI (Bearish FVG): three-candle gap, price leaving downward
- VI+ (Volume Imbalance, bullish)
- VI- (Volume Imbalance, bearish)
it converts to an IFVG (Inverse FVG) reference. Zone lookback
scales automatically by timeframe or can be set manually.
MULTI-TIMEFRAME STRUCTURE
Scans four timeframes simultaneously (4H / 1H / 30M / 15M) for:
- BOS (Break of Structure)
- CHoCH (Change of Character)
- MSS (Market Structure Shift)
- MSS + IFVG confluence
confluence count (e.g. 3/4 or 4/4 in agreement) feeds directly
into the confidence score shown in the panel.
BIAS ENGINE
The core engine evaluates directional bias using FVG-to-FVG path
logic. It identifies which zone price is drawing from and which
zone it is likely delivering toward next.
DELIVERY
- Direction: Buyside Delivery or Sellside Delivery
- Confidence: High / Medium / Low
- Drawing To: the most likely next price target
- Structure: MSS / CHoCH / BOS with MTF alignment
- MTF agreement across 4H / 1H / 30M / 15M (checkmarks)
- Reason: plain-language explanation of the bias logic
- Fill First: nearest opposing zone to rebalance before target
- Next Target: closest zone in the direction of bias
- Whether price is in Discount or Premium relative to weekly EQ
- Real-time FVG context if price is currently inside a zone
- Active killzone and countdown, or next session and time until open
PANEL MODES
Pro Mode: full output including delivery, confluence, structure,
draw targets, and position context.
Beginner Mode: simplified view showing session countdown, key
levels (Week High/Low, Day High/Low), and plain-language position
labels. The bias engine still runs in the background.
HOW TO USE
Recommended timeframes: 15M or 1H for intraday execution context.
- Step 1 - Check DELIVERY. This is the current bias direction and how confident the engine is in that read.
- Step 2 - Check DRAWING TO. This is the most probable target price is moving toward. It prioritizes zones beyond the weekly range over intra-range targets.
- Step 3 - Check STRUCTURE. Confirms whether a valid MSS or BOS supports the bias. MSS + IFVG is the highest confluence signal.
- Step 4 - Check POSITION. Confirms whether price is at a logical area to enter relative to the weekly equilibrium.
This indicator does not generate buy or sell signals. It provides
market context for traders to form their own analysis.
SETTINGS
Display
- Panel Mode: Pro / Beginner
- Panel Position: 6 options
- Chart Theme: Dark / Light
- Panel Size: Tiny / Small / Normal
- Timezone: Auto DST / Manual UTC-4 / Manual UTC-5
- Show Weekly Range (PWH/PWL) with previous week option
- Show Daily Range (PDH/PDL)
- Show FVG / VI Boxes
- Show Unmitigated Zones
- Show Mitigated Zones (IFVG)
- Zone Lookback: Auto (scales by timeframe) or Manual (30-2000)
- BISI, SIBI, VI+, VI- colors: fully customizable
Bias Engine is open source under CC BY-NC-SA 4.0 and is intended for educational purposes only. Nothing in this script constitutes financial advice or a recommendation to buy or sell any instrument.
The indicator works on any instrument available on TradingView and is primarily optimized for forex majors, gold (XAUUSD), and major indices.
Zone lookback is anchored to bar index rather than timestamps, which means the indicator behaves correctly in TradingView replay mode regardless of which historical period you replay to.
Despite scanning four timeframes for market structure, the script uses only one request.security() call for the weekly ATR. All other multi-timeframe logic runs within the same security context, keeping the indicator lightweight relative to its feature set.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.