Blanco V3 (PRO MTF System)**Blanco V3 – Advanced Precision Trading System**
Blanco V3 is the next evolution of the Blanco series, designed to deliver **precision entries, stronger confirmations, and cleaner decision-making**. It builds on the foundation of Blanco V1 and V2 by enhancing timing, filtering noise, and introducing smarter multi-timeframe alignment.
At its core, Blanco V3 uses a **Zero Lag EMA (ZLEMA)** to reduce delay and detect trend direction faster than traditional indicators. Combined with advanced filters, it helps traders enter earlier while avoiding weak or late setups.
---
### ⚙️ Intelligent Trading Modes
Blanco V3 features three adaptive modes that dynamically adjust strictness:
* **Aggressive Mode**
Faster signals with more entries. Ideal for scalping and lower timeframes.
* **Balanced Mode (Recommended)**
Optimized for consistency. Balances signal quality and frequency.
* **Conservative Mode**
Focuses only on the strongest setups. Best for swing trading and higher timeframes.
Each mode automatically adjusts:
* Trend strength thresholds (ADX)
* Momentum requirements (RSI)
* Entry precision (pullback sensitivity)
---
### 📊 Signal System
Blanco V3 delivers a refined 3-layer signal structure:
#### 🔺 Entry Signals (Precision Arrows)
Small arrows mark optimized entry points using:
* Pullbacks toward the ZLEMA
* Momentum confirmation (RSI alignment)
* Strong trend validation (ADX filter)
* Candle strength (price action confirmation)
These signals are designed to **improve timing and avoid chasing price**.
---
#### 🟢 BUY / 🔴 SELL Labels (Trend Confirmation)
Larger labels appear when the overall trend shifts direction, helping traders identify:
* Swing entries
* Trend reversals
* Continuation opportunities
---
#### ❗ Elite Signals (Full Alignment)
Blanco V3 introduces enhanced **Elite Signals**, which appear only when:
* A valid entry signal is triggered
* AND all monitored timeframes are aligned
These signals represent the **highest-probability setups**, combining trend, momentum, and full market agreement.
---
### 🧠 Multi-Timeframe Intelligence
Blanco V3 includes a bright, easy-to-read dashboard showing trend direction across:
* 5-minute
* 15-minute
* 30-minute
* 1-hour
* 2-hour
* 4-hour
Each timeframe is color-coded:
* 🟢 Green = Bullish
* 🔴 Red = Bearish
---
### 🔍 Smart Confirmation Logic (NEW)
Blanco V3 improves flexibility and accuracy with:
* **Partial Alignment (4/6 or more)**
Allows earlier entries while maintaining quality
* **Full Alignment (6/6)**
Triggers ❗ Elite Signals for maximum confidence
* **Noise Reduction Filters**
Avoids sideways markets and weak momentum conditions
---
### 🎯 Strategy Philosophy
Blanco V3 is designed around one key principle:
> **Trade with the trend, enter on pullbacks, and confirm with alignment.**
It focuses on:
* Entering **after retracements**, not breakouts
* Trading only in **strong market conditions**
* Aligning with **higher timeframe direction**
---
### ⚠️ Best Use
* Best on **1H and 4H charts**
* Works best in **trending markets**
* Combine with:
* Risk management
* Support & resistance
* Market structure
---
### 📌 Quick Guide
* 🔺 Arrows = precise entries
* 🟢 BUY / 🔴 SELL = trend shifts
* ❗ = elite high-probability trades
* 📊 Dashboard = multi-timeframe confirmation
---
**Blanco V3 is built for traders who want cleaner charts, smarter entries, and higher-quality signals — all in one system.**
Indicateur

Auto Parallel Channel - Trend & Reversal TrackerThis indicator automates a highly specific and effective manual charting technique for tracking trends and identifying potential reversal zones. It is designed to help traders visualize dynamic parallel channels without the hassle of constantly redrawing lines, making it especially useful for timing short entries or spotting bottom reversals in volatile markets like crypto and forex.
How It Works:
Unlike standard channel indicators that simply connect the highest highs and lowest lows, this script uses a refined pivot-based logic. During a downtrend, it identifies the last three Pivot Lows (PL) and the last Pivot High (PH). It constructs the foundational trendline by connecting the intermediate lows and projects a perfectly parallel upper boundary starting from the last confirmed PH.
Key Features:
Custom Key Levels: Includes specific internal and external parallel levels (-0.12, 0, 0.12, 0.5, 0.88, 1.0, 1.12) to identify precise support, resistance, and breakout zones.
Dynamic Peak Tracking (Prediction Line): Features a unique "memory" line. Before a new pivot is fully confirmed, a dashed tracking line anchors to the absolute highest price seen since the last Pivot High. This acts as an early-warning prediction channel that adjusts dynamically as price pushes higher, but stays firmly anchored if price drops.
Clean Chart Management: Prevents chart clutter by automatically limiting the number of historical channels shown at once (customizable).
Smart History Extension: Old channels don't just disappear or stretch to infinity. They are systematically frozen and extended backward/forward by a user-defined number of bars, allowing you to backtest how price reacted to past channel structures.
Customizable Settings:
Pivot Length: Adjust the sensitivity of pivot detection (Default: 25).
History Extension Bars: Control how far historical channel lines project into the past/future (Default: -65).
Max Historical Channels: Keep your chart clean by limiting visible past channels (Default: 3).
Toggles: Easily turn dynamic tracking, historical lines, and pivot labels on or off.
Whether you are riding a trend or looking for the exact moment a downtrend loses momentum, this automated channel system keeps your charts clean, precise, and highly actionable. Indicateur

Alpha Signal Engine [MarkitTick]💡 The Alpha Signal Engine is an advanced, multi-dimensional trend-following system designed to provide traders with highly filtered, high-probability market signals. At its core, it dynamically calculates a volatility-adjusted trailing band to determine the primary market direction. However, unlike traditional trend indicators that rely on a single data point, this engine passes every potential trend reversal through a rigorous, six-layer filtering mechanism. By requiring confluence across higher timeframe trends, momentum, volume, volatility regimes, and price action strength, it drastically reduces the noise and false signals inherent in choppy markets. It also features a built-in heads-up dashboard and fully formatted JSON webhook capabilities for automated trading integration.
✨ Originality and Utility
● A Dynamic, Adaptive Baseline
Standard trailing stop or trend indicators, such as the classic Supertrend, typically use a static multiplier against the Average True Range (ATR). The Alpha Signal Engine innovates by introducing a "Dynamic Factor." This factor continuously adapts the band's distance from price by factoring in the current baseline multiplier, the relative volatility (ATR normalized by price), and the immediate price change momentum. This allows the bands to tighten during periods of strong, directional momentum and widen during erratic volatility, providing a more responsive and intelligent trailing mechanism.
● The Six-Pillar Filtering Gateway
The true utility of this indicator lies in its modular filtering engine. Traders often have to clutter their charts with half a dozen indicators to confirm a setup. This script centralizes that logic. Users can selectively enable or disable filters based on their specific asset and trading style, turning the indicator into a customizable algorithmic engine. Whether you need volume confirmation, ADX trend strength, or simple RSI momentum, the script handles the complex boolean logic internally and only outputs a signal when your precise market conditions are met.
🔬 Methodology and Concepts
● Dynamic Factor Calculation
The indicator establishes its baseline trend using an upper and lower band. The distance of these bands from the median price is dictated by a dynamically calculated factor. This factor is the sum of a base value, a volatility component (ATR divided by Close, scaled by a user weight), and a price movement component (percentage change of the close, scaled by a user weight). This raw factor is then smoothed using a Simple Moving Average (SMA) to prevent erratic band shifts.
● Trend Determination
The trend direction flips when the closing price crosses the active dynamic band. If the price closes above the upper band, the trend shifts bullish, and the lower band becomes the active support. Conversely, closing below the lower band shifts the trend bearish, making the upper band the active resistance.
● The Filter Matrix
A signal is only generated when a trend flip aligns with all activated filters:
HTF Alignment: Uses the request context to pull the trend direction from a higher timeframe, ensuring you are not trading against the macro trend.
ADX Trending: Measures the Average Directional Index to ensure the market is in an active trending phase (above a defined threshold) rather than a sideways chop.
Volume Surge: Compares current volume against a Volume SMA. The current bar must exhibit a volume spike greater than the defined multiplier to confirm institutional participation.
RSI Momentum: A simple but effective gatekeeper requiring the Relative Strength Index to be above 50 for longs and below 50 for shorts.
ATR Volatility Regime: Compares the current ATR against a 50-period SMA of the ATR. It ensures the market is operating within a "normal" volatility ratio, preventing entries during extreme, unpredictable volatility spikes or dead, illiquid periods.
Candle Body Strength: Calculates the absolute size of the candle body (Open to Close) and mandates it must be larger than a specific fraction of the ATR, ensuring the signal candle has true directional conviction.
🎨 Visual Guide
● Chart Elements
Up Trend Line: Displayed as a solid, teal-colored line trailing below the price action during a bullish phase. It acts as dynamic support.
Down Trend Line: Displayed as a solid, bright pink/red line trailing above the price action during a bearish phase. It acts as dynamic resistance.
Trend Cloud (Fill): A colored gradient fill exists between the median price and the active trend line. A teal cloud visually represents bullish dominance, while a pink/red cloud represents bearish dominance.
Buy Signals: Indicated by small, teal "B" labels positioned below the signal candle.
Sell Signals: Indicated by small, pink/red "S" labels positioned above the signal candle.
● Filter Dashboard
Located in the top right corner of the chart, this HUD (Heads-Up Display) provides a real-time status check of your system.
The left column lists the available filters (HTF Align, ADX Trend, Vol Surge, RSI Gate, ATR Regime, Body Str).
The right column displays the current status of each filter.
A gray "OFF" indicator means the user has disabled the filter in the settings.
A green "ON" or "Aligned" text indicates the condition is currently met.
A red "Opposed" or unlit indicator means the condition is active but currently failing to meet the required criteria.
The bottom rows clearly state the current overarching trend direction and whether a signal is pending or waiting.
📖 How to Use
• Interpreting the System
To effectively use the Alpha Signal Engine, begin by observing the main trend lines and the color of the cloud. This provides your baseline bias. Do not take trades purely on the band flipping. Instead, rely on the explicit "B" and "S" labels.
• Signal Execution
When a "B" (Buy) or "S" (Sell) label appears, it means the price has successfully flipped the trend AND all user-activated filters in the dashboard are glowing green. This is your entry trigger. The active trend line (the teal line for longs, the pink line for shorts) serves as an ideal, dynamic stop-loss placement.
• Customizing the Engine
The system is designed to be tuned. If you are trading a highly liquid asset like major forex pairs, you may want to enable the ADX and HTF filters to catch long, sustained moves. If you are trading volatile crypto assets, enabling the Volume Surge and Candle Body filters can help you avoid fake-outs and trap wicks. Monitor the on-chart dashboard to see which filters are keeping you out of bad trades and adjust your settings accordingly.
⚙️ Inputs and Settings
• Supertrend Settings
ATR Length: The lookback period for calculating the Average True Range.
Base Factor: The starting multiplier for the dynamic bands.
Volatility & Price Change Weights: Determines how aggressively the bands react to sudden spikes in relative volatility and price momentum.
Factor Smoothing: Applies an SMA to the final dynamic multiplier to keep the bands stable.
• Filter Settings
Enable HTF Alignment: Toggle and define the higher timeframe (e.g., Daily) to align with.
ADX Settings: Toggle the filter, define the lookback length, and set the minimum trend strength threshold (default is 20).
Volume Settings: Toggle the filter, define the Volume MA length, and set the multiplier required to classify as a "surge."
RSI Settings: Toggle the filter and set the RSI lookback length.
ATR Regime Settings: Define the minimum and maximum acceptable ratios of current ATR versus historical ATR.
Candle Body Settings: Define the minimum required size of the candle body as a fraction of the current ATR.
• Webhook Action Names
These text inputs allow you to define specific payload strings (e.g., "long", "closeshort") that the indicator will output via JSON alerts, perfectly formatting the data for third-party automation services like 3Commas or PineConnector.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The Alpha Signal Engine is grounded in several well-documented tenets of quantitative financial analysis and statistical market theory.
● Volatility-Adjusted Trailing Stops
The foundation of the indicator relies on the Average True Range (ATR), introduced by J. Welles Wilder Jr. The ATR is a measure of the degree of price volatility. By tying the trailing stop (the dynamic band) to the ATR, the system acknowledges the statistical reality of market variance. The innovation here is the dynamic multiplier. By adjusting the distance based on the normalized rate of change (momentum), the script attempts to solve the lagging nature of fixed-multiplier trailing stops, utilizing principles found in adaptive moving averages (like Kaufman's AMA), where sensitivity increases alongside directional conviction.
● Multi-Dimensional Confluence Theory
The filtering engine operates on the academic principle of conditional probability and confluence. In market microstructure, no single indicator holds a permanent statistical edge.
The HTF filter is rooted in Dow Theory, prioritizing the primary trend over secondary reactions.
The ADX filter utilizes Wilder's Directional Movement Index to mathematically separate trending environments from mean-reverting environments, applying a statistical threshold to directional strength.
The Volume Surge filter relies on the Volume Price Trend concepts, positing that significant price movements must be sponsored by outsized volume to validate institutional participation and avoid anomalous low-liquidity spikes.
The ATR Regime filter applies mean-reverting principles to volatility itself (volatility clustering), ensuring that entries are only taken when the variance of the asset is within historically "normal" parameters, avoiding the fat tails of extreme market shocks.
By chaining these disparate mathematical models (trend, momentum, volume, volatility) via Boolean logic, the system mathematically reduces the frequency of trades while theoretically increasing the probability of the remaining sample size.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicateur

ORB Pro Suite v6ORB Pro Suite v6 — Multi-Session + HTF ORB Build
ORB Pro Suite v6 is an advanced Opening Range Breakout (ORB) tool designed for traders who want clarity, structure, and adaptability across NY, London, and Asia sessions — without changing the core ORB logic that works.
This update expands the original ORB Pro Suite to support overnight markets and multi-timeframe workflows, while keeping the strategy behavior consistent and familiar.
✅ Multi-Session Presets
Choose from built-in session presets:
NY AM (RTH) — original behavior (unchanged)
London
Asia
Custom
Each preset aligns the ORB window with the selected session and pairs seamlessly with session-appropriate filters.
✅ ORB Build Mode
You now have two ways to build your ORB:
1️⃣ Time Window (Classic ORB)
Uses session start/end times
Identical to previous versions
2️⃣ HTF Candle Count (Advanced)
Build the ORB from 5m / 15m / 30m / 60m candles
Works on any chart timeframe
Ideal for traders who want ORB consistency across TFs
Example:
Build a 15-minute ORB from 1× 15m candle, even while trading on a 5m chart.
✅ Session Profile Defaults
ORB Pro Suite introduces Session Profiles that automatically tune filters for different market conditions — without changing the strategy logic.
Profiles include:
NY (Default)
London (Breakout)
Asia (Slow Session)
Custom
You can toggle Profile Defaults ON or OFF at any time.
🧠 Core ORB Logic (Unchanged)
Original ORB framework:
Opening range high/low
Breakout confirmation
Optional retest logic
Golden Pocket (0.5–0.618) validation
Local + higher-timeframe trend filters
Cooldown protection
Visual risk/reward mapping
If you traded NY with earlier versions, nothing has changed.
⚙️ Recommended Starting Settings
For most users:
ORB Build Mode: Time Window
Session Profile: Auto
Strictness: Balanced
Advanced users:
Enable HTF Candle Count
Select desired ORB TF (5m–60m)
Adjust candle count to match your style
All inputs remain fully customizable.
📊 Designed For
Futures (ES, NQ, YM, RTY)
Forex pairs
Gold & major indices
Intraday price-action traders
Session-based trading workflows
⚠️ Disclaimer
This indicator is for educational and informational purposes only.
It does not constitute financial advice or trade recommendations.
Trading involves risk. Always manage risk appropriately and trade responsibly. Indicateur

Gold Priceaction V2.001. Introduction
Welcome to Gold Priceaction V2.00, an incredibly powerful, all-in-one custom indicator built on Pine Script v5 specifically for TradingView. Unlike traditional lagging indicators that rely on past moving averages, this tool reads the raw footprint of the market. It is engineered to automatically map out institutional price action, dynamic support and resistance, exact trendlines, and high-probability entry zones in real-time.
Whether you are a scalper, day trader, or swing trader, Gold Priceaction V2.00 gives you an objective, crystal-clear view of market direction—removing emotion and guesswork from your trading routine.
2. Why it Works Exceptionally Well for Gold (XAUUSD)
The Gold (XAUUSD) market is notoriously volatile and highly manipulated by large institutional players (banks and hedge funds). Gold charts frequently experience "liquidity grabs"—sudden spikes that hunt retail traders' stop losses before reversing into the true trend direction.
Gold Priceaction V2.00 is tailored exactly for this environment. Instead of blindly following a breakout, this indicator mathematically calculates true swing points to identify areas where the market is most likely to reverse (Support/Resistance) or continue (Target Breakouts). By highlighting premium and discount zones alongside equal highs/lows (liquidity pools), it allows you to trade with the "Smart Money" rather than becoming their exit liquidity.
3. Core Features & Functions (What’s Inside & How It Works)
📈 Dynamic Trendlines: Forget drawing subjective lines manually. The indicator uses a complex algorithmic loop to find the sharpest, most accurate Ascending (Bullish) and Descending (Bearish) trendlines in real-time. It projects these lines forward, giving you dynamic, diagonal support and resistance levels.
🛑 Real-Time Support & Resistance: The script constantly analyzes market data to find minor and major pivot points.
• Strong Highs/Lows: Act as massive, rigid Support and Resistance boundaries.
• Weak Highs/Lows: Act as magnets. The indicator anticipates that these weak points will be broken, turning them into your primary Take Profit (Target) levels.
🎯 Clean Future Target Projection: Most indicators clutter your screen with dozens of old, useless lines. Gold Priceaction V2.00 features an advanced auto-cleanup system. It automatically deletes past targets that have already been hit and only projects a single, bold horizontal line deep into the future. This shows you exactly where the price is magnetically drawn to next.
📦 Institutional Zones (Order Blocks & FVGs): The indicator automatically highlights the hidden footprint of big banks:
• Order Blocks (Supply/Demand Zones): Identifies the last bearish candle before a strong bullish move (and vice versa). These colored boxes act as high-probability entry zones for reversals or continuations.
• Fair Value Gaps (FVG): Spots sudden imbalances in price where the market moved too fast, leaving a "gap." Price almost always returns to rebalance these zones.
🕰️ Multi-Timeframe Context (PDH/PDL): Context is everything. You can enable higher timeframe levels directly on your lower timeframe chart (e.g., 5-minute chart).
• PDH / PDL: Previous Daily High and Low.
• PWH / PWL: Previous Weekly High and Low.
• PMH / PML: Previous Monthly High and Low.
These act as massive macro support/resistance areas where major reversals frequently happen.
4. How to Use It in Live Trading (The 4-Step Playbook)
Step 1: Determine the Trend
Look at the real-time Dashboard on your screen. If the "Market Trend" says BULLISH, you only look for BUY setups. If it says BEARISH, you only look for SELL setups.
Step 2: Wait for Price to Reach an Entry Zone
Do not buy at the top! Let the price retrace (pullback) down into a Discount Zone, a Bullish Order Block, or touch the Ascending Trendline.
Step 3: Look for Confirmation
Wait for a minor trend shift on a lower timeframe. If you are in a Bullish zone, wait for the indicator to print a "Support Hold" or a lower-timeframe "Resistance Break" to prove buyers are stepping in.
Step 4: Execute & Manage Risk
• Entry: Enter the market when the setup is confirmed.
• Stop Loss (SL): Look at the Dashboard. It dynamically calculates the safest, tightest Stop Loss based on the "Immediate Swing Level" to minimize your risk.
• Take Profit (TP): Ride the trade directly to the "🎯 Future Target" line projected on your chart.
5. Recommended Timeframes
• Scalping (Quick Trades): 1-Minute (1m) or 3-Minute (3m) charts.
• Intraday (Day Trading): 5-Minute (5m) and 15-Minute (15m) charts. (Highly Recommended for Gold).
• Swing Trading (Holding for days): 1-Hour (1H) or 4-Hour (4H) charts.
6. The Interactive Dashboard & Customization
The indicator includes a completely clean, user-friendly settings menu. We have hidden all the messy background code values so your chart title remains pristine.
Dashboard Customization:
• Positioning: Using the settings menu (gear icon), you can move the dashboard anywhere on your screen (Top Right, Bottom Center, Right Center, Left Center, etc.) so it never blocks your price action.
• Target Probability Score: A built-in logic metric reading from 0% to 100%. It calculates the trend bias, verifies if the price is safely holding above support, and checks RSI confluence (Overbought/Oversold levels) to give you a live win-rate probability color-coded in Red, Yellow, or Green.
• Styling: You can fully customize the colors of your candles, Order Blocks, and zones to perfectly match TradingView's Light or Dark modes.
❓ Frequently Asked Questions (FAQ)
Q1: Does this indicator repaint?
A: No. The historical Support/Resistance lines and Order Blocks are drawn based on confirmed closed candles. Once a swing point is confirmed mathematically, it does not repaint or shift backward.
Q2: Is this only for Gold?
A: While it is highly optimized for the volatility and structure of XAUUSD, the pure price action mathematics behind it work excellently on Forex pairs (EURUSD, GBPUSD), Crypto (BTC, ETH), and Indices (US30, NAS100).
Q3: Why are my old Target lines disappearing?
A: That is by design! To keep your chart clean and easy to read, the indicator deletes old, irrelevant "past" targets and only shows you the "Future Target" that matters right now.
Q4: How do I get rid of all the text on my indicator title bar?
A: You don't have to! In Gold Priceaction V2.00, all input variables have been explicitly hidden (display.none). The indicator name on your chart will stay clean and professional without long strings of text.
Q5: What does "Premium" and "Discount" mean?
A: Think of it like shopping. The indicator draws a grid between the highest and lowest points of the current trend.
• Premium Level (Red): The price is too high/expensive. (Best place to SELL).
• Discount Level (Green): The price is cheap/on sale. (Best place to BUY).
Indicateur

Esco Theory v4Esco Theory maps the hidden geometry of price action. It identifies swing structure, plots geometric rails between pivots, detects supply and demand zones, fair value gaps, liquidity pools, compression patterns, and confluence clusters.
All signals are synthesized into a real-time dashboard so traders can read market structure and volatility conditions at a glance.
Built for traders who study displacement, structure shifts, and the expansion–compression cycles that drive price.
Features
Market Structure (BOS / MSS)
Automatically detects Break of Structure (BOS) and Market Structure Shifts (MSS) using configurable swing lookback. Bullish and bearish shifts are labeled directly on the chart with color-coded markers.
Displacement candles (body greater than 1.5× ATR) are highlighted to confirm impulsive moves.
Geometric Rails
Trendlines (“rails”) are drawn between consecutive swing highs and swing lows and extended forward.
Two tiers are available:
Minor Rails
Short-term pivots for intraday and swing geometry.
Major Cycle Rails
Higher-timeframe pivots that reveal broader structural channels.
Cross-rails connect swing highs to swing lows using dotted diagonals, revealing convergence and divergence patterns.
Cycle Fan
A fan of rays projects from the deepest major swing low through each major swing high (and vice versa), mapping the angular geometry of the current market cycle.
These angles often highlight reaction zones where time and price intersect.
Supply & Demand Zones
Zones are created at pivot candles confirmed by displacement on the following bar.
Each zone tracks retests and gradually fades in transparency as it is touched.
Mitigated zones are automatically removed to keep charts clean.
Fair Value Gaps (FVG) & Inverted FVGs
Three-candle imbalance gaps are detected and drawn as shaded boxes.
When a gap fills to its midpoint it converts into an inverted FVG, which can act as a continuation or re-entry zone.
Both gap types have independent color settings and optional auto-expiration.
Premium / Discount Zones
Using the most recent major swing high and low, price is divided into:
Premium (upper 25%)
Discount (lower 25%)
Equilibrium (midpoint)
A dotted equilibrium line marks fair value and helps filter entries.
Support & Resistance Clustering
All pivot prices are grouped by proximity.
Levels with multiple touches are drawn as dashed horizontal lines labeled with touch count:
S (3)
R (4)
Stronger clusters appear as thicker lines.
Confluence Zones
When three or more levels from different sources cluster together (pivots, S/R levels, supply and demand), a shaded confluence zone is drawn.
These areas often produce the strongest market reactions.
Liquidity — Equal Highs / Equal Lows
Swing highs and lows within a defined tolerance are identified as EQH and EQL liquidity pools.
These levels extend forward and often attract price before reversals or breakouts.
Liquidity Sweeps
When price wicks through an equal high or low and closes back inside the level, a sweep marker (✕) appears.
Sweeps often signal liquidity grabs before reversals.
Compression & Squeeze Detection
Two compression signals identify volatility contraction.
ATR Compression
Occurs when fast ATR drops below 60% of slow ATR.
Bollinger / Keltner Squeeze
When Bollinger Bands contract inside Keltner Channels.
When the squeeze releases, a triangle marker signals expansion.
A wedge overlay connects compression pivots to visualize tightening ranges.
Real-Time Dashboard
A compact panel displays current market conditions.
Bias
Current structure trend (Bullish / Bearish / Neutral)
Zone
Premium, Discount, or Equilibrium
Volatility
Squeeze, Compression, or Expansion
ATR Ratio
Fast ATR vs Slow ATR
BBW
Bollinger Band Width percentage
Wedge
Active compression wedge detection
FVG
Active gap count
Sweeps
Recent liquidity sweep count
Inputs & Customization
Every module can be toggled independently.
Key settings include:
Swing Lookback (minor and major)
Rail Extension length
Max Cross-Rails
Supply / Demand Pivot Length
FVG Minimum Size and Max Age
Support / Resistance Tolerance and Minimum Touches
Confluence Width and Minimum Levels
Equal High / Low Tolerance
All colors are fully customizable.
How to Use
Identify bias
Check the dashboard for current structure direction and premium/discount location.
Find confluence
Look for areas where rails, zones, gaps, and support/resistance overlap.
Watch compression
Squeeze diamonds and wedges signal volatility building.
Trade displacement
Highlighted candles confirm impulsive moves through key levels.
Monitor liquidity sweeps
EQH/EQL sweeps often precede reversals or expansions.
Notes
Overlay indicator designed for use directly on price charts.
Compatible with all markets and timeframes.
Lower timeframes with large bar counts may increase drawing load. Adjust lookback settings if needed.
Best used alongside discretionary price action and market context. Indicateur

Trend Lines [UAlgo]Trend Lines is a pivot driven structure indicator that automatically builds, validates, extends, and monitors bullish and bearish trendlines directly on the chart. Instead of relying on manual drawing, the script searches for confirmed pivot highs and pivot lows, connects them into directional line candidates, and keeps only the lines that satisfy a strict set of structural rules.
The script is designed to solve a common problem in automated trendline tools. Many indicators can connect two points, but far fewer can judge whether that connection is meaningful. This script does more than draw a line between pivots. It checks bar separation, optional candle body integrity, touch accumulation, break violations, and active state transitions. As a result, it behaves more like a structural trendline engine than a basic line connector.
Upper trendlines are built from descending pivot highs and act as bearish pressure lines until price breaks above them. Lower trendlines are built from ascending pivot lows and act as bullish support lines until price breaks below them. Every line begins as a candidate, can become active once it collects enough touches, and is later marked as broken if price closes through it according to the selected break rule.
The indicator also supports wick based or body based pivot sourcing, ATR based touch tolerance, optional candidate line display, optional broken line display, and touch count labels on active lines. This makes it flexible enough for both stricter and more permissive trendline workflows while still keeping the core logic rules based.
In practical use, Trend Lines can help map directional structure, monitor confirmed support and resistance lines, and highlight meaningful line breaks without requiring manual chart drawing.
🔹 Features
🔸 Pivot Based Trendline Construction
The script creates trendlines from confirmed pivot highs and pivot lows. This means every line is anchored to real swing structure rather than arbitrary local movement.
🔸 Wick or Body Source Selection
Users can choose whether pivots should come from wick extremes or candle body extremes. This allows the trendline engine to behave either more aggressively or more conservatively depending on chart style.
🔸 ATR Based Touch Tolerance
Touch validation uses an ATR scaled tolerance. This helps the script adapt to different volatility conditions instead of relying on a fixed price threshold.
🔸 Minimum Bars Between Pivots
Two pivots must be separated by at least a minimum number of chart bars before they can define a candidate line. This helps reduce noisy or overly compressed line creation.
🔸 Multi Touch Validation
A line becomes active only after enough pivot touches accumulate on the same projected structure. This prevents weak two point lines from being treated as fully confirmed too early.
🔸 Optional Body Integrity Rule
The script can reject lines that cut through candle bodies between the two anchor pivots. This is useful for users who want cleaner structural lines that sit above or below the main body flow of price.
🔸 Candidate, Active, and Broken States
Every line can exist in one of several states. It may begin as a candidate, become active after enough touches, and later become broken once price violates it. Each state has its own visual styling.
🔸 Touch Count Labels
Active lines can display a compact touch count marker so the user can quickly see how many pivots supported that line.
🔸 Controlled Line Creation
The script limits how many new lines each fresh pivot can generate and also limits the total tracked lines per side. This helps reduce visual overload.
🔸 Bullish and Bearish Break Alerts
Alerts are included for bullish trendline breaks and bearish trendline breaks once they are confirmed by the selected break rule.
🔹 Calculations
1) Defining Pivot and Trendline Objects
type PivotPoint
int pivotTime
float price
type TrendlineState
int t1
float y1
int t2
float y2
float slope
bool isUpper
int touches = 2
int lastTouchTime
bool isActive = false
bool isBroken = false
bool isDisabled = false
int breakTime = na
float breakPrice = na
line basisLine = na
label breakLabel = na
label touchLabel = na
This is the structural base of the whole script.
A PivotPoint stores the time and price of one confirmed pivot.
A TrendlineState stores everything needed to manage one line:
its two anchor points,
its slope,
whether it is an upper or lower line,
how many touches it has,
whether it is active,
whether it has broken,
whether it has been disabled,
where the break occurred,
and the visual objects used to display it.
So the indicator is not simply drawing lines. It is managing full line objects with state and lifecycle logic.
2) Choosing Wick or Body Pivot Source
float highSource = sourceMode == "Wick" ? high : math.max(open, close)
float lowSource = sourceMode == "Wick" ? low : math.min(open, close)
float pivotHighPrice = ta.pivothigh(highSource, pivotLength, pivotLength)
float pivotLowPrice = ta.pivotlow(lowSource, pivotLength, pivotLength)
This block determines what kind of pivots the script should use.
If the user selects Wick mode, pivot highs come from highs and pivot lows come from lows.
If the user selects Body mode, pivot highs come from the candle body top and pivot lows come from the candle body bottom.
This matters because wick based pivots are more sensitive to extreme price tests, while body based pivots focus more on where the market actually closed and opened.
So the user can tune whether the trendline engine should react to extremes or to body structure.
3) ATR Based Touch Tolerance
float touchTolerance = math.max(ta.atr(atrLength) * touchAtrMult, syminfo.mintick * 2.0)
This defines how close a pivot must be to a projected line in order to count as a valid touch.
The script multiplies ATR by the chosen tolerance multiplier. It also enforces a minimum tolerance of two ticks. This makes the detection scale naturally with volatility while still remaining usable on very quiet instruments.
So the touch system is adaptive rather than fixed.
4) Calculating the Trendline Value at Any Time
method priceAt(TrendlineState this, int targetTime) =>
this.y1 + this.slope * float(targetTime - this.t1)
This is the core projection formula.
Once the line anchors and slope are known, the script can compute the expected price of that line at any later time. This is used throughout the indicator for touch detection, break detection, candle body validation, label placement, and live extension.
So this method turns a static anchor pair into a dynamic projected structure.
5) Counting Bars Between Two Pivot Times
f_countBarsBetween(int startTime, int endTime) =>
int barsBetween = 0
if endTime > startTime
int offset = 0
while offset <= bar_index and time >= startTime
int barTime = time
if barTime <= endTime and barTime > startTime
barsBetween += 1
offset += 1
barsBetween
This helper function measures how many chart bars exist between two pivot anchors.
It is used to enforce the minimum bars between pivots rule. This prevents the script from connecting pivots that are too close together and likely to generate noisy or trivial lines.
So this function helps control line quality through temporal separation.
6) Body Integrity Rule
method respectsBodies(TrendlineState this, float tolerance) =>
bool result = true
if this.t2 > this.t1
int offset = 0
while offset <= bar_index and time >= this.t1
int barTime = time
if barTime < this.t2 and barTime > this.t1
float linePrice = this.priceAt(barTime)
float bodyTop = f_bodyHigh(offset)
float bodyBottom = f_bodyLow(offset)
if this.isUpper and linePrice < bodyTop - tolerance
result := false
break
if not this.isUpper and linePrice > bodyBottom + tolerance
result := false
break
result
This is one of the most important quality filters in the script.
For upper lines, the projected line should stay above candle bodies between the anchor pivots.
For lower lines, the projected line should stay below candle bodies between the anchor pivots.
If the line cuts too deeply through candle bodies, it is rejected.
This filter helps eliminate visually awkward or structurally weak lines that may mathematically connect pivots but do not actually respect the shape of price movement between them.
7) Break Violation Check at a Specific Bar
method isBreakViolationAt(TrendlineState this, int targetTime, int offset, string methodName, float tolerance) =>
float linePrice = this.priceAt(targetTime)
float priceSource = this.isUpper ? f_bodyHigh(offset) : f_bodyLow(offset)
float breakTolerance = f_breakTolerance(methodName, tolerance)
this.isUpper ? priceSource > linePrice + breakTolerance : priceSource < linePrice - breakTolerance
This method checks whether a line is violated by the current candle body.
For upper lines, a violation happens when candle body high moves above the projected line.
For lower lines, a violation happens when candle body low moves below the projected line.
If the selected break method includes tolerance, the ATR based tolerance is included in the threshold. If the user selects the no tolerance method, the break must occur directly through the line.
So this method defines exactly what a valid structural break means.
8) Scanning a Whole Time Interval for Violations
method hasBreakViolation(TrendlineState this, int startTime, int endTime, string methodName, float tolerance) =>
bool violated = false
if endTime >= startTime
int offset = 0
while offset <= bar_index and time >= startTime
int targetTime = time
if targetTime <= endTime and targetTime >= startTime and this.isBreakViolationAt(targetTime, offset, methodName, tolerance)
violated := true
break
offset += 1
violated
This function applies the break logic across an entire span of bars.
The script uses it in two main places:
to reject candidate lines that were already violated between their anchor pivots,
and to reject future touches if price already broke the line before the new pivot arrived.
So a line is not accepted simply because its endpoints look valid. It must also remain unbroken through the relevant interval.
9) Registering a New Touch
method registerTouch(TrendlineState this, PivotPoint pivot, string methodName, float tolerance, int requiredTouches) =>
bool touched = false
if not this.isBroken and not this.isDisabled and pivot.pivotTime > this.t2 and pivot.pivotTime > this.lastTouchTime
if this.hasBreakViolation(this.lastTouchTime + 1, pivot.pivotTime - 1, methodName, tolerance)
this.disable()
else
float projectedPrice = this.priceAt(pivot.pivotTime)
if math.abs(pivot.price - projectedPrice) <= tolerance
this.touches += 1
this.lastTouchTime := pivot.pivotTime
this.isActive := this.touches >= requiredTouches
touched := true
touched
This method decides whether a fresh pivot should strengthen an existing line.
The pivot must arrive after the second anchor and after the last recorded touch. Before the script accepts the touch, it checks whether price already violated the line between the last touch and the new pivot. If a violation happened, the line is disabled. If not, the projected line price at the pivot time is calculated, and the pivot is counted as a touch if it lies within tolerance.
If the new touch count reaches the required threshold, the line becomes active.
So this is the process that transforms a simple anchor pair into a confirmed multi touch trendline.
10) Building New Candidate Lines
method buildCandidates(array this, array pivots, PivotPoint newest, bool isUpper, int minGap, string methodName, float tolerance, int requiredTouches, bool strictBodyFilter, int maxCount, int maxPerPivot) =>
int pivotCount = pivots.size()
int builtCount = 0
if pivotCount > 1
for step = 1 to pivotCount - 1
PivotPoint older = pivots.get(pivotCount - 1 - step)
int barsApart = f_countBarsBetween(older.pivotTime, newest.pivotTime)
int timeApart = newest.pivotTime - older.pivotTime
bool directionalMove = isUpper ? newest.price < older.price : newest.price > older.price
This method is the line creation engine.
Whenever a new pivot appears, the script looks backward through stored pivots of the same type and tries to form new candidate lines.
For upper lines, the newest pivot must be lower than the older one.
For lower lines, the newest pivot must be higher than the older one.
This directional requirement ensures the script only builds descending resistance lines from highs and ascending support lines from lows.
The method also checks bar separation and respects the per pivot creation limit so one pivot does not create too many new candidates.
11) Accepting or Rejecting Candidates
TrendlineState candidate = TrendlineState.new(t1=older.pivotTime, y1=older.price, t2=newest.pivotTime, y2=newest.price, slope=(newest.price - older.price) / float(timeApart), isUpper=isUpper, touches=2, lastTouchTime=newest.pivotTime, isActive=requiredTouches <= 2)
bool accepted = strictBodyFilter ? candidate.respectsBodies(tolerance) : true
accepted := accepted and not candidate.hasBreakViolation(older.pivotTime + 1, newest.pivotTime - 1, methodName, tolerance)
if accepted
this.enqueueLine(candidate, maxCount)
builtCount += 1
Once a candidate is formed, the script tests two major filters.
First, if the body rule is enabled, the candidate must respect candle bodies between the anchor pivots.
Second, the candidate must not already have been broken between those pivots.
Only if both conditions pass is the candidate stored.
So the script creates only structurally clean lines, not just any mathematically possible connection.
12) Managing Line Storage Limits
method enqueueLine(array this, TrendlineState trendline, int maxCount) =>
this.push(trendline)
if this.size() > maxCount
TrendlineState removed = this.shift()
removed.deleteVisuals()
this
This method keeps the number of tracked lines under control.
If the array exceeds the allowed maximum, the oldest line is removed and its visuals are deleted. This helps the indicator stay manageable and prevents the chart from filling with stale historical candidates.
So the script balances structure memory with chart readability.
13) Break Detection for Active Lines
method maybeBreak(TrendlineState this, string methodName, float tolerance, color bullishColor, color bearishColor, string textSize) =>
bool didBreak = false
if this.isActive and not this.isBroken and not this.isDisabled and barstate.isconfirmed and time > this.t2 and not na(time )
bool crossed = this.isBreakViolationAt(time, 0, methodName, tolerance)
if crossed
this.isBroken := true
this.breakTime := time
this.breakPrice := this.priceAt(time)
string breakText = this.isUpper ? "Bull Break" : "Bear Break"
This is the live break engine.
Only active, valid lines are checked. The script waits for a confirmed bar after the second anchor, then tests whether the current candle body violates the line.
If an upper line breaks, the break is labeled as bullish because price broke upward through resistance.
If a lower line breaks, the break is labeled as bearish because price broke downward through support.
So the break direction is interpreted from the structural meaning of the line, not from the line type name itself.
14) Processing New Pivots Against Existing Lines
if not na(pivotHighPrice)
PivotPoint highPivot = PivotPoint.new(pivotTime=time , price=pivotHighPrice)
upperLines.processPivotTouch(highPivot, breakMethod, touchTolerance, minTouches)
highPivots.rememberPivot(highPivot, pivotMemory)
upperLines.buildCandidates(highPivots, highPivot, true, minBarsBetweenPivots, breakMethod, touchTolerance, minTouches, enforceBodyRule, maxTrackedLines, maxNewLinesPerPivot)
if not na(pivotLowPrice)
PivotPoint lowPivot = PivotPoint.new(pivotTime=time , price=pivotLowPrice)
lowerLines.processPivotTouch(lowPivot, breakMethod, touchTolerance, minTouches)
lowPivots.rememberPivot(lowPivot, pivotMemory)
lowerLines.buildCandidates(lowPivots, lowPivot, false, minBarsBetweenPivots, breakMethod, touchTolerance, minTouches, enforceBodyRule, maxTrackedLines, maxNewLinesPerPivot)
This is the main structural update flow.
When a new pivot high appears, the script first checks whether that pivot adds touches to existing upper lines. Then it stores the pivot in memory. After that, it tries to build new upper candidates from that fresh pivot.
The exact same sequence is used for lower pivots and lower lines.
So every new confirmed pivot serves two purposes:
it may strengthen existing structure,
and it may create new structure.
15) Refreshing Visual States
upperLines.refreshAll(bullColor, bearColor, showCandidates, showBrokenLines, lineWidth, candidateOpacity, activeOpacityFloor, brokenOpacity, showTouchMarkers, labelSize)
lowerLines.refreshAll(bullColor, bearColor, showCandidates, showBrokenLines, lineWidth, candidateOpacity, activeOpacityFloor, brokenOpacity, showTouchMarkers, labelSize)
The script refreshes all stored lines on every bar.
Candidate lines, active lines, and broken lines all receive different visual treatment according to the user’s settings. Active lines are stronger and more visible. Candidates are lighter and dotted. Broken lines are dashed and faded.
This means the chart always reflects the latest line state rather than treating every stored line the same way.
16) Touch Marker Logic
if this.isActive and drawTouchMarkers and not this.isBroken
int markerTime = time + f_barTimeMs()
string touchText = str.tostring(this.touches) + "T"
float markerY = this.priceAt(time)
Active lines can display a small touch count label just ahead of the current bar.
The script places the label at the projected line value on the latest bar and prints the current number of touches. This gives the user a quick measure of structural strength without needing to inspect the line history manually.
So touch markers turn active lines into easy to rank structural objects.
17) Alert Conditions
bool bullishBreak = upperLines.breakScan(breakMethod, touchTolerance, bullColor, bearColor, labelSize)
bool bearishBreak = lowerLines.breakScan(breakMethod, touchTolerance, bullColor, bearColor, labelSize)
alertcondition(bullishBreak, "Bullish Trendline Break", "Bullish trendline break confirmed on close.")
alertcondition(bearishBreak, "Bearish Trendline Break", "Bearish trendline break confirmed on close.")
This is the final event layer of the script.
The indicator scans all upper lines for bullish breaks and all lower lines for bearish breaks. If any valid active line breaks on the confirmed bar, the corresponding alert condition becomes true.
So the alert engine is tied to the same structural logic as the chart drawings, not to a simplified separate trigger. Indicateur

Breakout Trend Bar AlertsEvery trend has a starting point. It's rarely a gradual drift — it's one massive, decisive candle that breaks the market out of consolidation and kicks off a sustained move. Breakout Bar Alerts is built to catch that exact moment.
The indicator monitors price action in real time and identifies when a bar forms that dwarfs everything around it — the largest high-to-low range of any candle in the last 250 bars. These are the bars where conviction enters the market, weak hands get flushed, and a new trend begins. When one appears, you get an instant alert so you're never late to the move.
Why these bars matter:
Big range bars represent a sudden surge of momentum and volume-backed commitment from one side of the market. Bulls or bears have taken control decisively. What follows is often the beginning of a trend leg — not a random spike.
Built to filter out the noise:
The opening bar of every session is excluded entirely. That first chaotic candle never skews your data or triggers a false signal.
Only bars within your active session window are counted. Off-hours price action is completely ignored, so your benchmark is always built from real, tradeable market conditions.
Three alert conditions — Bull Breakout Bar, Bear Breakout Bar, or Both — so you only get notified for the setups you actually trade.
Inputs:
Lookback Period — how many bars back to measure the largest range (default: 250)
Enable Time Filter — restricts detection and calculations to your active trading session
Active Session — define your session window in exchange time
Bull / Bear colors — fully customizable
Best used on intraday timeframes (1m – 15m) on futures, forex, or high-volume equities. When this fires, pay attention — the trend may already be starting. Indicateur

Dynamic Trendlines & Breakouts [identityKa]Overview
The Dynamic Trendlines & Breakouts is an automated structural analysis tool designed to remove human subjectivity from drawing trendlines. By utilizing mathematical pivot extremes, the script identifies the dominant market geometry in real-time. More importantly, it incorporates a Smart Volume Filter to distinguish between genuine structural breakouts and low-volume retail traps (fakeouts).
Core Engine Mechanics
The indicator operates on two primary algorithmic pillars:
Dynamic Coordinate Mapping: The script calculates the most recent pivot highs and pivot lows based on a user-defined lookback sensitivity. It then draws precision-extended dashed lines connecting these coordinates, forming dynamic Resistance (Upper Line) and Support (Lower Line) boundaries.
Volume-Confirmed Breakouts: The script continuously monitors the closing price relative to these extended lines. However, a crossover is not enough. If the "Volume Confirmation" feature is active, the engine checks a 20-period Simple Moving Average of the volume. A Bullish "B" (Buy) or Bearish "S" (Sell) label is only printed if the breakout candle is accompanied by above-average institutional volume, significantly increasing the probability of trend continuation.
HUD Dashboard & AI Proximity Logic
The integrated on-chart panel tracks the last confirmed breakout state and utilizes an ATR-based proximity sensor to generate the AI Suggestion:
Dangerous: Displayed actively whenever the current price is within a 0.5 Average True Range (ATR) distance of either the upper or lower trendline. This alerts the trader that the price is actively testing a major structural boundary, making new entries highly risky until a clear bounce or volume-confirmed breakout occurs.
LONG / SHORT: Triggered when the last structural breakout was Bullish (LONG) or Bearish (SHORT), provided the price is safely trending away from the immediate resistance/support lines.
How to Use It
This tool is ideal for momentum and breakout traders. When the price approaches a trendline (AI Suggestion reads "Dangerous"), prepare for a setup. Do not front-run the breakout. Wait for the engine to print the "B" or "S" label, confirming that both the structural level has been breached and the volume supports the move. Once confirmed, trade in the direction of the new momentum. Indicateur

Trendline Breakout with Volume Confirmation [Dots3Red]Financial markets generally move in trends or sideways ranges.
The core idea of this indicator is to detect bearish trendline channels and highlight potential breakout events.
How it Works
This indicator automatically detects descending trendline channels by dynamically analyzing pivot highs. Consecutive descending pivots are used to form bearish trendlines, which are then extended forward as the market evolves.
Once a valid trendline or channel is detected, the script continuously monitors its status. When price breaks above the upper boundary of the descending trendline/channel, the breakout is detected and the completed structure is drawn on the chart together with a visual breakout label.
A breakout is considered valid when the closing price exceeds the upper boundary of the trendline by a configurable percentage ( Breakout %) .
When a valid trendline is detected on real-time bars but has not yet been broken, the indicator will project the channel forward into the future to help visualize potential breakout zones.
Visual Styles
The indicator provides two visualization modes:
Channel (default) – Displays the full channel area between the trendline and its lower boundary.
Polygon – Displays the detected structure as a polygon, which can make overlapping structures easier to distinguish.
Volume Confirmation
The indicator can optionally display volume confirmation during breakout events.
When enabled, a normalized volume bar is drawn near the breakout location to indicate the relative strength of the breakout based on volume activity.
Settings
Boolean Options
Channel / Polygon Display – Choose how the detected structure is visualized.
Show Volume Breakout Bar – Enables or disables volume confirmation visualization.
Numerical Parameters
Breakout % – Minimum percentage the closing price must exceed the trendline to confirm a breakout.
Slope Factor – Controls how steep the detected trendline must be.
Pivot Length – Number of bars to the left and right used to determine pivot points.
Volume % Breakout – Minimum relative volume required to display a breakout volume bar.
Why Use Polygon Mode?
When multiple channels appear close to each other, the chart may become visually crowded. In such situations, the polygon mode can provide a clearer representation of overlapping structures.
For example, in the chart above for Palantir Technologies during the summer of 2023, two separate trendlines were detected in June and August. Their baselines were very similar, which resulted in channels having almost identical lows. Switching to polygon mode makes the structure easier to interpret.
Example:
Indicateur

Elite Session Volume Distribution Engine [JOAT]Elite Session Volume Distribution Engine
Introduction
The Elite Session Volume Distribution Engine is an open-source indicator that combines session-based analysis (London, New York, Asian sessions) with volume distribution profiling, VWAP analysis, volume-weighted momentum indicators, and session high/low tracking. This mashup creates a comprehensive session and volume analysis system designed to identify when institutional volume enters the market during specific trading sessions and how that volume is distributed across price levels.
The indicator addresses a critical market reality: different trading sessions have distinct volume characteristics and institutional participation levels. London and New York sessions typically have highest volume and volatility, while Asian session is quieter. By tracking volume distribution, momentum, and key levels within each session, this tool helps traders identify optimal trading windows and understand how institutional volume shapes price action during different global market hours.
Chart showing session boxes, volume distribution, and VWAP on 45M timeframe
Why This Mashup Exists
This indicator combines five analytical frameworks that address different aspects of session-based trading:
Session Identification: Tracks London, New York, and Asian trading sessions
Volume Distribution: Analyzes how volume is distributed across price levels within sessions
VWAP Analysis: Calculates session-specific Volume Weighted Average Price
Volume Momentum: Tracks volume trends and climax conditions
Session High/Low: Identifies key levels established during each session
Each component serves a specific purpose: Session identification shows when institutional traders are active, Volume Distribution reveals where volume concentrates (value areas), VWAP shows institutional average price, Volume Momentum identifies accumulation/distribution phases, and Session High/Low marks key reference levels. Together, they create a complete picture of how institutional volume flows through different trading sessions.
The mashup is justified because these components work together in session-based trading: institutions enter during specific sessions (London/NY), create volume distribution patterns at key levels, establish VWAP as benchmark, show momentum through volume trends, and set session highs/lows that become support/resistance. Tracking all simultaneously reveals the complete session-based institutional flow.
Core Components Explained
1. Session Identification System
The indicator identifies three major trading sessions:
// London Session (03:00-12:00 GMT)
londonSession = input.session("0300-1200", "London Session")
inLondonSession = not na(time(timeframe.period, londonSession))
// New York Session (08:30-17:00 EST)
nySession = input.session("0830-1700", "NY Session")
inNYSession = not na(time(timeframe.period, nySession))
// Asian Session (00:00-09:00 GMT)
asianSession = input.session("0000-0900", "Asian Session")
inAsianSession = not na(time(timeframe.period, asianSession))
// Session overlap (London + NY)
sessionOverlap = inLondonSession and inNYSession
Session characteristics:
London Session: High volume, major currency pairs active, trend establishment
NY Session: Highest volume, US markets active, major moves occur
Asian Session: Lower volume, range-bound often, JPY pairs active
London/NY Overlap: Highest volume period, most volatile, best liquidity
The indicator can optionally display session boxes as background colors (disabled by default to reduce clutter).
2. Volume Distribution Analysis
Volume distribution shows where volume concentrates within price ranges:
// Calculate volume at different price levels
volumeAtPrice = array.new_float()
// For each price level in session range
for i = sessionLow to sessionHigh by tickSize
volumeAtLevel = sum of volume where price traded at level i
array.push(volumeAtPrice, volumeAtLevel)
// Identify Point of Control (POC) - price level with most volume
poc = price level with maximum volume
// Identify Value Area (VA) - price range containing 70% of volume
valueAreaHigh = upper bound of 70% volume
valueAreaLow = lower bound of 70% volume
Volume Distribution concepts:
Point of Control (POC): Price level with highest volume - strong support/resistance
Value Area High (VAH): Upper bound of 70% volume distribution
Value Area Low (VAL): Lower bound of 70% volume distribution
High Volume Nodes: Price levels with significant volume - support/resistance zones
Low Volume Nodes: Price levels with little volume - price moves through quickly
The indicator plots volume distribution as a histogram or profile showing where institutional volume concentrated during the session.
3. Session-Specific VWAP
VWAP resets at the start of each session:
// Session VWAP calculation
var float sessionVWAP = na
var float cumulativeTPV = 0.0 // Typical Price * Volume
var float cumulativeVol = 0.0
if session_start
cumulativeTPV := 0.0
cumulativeVol := 0.0
typicalPrice = (high + low + close) / 3
cumulativeTPV := cumulativeTPV + (typicalPrice * volume)
cumulativeVol := cumulativeVol + volume
sessionVWAP = cumulativeTPV / cumulativeVol
Session VWAP significance:
Institutional traders use VWAP as execution benchmark
Price above session VWAP = buyers in control during session
Price below session VWAP = sellers in control during session
VWAP acts as dynamic support/resistance within session
Distance from VWAP indicates overextension
The indicator plots session VWAP with dynamic coloring based on price position.
4. Volume Momentum Analysis
Volume momentum tracks institutional accumulation/distribution:
// Volume moving average
volumeMA = ta.sma(volume, 20)
// Volume classification
highVolume = volume > volumeMA * 1.5
veryHighVolume = volume > volumeMA * 2.0
climaxVolume = volume > volumeMA * 3.0
// Volume trend
volumeRising = volume > volume and volume > volume
volumeFalling = volume < volume and volume < volume
// Accumulation/Distribution
accumulation = close > open and highVolume and volumeRising
distribution = close < open and highVolume and volumeRising
// Volume momentum indicator
volumeMomentum = (volume - volumeMA) / volumeMA * 100
Volume Momentum signals:
Rising Volume + Up Close: Accumulation - bullish
Rising Volume + Down Close: Distribution - bearish
Climax Volume: Potential exhaustion or strong institutional move
Declining Volume: Lack of institutional interest
Volume Momentum > 50%: Very strong institutional participation
The indicator plots volume bars with color coding based on momentum and direction.
5. Session High/Low Tracking
Session highs and lows become important reference levels:
// Track current session high/low
var float currentSessionHigh = na
var float currentSessionLow = na
if session_start
currentSessionHigh := high
currentSessionLow := low
else
currentSessionHigh := math.max(currentSessionHigh, high)
currentSessionLow := math.min(currentSessionLow, low)
// Previous session levels
prevSessionHigh = currentSessionHigh
prevSessionLow = currentSessionLow
Session High/Low significance:
Current session high/low show intraday range
Previous session levels act as support/resistance
Breaks above previous session high = bullish continuation
Breaks below previous session low = bearish continuation
Session range size indicates volatility and institutional activity
The indicator plots only CURRENT session high/low (2 lines instead of 6) to keep chart clean. Previous session levels can be toggled on if needed.
Example showing session VWAP, volume distribution, and session high/low levels
Volume Distribution Dashboard
The dashboard (bottom-right position) displays:
Current Session: London/NY/Asian/Overlap
Session VWAP: Current VWAP value
Price vs VWAP: Distance from VWAP in %
POC: Point of Control price level
Value Area: VAH and VAL levels
Volume Status: High/Normal/Low relative to average
Volume Momentum: Rising/Falling/Climax
Session Range: High - Low distance
Accumulation/Distribution: Current phase
Visual Elements
Session Boxes: Optional background colors for each session (default: OFF)
Session VWAP: Dynamic line with color based on price position
Session High/Low: Horizontal lines for current session (2 lines only)
Volume Bars: Color-coded based on momentum and direction
Volume Distribution Profile: Histogram showing volume at price levels
POC Line: Horizontal line at Point of Control
Value Area: Shaded zone between VAH and VAL
Accumulation/Distribution Markers: Labels for strong volume phases
Dashboard: Bottom-right table with session and volume metrics
Chart demonstrating session VWAP, volume bars, and dashboard
How Components Work Together
The mashup reveals session-based institutional flow:
Session Trading Sequence:
1. Session Opens: New session begins (London/NY/Asian)
2. VWAP Establishes: Session VWAP forms as volume enters
3. Volume Distribution: Institutions create volume at key levels (POC, Value Area)
4. Session Range: High and low established through institutional activity
5. Volume Momentum: Accumulation or distribution phase identified
6. Session Close: Levels become reference for next session
Example: London session opens, price trades above session VWAP with rising volume (accumulation). Volume distribution shows POC forming at 1.2500 level. Session high reaches 1.2550. NY session opens, price respects London session high and VWAP, continues higher with climax volume. Dashboard shows strong accumulation with volume momentum +75%.
Input Parameters
Session Settings:
London Session: Time range (default: 0300-1200)
NY Session: Time range (default: 0830-1700)
Asian Session: Time range (default: 0000-0900)
Show Session Boxes: Toggle background colors (default: OFF)
Highlight Overlap: Emphasize London/NY overlap (default: enabled)
VWAP Settings:
Show Session VWAP: Toggle VWAP line (default: enabled)
VWAP Reset: Session, Daily, Weekly (default: Session)
VWAP Bands: Optional standard deviation bands (default: disabled)
Distance Alert: Alert when price moves X% from VWAP (default: 2%)
Volume Settings:
Volume MA Length: Period for volume average (default: 20)
High Volume Threshold: Multiplier for high volume (default: 1.5x)
Climax Volume Threshold: Multiplier for climax (default: 3.0x)
Show Volume Bars: Color-coded volume bars (default: enabled)
Show Distribution Profile: Volume at price histogram (default: enabled)
Session Levels:
Show Current Session H/L: Toggle current session levels (default: enabled)
Show Previous Session H/L: Toggle previous session levels (default: disabled)
Show POC: Toggle Point of Control line (default: enabled)
Show Value Area: Toggle VAH/VAL zone (default: enabled)
Display Options:
Show Dashboard: Toggle metrics table (default: enabled)
Dashboard Position: Bottom-right, top-right, etc. (default: bottom-right)
Color Theme: Choose color scheme
Transparency: Adjust visual element transparency
How to Use This Indicator
Step 1: Identify Active Session
Check dashboard to see which session is active. Focus trading during London and NY sessions for highest volume and best opportunities.
Step 2: Monitor Session VWAP
Use session VWAP as directional bias. Price above VWAP = bullish bias, below = bearish bias. VWAP often acts as support/resistance.
Step 3: Check Volume Distribution
Identify POC and Value Area. These levels often provide strong support/resistance. Price tends to return to POC (fair value).
Step 4: Assess Volume Momentum
Check if volume is rising (accumulation/distribution) or falling (lack of interest). Climax volume often marks important turning points.
Step 5: Use Session High/Low
Current session high/low define intraday range. Breaks above/below these levels signal potential breakout moves.
Step 6: Watch for Session Transitions
Session opens and closes often bring volatility. London open and NY open are particularly important for major moves.
Best Practices
Use on 5-minute to 1-hour timeframes for optimal session analysis
London/NY overlap (08:30-12:00 EST) offers highest volume and best opportunities
Session VWAP acts as magnet - price often returns to it
POC from previous session often becomes support/resistance in current session
Climax volume at session high/low often marks reversal points
Accumulation during Asian session often leads to breakout during London open
Value Area breaks signal strong directional moves
Previous session high/low become key levels for current session
Combine session analysis with other technical tools for best results
Indicator Limitations
Session times are fixed and may not account for daylight saving time changes
Volume distribution requires sufficient data within session to be meaningful
VWAP can be less relevant in very volatile or trending markets
Session high/low can be broken multiple times in volatile conditions
Lower timeframes may show choppy session transitions
Volume data quality varies across different markets and brokers
Asian session analysis less reliable due to lower volume
Requires understanding of session-based trading concepts
Visual elements can clutter chart if all options enabled
Technical Implementation
Built with Pine Script v6 using:
Session detection using time() function with session strings
Session-specific VWAP calculation with reset logic
Volume distribution profiling with POC and Value Area calculation
Volume momentum tracking with MA comparison
Session high/low tracking with persistent variables
Accumulation/distribution detection using volume and price
Dynamic dashboard with real-time session metrics
Optional session boxes with transparency control
Color-coded volume bars based on momentum
The code is fully open-source and can be modified to adjust session times, volume thresholds, and visual preferences.
Originality Statement
This indicator is original in its comprehensive session and volume integration approach. While individual components (session identification, VWAP, volume distribution, volume momentum, session high/low) are established concepts, this mashup is justified because:
It combines session-based analysis with volume distribution profiling
Session-specific VWAP provides more relevant institutional benchmark than daily VWAP
Integration of volume momentum with session context reveals accumulation/distribution phases
Simplified visual presentation (current session H/L only) reduces clutter
Dashboard presents complex session and volume data clearly
Focus on institutional trading sessions (London/NY) aligns with volume reality
Each component contributes unique information: Session identification shows when institutions are active, Volume Distribution reveals where they're trading, VWAP shows their average price, Volume Momentum shows their intent, and Session High/Low marks their range. The mashup's value lies in presenting these complementary session-based perspectives simultaneously, allowing traders to understand how institutional volume flows through different global trading sessions.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Session-based analysis and volume distribution are analytical tools that analyze past data. They do not predict future price movement or guarantee that institutional traders are active at identified levels. Market conditions change, and session patterns that worked historically may not work in the future.
VWAP and volume distribution levels can fail to provide support/resistance. Session highs and lows can be broken without leading to sustained moves. Volume momentum can change rapidly. Past session behavior does not guarantee future session behavior.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicateur

Rolling Trendline [LuxAlgo]The Rolling Trendline indicator provides a dynamic, self-adjusting trendline that tracks price action using linear regression slope projections and automatically resets when price deviates beyond a specific threshold.
🔶 USAGE
The indicator is designed to provide a continuous trend bias without the "lag" often associated with static linear regression lines. It projects a line forward based on a calculated slope and only shifts its trajectory when the market demonstrates a significant change in momentum.
The addition of ATR-based volatility zones allows traders to visualize a range of expected price action around the projected trend, providing a buffer that accounts for market volatility at the time of each trend reset.
🔹 Interpreting the Line and Zones
Bullish Phase (Green): Indicates an upward-sloping trajectory. The trendline and its surrounding ATR zones will be colored green, suggesting a bullish bias.
Bearish Phase (Red): Indicates a downward-sloping trajectory. The trendline and its surrounding ATR zones will be colored red, suggesting a bearish bias.
ATR Zones: These shaded areas represent a volatility-adjusted range. As long as price remains within the deviation threshold, the zones follow the trendline's trajectory.
Reset Points: Visualized by a small circle and a break in the line, these occur when price moves too far from the projection. At this moment, the indicator re-anchors to the current price and recalculates both the slope and the ATR zone width.
🔶 DETAILS
The indicator follows a specific logic flow to maintain its "Rolling" characteristic:
1. Slope Calculation: It calculates the Linear Regression slope over a user-defined lookback period. This slope represents the average rate of change in price.
2. Projection: On every new bar, the indicator projects the next value of the trendline by adding the active slope to the previous trendline value.
3. Deviation Check: The indicator calculates a Standard Deviation threshold. If the distance between the current price and the projected trendline value exceeds this threshold, a reset is triggered.
4. Re-Anchoring: Upon a reset, the trendline "rolls" to the current price and adopts the most recent linear regression slope. Simultaneously, it captures the current ATR to set the width of the new trend zones.
🔶 SETTINGS
🔹 Trend Settings
Slope Lookback: The period used to calculate the linear regression slope. Higher values result in a slope that considers more historical data.
Deviation Multiplier: Determines how far price can deviate from the trendline before a reset occurs.
Slope Divisor: This setting allows you to tame the trajectory of the line. Higher values divide the captured slope, resulting in flatter trendlines.
Source: The price data used for all calculations (default is Close).
🔹 ATR Zones
ATR Length: The lookback period used for the Average True Range calculation, which determines the width of the volatility bands.
ATR Multiplier: Controls the width of the shaded zones around the trendline.
🔹 Visuals
Bullish/Bearish Trend Colors: Customizes the colors for the trendline and zones based on the slope direction.
Zone Color: Sets the base color for the ATR area fills.
Line Width: Adjusts the thickness of the primary rolling trendline.
Indicateur

Indicateur

Automatic Trendline [Metrify]Metrify Automatic Trendlines is an auto-drawing support/resistance channel built around pivot clustering + scoring, not “connect two perfect points”. The script continuously collects swing pivots (high/low) over a configurable lookback window, then searches for the best single support line and the best single resistance line that behave like a human-drawn trendline: multiple interactions, controlled slope, limited break-throughs, and (most importantly) still relevant to the current price. (configurable in "Max Relevance Distance" input)
The fundamental problem with algorithmic trendlines is subjectivity. To solve this mathematically, we treat trendlines as a statistical regression problem with specific constraints. We do not use linear regression on all candles, instead, we use a brute-force iterative approach on specific "Pivot Points."
The logic operates on a simple premise: Generate every possible line between past swing points, validate them against price history, score them based on fit, and render only the winner.
The Calculation Engine (f_find_best_line)
This function contains the primary computational load. It performs a nested loop operation:
Outer Loop (newer): Iterates through recent pivots.
Inner Loop (older): Iterates through older pivots to form a candidate line segment.
For every pair of pivots (P1,P2), we calculate the slope (m) and the y-intercept concept. This gives us a tentative trendline equation:
y=mx+c
The Scoring Matrix
We assign a score to each candidate line based on weighted heuristics:
Touch Count (touches * 2.8): The primary driver. More touches = higher statistical significance.
Recency (recency * 1.2): Lines originating closer to the current price action are weighted higher.
Tightness (avgErr): We calculate the average distance of all touches from the line. A "tighter" fit (lower error) increases the score.
Penalties:
violations * 2.2: False breaks heavily penalize the score.
barBreakRatio * 2.0: If the line cuts through candle bodies (even if pivots are fine).
The line with the highest localBest score is returned as the dominant trendline.
What you can use it for?
This is a structure visualizer that tries to keep a clean, current S/R channel on screen with volatility-aware rules. It’s not a signal generator, it doesn’t predict breakouts, and it won’t always draw something, if the market is messy and no line survives the filters, it will show none instead of hallucinating geometry. If you need more lines (multiple concurrent channels), that’s a different design tradeoff (and usually becomes clutter + false confidence fast). Indicateur

Session Auction State Engine (SASE) Summary in one paragraph
Session Auction State Engine (SASE) is a session context indicator for liquid futures, FX, equities, and crypto on intraday to daily timeframes. It classifies the current session into one of four auction regimes, Balanced, Early trend, Trend continuation, or Failed auction, so you act only when multiple acceptance and expansion conditions align. It is original because it outputs a single interpretable auction state, not buy and sell signals, by combining time acceptance, range expansion, and return to value logic into a compact dashboard. Add it to a clean chart, read the table for Action and permissions, and use the optional markers and bands for quick visual context. Shapes can move while the bar is open and settle on close, for conservative workflows use alerts on bar close.
Scope and intent
• Markets. Major index futures, major FX pairs, large cap equities, liquid crypto
• Timeframes. 1 minute to daily
• Default demo used in the publication. ES1! on 5 minute
• Purpose. Prevent premature directional decisions by forcing regime confirmation before direction is considered actionable
• Limits. Indicator only. No backtest, no execution, no performance claims
Originality and usefulness
This is not a mashup of common indicators. It is a session auction classifier with an explicit decision hierarchy.
• Unique concept or fusion. A regime engine that gates trading by session auction state using Initial Balance, value acceptance, expansion, and return to value confirmation
• What failure mode it addresses. False starts in chop, early breakouts that never gain acceptance, and trend chasing inside balanced sessions
• Testability. Inputs expose each component and the table shows the state, direction, and pass or fail checklist so users can verify why a state appears and tune thresholds
• Portable yardstick. Expansion is normalized by an expected range unit (ATR based), so thresholds scale across symbols with different point values
Method overview in plain language
SASE runs inside a user defined session window. It builds an Initial Balance (IB), then evaluates whether the market is accepting prices outside value and outside IB, whether the session is expanding beyond IB, and whether price returns to value after a failed excursion.
Base measures
• Range basis. Value width is ATR of the chart timeframe over the Width ATR length, multiplied by Width ATR multiplier
• Normalization basis. Expected range is ATR, either daily or intraday based on Expected range mode, used to normalize session extension
Components
• Initial Balance (IB). High and low during the first IB minutes of the session. IB defines the first acceptance boundary
• Value anchor. A session anchored VWAP or TWAP (or auto) used as a value center
• Value width. ATR based band around value used to measure inside value and outside value
• Acceptance. Two acceptance channels are tracked, closes outside value in the breakout direction and closes outside IB in the breakout direction. An EMA plus a short streak score turns this into an acceptance strength metric
• Extension. Maximum distance beyond IB, normalized by expected range, measures range expansion
• Balance. An EMA of time spent inside the value band measures how rotational versus directional the session is
• Failed auction. Requires a real excursion outside value first, then a sustained return inside value, plus an acceptance collapse and a rebalance increase, optionally requiring price to be back inside IB
Fusion rule
SASE outputs exactly one state per bar inside the session.
• Balanced. No confirmed breakout from IB, or conditions indicate rotational trade, high balance, low acceptance, low extension
• Early trend. Breakout exists, but trend continuation checklist is not complete yet
• Trend continuation. All trend gates pass at once: enough time since breakout, acceptance above threshold, extension above threshold, and balance below threshold
• Failed auction. After an excursion outside value, price returns and holds inside value while acceptance collapses and balance rises, optionally requiring price back inside IB
Signal rule
This script does not issue trade signals. It outputs context.
• Direction is shown only when state is not Balanced
• The dashboard shows a Trend checklist (T, A, E). Trend continuation requires T pass, A pass, and E pass
• Early trend indicates direction may be forming but confirmation is incomplete
• Failed auction indicates the prior directional attempt was rejected and mean reversion conditions are stronger
What you will see on the chart
• Optional markers. Key markers appear on state transitions, typically when Trend continuation or Failed auction begins, depending on the Markers setting
• Optional reference levels. IB high and IB low lines, and value center plus value bands
• Optional background and bar color. Off by default for chart cleanliness
• Compact dashboard. A table showing state, direction, Action, permissions, IB progress, checklist, and component gauges
Table fields and quick reading guide
• State badge. Current auction state
• Direction. Up or Down when state is not Balanced, otherwise None
• Action. Plain language instruction for the current state
• Use. Two permissions, Trend and MeanRev, shown as ON or OFF
• IB. Progress and status, Wait until Complete
• Trend. Ready percent plus checklist T, A, E
• Accept. Acceptance strength and whether it meets the trend threshold
• Extend. Extension strength and whether it meets the trend threshold
• Balance. Balance score and whether it is low enough for trend continuation
• Fail. Excursion and return to value progress when relevant
Reading tip. Trend continuation is only intended when T, A, and E are all passing. If Balanced, do not force direction.
Inputs with guidance
Setup
• Session. Defines when the engine is active. Verify timezone and hours when changing symbol or venue
• Session timezone. Exchange or a named timezone
• Show last session snapshot when closed. When enabled, the table displays the last in session state after the session ends
Logic
• IB minutes. Typical 30 to 90. Higher reduces noise but delays classification
• Value anchor. Auto is recommended. VWAP requires reliable volume, TWAP is volume agnostic
• Value reference. Freeze at IB reduces value drift and makes acceptance and failed auction logic more stable
• Width ATR length. Typical 14 to 30. Higher smooths value width
• Width ATR multiplier. Typical 0.5 to 1.2. Higher widens value and increases Balanced time
• Breakout buffer as width fraction. Typical 0.1 to 0.4. Higher requires cleaner breakouts
• Acceptance EMA length. Typical 20 to 60. Higher reduces flicker
• Acceptance streak bars. Typical 4 to 10. Higher requires sustained acceptance
• Early trend acceptance threshold. Typical 0.25 to 0.45
• Trend continuation acceptance threshold. Typical 0.45 to 0.70
• Balance EMA length. Typical 30 to 80
• Trend continuation max balance. Typical 0.30 to 0.55. Lower makes trend continuation stricter
• Balanced min balance. Typical 0.55 to 0.80
• Trend continuation min bars since breakout. Typical 10 to 30
• Extension thresholds. Early 0.10 to 0.25, Trend 0.20 to 0.50, in expected range units
• Failed auction window bars. Typical 15 to 40. Larger windows require more sustained rejection
• Failed auction thresholds. Acceptance max 0.10 to 0.30, Balance min 0.55 to 0.80
• State change confirm bars. Typical 1 to 4
• Return to Balanced confirm bars. Typical 4 to 12
• Minimum bars to keep non Balanced state. Typical 6 to 20, increases stability
UI
• Theme. Dark or Light
• Dashboard position. Corner selection
• Markers. Off, Key only, or All changes
• Background tint and bar color. Off by default to keep charts readable
• Show IB lines and Show value bands. Off by default, enable for learning or debugging
Usage recipes
Intraday trend focus
• IB minutes 60
• Value reference Freeze at IB
• Breakout buffer 0.25
• Trend confirm bars 18
• Accept trend threshold 0.55
• Extend trend threshold 0.30
• Trend max balance 0.40
Goal. Trade only when Trend continuation is active and checklist is fully passing
Intraday mean reversion focus
• IB minutes 30 to 60
• Value reference Freeze at IB
• Wider value width, raise Width ATR multiplier to 0.9 to 1.2
• Raise Balanced min balance to 0.70
• Keep Markers on Key only
Goal. Focus on Balanced and Failed auction states, avoid early trend and trend continuation trades
Swing continuation
• Use 60 minute or 240 minute chart
• Expected range mode Daily ATR
• Trend confirm bars 12 to 30 depending on timeframe
• Raise Width ATR length to 30
Goal. Use Trend continuation as a higher level regime gate, then use your own entry timing tool inside that regime
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• Intrabar motion reminder. Shapes and table values can update while a bar forms and settle on close
• Session windows use the chart exchange time unless you override timezone. Verify hours when changing symbol or venue
Honest limitations and failure modes
• News releases and liquidity gaps can break normal auction behavior and can trigger rapid state transitions
• Symbols with unreliable volume may work better using TWAP or Auto rather than VWAP only
• Very quiet regimes can reduce contrast between Balanced and Early trend, consider longer windows or higher thresholds
• Non standard chart types can distort session and IB calculations, use standard candles for evaluation
Open source reuse and credits
None
Legal
Education and research only. Not investment advice. You are responsible for your decisions. Test on historical data and in simulation before any live use. Use realistic costs in any external testing workflow. Indicateur

Indicateur

Luminous Market Flux [Pineify]Luminous Market Flux - Dynamic Volatility Channel with Breakout Detection
The Luminous Market Flux indicator is a sophisticated volatility-based trading tool that combines dynamic channel analysis with breakout detection and squeeze identification. This indicator helps traders visualize market conditions by creating an adaptive envelope around price action, highlighting periods of compression (low volatility) and expansion (high volatility) while generating actionable buy and sell signals at key breakout moments.
Key Features
Dynamic volatility channel that adapts to changing market conditions using ATR-based calculations
Visual squeeze detection system that warns traders when volatility is contracting
Automatic breakout signal generation for both bullish and bearish scenarios
Luminous gradient fill that provides instant visual feedback on price position within the channel
Bar coloring feature that highlights strong volatility breakouts
Built-in alert conditions for automated trading notifications
How It Works
The indicator operates on three core calculation layers:
1. Baseline Calculation (Central Tendency)
The foundation uses a Running Moving Average (RMA) of the closing price over the specified Flux Length period. RMA was specifically chosen over SMA or EMA because it provides smoother trend detection similar to how RSI and ATR calculations work, reducing noise while maintaining responsiveness to genuine price movements.
2. Volatility Measurement
The channel width is determined by the Average True Range (ATR) multiplied by the Flux Expansion Factor. ATR captures the true volatility of the market by accounting for gaps and limit moves, making the channel responsive to actual market conditions rather than just closing price variations.
3. Squeeze Detection Logic
The indicator compares the current channel width against a 100-period simple moving average of historical channel widths. When the current range falls below 80% of this average, a squeeze condition is identified, signaling that volatility is compressing and a significant move may be imminent.
Trading Ideas and Insights
Breakout Trading: Enter long positions when price breaks above the upper flux channel with a BUY signal, and short positions when price breaks below the lower channel with a SELL signal. These breakouts indicate strong momentum in the direction of the move.
Squeeze Anticipation: When squeeze circles appear at the top of the chart, prepare for a potential explosive move. Squeezes often precede significant breakouts as the market coils before releasing energy in one direction.
Trend Confirmation: Use the bar coloring feature to confirm trend strength. Colored bars indicate that price is trading outside the volatility envelope, suggesting strong directional momentum.
Mean Reversion: When price is within the channel (no bar coloring), the gradient fill helps identify whether price is closer to the upper or lower boundary, potentially useful for mean-reversion strategies.
How Multiple Indicators Work Together
This indicator integrates several technical concepts into a cohesive system:
The RMA baseline provides the trend anchor, while the ATR-based envelope adapts to volatility conditions. These two components work together to create a channel that expands during volatile periods and contracts during quiet markets. The squeeze detection layer adds a third dimension by comparing current volatility to historical norms, alerting traders when the market is unusually quiet.
The visual elements reinforce this analysis: the gradient fill shows price position within the channel at a glance, bar coloring confirms breakout strength, and shape markers provide discrete entry signals. This multi-layered approach ensures traders receive consistent information across different visualization methods.
Unique Aspects
The "Luminous" visual design uses color gradients that dynamically shift based on price position, creating an intuitive heat-map effect within the channel
Unlike traditional Bollinger Bands that use standard deviation, this indicator uses ATR for volatility measurement, making it more responsive to actual price range movements
The squeeze detection compares current volatility to a longer-term average (100 periods), providing context-aware compression signals rather than arbitrary thresholds
Signal generation uses proper state tracking to ensure breakout signals only fire on the initial breakout, not on every bar during an extended move
How to Use
Add the indicator to your chart. It will overlay directly on price with the volatility channel visible.
Watch for BUY labels appearing below bars when price breaks above the upper channel - these indicate bullish breakout opportunities.
Watch for SELL labels appearing above bars when price breaks below the lower channel - these indicate bearish breakout opportunities.
Monitor for small circles at the top of the chart indicating squeeze conditions - prepare for potential breakouts when these appear.
Use the colored bars as confirmation of breakout strength - green bars confirm bullish momentum, red bars confirm bearish momentum.
Set up alerts using the built-in alert conditions to receive notifications for buy signals, sell signals, and squeeze warnings.
Customization
Flux Length (default: 20): Controls the lookback period for both the baseline and ATR calculations. Lower values create more responsive but noisier channels; higher values create smoother but slower-reacting channels.
Flux Expansion Factor (default: 2.0): Multiplier for the ATR value that determines channel width. Higher values create wider channels with fewer signals; lower values create tighter channels with more frequent signals.
Smooth Signal : Toggle for signal smoothing preference.
Bullish Energy : Customize the color for bullish breakouts and upper channel highlights.
Bearish Energy : Customize the color for bearish breakouts and lower channel highlights.
Compression/Neutral : Customize the color for squeeze indicators and neutral channel states.
Conclusion
The Luminous Market Flux indicator provides traders with a comprehensive volatility analysis tool that combines channel-based trend detection, squeeze identification, and breakout signaling into a single, visually intuitive package. By using ATR-based volatility measurement and RMA smoothing, the indicator adapts to changing market conditions while filtering out noise. Whether you are a breakout trader looking for momentum entries or a swing trader waiting for volatility expansion after compression periods, this indicator offers the visual clarity and signal precision needed to make informed trading decisions.
Indicateur

Indicateur

Indicateur

Blockcircle FTR - Follow Through ReversalWHAT THIS INDICATOR DOES
Blockcircle FTR identifies failed directional moves followed by quality reversals. The indicator tracks structural pivot levels, monitors price interactions with those levels, and validates reversal sequences against a configurable threshold.
A trend filter provides macro context so you can evaluate whether signals align with or oppose the broader direction.
KEY FEATURES
Reversal quality filtering via delivery threshold requirement
Sweep confirmation when reversals follow liquidity grabs at structural levels
ATR-adaptive origin zones marking reversal starting points
Trend alignment indicator comparing signal bias to moving average direction
Volume validation filter for participation confirmation
Real-time dashboard with signal statistics and alignment status
DETAILED BREAKDOWN
Structural Level Tracking
The indicator identifies pivot highs and lows based on the Structure Lookback parameter. These pivots serve as reference levels where liquidity typically accumulates. Levels remain active until price interacts with them or they exceed the Level Lifespan setting.
When the price reaches a structural level, this interaction is logged. If a reversal then forms in the opposite direction within the Sweep Window, the signal qualifies as sweep-confirmed, indicating that stops were likely triggered before the move reversed.
FTR Detection Logic
The core detection looks for a specific sequence: a directional attempt that fails to follow through, followed by a counter-move that meets the Delivery Threshold ratio. This ratio measures the quality of the reversal relative to the failed move's structure.
Higher threshold values (closer to 1.0) require cleaner, more convincing reversals. Lower values (closer to 0.1) allow weaker setups through. The default of 0.7 provides reasonable filtering without being overly restrictive.
Trend Context Filter
A moving average (EMA or SMA, configurable period) provides simple trend context. The dashboard displays three related metrics:
Trend: Current price position relative to the MA (Bullish/Bearish)
FTR Bias: Direction of the most recent confirmed signal (Long/Short)
Aligned: Whether these two readings match (Yes/No)
This helps identify situations where the FTR bias has become stale or is positioned against the prevailing trend.
Signal Classification
Standard signals appear as small triangles and represent FTR patterns that passed the delivery threshold and any active filters.
Sweep-confirmed signals appear with an "S" label and represent the subset of signals where price swept a structural level shortly before the reversal formed. These carry higher conviction due to the additional liquidity context.
Dashboard Metrics
The information panel provides:
Current trend direction and FTR bias
Alignment status between the two
Bars elapsed since the last signal
Running totals for long and short signals
Sweep-confirmed counts in parentheses
Volume filter status
Configuration Parameters
Structure Lookback: Bars used for pivot detection. Higher values capture more significant swings.
Delivery Threshold: Minimum ratio for valid reversals. Range 0.1 to 1.0.
Level Lifespan: The maximum bars a structural level remains active.
Sweep Window: Lookback period for sweep confirmation.
Trend MA Period: Moving average length for trend context.
Volume Spike Multiple: Required volume ratio when volume filter is active.
Zone Depth: Origin zone width as ATR multiple.
Practical Application
Sweep-confirmed signals with trend alignment represent the highest-conviction setups. These combine a quality reversal pattern, liquidity sweep context, and trend support.
Standard signals without sweep confirmation remain valid FTR patterns but warrant additional discretion.
Counter-trend signals (Aligned showing NO) can still produce valid moves, but historically carry lower probability. Consider position sizing adjustments accordingly.
Origin zones serve as potential support/resistance areas for subsequent price returns.
Important Limitations
The indicator may remain biased in the wrong direction during extended trends if no qualifying reversal pattern forms. The trend filter helps identify these situations, but does not automatically override the FTR bias.
Signal counts are calculated on visible chart history and will vary based on the loaded timeframe and bar count.
As with any technical tool, signals should be evaluated within the broader market context rather than traded mechanically.
Hope you find it useful! If you have any questions, please don't hesitate to ask them! Indicateur

Indicateur

Indicateur

Trend lines & Pressure Zone Overview
This indicator intelligently identifies and plots dynamic support and resistance zones based on swing pivots and price action validation. It combines trend analysis with pressure zone detection to highlight key areas where price is likely to react.
Key Features
1.Smart Zone Detection
Automatically identifies the strongest resistance and support levels
Requires multiple price touches for validation (configurable)
Plots only the 2 most relevant trendlines to keep charts clean
Dynamic channel zones show the area of influence around each trendline
2.Dual Analysis Method
Uses swing pivot detection to find turning points
Validates zones through touch counting with price margin tolerance
Combines aspects of trendline analysis and pressure zone theory
Adapts to different timeframes and instruments
3.Contact Detection & Alerts
Visual circle markers when price contacts zones
Arrow indicators for zone interactions
Alert conditions for zone creation, breaks, and contacts
Customizable visual feedback
4.Flexible Configuration
Adjustable swing length for pivot detection
Configurable price margin tolerance
Minimum touch requirements prevent false signals
Optional line extension with custom length
Peak reset interval to refresh zones periodically
How It Works
Resistance Zones:
Identifies swing high pivots
Tracks the highest peak within the reset interval
When price drops below the peak, draws a downward trendline
Validates the zone by counting touches within the price margin
Only displays the zone after minimum touches are confirmed
Support Zones:
Identifies swing low pivots
Tracks the lowest trough within the reset interval
When price rises above the trough, draws an upward trendline
Validates the zone by counting touches within the price margin
Only displays the zone after minimum touches are confirmed
Zone Channels:
Each trendline includes a parallel channel showing the pressure zone width, making it easier to identify when price is interacting with the zone.
Pivot Detection:
Swing Length (default: 5) - Bars on each side to confirm pivot points
Peak Reset Interval (default: 100) - Bars before resetting tracked peak/trough
Zone Settings:
Price Margin % (default: 0.1%) - Tolerance for touch validation
Minimum Touches (default: 3) - Required touches before drawing zone
Channel Width % (default: 0.5%) - Visual width of pressure zone
Extension:
Extend Lines (default: off) - Project lines into the future
Extension Length (default: 50) - Bars to extend when enabled
Visual Styling:
Separate color/width controls for resistance and support
Customizable fill transparency for channels, Toggle contact arrows and circles
Trading Applications
Entry Signals:
Buy when price contacts support zone with confirmation
Sell when price contacts resistance zone with confirmation, Look for zone breaks as momentum signals
Stop Loss Placement:
Place stops beyond the opposite zone, Use channel width to gauge volatility
Target Setting:
Opposite zone acts as first profit target, Zone breaks signal potential trend continuation
Confluence:
Works well with volume analysis,Combine with RSI/MACD for confirmation,
Use multiple timeframes for stronger signals
Best Practices
✅ DO:
Adjust swing length based on timeframe (lower for intraday, higher for daily+)
Reduce minimum touches (2-3) for volatile markets
Increase price margin for choppy conditions
Wait for candle close confirmation on zone breaks
❌ DON'T:
Trade zones in isolation without other confirmation
Use overly tight parameters that generate false signals
Ignore the broader trend context
Chase price after zone breaks without pullback
Tips for Optimization
Scalping (1-5 min): Swing Length: 3-5, Min Touches: 2
Day Trading (15-60 min): Swing Length: 5-10, Min Touches: 3
Swing Trading (4H-Daily): Swing Length: 10-20, Min Touches: 3-4
Position Trading (Daily-Weekly): Swing Length: 15-25, Min Touches: 4-5
Alert Conditions
Zone Contact: Price touches resistance or support zone
Set up notifications for real-time trading opportunities
Disclaimer: This indicator is for educational and informational purposes only. It should not be considered financial advice. Always perform your own analysis and risk management before trading. Indicateur
