OPEN-SOURCE SCRIPT
SMC: Multi-TF Bias & HTF BOS with Sessions

Overview
The HTF BOS (Session) - Precision Lines is a comprehensive trading tool designed for Smart Money Concepts (SMC) and price action traders. It identifies Higher Timeframe (HTF) Break of Structure (BOS) levels while filtering them based on specific trading sessions. Additionally, it features a built-in Bias Dashboard that tracks trend alignment across three different timeframes to help you stay on the right side of the market.
Key Features
1. Precision HTF BOS Tracking
Unlike standard indicators that only mark the breakout candle, this script uses high-precision pivot detection to identify the exact origin of a structural high or low.
Tam Yapışık Çizgiler (Precise Lines): The BOS lines are drawn exactly from the pivot point to the breakout point, providing a clean and professional look on your chart.
HTF Integration: You can track structure from a higher timeframe (e.g., 4H) while trading on a lower timeframe (e.g., 15m or 5m).
2. Session Filtering (Time Sensitivity)
Structural breaks are most reliable when they happen during high-volume periods.
The script includes a Session Filter (London & New York).
If enabled, the indicator will only plot BOS levels that occur during your specified trading hours, helping you avoid "fake-outs" or noise during low-liquidity periods (Asian session/After-hours).
3. Multi-Timeframe Bias Dashboard
Stay aware of the "Big Picture" without constantly switching charts. The dashboard monitors three custom timeframes (e.g., Daily, 4H, 1H) and determines if the structure is Bullish or Bearish.
Strong Buy/Sell Signals: When all three timeframes align, the status cell highlights as "BUY" or "SELL."
Wait Status: If timeframes are in conflict, the dashboard suggests "WAIT," encouraging disciplined trading.
How to Use
Define Your Bias: Set your three Bias Timeframes in the settings to match your higher-level strategy.
Set Your BOS TF: Choose the timeframe you want structural breaks to be calculated from (usually one or two steps above your entry chart).
Adjust Sensitivity: Use the "Pivot Sensitivity" setting to filter between minor and major structural points.
Confirm with Session: Enable the session filter to ensure you are only trading breaks that occur during the NY or London sessions.
Settings
Bias Dashboard Settings: Customize the TFs and pivot sensitivity for trend analysis.
BOS & Session Settings: Set your target HTF for drawings and define your trading window (NY Timezone supported).
Visual Settings: Full control over colors (Bullish/Bearish), table positioning, and text sizes.
The HTF BOS (Session) - Precision Lines is a comprehensive trading tool designed for Smart Money Concepts (SMC) and price action traders. It identifies Higher Timeframe (HTF) Break of Structure (BOS) levels while filtering them based on specific trading sessions. Additionally, it features a built-in Bias Dashboard that tracks trend alignment across three different timeframes to help you stay on the right side of the market.
Key Features
1. Precision HTF BOS Tracking
Unlike standard indicators that only mark the breakout candle, this script uses high-precision pivot detection to identify the exact origin of a structural high or low.
Tam Yapışık Çizgiler (Precise Lines): The BOS lines are drawn exactly from the pivot point to the breakout point, providing a clean and professional look on your chart.
HTF Integration: You can track structure from a higher timeframe (e.g., 4H) while trading on a lower timeframe (e.g., 15m or 5m).
2. Session Filtering (Time Sensitivity)
Structural breaks are most reliable when they happen during high-volume periods.
The script includes a Session Filter (London & New York).
If enabled, the indicator will only plot BOS levels that occur during your specified trading hours, helping you avoid "fake-outs" or noise during low-liquidity periods (Asian session/After-hours).
3. Multi-Timeframe Bias Dashboard
Stay aware of the "Big Picture" without constantly switching charts. The dashboard monitors three custom timeframes (e.g., Daily, 4H, 1H) and determines if the structure is Bullish or Bearish.
Strong Buy/Sell Signals: When all three timeframes align, the status cell highlights as "BUY" or "SELL."
Wait Status: If timeframes are in conflict, the dashboard suggests "WAIT," encouraging disciplined trading.
How to Use
Define Your Bias: Set your three Bias Timeframes in the settings to match your higher-level strategy.
Set Your BOS TF: Choose the timeframe you want structural breaks to be calculated from (usually one or two steps above your entry chart).
Adjust Sensitivity: Use the "Pivot Sensitivity" setting to filter between minor and major structural points.
Confirm with Session: Enable the session filter to ensure you are only trading breaks that occur during the NY or London sessions.
Settings
Bias Dashboard Settings: Customize the TFs and pivot sensitivity for trend analysis.
BOS & Session Settings: Set your target HTF for drawings and define your trading window (NY Timezone supported).
Visual Settings: Full control over colors (Bullish/Bearish), table positioning, and text sizes.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.