Trinity Market Regime Detector ProDecided to release this one to the community to enjoy. Changes from the original script.
Trinity Market Regime Detector – Evolution Summary
#### Critical Bug Fixes
- Fixed false long signals when –DI was dominant (DMI direction is now fully respected)
- Fixed real breakouts and squeeze breakouts firing against the higher-timeframe trend
- Fixed table text not scaling when choosing “Tiny” size (now truly tiny → large)
- Fixed alert messages that contained series strings (now 100% const-string compliant)
#### Major Logic & Accuracy Improvements
- Added proper **Higher-Timeframe MA filter** (default 200 EMA on Daily) – fully configurable (SMA/EMA/WMA + any timeframe)
- All breakout signals now require alignment with the HTF trend (when enabled) → dramatically reduces whipsaws
- Added **CCI (20)** with bold green/red highlighting at ±100
- Improved volume logic (high/low volume now more adaptive)
- Improved ATR low-volatility detection
- Squeeze breakouts now only fire with correct DMI + HTF direction
- Fakeouts clearly marked with orange X
- Bias hierarchy completely rewritten and made crystal-clear
#### Visual & Usability Upgrades
- Perfect dynamic table scaling (no more gaps when hiding ALMA/RSI/CCI)
- Option for **zero table** – super-clean label-only mode (v2.9)
- Background tinting for Dead Market (red), Squeeze (yellow), Strong Trend (green)
- ALMA 34 and HTF MA plotted on chart with color-coding
- Clear on-chart arrows: green/red triangles for real breakouts, aqua diamonds for squeeze breakouts
- All labels use proper large/colored text for instant readability
#### Alert System Overhaul
- 100% working alerts (no more compilation errors)
- Separate alerts for:
- Real volume-confirmed breakouts
- High-probability squeeze breakouts
- Regime changes
- Fakeouts
- Clean, professional alert messages
In short:
The original was already excellent.
We turned it into a **bulletproof, professional-grade, zero-noise market regime tool** that serious traders can actually rely on every single day.
Statistics
Bayesian Order Flow Predictor📌 Bayesian Order Flow Predictor — Advanced Probability Engine for Nasdaq and Futures
This indicator is a next-generation probabilistic forecasting system designed for Nasdaq traders who rely on Order Flow, Auction Market Theory, Value Area dynamics, market structure, DOM imbalance, and Bayesian probability models.
It combines 7 professional-grade factors (DOM, CVD, RSI, EMA trend, ATR volatility, Market Structure, Value Area positioning) into a unified Bayesian probability panel that outputs a clean bullish/bearish probability curve with high-confidence reversal and trend-continuation signals.
Engineered for scalpers, day traders, futures traders, and ICT-style order flow technicians, it delivers real-time directional probability, session-aware signals, and optional news-filter exclusion.
⭐ Features
Bayesian Probability Model (0–100%)
DOM imbalance scoring across dynamic depth levels
Cumulative Volume Delta (CVD) scoring
Market structure detection (HH/LL micro-trend shifts)
RSI momentum and overbought/oversold scoring
EMA directional bias + ATR-normalized deviation
Value Area positioning (VAH / VAL / POC) with optional previous-session mode
Session filtering (only signals during active hours)
Automated news filter (exclude signals around scheduled macro events)
Bull/Bear probability zones with background coloring
Anti-repetition system (no double signals in same direction)
Designed for future scalping, futures order flow, and high-precision timing
🧠 Bayesian Probability Engine — How It Works
The model evaluates 7 independent market factors simultaneously:
DOM imbalance
CVD pressure
Market structure
RSI deviation
EMA trend
Value Area position
ATR volatility shift
Each factor is transformed into a normalized score, multiplied by its weighting parameter, and aggregated into a global score.
This score is then passed through a Bayesian logistic function to convert uncertainty into a smooth probability curve, giving traders a clean, mathematically stable, and noise-resistant forecast.
📈 Buy & Sell Signal Logic
Signals trigger when:
Bullish Probability crosses above the user threshold
Bearish Probability crosses below the opposite threshold
Session is active
No protected news event is occurring
This avoids noise, prevents over-signaling, and focuses only on high-confidence inflection points.
🎯Fully compatible with the indicator: ➡️ AI Probabilistic Orderflow scalper
Both indicators synchronize perfectly when used together:
Bayesian panel → trend probability
Scalper v1 → timing + TP/SL engine
Together they create a complete probability-driven revenue management system for scalping Future.
📘 How to Use
Add the indicator to your chart
Set your trading session (e.g., 09:30–16:00 EST)
Adjust weights depending on your style (Order Flow / Momentum / Value Area)
Watch the probability curve:
Above threshold → bullish bias
Below threshold → bearish bias
Take signals when the curve crosses thresholds, not when flat
Combine with "AI Probabilistic Orderflow scalper" indicator for execution timing
Avoid high-impact news using the News Filter
💎 Advantages
Professional-grade Bayesian model
Works in all volatility regimes
Noise-resistant and smoother than traditional oscillators
Integrates Order Flow + Auction Theory + Momentum + Volatility
Perfect for NQ scalpers seeking an AI-style probability dashboard
Reduces emotional decision-making
Compatible with any execution strategy
Optimized for high winrate scalping and sniper entries
Percent Change Histogram + MACandle Percent Move Columns with Optional Moving Average
Description:
This indicator calculates the percentage move of each candle over a specified number of bars and displays it as upward-facing columns, regardless of the candle direction. Each column is color-coded based on the candle’s direction—green for bullish, red for bearish. An optional moving average can be overlaid on the percentage values to help visualize trends and smooth out volatility.
Features:
Shows each candle’s percentage move as a column facing upward.
Columns are colored according to candle direction.
Adjustable input for the number of bars used in calculation.
Optional moving average overlay that can be added or removed.
Helps quickly assess volatility and trend strength in percentage terms.
Use Case:
Ideal for traders who want a clear visual representation of individual candle movements in percentage terms, making it easier to spot trends, pullbacks, and volatility patterns across different timeframes.
Fabio-Style Order Flow SystemFabio-Style Order Flow System — LVN • Delta • Big Trades • FVG • Order Blocks • Liquidity • Volume Profile
This indicator brings together all major components of Fabio Valentino’s order-flow strategy in one unified tool. It visualizes where smart money is active, where inefficiencies form, and where price is likely to react next.
🔍 FEATURES
1. Order Flow & Delta
Smoothed delta to show true market imbalance
Background color shifts to bullish/bearish delta dominance
Alerts for delta spikes & order-flow flips
2. Big Trade Detection
Highlights Big Buy and Big Sell prints (relative to average volume)
Helps identify institutional aggression on both sides
3. Low Volume Nodes (LVNs)
Automatically detects low-volume zones
Flags retests of LVNs for high-probability reactions
Uses dynamic volume thresholds for accuracy
4. Volume Profile (Lightweight)
Bucket-based intrabar profile across user-defined lookback
Highlights volume distribution without heavy TradingView CPU load
Auto-scales bucket density & transparency
5. Fair Value Gaps (FVGs)
Detects both bullish & bearish three-bar imbalances
Marks gaps visually using colored boxes
Updates dynamically with a user-set lookback
6. Order Blocks (OBs)
Identifies valid displacement bars and their origin OB
Plots clean, minimalist rectangles around key OB zones
Uses ATR-based impulse filtering
7. Liquidity Grabs
Detects wick-based liquidity sweeps
Highlights both equal high/low and stop-run type wicks
Useful for spotting reversals & trap setups
8. Strategy Dashboard
Shows real-time order flow state
Displays delta strength, big trades, LVNs, and last directional impulse
Auto-positions in all corners
🎯 PERFECT FOR
Traders who use:
Order Flow
Smart Money Concepts (SMC)
ICT / FVG / Liquidity models
Market Structure + Volume
Fabio Valentino-style analysis
⚙️ PERFORMANCE
All elements optimized
Uses automatic box-clearing to avoid array overload
Works on all timeframes & markets (crypto, FX, indices, stocks)
Annual Lump Sum: Yearly & CompoundedAnnual Lump Sum Investment Analyzer (Yearly vs. Compounded)
Overview
This Pine Script indicator simulates a disciplined "Lump Sum" investing strategy. It calculates the performance of buying a fixed dollar amount (e.g., $10,000) on the very first trading day of every year and holding it indefinitely.
Unlike standard backtesters that only show a total percentage, this tool breaks down performance by "Vintage" (the year of purchase), allowing you to see which specific years contributed most to your wealth.
Key Features
Automated Execution: Automatically detects the first trading bar of every new year to simulate a buy.
Dual-Yield Analysis: The table provides two distinct ways to view returns:
Yearly %: How the market performed specifically during that calendar year (Jan 1 to Dec 31).
Compounded %: The total return of that specific year's investment from the moment it was bought until today.
Live Updates: For the current year, the "End Price" and "Yields" update in real-time with market movements.
Portfolio Summary: Displays your Total Invested Capital vs. Total Current Value at the top of the table.
Table Column Breakdown
The dashboard in the bottom-right corner displays the following:
Year: The vintage year of the investment.
Buy Price: The price of the asset on the first trading day of that year.
End Price: The price on the last trading day of that year (or the current price if the year is still active).
Yearly %: The isolated performance of that specific calendar year. (Green = The market ended the year higher than it started).
Compounded %: The "Diamond Hands" return. This shows how much that specific $10,000 tranche is up (or down) right now relative to the current price.
How to Use
Add the script to your chart.
Crucial: Set your chart timeframe to Daily (D). This ensures the script correctly identifies the first trading day of the year.
Open the Settings (Inputs) to adjust:
Annual Investment Amount: Default is $10,000.
Table Size: Adjust text size (Tiny, Small, Normal, Large).
Max Rows: Limit how many historical years are shown to keep the chart clean.
Use Case
This tool is perfect for investors who want to visualize the power of long-term holding. It allows you to see that even if a specific year had a bad "Yearly Yield" (e.g., buying in 2008), the "Compounded Yield" might still be massive today due to time in the market.
NeuroSwarm ETH — Crowd vs Experts Forecast TrackerEnglish:
NeuroSwarm — Crowd vs Experts Forecast Tracker (ETH)
This indicator visualizes monthly forecast data collected from two independent groups:
Crowd – a large sample of retail participants
Experts – a curated group of analysts and experienced market participants
For each month, the indicator plots the following values as horizontal levels on the price chart:
Median forecast (Crowd)
Average forecast (Crowd)
Median forecast (Experts)
Average forecast (Experts)
Shaded zones highlighting the difference between median and mean
All values are fixed for each month and stay unchanged historically.
This allows traders to analyze sentiment dynamics and compare how expectations from both groups align or diverge from actual price action.
Purpose:
This tool is intended for sentiment visualization and analytical insight — it does not generate trading signals.
Its main goal is to compare collective expectations of retail traders vs experts across time.
Data source:
All forecasts come from monthly surveys conducted within the NeuroSwarm project between the 1st and 5th day of each month.
Interface notice:
The script's UI may contain non-English labels for convenience, but a full English documentation is provided here in compliance with TradingView rules.
Русская версия:
NeuroSwarm — Мудрость Толпы vs Эксперты (ETH)
Индикатор отображает ежемесячные прогнозы двух групп:
Толпа: медиана и средняя прогнозов
Эксперты: медиана и средняя прогнозов
Значения фиксируются для каждого месяца и показываются горизонтальными уровнями.
Заливка отображает диапазон между медианой и средней, что упрощает визуальное сравнение настроений.
Это аналитический инструмент для визуализации настроений — не торговая стратегия.
Все данные берутся из ежемесячных опросов проекта NeuroSwarm.
Daily Dollar Cost Averaging (DCA) Simulator & Yearly PerformanceThis indicator simulates a "Daily Dollar Cost Averaging" strategy directly on your chart. Unlike standard backtesters that trade based on signals, this script calculates the performance of a portfolio where a fixed dollar amount is invested every single day, regardless of price action.
Key Features:
Daily Accumulation: Simulates buying a specific dollar amount (e.g., $10) at the market close every day.
Yearly Breakdown Table: A detailed dashboard displayed on the chart that breaks down performance by year. It tracks total invested, average entry price, total holdings, current value, and PnL percentage for each individual year.
Global Stats: The bottom row of the table summarizes the total performance of the entire strategy since the start date.
Breakeven Line: Plots a yellow line on the chart representing your "Global Average Price." When the current price is above this line, the total strategy is in profit.
How to Use:
Add to chart (Works best on the Daily (D) timeframe).
Open settings to adjust your Daily Investment Amount and Start Year.
The table will automatically update to show how a daily investment strategy would have performed over time.
NeuroSwarm BTC — Crowd vs Experts Forecast TrackerEnglish:
NeuroSwarm — Crowd vs Experts Forecast Tracker (BTC)
This indicator visualizes monthly forecasts collected from two independent groups:
Crowd – a large sample of retail traders
Experts – a smaller, curated group of analysts and experienced market participants
For each month, the following values are displayed as horizontal levels on the chart:
Median forecast of the Crowd
Average forecast of the Crowd
Median forecast of Experts
Average forecast of Experts
Shaded zones showing the range between median and mean
The values remain fixed throughout each month. This allows traders to compare sentiment dynamics between groups and see how expectations evolve relative to actual market movement.
Purpose:
This indicator is designed for sentiment analysis — NOT for generating trading signals.
It helps identify divergences between retail expectations and expert forecasts, which can be informative during trend transitions.
Data source:
All values come from monthly surveys conducted within the NeuroSwarm project (1–5 of every month).
Crowd and Expert groups are collected separately to avoid bias and to preserve independent aggregation.
Interface language note:
The indicator’s interface may contain non-English labels for ease of use, but full English documentation is provided here in compliance with TradingView House Rules.
Русская версия (optional, allowed only AFTER English):
NeuroSwarm — Мудрость Толпы vs Эксперты (BTC)
Индикатор показывает ежемесячные прогнозы двух групп:
Толпа: медиана и средняя прогнозов
Эксперты: медиана и средняя прогнозов
Значения фиксируются на весь месяц и отображаются на графике горизонтальными уровнями.
Заливка показывает диапазон между медианой и средней.
Цель индикатора — визуализировать настроение толпы и экспертов и сравнить его с реальным движением цены.
Это аналитический инструмент, а не торговая стратегия.
Данные берутся из ежемесячных опросов (1–5 числа), проводимых в рамках проекта NeuroSwarm.
TCT - Daylight Saving TimeVisualize Daylight Saving Time (DST) transitions on your charts. This indicator marks the spring forward (2nd Sunday of March) and fall back (1st Sunday of November) dates with vertical lines and optional labels.
Features:
Automatic DST detection for US time zones
Customizable line color, width, and style (solid, dashed, dotted)
Optional date labels on transition days
Multiple timezone support: US Eastern, Central, Mountain, Pacific, London, Paris, Tokyo, Sydney
Extends lines across the chart
Memory-efficient (manages up to 100 lines/labels)
Use Cases:
Identify potential market behavior shifts around DST transitions
Track time changes that may affect trading sessions
Plan trades around known time adjustments
Historical analysis of DST impact on price action
Perfect for traders who want to see when clocks change and how it might affect market dynamics. Customize the appearance to match your chart style.
6-9 session & levels6-9 Session & Levels - Customizable Range Analysis Indicator
Description:
This indicator provides comprehensive session-based range analysis designed for intraday traders. It calculates and displays key levels based on a customizable session period (default 6:00-9:00 AM ET).
Core Features:
Session Tracking
Monitors user-defined session times with timezone support
Displays session open, high, and low levels
Highlights session range with optional box visualization
Shows previous day RTH (Regular Trading Hours: 9:30 AM - 4:00 PM) levels
Range Levels
25%, 50%, and 75% range levels within the session
Range deviations at 0.5x, 1.0x, and 2.0x multiples
Fibonacci extension levels (customizable, default 1.33x and 1.66x)
Optional fill zones between Fibonacci levels
Time Zone Highlighting
Marks the 9:40-9:50 AM period as a potential reversal zone
Vertical lines with shading to identify key time windows
Statistical Analysis
Calculates mean and median extension levels based on historical sessions
Displays statistics table showing current range, average range, range difference, and z-score
Customizable sample size (1-100 sessions) for statistical calculations
Option to anchor extensions from either session open or high/low points
Input Settings Explained:
Session Settings
Levels Session Time: Define your session window in HHMM-HHMM format (default: 0600-0900)
Time Zone: Choose from UTC, America/New_York, America/Chicago, America/Los_Angeles, Europe/London, or Asia/Tokyo
Anchor Settings
Show Session Anchor: Toggle the session anchor line (marks session open price at 6:00 AM)
Anchor Style/Color/Width: Customize appearance (Solid/Dashed/Dotted, color, 1-4 width)
Show Anchor Label: Display price label for the anchor
Session Open Line: Similar options for the session open reference line
Range Box Settings
Show Range Box: Display a shaded rectangle highlighting the session high-to-low range
Range Box Color: Set the box background color and transparency
Range Levels (25%/50%/75%)
Show Range Levels: Toggle all three intermediate levels on/off
Individual Level Styling: Each level (25%, 50%, 75%) has its own color, style, and width settings
Show Range Level Labels: Display price labels for each level
Range Deviations
Show Range Deviations: Toggle deviation levels on/off
0.5x/1.0x/2.0x Settings: Each deviation multiplier can be customized with its own color, line style (Solid/Dashed/Dotted), and width
Show Range Deviation Labels: Display labels showing the deviation price levels
Previous Day RTH Levels
Show Previous RTH Levels: Display yesterday's regular trading hours high and low
RTH High/Low Styling: Separate color, style, and width settings for each level
Show Previous RTH Labels: Toggle price labels for RTH levels
Time Zones
Show 9:40-9:50 AM Zone: Highlight this specific time period with vertical lines and shading
Zone Color: Set the background fill color for the time zone
Zone Label Color/Text: Customize the label appearance and text
Fibonacci Extension Settings
Show Fibonacci Extensions: Toggle Fib levels on/off
Fib Extension Color/Style/Width: Customize line appearance
Show Fib Extension Labels: Display price labels
Fib Ext Level 1/2: Set custom multipliers (default 1.33 and 1.66, range 0-5 in 0.1 increments)
Show Fibonacci Fills: Display shaded zones between Fib levels
Fib Fill Color: Customize the fill color and transparency
Session High/Low Settings
Show Session High/Low Lines: Display the actual session extremes
Style/Color/Width: Customize line appearance
Show Labels: Toggle price labels for high/low levels
Extension Stats Settings
Show Statistical Levels on Chart: Display mean and median extension levels based on historical data
Extension Anchor Point: Choose whether to anchor from "Open" or "High/Low" of the session
Number of Sessions for Statistics: Set sample size (1-100, default 60) for calculating averages
Mean/Median High Extension: Separate styling for each statistical level (color, style, width)
Mean/Median Low Extension: Separate styling for downside statistical levels
Tables
Show Statistics Table: Display a summary table with current range, average range, difference, z-score, and sample size
Table Position: Choose from 9 positions (Bottom/Middle/Top + Center/Left/Right)
Table Text Size: Select from Auto, Tiny, Small, Normal, Large, or Huge
Display Settings
Projection Offset: Number of bars to extend lines forward (default 24)
Label Size: Choose from Tiny, Small, Normal, or Large
Price Decimal Precision: Set decimal places for price labels (0-6)
How It Works:
The indicator tracks the specified session period and calculates the session's open, high, low, and range. At the end of the session (9:00 AM by default), it projects all configured levels forward for the trading day. The statistical features analyze the last N sessions (you choose the number) to calculate typical extension behavior from either the session open or the session high/low points.
The z-score calculation helps identify whether the current session's range is normal, expanded, or contracted compared to recent history, allowing traders to adjust expectations for the rest of the day.
Use Case:
This indicator helps traders identify key support and resistance levels based on early session price action, understand current range context relative to historical averages, and spot potential reversal zones during specific time periods.
Note: This indicator is for informational purposes only and does not constitute investment advice. Always perform your own analysis before making trading decisions.
Auto Seasonality Scanner by Novatrix CapitalThe Auto Seasonality Scanner analyzes historical daily price data to identify recurring seasonal patterns in the market. It highlights periods over the last 10 years where certain price movements have historically occurred. This indicator is designed for the DAILY (1D) timeframe only.
Key Features:
Visualizes historical entry and exit points for Long and Short patterns using vertical lines.
Option to exclude specific years (e.g., 2020) from the analysis.
Optional filter by US election cycles.
Calculates average returns, win rates, trade lengths, and number of trades for each pattern.
Displays results in a customizable table with color-coded Long and Short patterns.
This tool is for educational and informational purposes only. It provides a visual guide to potential recurring seasonal trends and does not constitute financial advice or trading recommendations.
AI Probabilistic OrderFlow Scalper⭐ Description:
📌 AI Probabilistic OrderFlow Scalper
This script combines Order Flow, Auction Market Theory, Volume Imbalance, Market Structure (HH/LL), RSI bias filtering, and a probability-based direction model inspired by AI and statistics.
It produces high-precision scalping entries designed for fast markets such as Futures, while remaining compatible with all markets (indices, crypto, forex, metals).
This is not a typical indicator — it is a probabilistic predictive model engineered to provide sniper entries, a tick-based Take Profit, a volatility-adaptive ATR Stop Loss, and optional Value Area levels (VAH/VAL/POC).
⭐ Main Features:
🔥 Directional probability model (AI-style weighted scoring)
📊 Order Flow imbalance (delta-like logic)
📈 HH/LL market structure detection
🎯 Smart RSI bias filter
🚀 One signal per trend shift (anti-spam)
🎯 Tick-based Take Profit (perfect for NQ / futures)
🛡️ ATR-based dynamic Stop Loss
📉 Value Area display: VAH, VAL, POC
🔊 Volume confirmation filter
📡 Directional probability plot
✔️ Works for Futures, Crypto, Forex, Indices
🧠 Probabilistic AI Approach
The model uses a 3-factor scoring system:
Order Flow imbalance
Market structure (HH/LL)
RSI trend bias
Each validated condition = 1 point.
The total score is converted into Buy/Sell probabilities, and the higher-probability direction is selected.
When probability exceeds the threshold (e.g. 80%), the system triggers a high-confidence sniper signal.
This mirrors Revenue Management logic:
→ Only take a decision when probability of success is maximized.
🎯 Buy/Sell Signals (Sniper Entries)
🔵 Green triangle under the candle = high-probability Buy
🔴 Red triangle above the candle = high-probability Sell
✔️ Only one signal per directional shift
✔️ Signals appear only when all strict filters are satisfied
📌 Automatic TP / SL
TP: fixed tick-based (e.g. 100 ticks for NQ scalping)
SL: ATR-based, adapts to volatility
TP/SL display can be enabled or disabled
Perfectly calibrated for high-speed scalping.
📘 How to Use
Use on every timeframe
Adjust probability threshold (75–90 recommended)
Enable strict mode for maximum precision
Let the model filter entries automatically
Choose a TP suitable for your market
Optionally display VAH/VAL/POC for Auction Theory context
Always test using backtesting before going live
🏆 Advantages
Extremely fast for scalping
High win-rate potential via probabilistic filtering
Clean signals (no noise or spam)
Combines the strongest trading frameworks:
Order Flow
Market Structure
Statistical modeling
Volume profiling
Automated risk management
AI Probabilistic OrderFlow Scalper⭐ Main Name
AI Probabilistic OrderFlow Scalper
⭐Description:
📌 AI Probabilistic OrderFlow Scalper — Predictive Auction Theory Model for Futures
This script combines Order Flow, Auction Market Theory, Volume Imbalance, Market Structure (HH/LL), RSI bias filtering, and a probability-based direction model inspired by AI and Revenue Management.
It produces high-precision scalping entries designed for fast markets such as Nasdaq Futures (NQ), while remaining compatible with all markets (indices, crypto, forex, metals).
This is not a typical indicator — it is a probabilistic predictive model engineered to provide sniper entries, a tick-based Take Profit, a volatility-adaptive ATR Stop Loss, and optional Value Area levels (VAH/VAL/POC).
⭐ Main Features
🔥 Directional probability model (AI-style weighted scoring)
📊 Order Flow imbalance (delta-like logic)
📈 HH/LL market structure detection
🎯 Smart RSI bias filter
🚀 One signal per trend shift (anti-spam)
🎯 Tick-based Take Profit (perfect for NQ / futures)
🛡️ ATR-based dynamic Stop Loss
📉 Value Area display: VAH, VAL, POC
🔊 Volume confirmation filter
📡 Directional probability plot
✔️ Works for Futures, Crypto, Forex, Indices
🧠 Probabilistic AI Approach
The model uses a 3-factor scoring system:
Order Flow imbalance
Market structure (HH/LL)
RSI trend bias
Each validated condition = 1 point.
The total score is converted into Buy/Sell probabilities, and the higher-probability direction is selected.
When probability exceeds the threshold (e.g. 80%), the system triggers a high-confidence sniper signal.
This mirrors Hight probability decision:
→ Only take a decision when probability of success is maximized.
🎯 Buy/Sell Signals (Sniper Entries)
🔵 Green triangle under the candle = high-probability Buy
🔴 Red triangle above the candle = high-probability Sell
✔️ Only one signal per directional shift
✔️ Signals appear only when all strict filters are satisfied
📌 Automatic TP / SL
TP: fixed tick-based (e.g. 100 ticks for NQ scalping)
SL: ATR-based, adapts to volatility
TP/SL display can be enabled or disabled
Perfectly calibrated for high-speed scalping.
📘 How to Use
Use any timeframe
Adjust probability threshold (75–90 recommended)
Enable strict mode for maximum precision
Let the model filter entries automatically
Choose a TP suitable for your market
Optionally display VAH/VAL/POC for Auction Theory context
Always test using backtesting before going live
🏆 Advantages
Extremely fast for scalping
High win-rate potential via probabilistic filtering
Clean signals (no noise or spam)
Combines the strongest trading frameworks:
Order Flow
Market Structure
Statistical modeling
Volume profiling
Automated risk management
Position Size Calculator - Fixed Risk Per BarThis indicator calculates the max contracts allowed per bar based on your determined fixed risk.
Dual Account Position Size CalculatorA quick and easy to use position sizing calculator for use on the daily TF only. inputs for two different account sizes and risk %. Calculates risk to low of day (plus a small buffer which can be changed based on ATR). Shows # of shares to buy, stop loss, portfolio %.
Will show on smaller timeframes , but be aware that the stop level will no longer be low of day, so it will not calculate properly. Always use on the daily.
Dynamic Breakout Odds [RayAlgo]█ OVERVIEW
Dynamic Breakout Odds is a probability-based breakout tool that uses ATR and pattern matching to estimate how likely price is to expand up or down from the current candle.
Instead of guessing, the indicator scans historical candles that look like the current one and measures how often price broke above or below by a volatility-based amount.
It then projects those probabilities forward as clean levels and a bias dashboard on your chart.
Use it to quickly answer:
• “Is the next move statistically more likely up or down?”
• “How far does price typically travel from here, in ATR terms?”
█ CONCEPTS
Candle Profile Matching
The script builds a “profile” of the current setup using two elements:
• The color of the previous candle (bullish close vs bearish close)
• The trend environment (above/below EMA, if the filter is enabled)
Only historical candles with the same profile are used for statistics. This keeps the probabilities specific to the current context instead of mixing all market conditions together.
ATR-Based Expansion
For every matching historical candle, the script checks how far price moved away from the open using ATR:
• Upward move thresholds
• Moderate expansion (≈ 0.5 ATR above the open)
• Stronger expansion (≈ 1.0 ATR above the open)
• Downward move thresholds
• Moderate expansion (≈ 0.5 ATR below the open)
• Stronger expansion (≈ 1.0 ATR below the open)
It counts how often each expansion happened, then converts those counts into probabilities.
Normalized Probability Scores
The indicator doesn’t just show raw percentages; it normalizes them so that all scenarios together form a consistent probability set.
Internally it tracks four outcomes for similar candles:
• Chance of a moderate move upward
• Chance of a strong move upward
• Chance of a moderate move downward
• Chance of a strong move downward
These are then normalized so the total is roughly 100%. From this, two main metrics are derived:
• Bullish Strength = combined normalized odds of upside moves
• Bearish Strength = combined normalized odds of downside moves
Whichever side has the higher score defines the current directional bias .
█ WHAT YOU SEE ON THE CHART
1. Breakout Projection Levels
Four horizontal levels are projected around the open of the current bar:
• Two upside levels
• Nearer upside expansion (~0.5 ATR above the open)
• Further upside expansion (~1.0 ATR above the open)
• Two downside levels
• Nearer downside expansion (~0.5 ATR below the open)
• Further downside expansion (~1.0 ATR below the open)
Each line extends a configurable number of bars into the future, so you visually see a breakout “corridor” above and below price.
2. Probability Labels
At the right edge of each line, you’ll see a label such as:
• “X% – near upside”
• “Y% – further downside”
These labels tell you how frequently similar candles in the chosen lookback reached that expansion. You immediately know which scenario has been more common historically.
3. Breakout Zones
Between the paired upside lines and the paired downside lines, shaded “probability zones” can be shown:
• The upper shaded band highlights the typical upside expansion range
• The lower shaded band highlights the typical downside expansion range
These zones visually group probable target areas instead of just single lines.
4. Background Tint
The background behind price is softly tinted towards:
• Bullish color when Bullish Strength > Bearish Strength
• Bearish color when Bearish Strength > Bullish Strength
The stronger the statistical imbalance between the two, the more pronounced the tint. This gives you an instant feel for whether conditions lean more Long, more Short, or are nearly Neutral.
5. Directional Bias Arrow
On the last bar the script can plot a clean arrow:
• Up-arrow below price when bullish odds dominate
• Down-arrow above price when bearish odds dominate
The arrow is positioned beyond all projection lines, making it easy to see even on cluttered charts and reminding you of the current statistical bias without text.
6. Origin Marker
A small horizontal mark is drawn at the open of the current candle.
This acts as the “starting point” from which all ATR-based expansions above and below are measured.
7. Dashboard Panel
A compact dashboard is drawn in a corner of the chart (location configurable). It displays:
• Bullish Strength – combined normalized probability for upside expansions
• Bearish Strength – combined normalized probability for downside expansions
• Bias – “Long Bias”, “Short Bias”, or “Neutral”
• Trend Filter – shows whether EMA-based filtering is ON or OFF and which length is used
This gives you a quick, text-based summary of the current statistical environment.
█ SETTINGS
Analysis Lookback Period
• Controls how many historical bars the script inspects when searching for similar candles.
• Larger values = more history, smoother statistics, slower adaptation.
• Smaller values = faster adaptation, but more noise and less stability.
ATR Length
• The period used to compute ATR volatility.
• Defines how “big” 0.5 ATR and 1.0 ATR moves are on your current symbol and timeframe.
Trend Filter (EMA)
• Filter by Trend?
• When ON, only historical candles in a similar trend regime are used.
• When OFF, all past candles with similar color are considered, regardless of trend.
• Trend EMA Length
• EMA period used to classify trend.
• Price above EMA → uptrend environment.
• Price below EMA → downtrend environment.
This filter helps you separate behavior in uptrends from downtrends, which can significantly change breakout dynamics.
Visual Settings
• Projection Width (bars)
• How far the lines and zones extend into the future.
• Show Probability Zones
• Toggle shaded bands between each pair of levels.
• Label Size
• Choose smaller or larger text for the probability labels on the right.
• Tint Background by Bias
• Turn the bias-based background on or off.
• Show Bias Marker on Last Candle
• Toggle the up/down arrow marker.
• Dashboard Location
• Select top/bottom left/right corner for the panel.
█ HOW TO USE IT
1. Start With the Dashboard
Look at Bullish Strength vs Bearish Strength:
• If bullish is clearly larger → environment statistically favors upside expansion.
• If bearish is clearly larger → environment statistically favors downside expansion.
• If they are close → treat the situation as Neutral; consider reducing position size or waiting for more clarity.
2. Use Levels as Dynamic Targets
The projected lines and zones can serve as:
• Profit targets based on typical expansion distance
• Logical regions for scaling out
• Areas where you expect price behavior to change (e.g., loss of momentum)
Short-term traders often focus on the nearer expansion levels, while swing traders may use the farther levels as extended targets.
3. Align With Trend (Optional)
With the trend filter ON:
• Prefer Long setups when price is above the EMA and bullish probabilities dominate.
• Prefer Short setups when price is below the EMA and bearish probabilities dominate.
With the filter OFF, you get pure color-plus-pattern statistics across the whole lookback, which can be useful if you deliberately trade counter-trend or range conditions.
4. Combine With Your Existing System
Dynamic Breakout Odds is best used as a confirmation and targeting layer :
• Combine it with structure (support/resistance, supply/demand, order blocks).
• Combine it with volume or orderflow tools if you use them.
• Use the probability zones to validate whether your planned target is realistic relative to recent volatility.
It is not designed to be a standalone “buy/sell” signal generator, but a statistical map around your entries.
█ PRACTICAL EXAMPLES
Example A – Bullish, Moderate Expansion Frequently Hit
• Bullish Strength significantly higher than Bearish Strength.
• The nearer upside level shows a strong historical hit rate.
Interpretation: similar setups often produce at least a moderate push upward before failing.
Use case: trade pullbacks in the direction of the bias, targeting the nearer upside projection as an initial take-profit.
Example B – Bearish, Deeper Downside Often Reached
• Bearish Strength clearly dominant.
• Both the nearer and farther downside levels show decent probabilities.
Interpretation: similar conditions historically saw follow-through to the downside.
Use case: use rallies against the direction of the bias to position into shorts, planning partial exits around the first downside projection and runners toward the second.
Example C – Neutral, Balanced Probabilities
• Bullish and Bearish Strength scores are close.
• Background tint is very light or absent.
Interpretation: the market is statistically indecisive; expansions up or down are similarly likely.
Use case: consider range trading tactics, mean-reversion ideas, or simply standing aside until a clearer skew develops.
█ BEST PRACTICES
• Use on liquid symbols and reasonable timeframes to avoid distorted ATR behavior.
• Don’t overfit lookback length to a single instrument; test across markets.
• Let the indicator provide context, not absolute certainty.
• Always combine with proper risk management (position sizing, max loss per trade, etc.).
• Be cautious with very small sample sizes (e.g., very short lookbacks on low-volume assets).
█ LIMITATIONS & NOTES
• All probabilities are based on historical behavior ; markets can change regime.
• ATR distances are relative to recent volatility and may shrink/expand over time.
• The script intentionally does not guarantee any direction or target; it only reports what has been most common in similar past situations.
█ DISCLAIMER
This tool is for educational and informational purposes only.
It does not constitute financial advice or a guarantee of performance.
Always do your own research, test on demo or historical data, and use appropriate risk management when trading live capital.
Monthly DCA & Last 10 YearsThis Pine Script indicator simulates a Monthly Dollar Cost Averaging (DCA) strategy to help long-term investors visualize historical performance. Instead of complex timing, the script automatically executes a hypothetical fixed-dollar purchase (e.g., $100) on the first trading day of every month. It visually marks entry points with green "B" labels and plots a dynamic yellow line representing your Global Break-Even Price, allowing you to instantly see if the current price is above or below your average cost basis. To provide deep insight, it generates a detailed performance table in the bottom-right corner that breaks down metrics year-by-year—including total capital invested, shares/coins accumulated, and Profit/Loss percentage—along with a grand total summary of the entire investment period.
Weekly DCA & Yearly TableThis Pine Script indicator simulates a Weekly Dollar Cost Averaging (DCA) strategy directly on your TradingView chart. It automatically calculates a hypothetical portfolio where a fixed dollar amount (default $100) is invested every Friday (or the last trading day of the week) starting from a user-defined year. Visually, it marks every purchase with a green "B" label and plots a yellow line representing your Global Break-Even Price, allowing you to see exactly where your average entry lies relative to current price action. To track performance, it generates a detailed table in the bottom-right corner that breaks down your investment year-by-year, showing total capital invested, "coins" or shares accumulated, average buy price per year, current value, and profit/loss percentage, along with a grand total summary for the entire period.
Multi-Timeframe Liquidity ZonesXUAUSD 流动性清扫图 关闭自动调整参数,要求收盘回另一侧,重生流动性检测。高点回溯周期5
阈值0.03 数量50
XAUUSD Liquidity Sweep Chart: Disable automatic parameter adjustment, require closing on the opposite side, and regenerate liquidity detection. High point lookback period: 5. Threshold: 0.03. Quantity: 50.
Precision Trade Manager🔥Precision Trade Manager is a complete execution - planning and trade-management system for TradingView.
It gives you full control over entry, stop-loss, position sizing, risk %, multi-TP planning (1–5), live tracking, realized profit, floating P&L, RR, and account % change — all directly on your chart.
Because this tool has many features and workflows, the TradingView description is too short to explain everything properly.
For that reason, please read the two PDF guides below before using the indicator.
They explain exactly how the tool works, how to set it up correctly, and how to avoid mistakes when planning or managing trades.
📘 PDF 1 — Quick Start Guide (Read First)
drive.google.com
This guide explains the core workflow step-by-step:
✔ How to add the tool to the chart
✔ How to configure assets, contract size, account balance, and trading costs
✔ How to set Entry, SL, and your risk %
✔ How to set TP1–TP5 using RR mode or manual mode
✔ How partials work
✔ How LIVE TRACKING mode works
✔ How to reset and prepare your next trade
This PDF teaches you the correct operational flow, so you understand how Precision Trade Manager behaves on the chart and why certain features exist.
Reading this first prevents confusion and ensures you use the tool correctly.
📙 PDF 2 — Feature Overview & Visual Examples
drive.google.com
This PDF gives a full breakdown of everything the tool is capable of:
✔ Real-time dashboard metrics (pips, lots, RR, profit, % account)
✔ Partial TP tracking with green checkmarks and locked profit
✔ Floating vs. locked mode
✔ Pip/point/currency conversions across Gold, Forex, Indices, and Crypto
✔ Example charts for US30, EURUSD, and XAUUSD
✔ A direct comparison against the TradingView Long/Short tool
This document is visual. It shows real examples of the tool in action so you understand what to expect once you’re using it live on your chart.

It is highly recommended to look through this PDF before your first trade. It will help you understand the dashboard, interpret every metric, and recognize the benefits versus the default TradingView tools.
(The tool has many (!) tooltips, hower mouse over each. To get a clear description of what each function/button/box do)
JRien Position Sizer (Real-Time) — ATR / LOD / Manual % $ RiskReal time position sizing based on real time potential entry price and calculations based on max risk. Usable on multi timeframes. You can also input manually your entry and stop based on your own discretion. I usually use a spreadsheet to calculate these things but wanted a way to see this in real time without needing to type out Entry, ATR, Stops, etc - TradingView has all this information already so why not just have it automatically update!
4 Stop Types:
ATR Based Stop
Based on the stocks ATR (mainly used on daily charts but options if you use other timeframe ATR) and uses a multiple of that ATR to base the plot. Many traders use less than 0.6ATR to base your stop as a rule and max entry 60% from LOD as another rule.
Manual Percent Stop
You're able to input your desired % stop and this will dynamically move with the current entry (last) price.
Manual Price Stop
You're able to input your desired price $ stop and this will dynamically move with the current entry (last) price.
Low of Day (LOD) Stop
Calculates your position based on if you were to have your stop at LOD and also calculates % of ATR away from LOD. Many swing traders use LOD for their stop so this moving dynamically with the current LOD and automatically calculating this is useful.
Calculates:
Entry (Last)
ATR (14 | D)
ATR Stop Price
Manual Stop Percent
Manual Stop Price
Final Stop
Risk per Share ($)
Shares by Risk
Shares by Stake
Final Shares
Final Position Cost
Potential Stop Loss
LOD Price
Loss at LOD
LOD Risk % of Account
LOD dist as % of ATR
Customizable table - can hide items, change color and size.
Also an option to hide historical data - so plots start at market open!
Let me know if any calculations are incorrect, good luck!
- JRien
Yong Fin Growth on ChartBridge the gap between Fundamental Analysis and Technical Price Action.
Yong Fin Growth on Chart is the ultimate tool for "Hybrid Traders" and investors who need to visualize financial performance directly alongside price movements. Stop switching tabs between news sites and your charts—get the full context of why a stock is moving, right where it happens.
This indicator overlays key financial metrics onto your chart, triggered precisely by Earnings Announcements. It allows you to instantly correlate price reactions with fundamental catalysts like Revenue Growth, Margin Expansion, or EPS surprises.
Key Features:
🔹 1. Smart Earnings Trigger The indicator automatically detects Earnings Announcement dates and plots a data label on the exact bar.
Stocks: Aligns with the specific earnings release date to show immediate price reaction.
Funds/ETFs: Supports Fiscal Period End dates for broader instrument analysis.
Includes a vertical line option to visually separate fiscal periods for easy backtesting.
🔹 2. 5 Fully Customizable Data Slots Configure up to 5 independent slots to track the metrics that matter to your strategy. Choose from a comprehensive list including:
Growth: Revenue, Net Income, EBITDA, EPS.
Efficiency: Gross Margin (GPM), Net Margin (NPM), ROE, ROA.
Valuation: P/E, P/S, P/BV, EV/EBITDA, and Implied P/E.
Health: Cash, Debt, Net Debt, Free Cash Flow (FCF).
🔹 3. Dynamic Growth Coloring & Thresholds Instantly identify trend changes with intelligent color coding.
Comparison Modes: Toggle between YoY (Year-over-Year) or QoQ (Quarter-over-Quarter) growth logic.
Custom Thresholds: Define your own standards. For example, set the label to turn Green only if growth exceeds +15%, or Red if it falls below -5%. This helps filter out noise and highlights significant fundamental shifts.
🔹 4. Flexible Period Selection Analyze data across different timeframes to suit your trading style:
FQ: Fiscal Quarter (Short-term momentum)
FY: Fiscal Year (Long-term trend)
TTM: Trailing Twelve Months (Ideal for smooth Valuation ratios)
FH: Fiscal Half (For securities reporting semi-annually)
How to Use:
Add to Chart: Apply the indicator to any stock symbol.
Configure Slots: Go to settings and select the 5 metrics you want to monitor (e.g., Rev, Net Profit, GPM, NPM, P/E).
Set Color Logic: Choose whether you want to color-code based on YoY or QoQ growth.
Analyze: Look for the labels.
Are margins expanding while price is consolidating?
Did the price drop despite a "Green" label? (Market expectations vs. Reality)
Use the vertical lines to see how the trend changed after previous earnings reports.
"Stop guessing. Let the fundamentals guide your technical entries."
Disclaimer: This tool is for educational and analytical purposes only. Past performance does not guarantee future results. Please conduct your own due diligence.
---------------------------------
เชื่อมช่องว่างระหว่างการวิเคราะห์ปัจจัยพื้นฐาน (Fundamental) และกราฟราคาทางเทคนิค (Technical Price Action)
Yong Fin Growth on Chart คือเครื่องมือที่ดีที่สุดสำหรับ "นักลงทุนสายผสม (Hybrid Traders)" และนักลงทุนที่ต้องการเห็นผลประกอบการทางการเงินซ้อนทับไปกับการเคลื่อนไหวของราคาโดยตรง หยุดเสียเวลาสลับหน้าจอไปมาระหว่างเว็บข่าวและกราฟของคุณ—รับรู้บริบททั้งหมดว่าทำไมหุ้นถึงวิ่ง ได้ทันทีบนหน้าจอนี้
อินดิเคเตอร์นี้จะวางค่าทางการเงินที่สำคัญลงบนกราฟ โดยถูกกระตุ้น (Trigger) อย่างแม่นยำด้วย วันประกาศงบ (Earnings Announcements) ช่วยให้คุณเชื่อมโยงปฏิกิริยาของราคา เข้ากับปัจจัยพื้นฐานที่เป็นตัวขับเคลื่อนได้ทันที เช่น การเติบโตของรายได้, การขยายตัวของอัตรากำไร (Margin), หรือกำไรต่อหุ้น (EPS) ที่เซอร์ไพรส์ตลาด
ฟีเจอร์หลัก:
🔹 1. Smart Earnings Trigger (ตัวระบุวันงบออกอัจฉริยะ) อินดิเคเตอร์จะตรวจจับวันประกาศงบอัตโนมัติและพลอตป้ายข้อมูล (Label) ลงบนแท่งเทียนนั้นเป๊ะๆ
หุ้นรายตัว: ตรงกับวันประกาศผลประกอบการจริง เพื่อดูปฏิกิริยาราคาทันที
กองทุน/ETFs: รองรับวันปิดรอบบัญชี (Fiscal Period End) สำหรับการวิเคราะห์สินทรัพย์ประเภทอื่นๆ
มีออปชั่นเส้นแนวตั้ง เพื่อแบ่งช่วงเวลางบแต่ละรอบ ให้ดูย้อนหลัง (Backtest) ได้ง่าย
🔹 2. 5 Fully Customizable Data Slots (ช่องข้อมูลปรับแต่งได้ 5 ช่อง) ตั้งค่าได้ถึง 5 ช่องอิสระ เพื่อติดตามตัวเลขที่สำคัญต่อกลยุทธ์ของคุณ เลือกจากรายการที่ครอบคลุม เช่น:
การเติบโต (Growth): Revenue, Net Income, EBITDA, EPS
ประสิทธิภาพ (Efficiency): Gross Margin (GPM), Net Margin (NPM), ROE, ROA
มูลค่า (Valuation): P/E, P/S, P/BV, EV/EBITDA, และ Implied P/E (ค่าพิเศษที่คุณใส่สูตรไว้)
สุขภาพการเงิน (Health): Cash, Debt, Net Debt, Free Cash Flow (FCF)
🔹 3. Dynamic Growth Coloring & Thresholds (ระบบสีและการตั้งเกณฑ์) ระบุการเปลี่ยนเทรนด์ได้ทันทีด้วยรหัสสีอัจฉริยะ
โหมดเปรียบเทียบ: เลือกสลับได้ระหว่าง YoY (เทียบปีก่อน) หรือ QoQ (เทียบไตรมาสก่อน)
เกณฑ์ที่กำหนดเอง (Custom Thresholds): กำหนดมาตรฐานของคุณเอง ตัวอย่างเช่น ตั้งค่าให้ป้ายเป็น สีเขียว เฉพาะเมื่อโตเกิน +15% หรือเป็น สีแดง เมื่อต่ำกว่า -5% สิ่งนี้ช่วยกรอง Noise และเน้นเฉพาะการเปลี่ยนแปลงพื้นฐานที่มีนัยสำคัญ
🔹 4. Flexible Period Selection (เลือกช่วงเวลาได้ยืดหยุ่น) วิเคราะห์ข้อมูลในกรอบเวลาที่แตกต่างกันตามสไตล์การเทรด:
FQ: รายไตรมาส (Fiscal Quarter) - ดูโมเมนตัมระยะสั้น
FY: รายปี (Fiscal Year) - ดูเทรนด์ระยะยาว
TTM: 12 เดือนย้อนหลัง (Trailing Twelve Months) - เหมาะสำหรับดูค่า Valuation Ratio ให้สมูท
FH: ครึ่งปี (Fiscal Half) - สำหรับหลักทรัพย์ที่ส่งงบแบบครึ่งปี
วิธีใช้งาน:
Add to Chart: ใส่อินดิเคเตอร์ลงในกราฟหุ้นตัวใดก็ได้
Configure Slots: ไปที่การตั้งค่าและเลือก 5 ค่าที่คุณต้องการเฝ้าดู (เช่น Rev, Net Profit, GPM, NPM, P/E)
Set Color Logic: เลือกตรรกะสี ว่าจะให้อิงตามการเติบโตแบบ YoY หรือ QoQ
Analyze: สังเกตป้ายข้อมูล
อัตรากำไร (Margin) ขยายตัวในขณะที่ราคากำลังพักตัวอยู่หรือเปล่า?
ราคาดิ่งลงทั้งๆ ที่ป้ายเป็น "สีเขียว" หรือไม่? (ความคาดหวังตลาด vs ความจริง)
ใช้เส้นแนวตั้งเพื่อดูว่าเทรนด์เปลี่ยนไปอย่างไรหลังจากงบออกในรอบก่อนๆ
"เลิกเดา ให้ปัจจัยพื้นฐานนำทางจุดเข้าซื้อทางเทคนิคของคุณ"
คำเตือน: เครื่องมือนี้มีไว้เพื่อการศึกษาและวิเคราะห์ข้อมูลเท่านั้น ผลการดำเนินงานในอดีตไม่การันตีผลลัพธ์ในอนาคต โปรดศึกษาข้อมูลด้วยตนเอง
ASR / ADR by Vanya_zvwey
🇺🇦 Детальний Опис та Інструкція Користувача Індикатора ASR/ADR Grid
Цей індикатор є інструментом для візуалізації волатильності, який використовує історичні дані для прогнозування потенційних цінових рівнів розширення та корекції. Він будує сітки на основі середнього діапазону сесії (ASR) та середнього денного діапазону (ADR).
🔑 Ключові Концепції
ASR (Average Session Range): Середній діапазон High-Low, який зазвичай досягається протягом обраної торгової сесії (Азія, Лондон, Нью-Йорк) за останні N днів.
ADR (Average Daily Range): Середній діапазон High-Low, досягнутий протягом цілого 24-годинного торгового дня за останні N днів.
Синхронізація Часового Поясу: На відміну від багатьох індикаторів, цей індикатор залежить від введеного саме вами Session Timezone. Він гарантує, що ваші сесії та денні відкриття розраховуються правильно, незалежно від часового поясу вашого графіку.
⚙️ Посібник із Налаштування (Вхідні Параметри)
Налаштування згруповані для зручності:
1. General Settings (Загальні Налаштування)
Session Timezone: Виберіть часовий пояс, який використовуватиметься як єдиний орієнтир для всіх часів Start/End. Це може бути "UTC+2", "America/New_York" тощо.
Lookback Period (Days): Кількість днів, що використовується для обчислення середнього значення ASR та ADR.
Grid Direction:
"Up": Сітки будуються від поточного Low сесії/дня і розширюються вгору.
"Down": Сітки будуються від поточного High сесії/дня і розширюються вниз.
Grid Step %: Крок для внутрішніх ліній сітки (наприклад, 25% дасть лінії 25%, 50%, 75%).
2. Session Settings (Asia, London, New York)
Show : Увімкнення/вимкнення відображення сітки для конкретної сесії.
Start Time (HH:MM) / End Time (HH:MM): Час початку та кінця сесії, який відповідає вибраному вами Session Timezone.
3. ADR (Daily) Grid (Сітка Денного Діапазону)
Show ADR Grid: Увімкнення/вимкнення сітки, що охоплює весь день.
ADR Anchor: Визначає, від якої ціни починається відлік ADR (0%):
"Day Open": Як якір використовується ціна відкриття дня (00:00 у вашому часовому поясі).
"Day Low/High": Як якір використовується поточний денний екстремум (Low, якщо напрямок "Up", або High, якщо напрямок "Down").
📈 Використання та Інтерпретація
Сітка складається з рівнів від 0% до 100%, які візуалізують, наскільки далеко ціна просунулася щодо середнього історичного діапазону.
Структура Сітки
0% Рівень (Границя): Це якірна точка (High або Low) поточної сесії/дня, з якої починається розрахунок. Лінія суцільна.
100% Рівень (Границя): Це ціновий рівень, що дорівнює 0% Якір + ASR/ADR. Це статистично очікуваний максимальний рух. Лінія суцільна.
Внутрішні Рівні (Grid Step): Пунктирні лінії (25%, 50%, 75% тощо), які показують проміжні цілі або зони корекції.
Торгова Інтерпретація
Рух до 50%: Ціна досягла половини середнього діапазону.
Досягнення 100%: Ціна досягла "середнього" діапазону волатильності. Це часто служить хорошою ціллю для фіксації прибутку або точкою, де можна очікувати корекції/розвороту, оскільки рух вже відповідає історичним нормам.
Рух за межі 100% (Екстремум): Рух, що перевищує 100% ASR/ADR, вважається нетипово сильним або екстремальним.
🇬🇧 Detailed Description and User Guide for the ASR/ADR Grid Indicator
This indicator is a robust volatility visualization tool designed to project potential price extension and retracement levels based on historical data. It constructs price grids using the Average Session Range (ASR) and the Average Daily Range (ADR).
🔑 Key Concepts
ASR (Average Session Range): The average High-to-Low range typically achieved during a selected trading session (Asia, London, New York) over the last N days
ADR (Average Daily Range): The average High-to-Low range achieved during the entire 24-hour trading day over the last N days.
Timezone Synchronization: This is critical. The indicator relies on a single Session Timezone input to correctly calculate all session start/end times and daily opens, ensuring accuracy regardless of your charting platform's native exchange time.
⚙️ Setup Guide (Input Parameters)
The settings are organized into logical groups:
1. General Settings
Session Timezone: Select the timezone that will serve as the single reference point for all Start/End times below (e.g., "UTC+2", "America/New_York").
Lookback Period (Days): The number of preceding days used to compute the average ASR and ADR values.
Grid Direction:
"Up": The grids are anchored at the current session/day's Low and extend upwards.
"Down": The grids are anchored at the current session/day's High and extend downwards.
Grid Step %: The percentage increment for the inner grid lines (e.g., 25% will plot lines at 25%, 50%, 75%).
2. Session Settings (Asia, London, New York)
Show : Toggles the visibility of the grid for that specific session.
Start Time (HH:MM) / End Time (HH:MM): The start and end times for the session, which must correspond to your chosen Session Timezone. The script supports overnight sessions (e.g., starting at 22:00 and ending at 02:00 the next day).
3. ADR (Daily) Grid
Show ADR Grid: Toggles the visibility of the grid covering the entire trading day.
ADR Anchor: Determines the price point from which the ADR (0%) is measured:
"Day Open": The anchor is the day's opening price (at 00:00 in your chosen timezone).
"Day Low/High": The anchor is the current day's extreme (Low if Direction is "Up", or High if Direction is "Down").
📈 Usage and Interpretation
The grid levels, ranging from 0% to 100%, visualize how far the price has traveled relative to the average historical volatility for that specific period.
Grid Structure
0% Level (Border): This is the anchor point (High or Low) of the current session/day, serving as the starting reference for the calculation. This line is solid.
100% Level (Border): This is the price level equal to the 0% Anchor + ASR/ADR. It represents the statistically expected average maximum move. This line is also solid.
Inner Levels (Grid Step): These dotted lines (25%, 50%, 75%, etc.) serve as intermediate targets or potential zones for pullback.
Trading Interpretation
Reaching 50%: The price has achieved half of the average range.
Reaching 100%: The price has fulfilled the "average" volatility range. This level often acts as an excellent profit target or a point where you might expect correction or reversal, as the move has met historical norms.
Moving Beyond 100% (Extreme): A price move that exceeds 100% ASR/ADR is considered unusually strong or extreme volatility.






















