PROTECTED SOURCE SCRIPT
Bias Analyzer

Bias Analyzer – Institutional Bias Scoring Tool
The Bias Analyzer combines multiple institutional trading concepts into a single adaptive scoring system. It calculates a directional bias score (0–100) by weighting volume, trend, structure, VWAP/imbalance, and momentum.
🔹 Main Features
Volume Bias → cumulative buy/sell pressure (customizable lookback)
Trend Bias → based on short-term moving average confirmation
Structure Bias → swing high/low detection with ATR filter
VWAP / Imbalance Bias → price relation to VWAP
Momentum Factor → adaptive impulse weighting
Final Bias Score → combined & volatility-adjusted (0–100 scale)
Flip Markers → optional EMA dots when bias changes
Bias Widget → on-chart display with long/short percentage and multiple style presets (Classic, Dark, Neon, Terminal, Gold, Midnight, Purple, etc.)
Custom Mode → fully user-defined widget colors
🔹 Use Case
This tool helps traders to quickly identify the institutional directional bias of the market.
It is designed as a decision-support indicator and not as an automated trading system.
© 2025 Project Pegasus
The Bias Analyzer combines multiple institutional trading concepts into a single adaptive scoring system. It calculates a directional bias score (0–100) by weighting volume, trend, structure, VWAP/imbalance, and momentum.
🔹 Main Features
Volume Bias → cumulative buy/sell pressure (customizable lookback)
Trend Bias → based on short-term moving average confirmation
Structure Bias → swing high/low detection with ATR filter
VWAP / Imbalance Bias → price relation to VWAP
Momentum Factor → adaptive impulse weighting
Final Bias Score → combined & volatility-adjusted (0–100 scale)
Flip Markers → optional EMA dots when bias changes
Bias Widget → on-chart display with long/short percentage and multiple style presets (Classic, Dark, Neon, Terminal, Gold, Midnight, Purple, etc.)
Custom Mode → fully user-defined widget colors
🔹 Use Case
This tool helps traders to quickly identify the institutional directional bias of the market.
It is designed as a decision-support indicator and not as an automated trading system.
© 2025 Project Pegasus
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.