OPEN-SOURCE SCRIPT
Bias Hunter v1.1

Bias Hunter v1.1 ... Pre-Session Bias Checklist Dashboard
Description:
Bias Hunter is a pre-session bias checklist for day traders. It condenses the routine "where are we?" questions you'd normally check by hand before a session into one dashboard, scores each factor +1 (bullish), -1 (bearish), or 0 (neutral), and shows a running tally.
It deliberately gives no LONG/SHORT verdict. The tally summarizes confluence; the trading decision stays yours.
WHAT IT CHECKS
Directional factors (each +1 / -1 / 0):
Daily open ... price above or below today's open
Prior day H/L ... above prior day high, inside the range, or below prior day low
Weekly open ... price above or below this week's open
EMA20 Daily ... price above or below the daily EMA
EMA20 4H ... price above or below the 4H EMA
VWAP ... price above or below session VWAP
RSI (regime-aware) ... in trending conditions (ADX ≥ 17) RSI above/below 50 reads as momentum. In choppy conditions it flips to mean-reversion mode and only votes at the extremes (below 30 bullish, above 70 bearish), marked "MR" on the dashboard
Prior 4H candle ... direction of the last completed 4H candle
Prior Daily candle ... direction of the last completed daily candle
Market structure ... HH/HL or LH/LL from the last confirmed pivots on Daily or 4H (selectable)
Context rows (shown but not counted in the tally):
ADX ... selectable timeframe (30m / 1H / 4H, default 1H for day trading). Green ≥ 25 (trending), yellow 17-25, white below, plus a CHOP flag under 15
Volume ... current bar volume vs its 20-bar average
TALLY
The bottom row sums all directional factors (range -10 to +10). Strong positive = broad bullish confluence, strong negative = broad bearish confluence, near zero = mixed conditions or chop.
Note: several factors are correlated by design (a strong trend day aligns most of them). A high tally means "everything agrees", not "high probability". Combine with your own entry framework.
NON-REPAINTING BY DESIGN
All higher-timeframe data pulled with lookahead off
EMAs, ADX, RSI regime, candles, and pivots use confirmed bars only
Factor states update on confirmed chart bars, so the tally does not flicker intrabar
Pivots confirm after the pivot length elapses ... structure is honest but reacts with a delay. That is the price of no repaint
SETTINGS
Structure timeframe (D or 4H) and pivot length
EMA, RSI, ADX, volume-average lengths
ADX timeframe (30m / 1H / 4H)
Dashboard position and text size
Works on any symbol and any chart timeframe ... built and tested on gold, indices, and crypto.
Part of the Hunters Trades indicator suite. Feedback welcome.
Description:
Bias Hunter is a pre-session bias checklist for day traders. It condenses the routine "where are we?" questions you'd normally check by hand before a session into one dashboard, scores each factor +1 (bullish), -1 (bearish), or 0 (neutral), and shows a running tally.
It deliberately gives no LONG/SHORT verdict. The tally summarizes confluence; the trading decision stays yours.
WHAT IT CHECKS
Directional factors (each +1 / -1 / 0):
Daily open ... price above or below today's open
Prior day H/L ... above prior day high, inside the range, or below prior day low
Weekly open ... price above or below this week's open
EMA20 Daily ... price above or below the daily EMA
EMA20 4H ... price above or below the 4H EMA
VWAP ... price above or below session VWAP
RSI (regime-aware) ... in trending conditions (ADX ≥ 17) RSI above/below 50 reads as momentum. In choppy conditions it flips to mean-reversion mode and only votes at the extremes (below 30 bullish, above 70 bearish), marked "MR" on the dashboard
Prior 4H candle ... direction of the last completed 4H candle
Prior Daily candle ... direction of the last completed daily candle
Market structure ... HH/HL or LH/LL from the last confirmed pivots on Daily or 4H (selectable)
Context rows (shown but not counted in the tally):
ADX ... selectable timeframe (30m / 1H / 4H, default 1H for day trading). Green ≥ 25 (trending), yellow 17-25, white below, plus a CHOP flag under 15
Volume ... current bar volume vs its 20-bar average
TALLY
The bottom row sums all directional factors (range -10 to +10). Strong positive = broad bullish confluence, strong negative = broad bearish confluence, near zero = mixed conditions or chop.
Note: several factors are correlated by design (a strong trend day aligns most of them). A high tally means "everything agrees", not "high probability". Combine with your own entry framework.
NON-REPAINTING BY DESIGN
All higher-timeframe data pulled with lookahead off
EMAs, ADX, RSI regime, candles, and pivots use confirmed bars only
Factor states update on confirmed chart bars, so the tally does not flicker intrabar
Pivots confirm after the pivot length elapses ... structure is honest but reacts with a delay. That is the price of no repaint
SETTINGS
Structure timeframe (D or 4H) and pivot length
EMA, RSI, ADX, volume-average lengths
ADX timeframe (30m / 1H / 4H)
Dashboard position and text size
Works on any symbol and any chart timeframe ... built and tested on gold, indices, and crypto.
Part of the Hunters Trades indicator suite. Feedback welcome.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。