Livelli e punti pivot
Swing Trading Tool Provides Swing history and forecastSwing Forecast detects significant pivot swings and averages recent leg behavior to forecast the next swing Low/High in real time. Choose chart TF or a higher TF, set Lookback Legs and Min Move, and see a clean zig-zag of swings (with optional live tail), forecast lines on the latest bar, and a compact table showing Average start of up/down legs, Average leg sizes, forecasts, and a Trend row (EMA-based) that highlights whether the next likely move is toward a High or a Low (also shown as a label on the last candle). Includes alerts for price crossing the forecast next High/Low so you don’t miss inflection points. Designed for discretionary swing traders to gauge context and timing—not financial advice; always confirm with your own risk management and confluence.
HTF Overlay PRO v6 this is test with important levels such as high and low of weekly saily and asian ranges
Auction S/D Zones (Pivot + Volume + ATR) - S9Trader
Short Summary
Plots high-probability Supply & Demand zones from confirmed pivots, validated by volume and an ATR-impulse filter. Highlights the first retest, supports optional invalidation, and includes touch alerts. Works on any symbol and timeframe.
Script Description
What it does
Detects swing highs/lows (confirmed pivots) and draws Supply (red) / Demand (green) zones.
Confirms potential institutional activity with Volume > SMA × multiplier.
Requires an impulse move at the pivot (range ≥ ATR × multiplier) to avoid weak swings.
Extends zones to the right, highlights the first touch, and can invalidate zones on clean breaks.
Provides alerts when price touches an active zone.
Principles (why it works)
Auction Market Theory: Markets rotate between balance and imbalance; sharp moves often mark “unfair” highs/lows that react on retest.
Supply/Demand Mapping: Swing highs tend to act as Supply on revisit; swing lows as Demand.
Volume Confirmation: Above-average pivot volume suggests non-retail participation.
ATR Impulse: Prioritizes pivots formed by meaningful range expansion, not noise.
How it works (logic)
Pivot detection: ta.pivothigh/low(leftBars, rightBars) confirms a swing after rightBars candles.
Zone construction: Supply = top at pivot high, bottom at max(open, close). Demand = bottom at pivot low, top at min(open, close). Optional minimum % height filter.
Filters: Volume > SMA(Volume, volLen) × volMult AND true range ≥ ATR × impATRmult.
Management: Keeps up to maxZones per side; highlights first retest; invalidates on decisive close through the far edge.
Alerts: Triggers when the current bar intersects any active zone.
Inputs (recommended starting points)
Pivot Left/Right Bars (5/5): Higher = stronger, fewer zones. Intraday: 3–6; Swing: 8–12.
Volume SMA Length (20) & High-Volume Multiplier (1.5–2.0): Higher = stricter.
ATR Length (14) & Impulse Multiplier (1.0–1.5): Higher = stricter.
Min Zone Height % (0.05–0.15%): Skip micro-zones.
Max Zones / Side (5–15): Reduce clutter & stay within object limits.
Invalidate on Break: Remove “proven wrong” zones.
Highlight First Touch: Emphasize the first interaction.
Extend Left: Optional historical context.
How to use (playbook)
Start with context: Identify the higher-timeframe trend/structure.
Prioritize first touch: Reactions are typically strongest on the first revisit.
Seek confluence: Favor zones aligned with trend or near HTF levels, VWAP/MA confluence, or round numbers.
Risk: Place stops just beyond the zone; size so a clean break is tolerable.
Targets: Mid-range, opposite side of the session’s rotation, or next HTF level; trail if momentum persists.
Alerts available
Supply Zone Touch
Demand Zone Touch
Notes & limitations
Pivots confirm only after rightBars candles; zones appear at the confirmed pivot (no instant hindsight).
Order flow/footprint is not available in Pine; bar volume is used as a proxy.
Drawing objects are limited by TradingView; keep maxZones modest on long histories.
Indicator only (not a strategy); backtesting requires a separate strategy script.
Changelog
v1.0.0 — Initial release: pivots + volume + ATR impulse, first-touch highlight, invalidation, alerts, zone caps.
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk—do your own research and manage risk.
Auction S/D Zones (Pivot + Volume + ATR) -S9TraderShort Summary
Plots high-probability Supply & Demand zones from confirmed pivots, validated by volume and an ATR-impulse filter. Highlights the first retest, supports optional invalidation, and includes touch alerts. Works on any symbol and timeframe.
Script Description
What it does
* Detects swing highs/lows (confirmed pivots) and draws Supply (red) / Demand (green) zones.
* Confirms potential institutional activity with Volume > SMA × multiplier.
* Requires an impulse move at the pivot (range ≥ ATR × multiplier) to avoid weak swings.
* Extends zones to the right, highlights the first touch, and can invalidate zones on clean breaks.
* Provides alerts when price touches an active zone.
Principles (why it works)
* Auction Market Theory: Markets rotate between balance and imbalance; sharp moves often mark “unfair” highs/lows that react on retest.
* Supply/Demand Mapping: Swing highs tend to act as Supply on revisit; swing lows as Demand.
* Volume Confirmation: Above-average pivot volume suggests non-retail participation.
* ATR Impulse: Prioritizes pivots formed by meaningful range expansion, not noise.
How it works (logic)
* Pivot detection: `ta.pivothigh/low(leftBars, rightBars)` confirms a swing after rightBars candles.
* Zone construction: Supply = top at pivot high, bottom at max(open, close). Demand = bottom at pivot low, top at min(open, close). Optional minimum % height filter.
* Filters: `Volume > SMA(Volume, volLen) × volMult` AND `true range ≥ ATR × impATRmult`.
* Management: Keeps up to maxZones per side; highlights first retest; invalidates on decisive close through the far edge.
* Alerts: Triggers when the current bar intersects any active zone.
Inputs (recommended starting points)
* Pivot Left/Right Bars (5/5): Higher = stronger, fewer zones. Intraday: 3–6; Swing: 8–12.
* Volume SMA Length (20) & High-Volume Multiplier (1.5–2.0): Higher = stricter.
* ATR Length (14) & Impulse Multiplier (1.0–1.5): Higher = stricter.
* Min Zone Height % (0.05–0.15%): Skip micro-zones.
* Max Zones / Side (5–15): Reduce clutter & stay within object limits.
* Invalidate on Break: Remove “proven wrong” zones.
* Highlight First Touch: Emphasize the first interaction.
* Extend Left: Optional historical context.
How to use (playbook)
* Start with context: Identify the higher-timeframe trend/structure.
* Prioritize first touch: Reactions are typically strongest on the first revisit.
* Seek confluence: Favor zones aligned with trend or near HTF levels, VWAP/MA confluence, or round numbers.
* Risk: Place stops just beyond the zone; size so a clean break is tolerable.
* Targets: Mid-range, opposite side of the session’s rotation, or next HTF level; trail if momentum persists.
Alerts available
* Supply Zone Touch
* Demand Zone Touch
Notes & limitations
* Pivots confirm only after rightBars candles; zones appear at the confirmed pivot (no instant hindsight).
* Order flow/footprint is not available in Pine; bar volume is used as a proxy.
* Drawing objects are limited by TradingView; keep maxZones modest on long histories.
* Indicator only (not a strategy); backtesting requires a separate strategy script.
Changelog
* v1.0.0 — Initial release: pivots + volume + ATR impulse, first-touch highlight, invalidation, alerts, zone caps.
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk—do your own research and manage risk.
Jinny Volunacci - Magic_xDJinny Volunacci – Magic_xD is a multi-tool Fibonacci framework that merges volume context, candlestick patterns (Hammer / Shooting Star / Big Range), and fully customizable Fibonacci retracements/extensions.
It auto-selects a reference candle (or lets you pick one), then projects Fibonacci levels that adapt to your trading style.
🔧 How to Use
Candle Selection Modes
Auto Volume – automatically picks the highest-volume candle in your chosen Lookback Bars.
Custom Date – manually select any candle by date/time.
Advanced Filter – detects key candlestick setups (Hammer, Shooting Star, Big Range) and ranks them for you.
Cycle Through Candidates (Select Best #)
When multiple candidates qualify (using Advanced Filter), use Select Best # to step through them:
#1 = top match, #2 = next, #3, … — based on your chosen sorting method (Best Pattern, Most Recent, Strongest).
Fibonacci Scaling
Switch between Linear or Logarithmic scale — or plot both simultaneously.
Custom Fib Levels & Styling
Add or remove Fibonacci levels freely.
Adjust each level’s value, label (price, %, or both), line style, and individual color.
Toggle visibility for retracements vs. extensions.
Labels & Info
Enable Show Candle Info to display a quick snapshot: which candle was picked, bars ago, pattern type, and volume context.
Reverse Option
Instantly flip the projection to the opposite direction.
🎯 Why Traders Use It
Turns a high-impact candle into a Fibonacci map of support/resistance.
Flexible selection: auto, pattern-based, custom date.
Quick cycling through ranked candidates with Select Best #.
Full customization of Fib levels, scaling, colors, and labels.
Works for both retracement and extension analysis.
⚠️ Disclaimer: For educational use only. Not financial advice. Always pair with your own system and risk management.
Swing Averages & Next Swing Forecast Swing Averages & Next Swing Forecast
What it does:
Finds confirmed swing highs/lows, keeps only “significant” legs (default ≥ $0.10), then computes average up/down leg sizes and projects the next swing low and next swing high. Optionally runs calculations on a higher timeframe (HTF) while plotting on your current chart.
Sagittarii LevelsHorizontal Ray with *pd/*pw/*pm high/EQ/low levels
Hang out with us @ CryptoApostles.nl or find us on TG t.me/Crypto_Apostles
SPX Daily Key Levels# Day Trading GPS S&P500 SPX Index Daily Key Levels Indicator
## Description
The Day Trading GPS S&P500 SPX Index Daily Key Levels Indicator (DT-GPS SPX) is a specialized technical tool designed for day traders focusing on trading index options on the CBOE S&P500 SPX index. This indicator provides daily key levels for both the CBOE SPX Index and EIGHTCAP SPX500 CFD, offering traders comprehensive price level analysis and actionable insights.
## Key Features
1. **Dual Market Coverage**:
- CBOE SPX Index levels generation on CBOE SPX chart at 9:30 AM EST
- EIGHTCAP SPX500 CFD levels generation on EIGHTCAP SPX500 CFD at 9:00 AM EST as well as
early display of CBOE SPX Index levels while on EIGHTCAP SPX500 chart at 9:00 AM EST (30 minutes before CBOE SPX 9:30 AM EST market open via separate Table Display for CBOE SPX levels
2. **Comprehensive Level Generation**:
- CBOE SPX index Daily Bull/Bear Key Price Level (BB-KPL) - this is the indicator's daily key Bull/Bear Pivot level for the current day's CBOE SPX trading session
- Multiple Support and Resistance Levels (R1-R6, S1-S6) to accommodate low, moderate and high volatility market environments
- Option for user to also display midpoint levels between any or all main levels if desired
- Fully customizable display options for each main level as well as midpoint levels
3. **Advanced Visualization**:
- Customizable line colors, styles, and widths
- Zone shading between levels
- Midpoint line calculations and display
4. **Dynamic Reference Tables**:
- Separate tables for CBOE SPX Index and EIGHTCAP SPX500 CFD levels
- Customizable table positioning and appearance
- Real-time level updates
5. **Pre-Market Analysis**:
- Early level generation for the EIGHTCAP SPX500 CFD at 9:00AM EST
- Preview of CBOE SPX index levels at 9:00 AM EST - 30 minutes before CBOE SPX index market open at 9:30 AM EST via separate table display at 9:00 AM EST for CBOE SPX index on EIGHTCAP SPX500 CFD chart
## Unique Aspects
1. **Market-Specific Timing**:
- Early access to CBOE SPX levels at 9:00 AM EST (30 minutes before 9:30 AM EST CBOE SPX index market open) via additional CBOE SPX levels table display on EIGHTCAP SPX500 CFD chart displayed at 9:00 AM EST
- CBOE SPX levels on CBOE SPX chart at CBOE SPX index market open (9:30 AM EST)
2. **Dual Display System**:
- Simultaneous viewing of both EIGHTCAP and CBOE levels
- Comparative analysis capabilities
3. **Precision Adjustment**:
- Automatic level adjustments between CFD and Index values
- Market-specific volatility calculations
## How It Enhances Your Trading
- Access key levels before market open through CFD analysis
- Compare and validate levels across both instruments
- Identify potential support and resistance zones with precision
- Implement sophisticated level-to-level trading strategies
- Manage risk with clearly defined price levels
- Track market structure through multiple timeframes
- Make informed decisions for SPX Index Options Trading with comprehensive level information
## Recommended Setup
For optimal use, it's recommended to run the indicator on two charts simultaneously:
1. EIGHTCAP SPX500 CFD chart for early level generation at 9:00 AM EST - 30 minutes before CBOE SPX index market open at 9:30 AM EST
2. CBOE SPX Index chart for official market levels
## Historical Level Analysis Features
**Historical Bull/Bear Key Price Level (BB-KPL)**
The Historical BB-KPL serves as a critical reference point for measuring value and potential price extensions in the market. By analyzing past BB-KPL interactions, traders can better anticipate future price behavior and make more informed decisions about entries and exits.
**Historical Support and Resistance Levels**
These dynamic levels provide crucial insights into market extension and momentum conditions, with levels further from the BB-KPL indicating potential reversal zones while also signaling strong trend conditions. Historical analysis of these levels helps traders identify high-probability trading opportunities by understanding how price has previously reacted at similar extensions from value.
**Video On Indicator Set-Up And Features**
www.youtube.com
**Videos On How To Trade Using This Indicator**
www.youtube.com
www.youtube.com
www.youtube.com
www.youtube.com
## Note
This indicator is specifically designed for day trading index options on the CBOE S&P500 SPX index. It requires appropriate data subscriptions for both CBOE indices and CFDs on TradingView. The indicator works best on timeframes of 30 minutes or less and should be used in conjunction with proper risk management practices. Past performance does not guarantee future results.
OHLC Lines – Yesterday & Today (Minimalist Option)This indicator draws horizontal lines representing the Open, High, Low, and Close (OHLC) levels of yesterday and today directly on your chart. It automatically updates each day, showing only the lines for the previous day and the current day, keeping your chart clean and focused.
Features:
Display Yesterday’s OHLC levels.
Display Today’s OHLC levels.
Optional Minimalist Mode with customizable color, width, and line style.
Lines automatically update each day and remove old lines.
Fully customizable colors, visibility, and line width for each OHLC level.
Use Case:
Perfect for traders who want to monitor key daily price levels, identify support/resistance zones, or incorporate OHLC levels into intraday strategies.
HH&LL / MSS Detector [Tek Tek Teknik Analiz]This indicator provides a safe trading opportunity by drawing Market Structure Shift levels to determine the direction of the market after capturing the peaks and valleys in the price flow.
Wolfe Wave Auto+ManualWolfe Wave Auto+Manual Indicator
Description
The "Wolfe Wave Auto+Manual" indicator is a powerful tool for identifying and analyzing Wolfe Wave patterns on TradingView charts. It supports both automatic pattern detection based on Gann pivots and manual point configuration for precise pattern construction. This indicator is ideal for traders looking to leverage Wolfe Waves to predict market reversals and set take-profit targets.
The indicator displays the pattern with lines, zones (Sweet Zone), and labels, offering three take-profit calculation methods: ETA (intersection of lines 1-3 and 2-4), Line 1-4 (projection of the 1-4 trendline), and Flat (Point 4 price level). Users can customize visualization and calculations, including support for linear and logarithmic price scales.
Key Features
Auto and Manual Modes: Choose between automatic pattern detection using pivots or manual input of points 1-5.
Flexible Take-Profit Options: Supports three TP methods (ETA, Line 1-4, Flat) with customizable line and label colors.
Logarithmic Scale Support: Accurate calculations for charts with linear or logarithmic price scales.
Customizable Visualization: Enable/disable pattern lines, display the Sweet Zone, and show point labels positioned on the outer edges of the pattern for better readability.
Gann Pivots: Auto mode uses pivot detection for precise identification of key points.
User-Friendly Settings: All parameters include tooltips for easy configuration.
How to Use
Add the Indicator:
Find "Wolfe Wave Auto+Manual" in the TradingView indicator library and add it to your chart.
Select Mode:
Auto: The indicator automatically detects patterns based on pivots. Adjust "Swing Length" and "Pivot Offset" to control sensitivity.
Manual: Specify the time and price for points 1-5 in the settings to build a specific pattern.
Customize Visualization:
Enable/disable pattern lines using "Show Pattern Lines."
Adjust pivot and take-profit colors in their respective setting groups.
Choose Price Scale:
Set "Price Scale" to "Linear" or "Logarithmic" based on your chart type.
Configure Take-Profits:
Enable desired TP methods (ETA, Line 1-4, Flat) and customize their colors.
Use "TP Decimal Precision" to control the precision of displayed prices.
Analyze the Pattern:
Look for entry points near Point 5, using the Sweet Zone as a confirmation area.
Use TP levels to set profit targets.
Recommendations
Timeframes: The indicator works on all timeframes, but Auto mode is recommended for H1 and higher for more reliable pivots.
Instruments: Suitable for stocks, forex, cryptocurrencies, and other assets. Use logarithmic scale for long-term charts with high volatility.
Additional Filters: Combine with RSI, MACD, or support/resistance levels to enhance signal accuracy.
Testing: Experiment with "Swing Length" in Auto mode to optimize pattern detection for your trading style.
Notes
Ensure prices in Manual mode are positive when using logarithmic scale to avoid errors.
Disable "Show Pattern Lines" to focus on labels and TP levels for a cleaner chart.
Verify settings when switching between linear and logarithmic scales.
The "Wolfe Wave Auto+Manual" indicator is a versatile addition to your trading toolkit, helping you identify high-probability reversal patterns and plan trades with clear profit targets. Try it today to elevate your market analysis!
Индикатор "Wolfe Wave Auto+Manual"
Описание
Индикатор "Wolfe Wave Auto+Manual" — мощный инструмент для выявления и анализа паттернов волн Вульфа на графиках TradingView. Этот индикатор поддерживает как автоматическое обнаружение паттернов на основе пивотов Ганна, так и ручную настройку точек для точного построения. Он идеально подходит для трейдеров, которые хотят использовать волны Вульфа для прогнозирования разворотов рынка и определения целей тейк-профита.
Индикатор отображает паттерн с линиями, зонами (Sweet Zone) и метками, а также предлагает три метода расчёта тейк-профита: ETA (пересечение линий 1-3 и 2-4), Line 1-4 (проекция линии 1-4) и Flat (уровень точки 4). Пользователь может гибко настраивать визуализацию и расчёты, включая поддержку линейной и логарифмической шкал цен.
Ключевые особенности
Автоматический и ручной режимы: Выбирайте между автоматическим обнаружением паттернов на основе пивотов или ручным заданием точек 1-5.
Гибкие настройки тейк-профита: Поддержка трёх методов TP (ETA, Line 1-4, Flat) с настраиваемыми цветами линий и меток.
Поддержка логарифмической шкалы: Корректные расчёты для графиков с линейной или логарифмической шкалой цен.
Настраиваемая визуализация: Включайте/отключайте линии паттерна, отображайте Sweet Zone и метки точек, расположенные на внешних углах конструкции для лучшей читаемости.
Пивоты Ганна: В автоматическом режиме используются пивоты для точного определения ключевых точек.
Интуитивные настройки: Все параметры сопровождаются всплывающими подсказками для удобства.
Как использовать
Добавьте индикатор:
Найдите "Wolfe Wave Auto+Manual" в библиотеке индикаторов TradingView и добавьте на график.
Выберите режим:
Auto: Индикатор автоматически определяет паттерны на основе пивотов. Настройте "Swing Length" и "Pivot Offset" для контроля чувствительности.
Manual: Задайте время и цену для точек 1-5 в настройках для построения конкретного паттерна.
Настройте визуализацию:
Включите/отключите линии паттерна через "Show Pattern Lines".
Настройте цвета пивотов и тейк-профитов в соответствующих группах настроек.
Выберите шкалу цен:
Установите "Price Scale" в "Linear" или "Logarithmic" в зависимости от типа графика.
Настройте тейк-профиты:
Включите нужные методы TP (ETA, Line 1-4, Flat) и настройте их цвета.
Используйте "TP Decimal Precision" для контроля точности отображаемых цен.
Анализируйте паттерн:
Ищите точки входа вблизи точки 5, используя Sweet Zone как зону подтверждения.
Ориентируйтесь на уровни TP для фиксации прибыли.
Рекомендации
Таймфреймы: Индикатор работает на любых таймфреймах, но для Auto-режима рекомендуется использовать таймфреймы от H1 и выше для более надёжных пивотов.
Инструменты: Подходит для акций, форекса, криптовалют и других активов. Для долгосрочных графиков с высокой волатильностью используйте логарифмическую шкалу.
Дополнительные фильтры: Комбинируйте с индикаторами RSI, MACD или уровнями поддержки/сопротивления для повышения точности сигналов.
Тестирование: Протестируйте настройки в Auto-режиме с разными значениями "Swing Length" для оптимизации обнаружения паттернов.
Примечания
Убедитесь, что цены в Manual-режиме положительные при использовании логарифмической шкалы, чтобы избежать ошибок.
Для отключения линий паттерна используйте настройку "Show Pattern Lines", чтобы сосредоточиться на метках и уровнях TP.
Регулярно проверяйте настройки при переключении между линейной и логарифмической шкалами.
Этот индикатор станет отличным дополнением к вашей торговой стратегии, помогая выявлять высоковероятные разворотные паттерны и планировать сделки с чёткими целями прибыли. Попробуйте "Wolfe Wave Auto+Manual" и улучшите свой анализ рынка!
LevelsThis Indicator is meant to plot some of the most common levels that traders use.
The display of these levels is highly customizable, as you can choose the line type , color , thickness and whether it shows you no label, price only, reduced label or full label next to the line. All labels (except for "no Label") will show the price at this level.
Also You have the option to mark the start on each timeframe with either a individually colored background or a vertical line where you can choose the line style and color.
Full List of available Levels and Optional inputs to these levels:
Previous HTF Candle Levels:
• Previous HTF Candle Open
• Previous HTF Candle High
• Previous HTF Candle Low
• Previous HTF Candle Close
Optional:
• Choose any higher timeframe
• Mark start of new HTF candle
Session Levels:
• Session Open
• Session High
• Session Low
• Session Close
Optional:
• Choose any time as start and end of your session
• Mark start of session
• Mark full session
Daily Levels:
• Current Day Open
• Current Day High
• Current Day Low
• Previous Day Open
• Previous Day High
• Previous Day Low
• Previous Day Close
Optional:
• Choose start of day (standard, NY Midnight, custom start time)
• Mark start of day
Weekly Levels:
• Current Week Open
• Current Week High
• Current Week Low
• Previous Week Open
• Previous Week High
• Previous Week Low
• Previous Week Close
Optional:
• Mark start of Week
Monthly Levels:
• Current Month Open
• Current Month High
• Current MonthLow
• Previous Month Open
• Previous Month High
• Previous Month Low
• Previous Month Close
Optional:
• Mark start of Month
Round Levels Cross AlertRound Levels Cross Alert
Overview
The Round Levels Cross Alert is a Pine Script v6 indicator for TradingView that detects when the price crosses user-defined round price levels (e.g., 100, 200, 500). It is designed for traders focusing on psychological or key support/resistance levels, providing clear visual markers and real-time alerts with detailed messages.
Features
Custom Round Levels: Set your preferred price interval (e.g., 100 points) using the Round Level Interval input.
Visual Cues: Green triangle-up shapes appear below bars for upward crosses; red triangle-down shapes appear above for downward crosses.
Detailed Alerts: Alerts include the ticker, crossed level, and time in HH:mm AM/PM format, triggered only on confirmed bars for accuracy.
Multi-Level Detection: Captures multiple round-level crosses in a single bar, sending individual alerts for each.
User-Friendly: Easy to set up and integrates with TradingView's alert system for notifications via email, SMS, or other platforms.
How It Works
The script calculates the nearest round level by flooring the closing price divided by the user-defined interval. It detects changes in this level to identify crosses, then:
Plots a shape to visually mark the cross.
Generates an alert with the ticker, crossed level, and current time.
Handles multiple level crosses in one bar, ensuring all are reported.
Ideal For
Swing Traders: Identify key levels for entries/exits.
Day Traders: Monitor real-time price action at round numbers.
Automated Alerts: Stay informed with timely notifications.
Customization
Adjust the Round Level Interval to match your asset or strategy (e.g., 50, 100, 1000).
Configure TradingView alerts to suit your notification preferences.
This indicator is a simple, effective tool for tracking price movements at significant round levels with clear visuals and actionable alerts.
BIASBias — MTF Market Structure
What it does
Bias determines bullish/bearish bias from a higher timeframe (HTF) market structure and shows BOS/CHOCH events in a minimal, uncluttered way. When a BOS/CHOCH is confirmed, the script draws a single horizontal line at the broken swing that extends to the right and stops automatically once price invalidates it. Background shading reflects the current bias.
Why it’s different (Minimal Clean)
No boxes or noisy fills — just clean horizontal continuation lines and small optional labels.
Pivot-based structure on your chosen HTF; lines update only when swings are confirmed.
Built-in anti-clutter controls (limit number of active lines).
Optional conservative confirmation (wait for HTF close).
How Bias is determined (BOS/CHOCH logic)
On the selected HTF, the script detects swing highs/lows using Pivot Left / Right.
New swings are filtered by Min Swing Distance (%) so tiny wiggles are ignored.
A breakUp occurs when price crosses the latest HTF swing high; a breakDown when it crosses the latest swing low (by Close or Wick, per your setting).
Event classification:
BOS (Break of Structure): break in the same direction as the current bias (trend continuation).
CHOCH (Change of Character): break in the opposite direction (trend change).
After a break, bias flips/updates (Bullish after breakUp, Bearish after breakDown). A thin horizontal line is drawn from that level, extending until price invalidates it in the opposite direction.
Inputs & Settings (what to tweak)
Basis Timeframe (HTF) – the timeframe used to build structure (e.g., 1H, 4H, 1D).
Pivot Left / Right – swing sensitivity (higher = cleaner, slower).
Confirm Break by Close – if ON, require close beyond the level; if OFF, wick is enough.
Wait for HTF Close – confirms only after the HTF candle closes (safer, later).
Min Swing Distance (%) – minimum percent distance vs. previous swing to accept a new swing.
Show Bias Background – soft background shading of current bias.
Show BOS/CHOCH Labels – small tags on the break candle (optional).
Max Active Level Lines – caps how many horizontal lines are kept on the chart (default 8).
Line Width – thickness of the horizontal lines.
Colors
Bull continuation lines/labels use a teal theme; Bear uses orange. You can adjust in code if desired.
How to use (quick start)
Add to any chart and keep your trading timeframe as you like (e.g., 5m, 15m, 1H).
Set HTF to the structure frame you trust (e.g., 1H for intraday, 4H/D for swing).
For a cleaner map, raise Pivot Left/Right (e.g., 4–6) and Min Swing Distance (e.g., 0.5–1%).
Choose break confirmation:
Want early signals? leave Confirm by Close ON and Wait for HTF Close OFF.
Want stronger signals? turn Wait for HTF Close ON.
Read the chart:
Background = current Bias (Bullish or Bearish).
Each BOS/CHOCH prints a short label and a horizontal line that extends to the right until price invalidates it.
Use the lines as clean reference for structure and for where bias last changed/continued.
Reduce clutter by lowering Max Active Level Lines (e.g., 5–8) or turning labels off.
Multi-HTF tip: Add two instances — e.g., HTF=4H for strategic bias and HTF=1H for tactical entries. Keep labels ON only on the tactical one for simplicity.
Alerts
The script provides ready-made alert conditions (constant strings per Pine v6 rules):
BOS Bullish
BOS Bearish
CHOCH Bullish
CHOCH Bearish
Bias Flip → Bullish
Bias Flip → Bearish
Create an alert on the indicator and choose the condition you want.
Notes & Limitations
Swings use pivots; a pivot only finalizes after pR bars, so signals don’t repaint forward once the HTF pivot is confirmed.
If Wait for HTF Close is OFF, intrabar spikes can trigger earlier (faster but less strict).
As with any tool, this is not financial advice and should be combined with your own risk management.
Recommended presets
Intraday: HTF = 1H, pL/pR = 4/4, Min Swing % = 0.6–1.0, Confirm by Close = ON, Wait HTF Close = OFF, Max Lines = 6–8.
Swing: HTF = 4H or 1D, pL/pR = 5–6, Min Swing % = 1.0–2.0, Confirm by Close = ON, Wait HTF Close = ON, Max Lines = 5.
AI Dynamic SR Trend Lines Enhanced# Dynamic Support/Resistance Lines Using Linear Regression
## What Makes This Script Original
This script differs from standard pivot-based support/resistance indicators by applying **linear regression analysis** to clusters of recent pivot points instead of simply connecting the last two pivots. While many scripts plot lines between individual swing points, this approach calculates the "line of best fit" through multiple recent pivots (3-5 points), creating statistically-derived trend lines that better represent the overall price trajectory.
## Core Methodology
**Pivot Collection & Filtering:**
- Detects swing highs and lows using configurable left/right lookback periods
- Applies ATR-based filtering to exclude minor pivots that don't represent significant price structure
- Uses angular filtering to reject excessively steep trend lines (over 45 degrees by default)
**Linear Regression Calculation:**
- Collects the most recent 2-5 valid pivot points (user configurable)
- Applies least-squares linear regression to find the optimal line through these points
- Updates dynamically as new pivots form, maintaining relevance to current market structure
**Enhancement Features:**
- Optional logarithmic price scaling for percentage-based analysis
- EMA confluence detection that increases line "strength" when trend lines align with moving averages
- Automatic line pruning when price moves significantly away (customizable ATR multiples)
- Visual strength indication through line thickness based on pivot count and confluence
## Key Differences from Standard Approaches
**vs. Simple Pivot Connections:** Uses statistical best-fit rather than arbitrary point-to-point lines
**vs. Fixed Trend Lines:** Dynamically adapts as new market structure develops
**vs. Manual Drawing:** Automatically identifies and plots the most statistically relevant levels
## Practical Application
The resulting support and resistance lines represent the mathematical trend through recent price structure rather than subjective line drawing. This creates more consistent and objective trend analysis, particularly useful for:
- Identifying key levels for entries/exits
- Confluence analysis when combined with other technical tools
- Systematic approach to trend line analysis
## Important Limitations
- Lines recalculate as new pivots form (this is intentional for dynamic adaptation)
- Requires sufficient pivot history to generate meaningful regression lines
- Should be used as part of comprehensive analysis, not as standalone signals
- Past performance of trend lines does not guarantee future effectiveness
## Technical Implementation Notes
The script uses arrays to maintain rolling collections of pivot points, applies mathematical linear regression formulas, and includes multiple filtering mechanisms to ensure only statistically significant levels are displayed. All visual elements and calculation parameters are fully customizable to suit different trading styles and timeframes.
Market Outlook Score (MOS)Overview
The "Market Outlook Score (MOS)" is a custom technical indicator designed for TradingView, written in Pine Script version 6. It provides a quantitative assessment of market conditions by aggregating multiple factors, including trend strength across different timeframes, directional movement (via ADX), momentum (via RSI changes), volume dynamics, and volatility stability (via ATR). The MOS is calculated as a weighted score that ranges typically between -1 and +1 (though it can exceed these bounds in extreme conditions), where positive values suggest bullish (long) opportunities, negative values indicate bearish (short) setups, and values near zero imply neutral or indecisive markets.
This indicator is particularly useful for traders seeking a holistic "outlook" score to gauge potential entry points or market bias. It overlays on a separate pane (non-overlay mode) and visualizes the score through horizontal threshold lines and dynamic labels showing the numeric MOS value along with a simple trading decision ("Long", "Short", or "Neutral"). The script avoids using the plot function for compatibility reasons (e.g., potential TradingView bugs) and instead relies on hline for static lines and label.new for per-bar annotations.
Key features:
Multi-Timeframe Analysis: Incorporates slope data from 5-minute, 15-minute, and 30-minute charts to capture short-term trends.
Trend and Strength Integration: Uses ADX to weight trend bias, ensuring stronger signals in trending markets.
Momentum and Volume: Includes RSI momentum impulses and volume deviations for added confirmation.
Volatility Adjustment: Factors in ATR changes to assess market stability.
Customizable Inputs: Allows users to tweak periods for lookback, ADX, and ATR.
Decision Labels: Automatically classifies the MOS into actionable categories with visual labels.
This indicator is best suited for intraday or swing trading on volatile assets like stocks, forex, or cryptocurrencies. It does not generate buy/sell signals directly but can be combined with other tools (e.g., moving averages or oscillators) for comprehensive strategies.
Inputs
The script provides three user-configurable inputs via TradingView's input panel:
Lookback Period (lookback):
Type: Integer
Default: 20
Range: Minimum 10, Maximum 50
Purpose: Defines the number of bars used in slope calculations for trend analysis. A shorter lookback makes the indicator more sensitive to recent price action, while a longer one smooths out noise for longer-term trends.
ADX Period (adxPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Sets the smoothing period for the Average Directional Index (ADX) and its components (DI+ and DI-). Standard value is 14, but shorter periods increase responsiveness, and longer ones reduce false signals.
ATR Period (atrPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Determines the period for the Average True Range (ATR) calculation, which measures volatility. Adjust this to match your trading timeframe—shorter for scalping, longer for positional trading.
These inputs allow customization without editing the code, making the indicator adaptable to different market conditions or user preferences.
Core Calculations
The MOS is computed through a series of steps, blending trend, momentum, volume, and volatility metrics. Here's a breakdown:
Multi-Timeframe Slopes:
The script fetches data from higher timeframes (5m, 15m, 30m) using request.security.
Slope calculation: For each timeframe, it computes the linear regression slope of price over the lookback period using the formula:
textslope = correlation(close, bar_index, lookback) * stdev(close, lookback) / stdev(bar_index, lookback)
This measures the rate of price change, where positive slopes indicate uptrends and negative slopes indicate downtrends.
Variables: slope5m, slope15m, slope30m.
ATR (Average True Range):
Calculated using ta.atr(atrPeriod).
Represents average volatility over the specified period. Used later to derive volatility stability.
ADX (Average Directional Index):
A detailed, manual implementation (not using built-in ta.adx for customization):
Computes upward movement (upMove = high - high ) and downward movement (downMove = low - low).
Derives +DM (Plus Directional Movement) and -DM (Minus Directional Movement) by filtering non-relevant moves.
Smooths true range (trur = ta.rma(ta.tr(true), adxPeriod)).
Calculates +DI and -DI: plusDI = 100 * ta.rma(plusDM, adxPeriod) / trur, similarly for minusDI.
DX: dx = 100 * abs(plusDI - minusDI) / max(plusDI + minusDI, 0.0001).
ADX: adx = ta.rma(dx, adxPeriod).
ADX values above 25 typically indicate strong trends; here, it's normalized (divided by 50) to influence the trend bias.
Volume Delta (5m Timeframe):
Fetches 5m volume: volume_5m = request.security(syminfo.tickerid, "5", volume, lookahead=barmerge.lookahead_on).
Computes a 12-period SMA of volume: avgVolume = ta.sma(volume_5m, 12).
Delta: (volume_5m - avgVolume) / avgVolume (or 0 if avgVolume is zero).
This measures relative volume spikes, where positive deltas suggest increased interest (bullish) and negative suggest waning activity (bearish).
MOS Components and Final Calculation:
Trend Bias: Average of the three slopes, normalized by close price and scaled by 100, then weighted by ADX influence: (slope5m + slope15m + slope30m) / 3 / close * 100 * (adx / 50).
Emphasizes trends in strong ADX conditions.
Momentum Impulse: Change in 5m RSI(14) over 1 bar, divided by 50: ta.change(request.security(syminfo.tickerid, "5", ta.rsi(close, 14), lookahead=barmerge.lookahead_on), 1) / 50.
Captures short-term momentum shifts.
Volatility Clarity: 1 - ta.change(atr, 1) / max(atr, 0.0001).
Measures ATR stability; values near 1 indicate low volatility changes (clearer trends), while lower values suggest erratic markets.
MOS Formula: Weighted average:
textmos = (0.35 * trendBias + 0.25 * momentumImpulse + 0.2 * volumeDelta + 0.2 * volatilityClarity)
Weights prioritize trend (35%) and momentum (25%), with volume and volatility at 20% each. These can be adjusted in code for experimentation.
Trading Decision:
A variable mosDecision starts as "Neutral".
If mos > 0.15, set to "Long".
If mos < -0.15, set to "Short".
Thresholds (0.15 and -0.15) are hardcoded but can be modified.
Visualization and Outputs
Threshold Lines (using hline):
Long Threshold: Horizontal dashed green line at +0.15.
Short Threshold: Horizontal dashed red line at -0.15.
Neutral Line: Horizontal dashed gray line at 0.
These provide visual reference points for MOS interpretation.
Dynamic Labels (using label.new):
Placed at each bar's index and MOS value.
Text: Formatted MOS value (e.g., "0.2345") followed by a newline and the decision (e.g., "Long").
Style: Downward-pointing label with gray background and white text for readability.
This replaces a traditional plot line, showing exact values and decisions per bar without cluttering the chart.
The indicator appears in a separate pane below the main price chart, making it easy to monitor alongside price action.
Usage Instructions
Adding to TradingView:
Copy the script into TradingView's Pine Script editor.
Save and add to your chart via the "Indicators" menu.
Select a symbol and timeframe (e.g., 1-minute for intraday).
Interpretation:
Long Signal: MOS > 0.15 – Consider bullish positions if supported by other indicators.
Short Signal: MOS < -0.15 – Potential bearish setups.
Neutral: Between -0.15 and 0.15 – Avoid trades or wait for confirmation.
Watch for MOS crossings of thresholds for momentum shifts.
Combine with price patterns, support/resistance, or volume for better accuracy.
Limitations and Considerations:
Lookahead Bias: Uses barmerge.lookahead_on for multi-timeframe data, which may introduce minor forward-looking bias in backtesting (use with caution).
No Alerts Built-In: Add custom alerts via TradingView's alert system based on MOS conditions.
Performance: Tested for compatibility; may require adjustments for illiquid assets or extreme volatility.
Backtesting: Use TradingView's strategy tester to evaluate historical performance, but remember past results don't guarantee future outcomes.
Customization: Edit weights in the MOS formula or thresholds to fit your strategy.
This indicator distills complex market data into a single score, aiding decision-making while encouraging users to verify signals with additional analysis. If you need modifications, such as restoring plot functionality or adding features, provide details for further refinement.
Auto Fib V2Auto Fib V2 — Advanced Fibonacci Mapping Tool
Introduction
Auto Fib V2 is an advanced Fibonacci retracement indicator that automatically adapts to recent market ranges. Rather than manually drawing Fibonacci lines, this script dynamically maps them based on the most recent highs and lows, allowing traders to see the chart as if it were a "navigation map." Its primary purpose is to help identify potential buy and sell zones with greater clarity.
Key Concept
The script is built on a simple but powerful interpretation of Fibonacci retracement:
When the price moves below the 0.236 level, it suggests an oversold zone, where buyers may step in and market reversal potential increases.
When the price rises above the 0.764 level, it highlights an overbought zone, where sellers may become more active and risk of reversal grows.
Between these extremes, the Golden Pocket (0.382–0.618 zone) is highlighted as the area where institutional traders and algorithms often react. Historically, this is one of the most respected Fibonacci areas in technical analysis.
Features & Customization
Automatic Range Detection: The indicator automatically finds the recent high/low (based on user-defined lookback bars) and applies Fibonacci levels.
Flexible Direction Setting: Traders can use Auto Mode to let the script decide direction from price movement, or manually choose upward/downward mapping.
Multiple Levels Display: Beyond the standard levels, extra fractional retracements (0.146, 0.309, 0.441, etc.) are included for more precise mapping.
Golden Pocket Highlighting: Visually emphasizes the 0.382–0.618 retracement zone for quick recognition.
Custom Styles: Switch between line-based and dot-based plotting, with adjustable colors and transparency for improved readability.
Practical Use
Auto Fib V2 is not intended as a direct buy/sell signal generator, but as a contextual guide. Traders can use it to:
Confirm whether the current price area is closer to an overbought or oversold condition.
Combine it with oscillators (RSI, MACD) or trend indicators (EMA, ADX) to strengthen trading decisions.
Identify confluence zones where Fibonacci levels overlap with key supports/resistances.
Quickly adapt to market shifts without the need to redraw Fibonacci retracement lines repeatedly.
Why Use Auto Fib V2?
Manual Fibonacci drawing can be subjective, often depending on the swing points a trader chooses. Auto Fib V2 reduces that subjectivity by using consistent logic, creating a more systematic approach. For intraday traders, it provides rapid context to assess whether the market is stretched or balanced. For swing traders, it offers a map of reaction zones across higher timeframes.
CHoCH Reversal Hunter🔥 CHoCH Reversal Hunter — Detect Bearish CHoCH Patterns & Fibonacci Golden Zone For Precision Reversal Setups
📈 Overview
CHoCH Reversal Hunter is a Pine Script™ indicator for structured bearish market analysis.
It combines major/minor pivot detection, Change of Character (CHoCH) filtering, and logarithmic Fibonacci retracements into one framework.
The goal: identify Small LL → CHoCH → Golden Zone setups with higher precision.
🧠 Core Logic
1. 📊 Market Structure Backbone
Tracks the 4 most recent major highs (H0–H3) and 3 major lows.
These pivots form the basis for trend evaluation.
2. 🔻 Bearish Background Conditions
A bearish market context is confirmed when:
// Bearish Background Condition
isBearish = (High 3 < High 2) and (
(High 2 > High 1 and High 2 < High 0) or
(High 2 <= High 1)
)
// Reset to neutral if High 2 < High 3
This ensures that only a true lower-high structure activates the bearish framework.
3. 🎯 Hunt for Small Lower Low (LL)
Monitors minor pivot lows with a smaller lookback period.
A valid Small LL must break below the third major low (Low 2).
This Small LL becomes the 0% Fibonacci anchor.
4. 🔄 Change of Character (CHoCH) Selection
The indicator scans recent bars for three possible CHoCH patterns:
// CHoCH Type Definitions in CHoCH Hunter
// Inside → current bar inside previous bar
isInsideBar = high < high and low > low
// Smarty → short-term reversal clue
isSmartyBar = low > low and low < low
// Pivot → minor swing high (small swing detection)
isSmallPivotHigh = ta.pivothigh(high, small_swing_period, small_swing_period)
Filter rules for validity:
CHoCH must occur before the Small LL bar.
Its high must be greater than the Small LL bar’s high (dominance criterion).
5. ⚡ Confirmation & Fibonacci Activation
Once price crosses above the selected CHoCH → setup confirmed.
Fibonacci retracements (logarithmic scale) are calculated:
100% → current high (dynamic, updates before breach).
65% → Golden Zone upper boundary.
50% → Golden Zone lower boundary.
0% → Small LL anchor.
6. 📈 Dynamic Management & Reset Rules
Before 50% breach → Fibo High auto-updates with new highs.
After breach → Levels freeze.
Setup resets if:
Price drops below Small LL.
Price breaks beyond frozen levels.
New Small LL formation detected.
✨ Key Features
📍 Automatic detection of major & minor pivots.
🔍 Clear definitions for Inside, Smarty, Pivot CHoCHs.
📐 Logarithmic Fibonacci retracements for exponential markets.
🎯 Golden Zone highlighting (50%–65%).
🔄 Built-in reset logic to invalidate weak setups.
🎨 Visualization
Pivot markers for Major (📕) & Minor (📘) swings.
Labels for CHoCH points with type (“Inside”, “Smarty”, “Pivot”).
Golden Zone highlighted between 50%–65%.
Optional structure labels for clarity.
⚙️ Inputs & Customization
Major Structure Period (default: 4) — sensitivity for big swings.
Minor Structure Period (default: 2) — sensitivity for small swings.
Toggle display of pivots, structure labels, and Golden Zone.
📚 Educational Value
CHoCH Reversal Hunter is designed to help traders learn:
How bearish structures are objectively defined.
Different CHoCH types and how to filter them.
Applying Fibonacci retracements in structured setups.
⚠️ Risk Disclaimer
🚨 This indicator is for educational purposes only and does not constitute financial advice.
Trading involves significant risk — always backtest and apply sound risk management.
🆕 Release Notes v1.0
Bearish structure detection logic added.
CHoCH type classification (Inside, Smarty, Pivot).
Logarithmic Fibonacci retracement with Golden Zone.
Automatic reset & invalidation rules.
💡 Pro Tip: Watch for the sequence Bearish Background → Small LL → CHoCH → Golden Zone — this is the core hunting pattern of CHoCH Reversal Hunter.
Previous Day High & Low (PDH / PDL) with HistoryThis indicator automatically plots the Previous Day High (PDH) and Previous Day Low (PDL) on your chart.
✨ Features:
📅 Multiple days of history (choose how many days to keep, or unlimited).
🎨 Custom colors and line styles (solid, dashed, dotted).
🔎 Show or hide levels once touched by price.
🏷️ Optional labels (“PDH” and “PDL”) that follow the line to the right edge.
🚀 Works on any market, any timeframe.
🔧 Use cases:
Identify key liquidity levels.
Track daily ranges for intraday trading.
Combine with other strategies for confluence.
Candle % Levels (10/30/50/70/90)Visualize candle strength like never before. This indicator automatically plots percentage levels (10%, 30%, 50%, 70%, 90%) within each candle to highlight key retracement and extension zones.
🔹 Instantly measure candle momentum and balance
🔹 Spot potential reversal or continuation points
🔹 Works on any timeframe or market (crypto, forex, stocks, futures)
Whether you scalp, day trade, or swing, these levels add clarity and precision to your entries, stop-losses, and take-profit targets.
TrueOpens [AY]¹ See how price reacts to key multi-day and monthly open levels—perfect for S/R-focused traders.
Experimental indicator for tracking multi-day openings and ICT True Month Open levels, ideal for S/R traders.
TrueOpens ¹ – Multi-Day & True Month Open Levels
This indicator is experimental and designed to help traders visually track opening price levels across multiple days, along with the ICT True Month Open (TMO).
Key Features:
Supports up to 12 configurable multi-day opening sessions, each with independent color, style, width, and label options.
Automatically detects the True Month Open using the ICT method (2nd Monday of each month) and plots it on the chart.
Lines can extend dynamically and are limited to a user-defined number of historical bars for clarity.
Fully customizable timezones, label sizes, and display options.
This indicator is ideal for observing how price interacts with key levels, especially for traders who favor support and resistance-based strategies.
Disclaimer: This is an analytical tool for observation purposes. It does not provide buy or sell signals. Users should combine it with their own analysis and risk management.
Tama's Levels & Rounded NumbersPlots key intraday reference levels to aid with market structure and bias:
- Cash Open – Marks the official equity session open.
- Yesterday’s High/Low – Drawn from the prior completed cash session at the bars where they occurred.
- Globex High/Low – Tracks the overnight session’s extremes.
- Round Numbers – Evenly spaced psychological levels around current price.
All levels are fully customizable (color, style, thickness, visibility), designed to make it easy to see where price is likely to react.