OPEN-SOURCE SCRIPT
ICT HTF/BIAS

ICT HTF/BIAS — Full Guide
What this indicator does
ICT HTF/BIAS plots multi-timeframe ICT PD Arrays (FVGs + Order Blocks) and provides a compact bias table that helps you quickly determine directional context across your selected timeframes.
It is designed to stay simple, readable, and ICT-based, while avoiding misleading signals.
Key features
1) ICT PD Arrays included
FVG (Fair Value Gap): classic ICT 3-candle imbalance (gap).
Order Blocks (OB): detected via BOS logic + pivot structure, then searching back for the last opposite candle as the OB anchor.
2) HTF confirmed zones (non-misleading behavior)
Zones are added only on the HTF close (confirmed higher timeframe bar).
This avoids “in-progress HTF candle” noise and reduces false/temporary zones.
3) SHOW vs CALC (decoupled by design)
Each TF has two independent depth controls:
Max SHOW = how many zones you want to draw on the chart (keep your chart clean).
Max CALC = how many zones the table/bias is allowed to analyze (keep your bias logic robust).
This prevents a common problem: changing how many boxes you display changes your bias output.
In this script, your bias can remain stable even if you hide most boxes.
4) Compact Bias Table (fast read)
The table shows:
FVG status: IN / OUT / N/A
OB status: IN / OUT / N/A
BIAS: ↑ / ↓ / “-”
GLOBAL bias: weighted across TF1..TF4
How to read the bias
Per-Timeframe Bias rules (ICT-based, simple)
For each timeframe:
If price is IN an OB (within CALC depth) → bias = OB direction
Else if price is IN a FVG (within CALC depth) → bias = FVG direction
Else fallback to the most recent direction (OB preferred, otherwise FVG)
GLOBAL bias (weighted)
The GLOBAL row uses a weighted sum:
TF1 weight = 1
TF2 weight = 2
TF3 weight = 3
TF4 weight = 4
Score > 0 → bullish global bias
Score < 0 → bearish global bias
Score = 0 → neutral
Chart TF “Guard” (prevents false LTF readings)
TradingView has limitations when requesting very low TF data from a much higher chart timeframe.
To avoid showing incorrect LTF (1m/5m/15m) statuses when you’re on a high chart TF, the script can display a small warning banner and treat certain LTF rows as N/A when appropriate.
Purpose: never show false information.
Recommended usage (most user friendly)
Step 1 — Choose your “Entry TF”
As a rule of thumb (ICT):
The lowest TF in your set should match your entry timeframe, or be close to it.
Examples:
Intraday / Scalping
TF1=1m, TF2=5m, TF3=15m, TF4=1H
(Use chart TF 1m–15m for best LTF accuracy.)
Higher timeframe trading
TF1=1H, TF2=4H, TF3=1D, TF4=1W
(Then you naturally don’t care about 1m/5m.)
Step 2 — Keep your chart clean with SHOW vs CALC
A practical approach:
Max SHOW: 1–2 (clean chart)
Max CALC: 3–10 (more stable bias/table logic)
Main settings (quick explanation)
Timeframes (Rows)
Enable TFx: enable/disable each row timeframe
Show Boxes TFx: show/hide zones for that timeframe
Max SHOW / Max CALC
Max SHOW FVG / OB: visual draw limit
Max CALC FVG / OB: depth used by table and bias
Box Width (Per TF)
HTF bars: width scales by HTF size
Chart bars: fixed width in chart bars
OB Logic
Pivot length (BOS): higher = stricter / fewer OBs
OB lookback: how many HTF bars to search for the OB anchor candle
Notes / limitations
This is a context + confluence tool, not a “signal generator.”
LTF accuracy depends on chart TF; the Guard exists specifically to prevent misleading outputs.
One-line summary
ICT HTF/BIAS: multi-TF ICT PD Arrays + a clean bias table with SHOW vs CALC separation, so you can keep charts minimal while keeping bias logic consistent.
What this indicator does
ICT HTF/BIAS plots multi-timeframe ICT PD Arrays (FVGs + Order Blocks) and provides a compact bias table that helps you quickly determine directional context across your selected timeframes.
It is designed to stay simple, readable, and ICT-based, while avoiding misleading signals.
Key features
1) ICT PD Arrays included
FVG (Fair Value Gap): classic ICT 3-candle imbalance (gap).
Order Blocks (OB): detected via BOS logic + pivot structure, then searching back for the last opposite candle as the OB anchor.
2) HTF confirmed zones (non-misleading behavior)
Zones are added only on the HTF close (confirmed higher timeframe bar).
This avoids “in-progress HTF candle” noise and reduces false/temporary zones.
3) SHOW vs CALC (decoupled by design)
Each TF has two independent depth controls:
Max SHOW = how many zones you want to draw on the chart (keep your chart clean).
Max CALC = how many zones the table/bias is allowed to analyze (keep your bias logic robust).
This prevents a common problem: changing how many boxes you display changes your bias output.
In this script, your bias can remain stable even if you hide most boxes.
4) Compact Bias Table (fast read)
The table shows:
FVG status: IN / OUT / N/A
OB status: IN / OUT / N/A
BIAS: ↑ / ↓ / “-”
GLOBAL bias: weighted across TF1..TF4
How to read the bias
Per-Timeframe Bias rules (ICT-based, simple)
For each timeframe:
If price is IN an OB (within CALC depth) → bias = OB direction
Else if price is IN a FVG (within CALC depth) → bias = FVG direction
Else fallback to the most recent direction (OB preferred, otherwise FVG)
GLOBAL bias (weighted)
The GLOBAL row uses a weighted sum:
TF1 weight = 1
TF2 weight = 2
TF3 weight = 3
TF4 weight = 4
Score > 0 → bullish global bias
Score < 0 → bearish global bias
Score = 0 → neutral
Chart TF “Guard” (prevents false LTF readings)
TradingView has limitations when requesting very low TF data from a much higher chart timeframe.
To avoid showing incorrect LTF (1m/5m/15m) statuses when you’re on a high chart TF, the script can display a small warning banner and treat certain LTF rows as N/A when appropriate.
Purpose: never show false information.
Recommended usage (most user friendly)
Step 1 — Choose your “Entry TF”
As a rule of thumb (ICT):
The lowest TF in your set should match your entry timeframe, or be close to it.
Examples:
Intraday / Scalping
TF1=1m, TF2=5m, TF3=15m, TF4=1H
(Use chart TF 1m–15m for best LTF accuracy.)
Higher timeframe trading
TF1=1H, TF2=4H, TF3=1D, TF4=1W
(Then you naturally don’t care about 1m/5m.)
Step 2 — Keep your chart clean with SHOW vs CALC
A practical approach:
Max SHOW: 1–2 (clean chart)
Max CALC: 3–10 (more stable bias/table logic)
Main settings (quick explanation)
Timeframes (Rows)
Enable TFx: enable/disable each row timeframe
Show Boxes TFx: show/hide zones for that timeframe
Max SHOW / Max CALC
Max SHOW FVG / OB: visual draw limit
Max CALC FVG / OB: depth used by table and bias
Box Width (Per TF)
HTF bars: width scales by HTF size
Chart bars: fixed width in chart bars
OB Logic
Pivot length (BOS): higher = stricter / fewer OBs
OB lookback: how many HTF bars to search for the OB anchor candle
Notes / limitations
This is a context + confluence tool, not a “signal generator.”
LTF accuracy depends on chart TF; the Guard exists specifically to prevent misleading outputs.
One-line summary
ICT HTF/BIAS: multi-TF ICT PD Arrays + a clean bias table with SHOW vs CALC separation, so you can keep charts minimal while keeping bias logic consistent.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.