Directional Change Extremes by CR86Подтверждение сигналов в индкаторе Directional Change происходит на основе алгоритма отката цены (sigma), заданного как процент от предыдущего экстремума. Процесс следующий:
Поиск вершины (Top): Изначально индикатор ищет максимум (tmp_max). Когда цена откатывает ниже текущего максимума на величину sigma (например, close < tmp_max - tmp_max * sigma), вершина подтверждается, и сигнал Top фиксируется. Это запускает поиск основания.
Поиск основания (Bottom): После подтверждения вершины минимальная цена (tmp_min) обновляется. Когда цена растет выше текущего минимума на sigma (например, close > tmp_min + tmp_min * sigma), основание подтверждается, и сигнал Bottom фиксируется. Это переключает индикатор обратно к поиску вершины.
Условия: Подтверждение происходит только при закрытии бара, что обеспечивает стабильность сигнала. Метки "Confirm" появляются на баре, где выполнено условие отката.
Пример: Если tmp_max = 1000 и sigma = 0.031, подтверждение Top произойдет, когда цена упадет ниже 969 (1000 * 0.969).
English
Signal confirmation in the Directional Change indicator is based on a price retracement algorithm (sigma) defined as a percentage of the previous extreme. The process is as follows:
Top Detection: The indicator initially seeks a maximum (tmp_max). A top is confirmed when the price retraces below the current maximum by sigma (e.g., close < tmp_max - tmp_max * sigma), triggering a Top signal. This shifts the focus to bottom detection.
Bottom Detection: After a top is confirmed, the minimum price (tmp_min) is updated. A bottom is confirmed when the price rises above the current minimum by sigma (e.g., close > tmp_min + tmp_min * sigma), triggering a Bottom signal. This switches the indicator back to seeking a top.
Conditions: Confirmation occurs only on bar close, ensuring signal stability. "Confirm" labels appear on the bar where the retracement condition is met.
Example: If tmp_max = 1000 and sigma = 0.031, a Top is confirmed when the price drops below 969 (1000 * 0.969).
Pontos e níveis de pivô
SMT DivergenceSMT Divergence Indicator
This powerful indicator identifies high-probability reversal points by detecting SMT (Smart Money Technique) divergences between two correlated assets. It spots subtle shifts in market momentum, revealing when one asset fails to confirm the price action of another—often signaling an impending trend change.
Key Features:
Inter-Market Divergence Detection: Automatically compares the price action of the main symbol with a second user-defined asset.
Identifies Key Reversals: Pinpoints both bullish and bearish SMT divergences, highlighting hidden strength in downtrends and underlying weakness in uptrends.
Customizable Pivot Detection: Allows fine-tuning of the pivot length to adjust sensitivity for different market conditions and timeframes.
Flexible Display Modes: Choose between clean 'Lines' connecting the diverging pivots or precise 'Labels' marking the exact high/low points.
Full Visual Customization: Complete control over the colors and line thickness for seamless integration with your existing chart layout.
Built-in Alerts: Stay notified of every potential opportunity with alerts for both bullish and bearish signals.
Settings:
Core Parameters:
Comparison Symbol: Select the second asset to compare against for divergence analysis (e.g., NQ1! if you are charting ES1!).
Pivot Length: Defines the number of bars to the left and right required to confirm a pivot high or low.
Visual Settings:
Display Style: Choose to visualize divergences as 'Lines' or 'Labels'.
Bearish/Bullish Color: Set custom colors for bearish and bullish divergence indicators.
Line Width: Adjust the thickness of the divergence lines for optimal visibility.
Perfect for traders who utilize inter-market analysis to confirm trade ideas. The SMT Divergence indicator provides a crucial edge by exposing non-confirmations between related assets, allowing for earlier and more confident entries into potential market reversals.
The Butterfly [theUltimator5]This is a technical analysis tool designed to automatically detect and visualize Butterfly harmonic patterns based on recent market pivot structures. This indicator uses a unique plotting and detection algorithm to find and display valid Butterfly patterns on the chart.
The indicator works in real-time and historically by identifying major swing highs and lows (pivots) based on a user-defined ZigZag length. It then evaluates whether the most recent price structure conforms to the ideal proportions of a bullish or bearish Butterfly pattern. If the ratios between price legs XA, AB, BC, and projected CD meet defined tolerances, the pattern is plotted on the chart along with a projected D point for potential reversal.
Key Features:
Automatic Pivot Detection: The script analyzes recent price action to construct a ZigZag pattern, identifying swing points as potential X, A, B, and C coordinates.
Butterfly Pattern Validation: The pattern is validated against traditional Fibonacci ratios:
--AB should be approximately 78.6% of XA.
--BC must lie between 38.2% and 88.6% of AB.
--CD is projected as a multiple of BC, with user control over the ratio (e.g., 1.618–2.24).
Bullish and Bearish Recognition: The pattern logic detects both bullish and bearish Butterflies, automatically adjusting plotting direction and color themes.
Custom Ratio Tolerance: Users can define how strictly the AB/XA and BC/AB legs must adhere to ideal ratios, using a percentage-based tolerance slider.
Fallback Detection Logic: If a new pattern is not identified in recent bars, the script performs a backward search on the last four pivots to find the most recent valid pattern.
Force Mode: A toggle allows users to force the drawing of a Butterfly pattern on the most recent pivot structure, regardless of whether the ideal Fibonacci rules are satisfied.
Dynamic Visualization:
--Clear labeling of X, A, B, C, and D points.
--Colored connecting lines and filled triangles to visualize structure.
--Optional table displaying key Fibonacci ratios and how close each leg is to ideal values.
Inputs:
Length: Controls the sensitivity of the ZigZag pivots. Smaller values result in more frequent pivots.
Tolerance (%): Adjustable threshold for acceptable deviation in AB/XA and BC/AB ratios.
CD Length Multiplier: Projects point D by multiplying the BC leg using a value between 1.618 and 2.24.
Force New Pattern: Overrides validation checks to display a Butterfly structure on recent pivots regardless of ratio accuracy.
Show Table: Enables a table showing calculated ratios and deviations from the ideal.
Trend Lines by CR86The basic construction algorithm:
1. The baseline trend line through the closing prices:
First, the best fit line (linear regression) is calculated for the closing prices for a given period.
The least squares method is used to find the optimal slope and intersection point.
2. Search for key deviation points:
For each bar in the period, the deviation of the maximum and minimum from the regression baseline is calculated.
The point with the maximum deviation of the maximum upward from the regression line (for the resistance line) is located
The point with the maximum deviation of the minimum is located down from the regression line (for the support line)
3. Optimizing the slope of the lines:
Lines with an optimized slope are drawn through the found key points.
The algorithm selects the slope so that the line best "bends around" the corresponding extremes (maxima for resistance, minima for support)
Numerical optimization is used to check the validity of the trend line.
4. The principle of validity:
For the support line: all points must be above or at the line level (with a tolerance of 1e-5)
For the resistance line: all points must be below or at the line level (with a tolerance of 1e-5)
Key Features
Adaptability: the lines automatically adjust to the actual price extremes
Mathematical precision: a rigorous mathematical approach with optimization is used
Logarithmic scaling: optional for dealing with highly volatile assets
The basic construction algorithm
1. The baseline trend line through the closing prices:
First, the best fit line (linear regression) is calculated for the closing prices for a given period.
The least squares method is used to find the optimal slope and intersection point.
2. Search for key deviation points:
For each bar in the period, the deviation of the maximum and minimum from the regression baseline is calculated.
The point with the maximum deviation of the maximum upward from the regression line (for the resistance line) is located
The point with the maximum deviation of the minimum is located down from the regression line (for the support line)
3. Optimizing the slope of the lines:
Lines with an optimized slope are drawn through the found key points.
The algorithm selects the slope so that the line best "bends around" the corresponding extremes (maxima for resistance, minima for support)
Numerical optimization is used to check the validity of the trend line.
4. The principle of validity:
For the support line: all points must be above or at the line level (with a tolerance of 1e-5)
For the resistance line: all points must be below or at the line level (with a tolerance of 1e-5)
Key Features
Adaptability: the lines automatically adjust to the actual price extremes
Mathematical precision: a rigorous mathematical approach with optimization is used
Logarithmic scaling: optional for dealing with highly volatile assets
***********************************************************************************************
Основной алгоритм построения:
1. Базовая линия тренда через цены закрытия:
Сначала вычисляется линия наилучшего соответствия (линейная регрессия) для цен закрытия за заданный период
Используется метод наименьших квадратов для нахождения оптимального наклона и точки пересечения
2. Поиск ключевых точек отклонения:
Для каждого бара в периоде вычисляется отклонение максимума и минимума от базовой линии регрессии
Находится точка с максимальным отклонением максимума вверх от линии регрессии (для линии сопротивления)
Находится точка с максимальным отклонением минимума вниз от линии регрессии (для линии поддержки)
3. Оптимизация наклона линий:
Через найденные ключевые точки проводятся линии с оптимизированным наклоном
Алгоритм подбирает такой наклон, чтобы линия наилучшим образом "огибала" соответствующие экстремумы (максимумы для сопротивления, минимумы для поддержки)
Используется численная оптимизация с проверкой валидности трендовой линии
4. Принцип валидности:
Для линии поддержки: все точки должны быть выше или на уровне линии (с допуском 1e-5)
Для линии сопротивления: все точки должны быть ниже или на уровне линии (с допуском 1e-5)
Ключевые особенности
Адаптивность: линии автоматически подстраиваются под фактические экстремумы цен
Математическая точность: используется строгий математический подход с оптимизацией
Логарифмическое масштабирование: опционально для работы с сильно волатильными активами
Protected Pivots Points by RiotwolftradingProtected Pivots Points by Riotwolftrading
---
You have an advanced visual tool designed for traders who want to identify and manage key price levels with maximum precision.
This script detects protected pivots (significant highs and lows) and marks them with horizontal lines on the chart. These lines automatically extend for a fixed number of bars or until price invalidates the level with a closing break.
---
🚀 What makes this indicator special?
---
✅ Protected pivot detection:
The indicator identifies protected highs and lows using a fixed pivot strength
✅ Wick break detection (liquidity sweep visualization):
When a wick crosses the pivot level **without the candle closing beyond the level, the indicator automatically changes the line’s color and style.
👉 This immediately shows the trader that the level was tested but remains structurally valid.
✅ Highly customizable visuals:
* Choose whether to show color for protected highs, lows, or wick break levels.
* Set your own colors, line styles (solid, dashed, dotted), and line widths.
---
### 🌟 Why is wick break detection so valuable?
---
💡 Instant context on price action:
No need to manually check every candle to see if a level was barely tested. The indicator changes the line’s appearance automatically, so you can focus on decisions.
💡 Clear distinction between untouched levels and tested levels:
* A level with no wick test is pristine support/resistance.
* A level tested by a wick but not invalidated is still valid — but may have been swept for liquidity.
💡 Crucial for precision trading strategies:
This is particularly important for strategies that rely on:
✅ Liquidity sweeps / stop hunts.
✅ Reversals from tested zones.
✅ Smart Money Concepts (SMC).
✅ ICT concepts, breakers, Quasimodo, BOS/MSS.
The wick break visualization helps filter false breakouts and highlights areas where institutional players may have stepped in.
💡 Avoid premature exits or entries:**
The color/style change tells you a level was tested but not broken, so you avoid overreacting to wick activity.
---
### ⚡ Example use case**
Imagine a protected low line:
🔹 Price dips and its wick touches the level — the line changes color (e.g. violet solid line).
🔹 The level is still valid because the close didn’t break it.
🔹 This could signal a stop hunt or liquidity grab, with a possible reversal opportunity right at that level.
---
### 🧭 **Why most pivot indicators don’t offer this**
Most pivot indicators:
❌ Simply mark the level and remove it after a close break.
❌ Don’t distinguish between a wick test and a true break.
🌟 **This indicator does — giving traders an extra layer of market insight.**
---
### ⚠ **Disclaimer**
This indicator is a visual aid to help identify key levels and price reactions. It does **not** generate buy or sell signals and should be used alongside your trading analysis and strategy.
---
TradeJorno - Time + Price Levels
Tired of manually drawing and updating important ICT or SMC time and price levels on your charts every day?
Here’s an indicator to draw important TIME and PRICE levels automatically.
Here’s what you can highlight in realtime on your charts:
1. Previous major highs and lows
⁃ Previous daily and weekly highs and low
- Weekly dividing lines
2. Session highs/lows
⁃ Plot the high and low of Asia and London sessions.
⁃ Customise the timeframe and appearance on the chart.
- Previous session settlement price.
3. Various price levels
⁃ Pre-market opening prices : midnight, 7:30 and 8:30
⁃ Regular market opening prices: 9:30, 10:00, 14:00
- end of session settlement prices
4. Market opening range high and low
⁃ Lines extending throughout the current session
⁃ Customise the timeframe and appearance on the chart.
5. ICT Macro times
- Draw customisable vertical lines and labels to indicate the start of each ICT macro
period.
Let us know in the comments below if there’s anything else we need to add!
Murrey Math Lines v6Murrey Math Lines v6
This is not just another Murrey Math indicator. It's a complete, ground-up modernization of the classic concept, rebuilt with the latest Pine Script features for unparalleled performance, accuracy, and usability. While preserving the core mathematical genius of T.H. Murrey's system, this version introduces a suite of modern tools designed for today's trader.
What are Murrey Math Lines?
Murrey Math Lines (MML) are a powerful system of support and resistance based on geometric formulas developed by T.H. Murrey. As a derivation of W.D. Gann's observations, Murrey's geometry simplifies Gann's theories into a more accessible application. The core principle is that price action tends to trend and retrace in 1/8th intervals.
These intervals create a "trading octave" with distinct levels, each having its own characteristic behavior:
& - Ultimate Resistance & Support: These lines are the hardest to break. They represent the top and bottom of the expected price range and are prime areas for reversals.
- Major Pivot: This is the most significant level, offering the strongest support and resistance within the octave. Price has a high probability of stopping and reversing here.
& - Strong Pivot/Reversal: These are strong, secondary pivot points where price often struggles to pass through.
& - The Trading Range: The price tends to consolidate between these two lines about 50% of the time. A decisive break outside this range often signals the start of a new trend.
& - Weak Support/Resistance: These levels are weaker, but when price moves too quickly towards them, they can act as initial stopping points or areas for a minor reversal.
& - Extended Octave: These lines show extreme overbought and oversold conditions beyond the primary 0/8 to 8/8 octave.
Modern Enhancements in This Version
Session-Locked Precision: Anchor the Murrey Lines to the start of a specific trading session (e.g., NYSE open). The levels remain constant for the entire session, providing a stable and reliable framework for your daily analysis.
Visual Trading & Reversal Zones: Instead of just lines, this indicator can fill the key trading range (3/8 to 5/8) and reversal zones (0/8-1/8 & 7/8-8/8) with color, giving you an instant visual reference of market sentiment.
Dynamic "Closest Price" Labels: Declutter your chart! The indicator can intelligently display only the label for the Murrey level closest to the current price, keeping your view clean while providing critical information at a glance.
Integrated Alert System: Never miss a key level touch again. Set up alerts for when the price approaches major lines, the trading range, or all lines, customized to your trading style.
Advanced Pine Script Engine: Built on a modern codebase using User-Defined Types and dynamic drawing objects (line, box, label). This ensures the indicator is fast, efficient, and non-repainting, even on lower timeframes.
Intuitive User Interface: Settings are neatly organized into collapsible groups with clear tooltips, making it incredibly easy to customize every aspect of the indicator, from calculation parameters to colors.
A Note on Accuracy
Some of the other Murrey Math indicators on TradingView use different formulas and therefore produce varying results. This version has been carefully checked against MML indicators on other professional platforms to ensure its calculations are accurate and reliable.
Credits
This indicator is a complete overhaul and modernization of the original "MM Lines " script. Full credit for the original calculation logic and concept goes to its author, JRL_6.
Grothendieck-Teichmüller Geometric SynthesisDskyz's Grothendieck-Teichmüller Geometric Synthesis (GTGS)
THEORETICAL FOUNDATION: A SYMPHONY OF GEOMETRIES
The 🎓 GTGS is built upon a revolutionary premise: that market dynamics can be modeled as geometric and topological structures. While not a literal academic implementation—such a task would demand computational power far beyond current trading platforms—it leverages core ideas from advanced mathematical theories as powerful analogies and frameworks for its algorithms. Each component translates an abstract concept into a practical market calculation, distinguishing GTGS by identifying deeper structural patterns rather than relying on standard statistical measures.
1. Grothendieck-Teichmüller Theory: Deforming Market Structure
The Theory : Studies symmetries and deformations of geometric objects, focusing on the "absolute" structure of mathematical spaces.
Indicator Analogy : The calculate_grothendieck_field function models price action as a "deformation" from its immediate state. Using the nth root of price ratios (math.pow(price_ratio, 1.0/prime)), it measures market "shape" stretching or compression, revealing underlying tensions and potential shifts.
2. Topos Theory & Sheaf Cohomology: From Local to Global Patterns
The Theory : A framework for assembling local properties into a global picture, with cohomology measuring "obstructions" to consistency.
Indicator Analogy : The calculate_topos_coherence function uses sine waves (math.sin) to represent local price "sections." Summing these yields a "cohomology" value, quantifying price action consistency. High values indicate coherent trends; low values signal conflict and uncertainty.
3. Tropical Geometry: Simplifying Complexity
The Theory : Transforms complex multiplicative problems into simpler, additive, piecewise-linear ones using min(a, b) for addition and a + b for multiplication.
Indicator Analogy : The calculate_tropical_metric function applies tropical_add(a, b) => math.min(a, b) to identify the "lowest energy" state among recent price points, pinpointing critical support levels non-linearly.
4. Motivic Cohomology & Non-Commutative Geometry
The Theory : Studies deep arithmetic and quantum-like properties of geometric spaces.
Indicator Analogy : The motivic_rank and spectral_triple functions compute weighted sums of historical prices to capture market "arithmetic complexity" and "spectral signature." Higher values reflect structured, harmonic price movements.
5. Perfectoid Spaces & Homotopy Type Theory
The Theory : Abstract fields dealing with p-adic numbers and logical foundations of mathematics.
Indicator Analogy : The perfectoid_conv and type_coherence functions analyze price convergence and path identity, assessing the "fractal dust" of price differences and price path cohesion, adding fractal and logical analysis.
The Combination is Key : No single theory dominates. GTGS ’s Unified Field synthesizes all seven perspectives into a comprehensive score, ensuring signals reflect deep structural alignment across mathematical domains.
🎛️ INPUTS: CONFIGURING THE GEOMETRIC ENGINE
The GTGS offers a suite of customizable inputs, allowing traders to tailor its behavior to specific timeframes, market sectors, and trading styles. Below is a detailed breakdown of key input groups, their functionality, and optimization strategies, leveraging provided tooltips for precision.
Grothendieck-Teichmüller Theory Inputs
🧬 Deformation Depth (Absolute Galois) :
What It Is : Controls the depth of Galois group deformations analyzed in market structure.
How It Works : Measures price action deformations under automorphisms of the absolute Galois group, capturing market symmetries.
Optimization :
Higher Values (15-20) : Captures deeper symmetries, ideal for major trends in swing trading (4H-1D).
Lower Values (3-8) : Responsive to local deformations, suited for scalping (1-5min).
Timeframes :
Scalping (1-5min) : 3-6 for quick local shifts.
Day Trading (15min-1H) : 8-12 for balanced analysis.
Swing Trading (4H-1D) : 12-20 for deep structural trends.
Sectors :
Stocks : Use 8-12 for stable trends.
Crypto : 3-8 for volatile, short-term moves.
Forex : 12-15 for smooth, cyclical patterns.
Pro Tip : Increase in trending markets to filter noise; decrease in choppy markets for sensitivity.
🗼 Teichmüller Tower Height :
What It Is : Determines the height of the Teichmüller modular tower for hierarchical pattern detection.
How It Works : Builds modular levels to identify nested market patterns.
Optimization :
Higher Values (6-8) : Detects complex fractals, ideal for swing trading.
Lower Values (2-4) : Focuses on primary patterns, faster for scalping.
Timeframes :
Scalping : 2-3 for speed.
Day Trading : 4-5 for balanced patterns.
Swing Trading : 5-8 for deep fractals.
Sectors :
Indices : 5-8 for robust, long-term patterns.
Crypto : 2-4 for rapid shifts.
Commodities : 4-6 for cyclical trends.
Pro Tip : Higher towers reveal hidden fractals but may slow computation; adjust based on hardware.
🔢 Galois Prime Base :
What It Is : Sets the prime base for Galois field computations.
How It Works : Defines the field extension characteristic for market analysis.
Optimization :
Prime Characteristics :
2 : Binary markets (up/down).
3 : Ternary states (bull/bear/neutral).
5 : Pentagonal symmetry (Elliott waves).
7 : Heptagonal cycles (weekly patterns).
11,13,17,19 : Higher-order patterns.
Timeframes :
Scalping/Day Trading : 2 or 3 for simplicity.
Swing Trading : 5 or 7 for wave or cycle detection.
Sectors :
Forex : 5 for Elliott wave alignment.
Stocks : 7 for weekly cycle consistency.
Crypto : 3 for volatile state shifts.
Pro Tip : Use 7 for most markets; 5 for Elliott wave traders.
Topos Theory & Sheaf Cohomology Inputs
🏛️ Temporal Site Size :
What It Is : Defines the number of time points in the topological site.
How It Works : Sets the local neighborhood for sheaf computations, affecting cohomology smoothness.
Optimization :
Higher Values (30-50) : Smoother cohomology, better for trends in swing trading.
Lower Values (5-15) : Responsive, ideal for reversals in scalping.
Timeframes :
Scalping : 5-10 for quick responses.
Day Trading : 15-25 for balanced analysis.
Swing Trading : 25-50 for smooth trends.
Sectors :
Stocks : 25-35 for stable trends.
Crypto : 5-15 for volatility.
Forex : 20-30 for smooth cycles.
Pro Tip : Match site size to your average holding period in bars for optimal coherence.
📐 Sheaf Cohomology Degree :
What It Is : Sets the maximum degree of cohomology groups computed.
How It Works : Higher degrees capture complex topological obstructions.
Optimization :
Degree Meanings :
1 : Simple obstructions (basic support/resistance).
2 : Cohomological pairs (double tops/bottoms).
3 : Triple intersections (complex patterns).
4-5 : Higher-order structures (rare events).
Timeframes :
Scalping/Day Trading : 1-2 for simplicity.
Swing Trading : 3 for complex patterns.
Sectors :
Indices : 2-3 for robust patterns.
Crypto : 1-2 for rapid shifts.
Commodities : 3-4 for cyclical events.
Pro Tip : Degree 3 is optimal for most trading; higher degrees for research or rare event detection.
🌐 Grothendieck Topology :
What It Is : Chooses the Grothendieck topology for the site.
How It Works : Affects how local data integrates into global patterns.
Optimization :
Topology Characteristics :
Étale : Finest topology, captures local-global principles.
Nisnevich : A1-invariant, good for trends.
Zariski : Coarse but robust, filters noise.
Fpqc : Faithfully flat, highly sensitive.
Sectors :
Stocks : Zariski for stability.
Crypto : Étale for sensitivity.
Forex : Nisnevich for smooth trends.
Indices : Zariski for robustness.
Timeframes :
Scalping : Étale for precision.
Swing Trading : Nisnevich or Zariski for reliability.
Pro Tip : Start with Étale for precision; switch to Zariski in noisy markets.
Unified Field Configuration Inputs
⚛️ Field Coupling Constant :
What It Is : Sets the interaction strength between geometric components.
How It Works : Controls signal amplification in the unified field equation.
Optimization :
Higher Values (0.5-1.0) : Strong coupling, amplified signals for ranging markets.
Lower Values (0.001-0.1) : Subtle signals for trending markets.
Timeframes :
Scalping : 0.5-0.8 for quick, strong signals.
Swing Trading : 0.1-0.3 for trend confirmation.
Sectors :
Crypto : 0.5-1.0 for volatility.
Stocks : 0.1-0.3 for stability.
Forex : 0.3-0.5 for balance.
Pro Tip : Default 0.137 (fine structure constant) is a balanced starting point; adjust up in choppy markets.
📐 Geometric Weighting Scheme :
What It Is : Determines the framework for combining geometric components.
How It Works : Adjusts emphasis on different mathematical structures.
Optimization :
Scheme Characteristics :
Canonical : Equal weighting, balanced.
Derived : Emphasizes higher-order structures.
Motivic : Prioritizes arithmetic properties.
Spectral : Focuses on frequency domain.
Sectors :
Stocks : Canonical for balance.
Crypto : Spectral for volatility.
Forex : Derived for structured moves.
Indices : Motivic for arithmetic cycles.
Timeframes :
Day Trading : Canonical or Derived for flexibility.
Swing Trading : Motivic for long-term cycles.
Pro Tip : Start with Canonical; experiment with Spectral in volatile markets.
Dashboard and Visual Configuration Inputs
📋 Show Enhanced Dashboard, 📏 Size, 📍 Position :
What They Are : Control dashboard visibility, size, and placement.
How They Work : Display key metrics like Unified Field , Resonance , and Signal Quality .
Optimization :
Scalping : Small size, Bottom Right for minimal chart obstruction.
Swing Trading : Large size, Top Right for detailed analysis.
Sectors : Universal across markets; adjust size based on screen setup.
Pro Tip : Use Large for analysis, Small for live trading.
📐 Show Motivic Cohomology Bands, 🌊 Morphism Flow, 🔮 Future Projection, 🔷 Holographic Mesh, ⚛️ Spectral Flow :
What They Are : Toggle visual elements representing mathematical calculations.
How They Work : Provide intuitive representations of market dynamics.
Optimization :
Timeframes :
Scalping : Enable Morphism Flow and Spectral Flow for momentum.
Swing Trading : Enable all for comprehensive analysis.
Sectors :
Crypto : Emphasize Morphism Flow and Future Projection for volatility.
Stocks : Focus on Cohomology Bands for stable trends.
Pro Tip : Disable non-essential visuals in fast markets to reduce clutter.
🌫️ Field Transparency, 🔄 Web Recursion Depth, 🎨 Mesh Color Scheme :
What They Are : Adjust visual clarity, complexity, and color.
How They Work : Enhance interpretability of visual elements.
Optimization :
Transparency : 30-50 for balanced visibility; lower for analysis.
Recursion Depth : 6-8 for balanced detail; lower for older hardware.
Color Scheme :
Purple/Blue : Analytical focus.
Green/Orange : Trading momentum.
Pro Tip : Use Neon Purple for deep analysis; Neon Green for active trading.
⏱️ Minimum Bars Between Signals :
What It Is : Minimum number of bars required between consecutive signals.
How It Works : Prevents signal clustering by enforcing a cooldown period.
Optimization :
Higher Values (10-20) : Fewer signals, avoids whipsaws, suited for swing trading.
Lower Values (0-5) : More responsive, allows quick reversals, ideal for scalping.
Timeframes :
Scalping : 0-2 bars for rapid signals.
Day Trading : 3-5 bars for balance.
Swing Trading : 5-10 bars for stability.
Sectors :
Crypto : 0-3 for volatility.
Stocks : 5-10 for trend clarity.
Forex : 3-7 for cyclical moves.
Pro Tip : Increase in choppy markets to filter noise.
Hardcoded Parameters
Tropical, Motivic, Spectral, Perfectoid, Homotopy Inputs : Fixed to optimize performance but influence calculations (e.g., tropical_degree=4 for support levels, perfectoid_prime=5 for convergence).
Optimization : Experiment with codebase modifications if advanced customization is needed, but defaults are robust across markets.
🎨 ADVANCED VISUAL SYSTEM: TRADING IN A GEOMETRIC UNIVERSE
The GTTMTSF ’s visuals are direct representations of its mathematics, designed for intuitive and precise trading decisions.
Motivic Cohomology Bands :
What They Are : Dynamic bands ( H⁰ , H¹ , H² ) representing cohomological support/resistance.
Color & Meaning : Colors reflect energy levels ( H⁰ tightest, H² widest). Breaks into H¹ signal momentum; H² touches suggest reversals.
How to Trade : Use for stop-loss/profit-taking. Band bounces with Dashboard confirmation are high-probability setups.
Morphism Flow (Webbing) :
What It Is : White particle streams visualizing market momentum.
Interpretation : Dense flows indicate strong trends; sparse flows signal consolidation.
How to Trade : Follow dominant flow direction; new flows post-consolidation signal trend starts.
Future Projection Web (Fractal Grid) :
What It Is : Fibonacci-period fractal projections of support/resistance.
Color & Meaning : Three-layer lines (white shadow, glow, colored quantum) with labels showing price, topological class, anomaly strength (φ), resonance (ρ), and obstruction ( H¹ ). ⚡ marks extreme anomalies.
How to Trade : Target ⚡/● levels for entries/exits. High-anomaly levels with weakening Unified Field are reversal setups.
Holographic Mesh & Spectral Flow :
What They Are : Visuals of harmonic interference and spectral energy.
How to Trade : Bright mesh nodes or strong Spectral Flow warn of building pressure before price movement.
📊 THE GEOMETRIC DASHBOARD: YOUR MISSION CONTROL
The Dashboard translates complex mathematics into actionable intelligence.
Unified Field & Signals :
FIELD : Master value (-10 to +10), synthesizing all geometric components. Extreme readings (>5 or <-5) signal structural limits, often preceding reversals or continuations.
RESONANCE : Measures harmony between geometric field and price-volume momentum. Positive amplifies bullish moves; negative amplifies bearish moves.
SIGNAL QUALITY : Confidence meter rating alignment. Trade only STRONG or EXCEPTIONAL signals for high-probability setups.
Geometric Components :
What They Are : Breakdown of seven mathematical engines.
How to Use : Watch for convergence. A strong Unified Field is reliable when components (e.g., Grothendieck , Topos , Motivic ) align. Divergence warns of trend weakening.
Signal Performance :
What It Is : Tracks indicator signal performance.
How to Use : Assesses real-time performance to build confidence and understand system behavior.
🚀 DEVELOPMENT & UNIQUENESS: BEYOND CONVENTIONAL ANALYSIS
The GTTMTSF was developed to analyze markets as evolving geometric objects, not statistical time-series.
Why This Is Unlike Anything Else :
Theoretical Depth : Uses geometry and topology, identifying patterns invisible to statistical tools.
Holistic Synthesis : Integrates seven deep mathematical frameworks into a cohesive Unified Field .
Creative Implementation : Translates PhD-level mathematics into functional Pine Script , blending theory and practice.
Immersive Visualization : Transforms charts into dynamic geometric landscapes for intuitive market understanding.
The GTTMTSF is more than an indicator; it’s a new lens for viewing markets, for traders seeking deeper insight into hidden order within chaos.
" Where there is matter, there is geometry. " - Johannes Kepler
— Dskyz , Trade with insight. Trade with anticipation.
Elliott Wave Universal PRO [Full Ratios]Elliott Wave Universal PRO
Overview
This advanced Elliott Wave indicator helps traders identify and project potential wave structures with Fibonacci ratios. It supports both impulse and corrective patterns with multiple variations, providing visual projections for standard, minimal, and maximal wave extensions.
Key Features
✅ Multiple Wave Patterns
Impulse waves (Classic, Extended, Diagonal, Truncated, etc.)
Corrective waves (Zigzag, Flat, Triangle, Double/Triple Zigzag, etc.)
✅ Customizable Projections
Adjustable start/end points for wave labeling
Standard, minimal, and maximal Fibonacci-based projections
✅ Visual Customization
Color/style settings for different ratio types
Clean labeling for wave structure clarity
✅ Flexible Display
Toggle between impulse/correction modes
Enable/disable ratio projections as needed
How to Use
Set Points: Define the start (0) and first wave (A) using the input settings.
Select Pattern: Choose from impulse or correction templates.
Adjust Display: Customize colors, line styles, and ratio visibility.
⚠ Note: This tool is for educational purposes and should be used alongside other analysis methods. Past performance does not guarantee future results.
Elliott Wave Universal PRO
Обзор
Этот продвинутый индикатор волн Эллиотта помогает трейдерам определять и прогнозировать волновые структуры с использованием соотношений Фибоначчи. Поддерживает импульсные и коррекционные модели с различными вариациями, визуализируя стандартные, минимальные и максимальные проекции волн.
Основные функции
✅ Различные волновые модели
Импульсы (Классические, Удлиненные, Диагонали, Усеченные и др.)
Коррекции (Зигзаги, Плоскости, Треугольники, Двойные/Тройные зигзаги и др.)
✅ Настраиваемые проекции
Ручное задание точек начала (0) и первой волны (A)
Стандартные, минимальные и максимальные проекции на основе Фибоначчи
✅ Гибкость отображения
Настройка цветов и стилей линий
Четкие метки для удобного анализа структуры
✅ Управление отображением
Переключение между импульсами и коррекциями
Включение/отключение типов проекций
Как использовать
Установите точки: Задайте начало (0) и первую волну (A) во входных параметрах.
Выберите шаблон: Укажите тип структуры (импульс/коррекция).
Настройте отображение: Измените цвета, стили линий и видимость проекций.
⚠ Важно: Индикатор предназначен для образовательных целей. Используйте его в сочетании с другими методами анализа.
Market Sell-Off GaugeOVERVIEW
The Market Sell‑Off Gauge identifies high‑conviction, risk‑off entry opportunities by detecting broad market sell‑off behavior and rising stablecoin dominance, then confirming risk‑off sentiment via NDX weakness, VIX spikes, and elevated volume. It uses fuzzy logic and sigmoid scaling to convert raw signals into a smooth, bounded metric.
FEATURES
Sell‑Off Detection - calculates percentage drops in the primary asset over a user‑defined lookback.
Stablecoin Dominance Surge - tracks combined USDT/USDC dominance rises as a proxy for on‑chain “flight to safety.”
Macro Confirmation
NDX Weakness (NASDAQ‑100)
VIX Spikes (CBOE Volatility Index)
Elevated Volume on declining bars
Fuzzy Logic & Scaling - component values feed into a fuzzy‑logic membership scor and are passed through a sigmoid compressor (–1 to +1). Weighted aggregation derives the final result of the gauge (or metric).
VISUALISATION
Continuous line plot - Smoothed metric (–1 to +1), colored cold‑to‑warm.
Entry circles - Highlighted when all conditions (fuzzy or crisp) are met after the time offset.
Time‑Offset marker - Vertical line/label showing the user‑specified “start” bar.
Component table - Displays real‑time % changes & volume multiples in the lower right of the indicator.
USAGE
Asset drop % - The threshold percent decline to register a sell‑off.
Stables rise % - The threshold percent increase in stablecoin dominance to qualify as a “flight to safety.”
NDX drop % - The threshold percent decline in the NASDAQ‑100 for macro confirmation.
VIX rise % - The threshold percent increase in VIX. Contributes to risk‑off validation.
Volume Multiplier - Defines how many times above SMA volume must rise to confirm conviction.
Lookback Period - Controls the number of bars over which % changes are measured.
Time Offset - Point in time beyond which bars to “fade” historical signals, enables focus on recent data only.
Fuzzy Logic Settings - Enables fuzzy scoring and set membership threshold & sensitivity.
Weights - allows for adjusting the relative importance of each component (Asset, Stables, NDX, VIX, Volume).
Sigmoid Steepness (k) - Controls curve steepness for compression (0.1 = very flat → 5.0 = very sharp S‑curve).
Chart & settings
Best applied on 4H or Daily BTCUSD (or similar) charts to capture meaningful sell‑off events.
Combine with broader trend filters (e.g., moving averages) for trend‑aligned entries.
Adjust Sigmoid Steepness and Membership Sensitivity to fine‑tune signal crispness vs. smoothness. Refer to tooltips.
Disclaimer
This indicator is intended for educational purposes only. Always perform your own due diligence before making financial decisions.
Option Range Projector PRO (with Alerts)Indicator Name: Option Range Projector PRO (with Alerts)
Short Description
This is a powerful and flexible tool for traders that visualizes expected price movement ranges based on option pricing principles and statistical deviations. The indicator plots standard deviation levels (Sigmas) and boundaries calculated from the price of an options Straddle, providing a unique insight into market volatility expectations.
It is ideal for options traders, as well as those who trade futures or spot assets and want to gain an edge by understanding where the market anticipates price boundaries on a specific date.
Core Concepts
The indicator is based on three key ideas:
Standard Deviation (Sigma, σ): In statistics, this is a measure of value dispersion. In trading, when applied to prices, standard deviation levels show the probable range within which the price is expected to remain until a specific date (expiration).
±1σ (1 Sigma): Approximately 68.2% probability that the price will stay within this range.
±2σ (2 Sigmas): Approximately 95.4% probability. These levels often act as strong support/resistance.
±3σ (3 Sigmas): Approximately 99.7% probability. Reaching these levels is a statistically rare event.
Implied Volatility (IV): This is a key component. IV is the market's forecast of the asset's future volatility. It is derived from current option prices and reflects how significant the price movements are expected to be by traders. The higher the IV, the wider the calculated ranges will be.
Straddle-Based Levels: A straddle is an options strategy involving the simultaneous purchase of a Call and a Put option with the same strike price and expiration date. The cost of this combination (Call + Put) directly reflects the market's expected price movement in points. Our indicator uses this value to construct alternative, highly accurate boundaries of the expected range.
Key Features
Flexible Expiration Choice: Easily switch between standard contracts (Weekly, Monthly, Quarterly) or set any custom number of days to expiration (DTE).
Dual Volatility Calculation Mode: Use automatic calculation based on historical data or enter a precise IV value manually (e.g., from your broker's terminal) for maximum accuracy.
Two Types of Predictive Levels: Visualize classic standard deviations (Sigmas) and/or levels calculated from the Straddle price for a comprehensive analysis.
Expiration Comparison: Enable the display of additional levels for a different expiration date to visually compare short-term and long-term market expectations.
"Greeks" Calculation: The indicator calculates and displays key option Greeks (Delta, Gamma, Theta, Vega), helping to deepen the understanding of an option position's characteristics.
Informative Table: All key data—ATM price, IV, DTE, level prices, Greeks, and option prices—are consolidated into one clear table for quick analysis.
Customizable Alerts: Get instant notifications directly in TradingView when the price crosses any of the important levels (±1σ, ±2σ, ±3σ).
Full Visual Customization: Control colors, line thickness, labels, and zone fills to adapt the indicator to your trading style.
How to Use (Settings)
Price Settings:
Auto-detect ATM Price: When enabled, the indicator will use the current closing price as the At-The-Money (ATM) price.
Manual ATM Price: If auto mode is disabled, you can set a precise ATM price manually.
Volatility Settings:
Auto-calculate IV: Calculates historical volatility over a specified period. Useful if you don't have access to real-time IV.
Manual IV Value: (Recommended for accuracy). Enter the Implied Volatility (IV) value for the desired strike from your brokerage terminal or analytical services here.
Expiration:
Contract Type: Choose one of the standard terms (Weekly, Monthly, Quarterly) or "Custom" to use a manual day input.
Days to Expiration: Active only for the "Custom" type.
Show Multiple Expirations: Enables a second set of levels with a different term for comparison.
Straddle Boundaries:
Use Manual Input: Allows you to enter the precise Call and Put Settle prices from the official exchange summary (e.g., from the CME website). This provides the most accurate boundaries based on real market prices.
Trading Ideas and Application
Mean Reversion Trading: The ±2σ and ±3σ levels often act as strong overbought/oversold zones. A price reaching these extreme values has a high statistical probability of reversing or correcting back towards the central ATM price.
Trend Confirmation and Breakouts: A confident close outside the ±1σ range can indicate the beginning of a strong directional move.
Risk Management: Use the levels to set stop-losses or determine profit targets. For example, when opening a trade near the +1σ level, you might consider a target at +2σ and place a stop-loss behind the ATM level.
Volatility Analysis: By comparing the width of the ranges for different expirations, you can assess how the market is pricing short-term versus long-term risks. A narrow range suggests low expectations, while a wide range indicates high ones.
Disclaimer: This indicator is an analysis tool and does not provide direct financial advice or trading signals. All trading decisions are your own. Use this indicator in conjunction with other analysis methods.
CDP - Counter-Directional-Pivot🎯 CDP - Counter-Directional-Pivot
📊 Overview
The Counter-Directional-Pivot (CDP) indicator calculates five critical price levels based on the previous day's OHLC data, specifically designed for multi-timeframe analysis. Unlike standard pivot points, CDP levels are calculated using a unique formula that identifies potential reversal zones where price action often changes direction.
⚡ What Makes This Script Original
This implementation solves several technical challenges that existing pivot indicators face:
🔄 Multi-Timeframe Consistency: Values remain identical across all timeframes (1m, 5m, 1h, daily) - a common problem with many pivot implementations
🔒 Intraday Stability: Uses advanced value-locking technology to prevent the "stepping" effect that occurs when pivot lines shift during the trading session
💪 Robust Data Handling: Optimized for both liquid and illiquid stocks with enhanced data synchronization
🧮 CDP Calculation Formula
The indicator calculates five key levels using the previous day's High (H), Low (L), and Close (C):
CDP = (H + L + C) ÷ 3 (Central Decision Point)
AH = 2×CDP + H – 2×L (Anchor High - Strong Resistance)
NH = 2×CDP – L (Near High - Moderate Resistance)
AL = 2×CDP – 2×H + L (Anchor Low - Strong Support)
NL = 2×CDP – H (Near Low - Moderate Support)
✨ Key Features
🎨 Visual Elements
📈 Five Distinct Price Levels: Each with customizable colors and line styles
🏷️ Smart Label System: Shows exact price values for each level
📋 Optional Value Table: Displays all levels in an organized table format
🎯 Clean Chart Display: Minimal visual clutter while maximizing information
⚙️ Technical Advantages
🔐 Session-Locked Values: Prices are locked at market open, preventing intraday shifts
🔄 Multi-Timeframe Sync: Perfect consistency between daily and intraday charts
✅ Data Validation: Built-in checks ensure reliable calculations
🚀 Performance Optimized: Efficient code structure for fast loading
💼 Trading Applications
🔄 Reversal Zones: AH and AL often act as strong turning points
💥 Breakout Confirmation: Price movement beyond these levels signals trend continuation
🛡️ Risk Management: Use levels for stop-loss and take-profit placement
🏗️ Market Structure: Understand daily ranges and potential price targets
📚 How to Use
🚀 Basic Setup
Add the indicator to your chart (works on any timeframe)
Customize colors for easy identification of support/resistance zones
Enable the value table for quick reference of exact price levels
📈 Trading Strategy Examples
🟢 Long Bias: Look for bounces at NL or AL levels
🔴 Short Bias: Watch for rejections at NH or AH levels
💥 Breakout Trading: Enter positions when price decisively breaks through anchor levels
↔️ Range Trading: Use CDP as the central reference point for range-bound markets
🎯 Advanced Strategy Combinations
RSI Integration for Enhanced Signals: 📊
📉 Oversold Bounces: Combine RSI below 30 with price touching AL/NL levels for high-probability long entries
📈 Overbought Rejections: Look for RSI above 70 with price rejecting AH/NH levels for short opportunities
🔍 Divergence Confirmation: When RSI shows bullish divergence at support levels (AL/NL) or bearish divergence at resistance levels (AH/NH), it often signals stronger reversal potential
⚡ Momentum Confluence: RSI crossing 50 while price breaks through CDP can confirm trend direction changes
⚙️ Configuration Options
🎨 Line Customization: Adjust width, style (solid/dashed/dotted), and colors
👁️ Display Preferences: Toggle individual levels, labels, and value table
📍 Table Position: Place the value table anywhere on your chart
🔔 Alert System: Get notifications when price crosses key levels
🔧 Technical Implementation Details
🎯 Data Reliability
The script uses request.security() with lookahead settings to ensure historical accuracy while maintaining real-time functionality. The value-locking mechanism prevents the common issue where pivot levels shift during the trading day.
🔄 Multi-Timeframe Logic
⏰ Intraday Charts: Display previous day's calculated levels as stable horizontal lines
📅 Daily Charts: Show current day's levels based on yesterday's OHLC
🔍 Consistency Check: All timeframes reference the same source data
🤔 Why CDP vs Standard Pivots?
Counter-Directional Pivots often provide more accurate reversal points than traditional pivot calculations because they incorporate the relationship between high/low ranges and closing prices more effectively. The formula creates levels that better reflect market psychology and institutional trading behaviors.
💡 Best Practices
💧 Use on liquid markets for most reliable results
📊 RSI Combination: Add RSI indicator for overbought/oversold confirmation and divergence analysis
📊 Combine with volume analysis for confirmation
🔍 Consider multiple timeframe analysis (daily levels on hourly charts)
📝 Test thoroughly in paper trading before live implementation
💪 Example Market Applications
NASDAQ:AAPL AAPL - Tech stock breakouts through AH levels
$NYSE:SPY SPY - Index trading with CDP range analysis
NASDAQ:TSLA TSLA - Volatile stock reversals at AL/NL levels
⚠️ This indicator is designed for educational and analytical purposes. Always combine with proper risk management and additional technical analysis tools.
Auto Trendlines (Finviz Style)Oculus Auto Trendlines
Version 1.0 | Pine Script v6
Overview
Oculus Auto Trendlines automatically identifies and plots the most significant support and resistance trendlines by connecting the two most recent swing highs (resistance) and swing lows (support) over a user-defined pivot lookback. Each line extends dynamically to the right, recalculates in real time, and self-invalidates when price decisively breaks beyond it by a configurable tolerance.
Key Features
Automatic Pivot Detection
Uses ta.pivothigh and ta.pivotlow over your chosen bar span to pinpoint significant market turning points.
Dynamic Trendline Drawing
Connects the last two valid pivots to form support and resistance lines that update and extend to the right each bar.
Break-Triggered Refresh
When price closes beyond a drawn trendline by more than the break tolerance, that line is removed and a new one is drawn from the next valid pivots.
Configurable Sensitivity
Pivot Lookback: Number of bars on each side to define swings.
Break Tolerance: Percentage buffer to prevent false invalidations on minor wicks.
Clean Overlay
Minimal code and plotting ensures your chart remains uncluttered—only one support and one resistance line are visible at any time.
How to Use
Add to Chart: Apply “Oculus Auto Trendlines” to any symbol and timeframe.
Set Inputs:
Pivot Lookback: Larger values produce smoother, longer-term lines; smaller values react faster to recent price.
Break Tolerance (%): Adjust to allow for minor wicks or noise without resetting lines.
Read Trendlines:
The red resistance line connects the two most recent swing highs.
The green support line connects the two most recent swing lows.
Lines automatically redraw when invalidated by a clean break beyond tolerance.
Combine with Other Analysis: Use these auto-drawn trendlines alongside indicators like moving averages, volume, or price patterns for stronger confluence.
Inputs
Pivot Lookback: 10 (bars each side)
Break Tolerance (%): 0.2%
Version History
1.0 – Initial release with real-time pivot detection, auto-updating trendlines, and break validation.
Disclaimer
This indicator is provided for educational purposes. Always backtest settings on historical data, verify trendline relevance, and apply proper risk management before trading live.
Worldwide Sessions and Open Range BreakoutThis script shows when the various normal market hours for each of the major worldwide markets (Asia, New York, and London). It also draws a line on the opening range for each of these market sessions. The opening range defaults to the first 15 minutes of the session, but this can be customized.
This script does automatically handle the session times regardless of your time zone or what time frame you are on. No need to set anything! This probably can't handle non-normal trading days, such as partial days.
This script is made for futures, but would likely work for other markets, like Forex.
Candlestick Body and Wick Midpoints [Dire]Summary
This indicator provides a deeper look into intra-bar price action by plotting the precise halfway point of each candlestick's body, top wick, and bottom wick. It renders three distinct, color-coded horizontal lines on each of the most recent candles, helping traders identify hidden micro-levels of interest.
How It Works
For each candlestick, the indicator calculates and plots:
Top Wick Midpoint: The median price of the sell-off (or profit-taking) range.
Body Midpoint: The equilibrium or "fair price" point between the open and close.
Bottom Wick Midpoint: The median price of the buy-up (or support) range.
How to Use
These levels can serve as micro-pivots or points of interest for price action analysis. A return to a previous wick's midpoint may signal a potential reaction. Observing how these levels align over several bars can reveal subtle areas of price consensus or rejection that are not obvious from standard candle charts.
Customization
Lookback Period: Easily adjust the number of recent candles to analyze via the "Inputs" tab.
Colors: The color for each of the three lines (Top Wick, Body, and Bottom Wick) can be fully customized in the "Style" tab of the indicator settings.
Momentum Flip Pro - Advanced ZigZag Trading SystemMomentum Flip Pro - Advanced ZigZag Trading System
Complete User Guide
📊 What This Indicator Does
The Momentum Flip Pro is an advanced position-flipping trading system that automatically identifies trend reversals using ZigZag patterns combined with momentum analysis. It's designed for traders who want to always be in the market, flipping between long and short positions at optimal reversal points.
Key Features:
Automatically flips positions at each ZigZag reversal point
Dynamic stop loss placement at exact ZigZag levels
Real-time trading dashboard with performance metrics
Capital tracking and ROI calculation
Three momentum engines to choose from
🎯 How It Works
Entry Signal: When a ZigZag point appears (circle on chart), the indicator:
Exits current position (if any)
Immediately enters opposite position
Places stop loss at the exact ZigZag price
Exit Signal: Positions are closed when the next ZigZag appears, then immediately reversed
Position Management:
Long Entry: ZigZag bottom (momentum turns UP)
Short Entry: ZigZag peak (momentum turns DOWN)
Stop Loss: Always at the ZigZag entry price
Take Profit: Next ZigZag point (automatic position flip)
⚙️ Recommended Settings
For Day Trading (5m-15m timeframes):
Momentum Engine: Quantum
- RSI Length: 9-12
- Quantum Factor: 3.5-4.0
- RSI Smoothing: 3-5
- Threshold: 8-10
For Swing Trading (1H-4H timeframes):
Momentum Engine: MACD
- Fast Length: 12
- Slow Length: 26
- Signal Smoothing: 9
- MA Type: EMA
For Position Trading (Daily):
Momentum Engine: Moving Average
- Average Type: EMA or HMA
- Length: 20-50
📈 How to Use for Trading
Add to Chart:
Add indicator to your chart
Set your starting capital
Choose your preferred momentum engine
Understanding Signals:
Green circles: Strong bullish momentum reversal
Red circles: Strong bearish momentum reversal
Purple circles: Normal momentum reversal
Entry labels: Show exact entry points with tooltips
Trading Rules:
Enter LONG when you see an up arrow + green/purple circle
Enter SHORT when you see a down arrow + red/purple circle
Stop loss is automatically at the ZigZag level
Hold until next ZigZag appears (exit + reverse)
Risk Management:
Risk per trade = Entry Price - Stop Loss
Position size = (Capital * Risk %) / Risk per trade
Recommended risk: 1-2% per trade
💡 Best Practices
Market Conditions:
Works best in trending markets
Excellent for volatile pairs (crypto, forex majors)
Avoid during low volume/consolidation
Timeframe Selection:
Lower timeframes (5m-15m): More signals, higher noise
Higher timeframes (1H+): Fewer signals, higher reliability
Sweet spot: 15m-1H for most traders
Momentum Engine Selection:
Quantum: Best for volatile markets (crypto, indices)
MACD: Best for trending markets (forex, stocks)
Moving Average: Best for smooth trends (commodities)
📊 Dashboard Interpretation
The trading dashboard shows:
Current Capital: Your running balance
Position: Current trade direction
Entry/Stop: Your risk levels
Statistics: Win rate and performance
ROI: Overall return on investment
⚠️ Important Notes
Always Active: This system is always in a position (long or short)
No Neutral: You're either long or short, never flat
Automatic Reversal: Positions flip at each signal
Stop Loss: Fixed at entry ZigZag level (doesn't trail)
🎮 Quick Start Guide
Beginners: Start with default settings on 1H timeframe
Test First: Use paper trading to understand the signals
Small Size: Begin with 1% risk per trade
Track Results: Monitor the dashboard statistics
Adjust: Fine-tune momentum settings based on results
🔧 Customization Tips
Color Signals: Enable to see momentum strength
Dashboard Position: Move to preferred screen location
Visual Settings: Adjust colors for your theme
Alerts: Set up for automated notifications
This indicator is ideal for traders who prefer an always-in-market approach with clear entry/exit rules and automated position management. The key to success is choosing the right momentum engine for your market and maintaining disciplined risk management.
Multi-Timeline 1.0Multi-TimeLines 1.0 - Comprehensive Description
WHAT IT DOES:
This indicator creates dynamic horizontal support/resistance lines based on opening prices captured at user-defined New York times. Unlike static horizontal lines, these levels automatically appear and disappear based on sophisticated session logic, providing traders with time-sensitive reference levels that adapt to market sessions.
HOW IT WORKS - TECHNICAL IMPLEMENTATION:
1.
Timezone Conversion Engine:
The script uses Pine Script's "America/New_York" timezone functions to ensure all time calculations are based on NY time, regardless of the user's chart timezone. This eliminates confusion and provides consistent behavior across global markets.
2.
Dual-Category Time Classification System:
The indicator employs a unique two-category classification system:
Category A (16:00-23:59 NY): Evening times that extend overnight until next day 15:59 NY
Category B (00:00-15:59 NY): Day times that extend until same day 15:59 NY
This classification handles the complex logic of overnight sessions and prevents lines from incorrectly resetting at midnight for evening times.
3. Price Capture Mechanism:
Uses precise time-hit detection with backup systems for edge cases (especially midnight 00:00). When a specified time occurs, the script captures the bar's opening price and stores it in persistent variables using Pine Script's var declarations.
4. Session-Aware Display Logic:
Lines only appear during their designated "display windows" - periods when the captured price level is relevant. The script uses conditional plotting with plot.style_linebr to create clean breaks when lines are inactive.
5. Smart Reset System:
Different reset behaviors based on time classification:
Category A times persist across midnight (for overnight analysis)
Category B times reset on day changes (except 00:00 which captures AT day change)
Automatic cleanup when display windows close
ORIGINALITY & UNIQUE FEATURES:
1. Overnight Session Handling:
Unlike basic horizontal line tools, this script properly handles overnight spans for evening times, making it invaluable for analyzing gaps and overnight price action.
2. Automatic Session Management:
No manual line drawing required - the script automatically manages when lines appear/disappear based on NY market sessions (15:59 close, 18:00 after-hours start).
3. Time-Window Display Logic:
Lines only show during relevant periods, reducing chart clutter and focusing attention on currently active levels.
TRADING CONCEPTS & APPLICATIONS:
1. Session-Based Analysis:
Capture opening prices at key session times:
00:00 NY: Sydney/Asian session start
03:00 NY: London pre-market
08:00 NY: London session open
09:30 NY: NYSE opening bell
18:00 NY: After-hours start
2. Gap Analysis:
Evening times (20:00-23:59) that extend overnight are particularly useful for:
Identifying potential gap-fill levels
Tracking overnight high/low breaks
Setting reference points for next-day trading
3. Support/Resistance Framework:
Opening prices at significant times often act as:
Intraday support/resistance levels
Reference points for breakout/breakdown analysis
Pivot levels for mean reversion strategies
HOW TO USE:
1. Time Input:
Enter times in "HH:MM" format using 24-hour NY time:
"09:30" for NYSE open
"15:30" for late-day reference
"20:00" for evening level (extends overnight)
2. Line Behavior:
Blue/Green/Cyan/Red lines: Your custom times
Yellow line: After-hours day open (18:00 NY start)
Lines appear with breaks during inactive periods
3. Strategic Setup:
Use 2-3 key session times for your trading style
Combine morning times (immediate reference) with evening times (overnight analysis)
Toggle after-hours line based on your market focus
CALCULATION METHOD:
The script uses direct opening price capture (no smoothing or averaging) at precise time hits, ensuring the most accurate representation of actual market levels at specified times. This raw price approach maintains the integrity of actual market opening prices rather than manipulated or calculated values.
This method is particularly effective because opening prices at significant times often represent institutional order flow and can act as magnetic levels throughout subsequent sessions.
1st FVGOverview
This indicator is specifically designed for intraday price action traders who focus on the NASDAQ opening range. Its primary function is to automatically identify, plot, and alert on the very first Fair Value Gap (FVG) that forms during the critical 30-minute window of the New York morning session, from 9:30 AM to 10:00 AM ET.
The script intelligently ignores any gaps that rely on pre-market data, ensuring that the detected FVG is a true imbalance created by the initial volume and volatility of the regular trading session. This tool helps traders to quickly pinpoint a key area of interest right after the market opens.
Key Features
First FVG Detection: Pinpoints only the initial FVG of the session and ignores all subsequent ones for the day.
Specific Time Window: Operates strictly between 9:30 and 10:00 AM New York time.
Strict Formation Rule: To ensure accuracy, the entire 3-bar FVG pattern must form at or after the 9:30 AM candle. This prevents false signals from pre-market price action.
Visual Price Zones: Automatically draws a clean, colored box around the FVG, making the zone easy to see. The box can be extended to track future price interactions.
Customizable Display: Control how many historical FVGs to show on your chart and how far the zone extends to the right.
Built-in Alerts: Get real-time notifications the moment the first FVG is confirmed, so you never miss a potential setup.
How It Works
The indicator scans the price action candle by candle. Once the 9:30 AM ET session begins, it looks for the first valid 3-bar FVG pattern (also known as a price imbalance).
A Bullish FVG is identified when the low of the current candle is higher than the high of the candle two periods ago.
A Bearish FVG is identified when the high of the current candle is lower than the low of the candle two periods ago.
Once the first FVG for the day is detected and plotted, the script will remain dormant until the next trading day begins, keeping your chart clean and focused.
Settings
Number of FVG History: Controls how many of the most recent daily FVGs are displayed on the chart.
Extend Box To End: A checkbox to extend the FVG zone all the way to the right edge of the chart. This is useful for tracking how price interacts with the zone later in the day.
Manual Box Length: If the "Extend Box" option is unchecked, this input sets a fixed length for the box (in number of bars).
How to Set Up Alerts
Add the indicator to your chart.
Click the 'Alert' icon (alarm clock) in the TradingView toolbar.
In the 'Condition' dropdown menu, select "1st FVG".
A second dropdown will appear, which should be set to "Alert Function Call".
Choose your preferred notification options (e.g., pop-up, email, app notification).
Click 'Create'.
Disclaimer: This indicator is a tool for technical analysis and should not be considered as financial advice. Always use proper risk management and conduct your own research before making any trading decisions.
Time Specific Standard Deviation Zones(10 am - 4hr candle)This indicator is designed for intraday traders who want to visualize volatility-based zones around the 10:00 AM New York session open, plotted precisely from 10:00 AM to 2:00 PM EST.
✅ Key Features:
📦 Automatically draws mirrored Standard Deviation (SD) zones:
0.5 SD, 1 SD, 1.5 SD above and below the 10AM open
Open Line reference for mean reversion tracking
📐 Internal Fibonacci Levels within each zone:
0.236, 0.382, 0.5, 0.618, 0.786
⏱️ Works across any timeframe
📊 Ideal for:
Breakout traders
Volatility compression strategies
Statistical mean reversion models
🔧 Built using precise New York session timestamps, ensuring accuracy across time zones and resolutions.
ADR Pivot LevelsThe ADR (Average Daily Range) indicator shows the average range of price movement over a trading day. The ADR is used to estimate volatility and to determine target levels. It helps to set Take-Profit and Stop-Loss orders. It is suitable for intraday trading on lower time frames.
The “ADR Pivot Levels” produces a sequence of horizontal line levels above and below the Center Line (reference level). They are sized based on the instrument's volatility, representing the average historical price movement on a selected higher timeframe using the average daily range (ADR) indicator.
Weekly Standard Deviations (NQ1!/VXN / ES1!/VIX)Weekly Standard Deviations (NQ1!/VXN or ES1!/VIX) – Settlement-Based with Robust Volatility Calculation
This indicator displays weekly standard deviation bands for US index futures (NQ1!, ES1!, MNQ1!, MES1!) using a professional approach:
Weekly Settlement as Basis:
The center line ("Mid") is based on the official weekly settlement price of the selected future (using settlement feeds, not just the last traded price). This ensures high accuracy for institutional and systematic trading.
Volatility by VIX/VXN, Friday 5-Minute Close (CET):
The volatility input (σ) is dynamically derived from the VIX or VXN. Specifically, the indicator uses the last available 5-minute close on Friday after 22:00 CET (Central European Time) each week. If there is no data at exactly 22:10 or 22:05 (e.g. shortened sessions or holidays), it falls back to the latest available 5-minute close of that Friday, ensuring reliable calculation in all market conditions.
Standard Deviation Bands:
The ±1σ, ±2σ, and ±3σ bands are calculated from the weekly settlement price and the robust volatility value. These bands are widely used by professionals for mean reversion, volatility trading, and risk management.
Dynamic Holiday Logic:
Includes dynamic holiday calculation for major US market holidays (can be expanded for other regions). This helps to keep calculations consistent even in holiday weeks.
Labels & Visuals:
Each standard deviation level and the center are labeled for easy orientation. All lines are automatically updated at the start of each new week.
Recommended for:
Advanced traders, systematic/quant traders, and anyone who wants an institutional-grade approach to weekly volatility structure in US index futures.
How to Use:
Add to a chart of NQ1!, MNQ1!, ES1!, or MES1! (futures continuous contracts).
Choose your preferred symbol pair (NQ1!/VXN or ES1!/VIX) in the indicator settings.
All calculations and band updates are fully automatic.
This script is for educational and informational purposes only and should not be considered financial advice or a recommendation to buy or sell any security or derivative. Trading futures and derivatives involves substantial risk and is not suitable for every investor. The author of this script accepts no liability for any loss or damage arising from the use of this tool. Always do your own research and consult with a professional financial advisor before making investment decisions.
Previous Day High & Low)Previous Day High & Low (PDH/PDL)
This simple but essential tool plots the previous day's high and low as dynamic horizontal lines across the current trading session. Ideal for traders who rely on key support and resistance levels, this indicator automatically updates at the start of each new day and extends the levels across the chart.
🔹 Features:
Automatically tracks and draws the previous day’s high and low.
Lines update cleanly at each new session.
Helps identify breakout and reversal zones.
Perfect for scalpers, intraday traders, and anyone watching for reactions at key levels.
NY opennew york open.
new york open hours of the past two weeks up until two days ahead are shown as vertical lines which is great for both analyzing past data and seeing where would future new york open align with compared to your own future analysis.
Perfect Entry VisualizerPerfect Entry Visualizer is a Pine Script v6 study designed purely as a historical analysis tool, not for live trading. It plots the theoretical “perfect” long and short entries on your chart based on a user-defined minimum price move. By alternately tracking swing lows for longs and swing highs for shorts, it shows exactly where a trade would have captured every move of at least X points, with X set by the “Minimum Move (Points)” input.
How it works
After each labeled entry it switches direction (long→short or short→long), so signals never overlap.
It never uses future data to predict; it simply waits for price to move far enough from the last extreme and then plots.
Adjusting the “Minimum Move (Points)” input controls how big a swing must be before an entry is marked: smaller values give more frequent signals, larger values highlight only the biggest moves.
Primary uses
Algo system benchmarking: compare your live strategy’s entries against the theoretical best to measure entry efficiency.
Manual trader review: visualize ideal swing entry timing to refine your own setups and fine-tune stop-and-profit targets.
Educational tool: teach price action concepts by showing exact points where a pure price-move strategy would have worked.
Performance analysis: overlay on any time frame or market to see which instruments and sessions offer the most clean, swing-based opportunities.
Alternative pivot point analysis: use it as a dynamic pivot high/low tool based on movement thresholds rather than fixed lookback bars.
Because it simply visualizes past price moves, you can paste it into any chart to instantly see the theoretical maximum trade capture for your chosen swing size. It’s a flexible comparison and learning aid, not a live signal generator.