BOS mark-out (by Lumiere)Advanced BOS Detection with Strict Swing Confirmation
This indicator implements BOS detection with several unique features:
🔹 Dual-Candle Swing Validation - Unlike most BOS indicators that use single candle swings, this uses a two-candle confirmation for swing highs/lows, analyzing both the candle wicks and body transitions.
🔹 Directional Lock System - Implements a state machine that prevents duplicate signals until an opposite-direction BOS occurs, reducing noise.
🔹 Precision Wick Analysis - Compares wicks between the reversal candle and confirmation candle to identify the true swing point.
🔹 Real-Time Update & Live Market Adaptation – The indicator continuously monitors price action and instantly updates BOS signals as new candles form, ensuring you never miss a BOS.
How It Differs From Other BOS Indicators:
Most public BOS indicators use simple HH/HL or LH/LL detection.
Many don't implement the directional locking mechanism.
Few use the two-candle wick comparison approach.
Wick-Based Precision uses the extreme wicks of two candles (not just the body).
Strict Confirmation requires a close beyond the swing point (no "wick breaks" counted).
Usage Examples:
🟦 Bullish BOS:
A green candle closes, followed by a red candle. This will be the new high, and if the next candle closes above the highest wick of those two, it will be a BOS (only if we had a bearish BOS before)
🟥 Bearish BOS:
A red candle closes, followed by a green candle. This will be the new low, and if the next candle closes below the lowest wick of those two, it will be a BOS (only if we had a Bullish BOS before)
Analisis Trend
Path of Least ResistancePath of Least Resistance (PLR)
Concept Overview
The Path of Least Resistance indicator identifies key zones on your chart that act like "muddy" or "sticky" areas where price tends to get bogged down, creating choppy and unpredictable price action. Between these zones lie the "empty spaces" - clear paths where price can move freely with momentum and direction.
The Analogy: Muddy Fields vs Open Roads
Think of your chart like a landscape:
🟫 ZONES (Muddy/Sticky Areas)
Fair Value Gaps (FVGs) from higher timeframes
Pivot wick zones from higher timeframe pivots
Areas where price gets "stuck" and churns
Like walking through thick mud - slow, choppy, unpredictable movement
Price action becomes erratic and difficult to trade
🟢 EMPTY SPACES (Open Roads)
The clear areas between zones
Where price can move freely with momentum
Like driving on an open highway - smooth, directional movement
The "Path of Least Resistance" for price movement
Trading Philosophy
AVOID Trading Within Zones:
Price action is typically choppy and unpredictable
Higher probability of false signals and whipsaws
Like trying to drive through mud - you'll get stuck
TRADE Through the Empty Spaces:
Look for moves that travel between zones
Price tends to move with momentum and direction
Higher probability setups with cleaner price action
Like taking the highway instead of back roads
Zone Types Detected
Fair Value Gaps (FVGs)
Imbalances from higher timeframe candles
Areas where price "owes" a return visit
Often act as magnets, creating choppy price action
Pivot Wick Zones
Upper and lower wicks from higher timeframe pivots
Rejection areas where price previously struggled
Often create resistance/support that leads to choppy movement
Color Coding System
The zones dynamically change color based on current price position:
🔴 RED ZONES : Price is below the zone (bearish context)
🟢 GREEN ZONES : Price is above the zone (bullish context)
🔘 GRAY ZONES : Price is within the zone (neutral/choppy area)
The "Mum Trades" Strategy
The best trades - what we call "Mum trades" (trades so obvious even your mum could spot them) - happen in the empty spaces between zones:
✅ High Probability Characteristics:
Clear directional movement between zones
Less noise and false signals
Higher momentum and follow-through
Cleaner technical patterns
❌ Avoid These Areas:
Trading within the muddy zones
Expecting clean moves through sticky areas
Fighting against the natural flow of price
Key Features
Auto Timeframe Detection : Automatically selects appropriate higher timeframe
Dynamic Zone Management : Overlapping zones are automatically cleaned up
Real-time Alerts : Get notified when price enters/exits zones
Visual Clarity : Clean zone display with extending boundaries
How to Use
Identify the Zones : Let the indicator mark the muddy areas
Find the Paths : Look for clear spaces between zones
Plan Your Trades : Target moves that travel through empty space
Avoid the Mud : Stay away from trading within the zones
Follow the Flow : Trade with the path of least resistance
Remember
Price, like water, always seeks the path of least resistance. By identifying where that path is clear (empty spaces) versus where it's obstructed (zones), you can align your trading with the natural flow of the market rather than fighting against it.
The goal is simple: Trade the highways, avoid the mud.
PRO Investing - LevelPRO Investing - Level
📊 Dynamic Support/Resistance
This indicator plots the PRO Investing Level, defined as the midpoint between the highest high and lowest low over the past 252 trading days (default lookback period, equivalent to ~1 year). It acts as a key mean-reversion reference level, useful for identifying potential support/resistance zones or market equilibrium levels.
Features:
🕰️ Option to display only today’s level or historical levels.
⚙️ Customizable lookback period for flexibility across timeframes and strategies.
📉 Teal line plotted directly on the chart, highlighting this institutional-grade level.
Ideal for traders looking to anchor price action to significant historical ranges—particularly useful in mean-reversion, breakout, or volatility compression strategies.
Initial Balance (London Session) - UTC+1 (Box Only)Initial balance for the new day
first two hours of the London session for UTC+1
[TupTrader] prev candle of Opening session✅ Session Key Levels + Daily Zones
This smart indicator automatically marks the key levels from the previous candle before the opening of each main trading session — Asia, London, and New York — along with the previous daily candle levels. These levels are critical for price reaction, support/resistance, and session-based breakouts or reversals.
🧠 What does it do?
Detects and plots the previous candle before each session (Asia, London, New York)
Automatically draws:
High/Low/Open/Close of that candle
Optional body/fibonacci levels (25%, 50%, 75% or 23.6%, 38.2%, 61.8%)
Box zones to visualize the session range
Highlights the previous daily OHLC and key levels
🚨 Built-in alerts for touches on key session and daily levels
Fully customizable: colors, font size, levels visibility, and session times
💡 How to Use It?
Scalping or Intraday: Look for price reactions around session levels.
Breakout Strategy: Wait for price to break session highs/lows with volume.
Reversals: Watch for fakeouts around previous session or daily zones.
Use it with trend tools (e.g., EMA or structure) for confluence.
These levels act like a roadmap of market structure and liquidity. Perfect for day traders, scalpers, and session-based traders.
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.
HOG Trifecta HOG Trifecta
📊 Overview
HOG Trifecta is a real-time market monitor that blends three core elements of price action — trend, momentum, and volume positioning — into one clean directional output. Built for tactical traders, it cuts through the noise and highlights when the market is ready to move or stay neutral.
⚙️ How It Works
• Scores five key signals:
• EMA 9/21 crossover for directional trend
• RSI > 50 or < 50 for momentum bias
• MACD histogram for momentum expansion (WAE-style logic)
• Price relative to EMA 50 as a volume anchor
• ADX-powered trend strength confirmation
• Combines the signals into a score that determines a single bias:
BULLISH, NEUTRAL, or BEARISH
• Displays a floating, color-coded label above price for instant clarity
• Optional background shading tied to sentiment (toggleable)
🎯 Inputs
• Show Label — toggle the sentiment word on/off
• Show Background — toggle chart shading based on bias
✅ Benefits
• Monitors trend, momentum, and volume in real time
• Tells you when conditions align for directional setups
• Avoids false signals with NEUTRAL states
• Fully self-contained — no external dependencies
• Lightweight and fast for daily or intraday use
📈 Use Cases
• Entry confirmation in trend strategies
• Swing trade bias filter
• Anchor higher timeframe sentiment for lower timeframe entries
⚠️ Notes
• Score thresholds:
+2 or more → BULLISH
−2 or less → BEARISH
−1 to +1 → NEUTRAL
• Built using only standard Pine Script tools
Ichimoku AdvancedGreetings. I present to you an improved version of the indicator from LuxAlgo - Ichimoku Theories.
I am grateful to them for the work they have done, since I myself have no experience in programming on Pine Script.
I have supplemented their indicator with such functions as:
Multi-timeframe Tenkan and Kijun lines - you will always know where on the lower timeframe there is a stronger resistance/support.
Ichimoku line formation areas - they can be used as a visualization of the number of bars that appear in the near lines, and for forecasting when the growth of the lines is caused by the fading of candles. They can also be used as measures for setting stop orders.
3-line pattern detector - Marker showing when the price is above/below the lines Tenkan ----> Kijun ----> Senkou A.
Please note that the calculation takes into account the CLOSING price of the candle.
3 Chikou Span lines - for those who use the 3 Chikou Span strategy -9, -26, -52 from the current bar ----> forward.
Points of the expected next direction of the Tenkan, Kijun, Senkou A and B lines and Senkou A and B with 0 offset.
Senkou A and B lines with 0 offset - for visualization of possible resistance/support
Calculation of the angle of inclination of the Ichimoku lines - for better perception of the trend strength. A 90° scale is used for measurement, where 0 is the horizontal position of the line
Measuring the distance from the current price to the Tenkan and Kijun lines - for better interpretation of the next possible price movements
Table - all key points for opening a position are displayed in the table. But please CONSIDER THE CONTENT and THE THEORY OF CYCLES AND WAVES by Goichi Hosoda.
May the take profit be with you!
Auto TrendlinesAuto Trendline – Indicator Description
The Auto Trendline indicator automatically draws trendlines based on recent swing highs and lows using pivot analysis. It helps traders quickly identify short-term and long-term market trends without manual drawing.
✅ Features:
Automatic drawing of trendlines based on pivot points (highs and lows)
Custom timeframe support: Use higher timeframe pivot data while working on lower charts
Trendlines update dynamically as new pivots are formed
Lines extend only to the current bar, keeping the chart clean
⚙️ How It Works:
The indicator detects recent swing highs and lows using pivot strength
Two most recent pivot points are connected to form each trendline:
Uptrend line from two higher lows
Downtrend line from two lower highs
Trendlines are redrawn as new pivots appear
EMA Hierarchy Alternating Alert MarkersThis script allows you to set EMA 5, 13 & 26 in a single indicator
// It allows you to set an alert when PCO or NCO happens where 5>13>26 (PCO) or 5<13<26 (NCO)
// It has been deisgned in such a way that the alert will only be sounded on the first PCO or NCO
// Once a PCO has happened then the next PCO alert will only come after the NCO has happened
// This feature helps you to avoid getting multiple alerts specially if you are using a lower timeframe
// EMA crossover strategy has been one of the favorite strategy which helps traders understand the trend in various timeframes and accordingly ride the wave - both upside and downside. This indicator helps to time your trade once you get an alert on crossover happening and eliminates the need for constant monitoring of the screen
// Scripts: Equities, F&O, Commodity, Crypto, Currency
// Time Frame: All
// By TrustingOwl83470
PriceLevels GBGoldbach Price Levels – Identify Algorithmic Key Zones
This open-source indicator is designed to help traders identify potential algorithmic key zones by highlighting price levels ending with specific numbers such as 03, 11, 29, 35, 65, and 71. These levels may act as inflection points or hesitation areas based on observed behavioral patterns in price movement.
What It Does:
📌 Scans and plots horizontal price levels where the price ends with one of the selected number combinations
🎯 Toggle on/off visibility for each number ending
🎨 Customize color and thickness for each level
🏷️ Shows price labels at the end of each line
🌗 Label styles (color/transparency) are adjustable for both dark and light chart themes
🧠 Why Use It:
This tool is ideal for discretionary traders who study market structure through static price anchors. It provides a visual reference for recurring numerical levels that may be used in algorithmic trading models or serve as psychological price zones.
⚠️ Disclaimer:
This script is open-source and intended for educational and analytical purposes only. No trading signals or performance guarantees are provided. Please use your own judgment when applying this tool in a trading context.
OBAdvanced Order Block & Liquidity Mapping Tool
This open-source script is designed to help traders identify market structure and key liquidity areas using a combination of fractal-based order block detection and dynamic/static liquidity mapping.
Features Overview:
- Detects bullish and bearish order blocks using 3-bar and 5-bar fractal patterns
- Automatic removal of invalidated order blocks when price bodies fully break above/below OB highs/lows
- Fair Value Gap (FVG) validation option to increase signal quality
- Time-based label system for session or bar analysis
- Highly customizable visuals: line styles, label positions, widths, colors, and time offsets
🛠️ Custom Enhancements:
This version introduces a key improvement: order blocks are automatically removed once they are considered invalid, specifically when the body of a future candle breaks through the high or low of the original OB — not just the wick. This enhances the clarity and reliability of the displayed levels by dynamically filtering out broken zones.
🧠 Based on Open Source Work:
This script includes adapted logic from the open-source Orderblocks script by Nephew_Sam_.
The original detection mechanism has been extended with new invalidation logic and improved visual rendering.
Recommended Usage:
Best suited for intraday or swing-trading strategies based on market structure and smart money concepts (SMC). Works well on 5m to 4h timeframes. Inputs are adjustable to suit varying volatility and session preferences.
⚠️ Disclaimer:
This tool is intended for educational and analytical purposes only. It is not financial advice, and no performance or profitability is guaranteed.
// Portions of the order block logic are adapted from the open-source "Orderblocks" script by Nephew_Sam_.
// Original:
// This version adds custom invalidation logic based on body breaches and enhanced cleanup behavior.
Market Structure [TFO]📊 Market Structure — Pine Script Indicator
Author: © tradeforopp
License: Mozilla Public License 2.0
Platform: TradingView
Type: Market structure analyzer (BOS/MSS, swings, bar color)
🧠 What It Does:
This indicator automatically identifies market structure shifts (MSS) and breaks of structure (BOS) based on pivot highs and lows. It detects when price violates previous swing points and visually marks the shift between bullish and bearish phases.
🔍 Key Features:
Swing Detection:
Uses pivot_strength to determine significant swing highs and lows.
Swings are tracked using a custom swing structure with index and value.
MSS & BOS Logic:
A Market Structure Shift (MSS) occurs when price changes direction (e.g., bullish to bearish).
A Break of Structure (BOS) happens when the price breaks the previous swing without changing trend direction.
Visual Markers:
Labels on chart showing MSS or BOS at break levels.
Optional pivot markers as small triangle shapes at swing points.
Dashed/solid/dotted lines between the break point and current candle.
Bar Coloring:
Turns candles green for bullish breaks, red for bearish breaks.
Controlled via the “Show Bar Colors” setting.
Alerts:
Alert conditions for all MSS/BOS events.
Can be used for automation or signals in TradingView.
⚙️ User Inputs:
Pivot Strength – How many candles left/right to confirm a high/low.
Show Pivots – Enables small triangle markers.
Show BOS/MSS – Toggles structure break visuals and labels.
Line Style – Customizes BOS/MSS line appearance.
Bar Colors – Enables green/red candle coloring on structure changes.
🧩 Use Cases:
Track structural shifts in real time on any asset.
Build smart money concept (SMC) strategies.
Filter entries/exits based on trend changes.
Combine with liquidity or volume-based tools for confirmation.
Enhanced S/D Boring‑Explosive [v6]How to Use the Indicator
Boring Candle:
Yellow diamond below bar. Marks consolidation near S/D lines—watch for a breakout.
Explosive Candle:
Orange bar color and triangle above. Signals a potential move—entry on close (directional, filtered by MA).
Supply/Demand Zones:
Red (resistance/supply) and Lime (support/demand) dotted lines.
Look for signals near these levels.
Multi-TF Panel:
Label at top shows higher time frame status (Explosive/Boring/Neutral). Use for confluence.
Trading Logic Example:
Entry:
Buy: After a boring candle above EMA and near demand, next bar closes above boring high and EMA (explosive).
Sell: Opposite.
Stop-loss:
Below/above the boring candle wick or nearest S/D zone.
Take Profit:
Fixed RR, or at next S/D level.
SHYY TFC Candles_Confirmation X 4TF)SHYY Real-Time FTC Confirmation is a multi-timeframe trend alignment tool designed to provide real-time confirmation of market direction across up to four configurable timeframes. Unlike traditional tools that rely on closed candles, this version uses in-progress bars to detect live momentum, allowing traders to respond as trends are forming rather than after they are confirmed.
This script checks the current price direction on each selected timeframe by comparing the current close to the open of the same candle. A timeframe is considered bullish if the close is above the open, bearish if below, and neutral if equal. If all enabled timeframes are aligned in the same direction, the current chart candle is colored accordingly.
White candles indicate that all selected timeframes are currently bullish. Yellow candles indicate that all selected timeframes are currently bearish. If the timeframes are not fully aligned, the candle remains uncolored.
Each of the four timeframes can be configured individually in the settings panel. Users can also enable or disable each timeframe independently using checkboxes, allowing flexibility in how the confirmation logic is applied.
The script uses a single request.security() call per timeframe with lookahead enabled, so that the information shown reflects the live status of each timeframe’s bar, not just completed ones. This makes it suitable for real-time decision-making and strategy filtering.
This tool can assist scalpers, trend followers, and breakout traders in aligning trades with broader market direction. It can be used as a standalone trend filter or in conjunction with other indicators and strategies.
No external dependencies or overlays are required.
This is an original script, built to provide real-time, multi-timeframe confirmation using a clean and efficient approach.
Triple-Filter ConfirmationTriple-Filter Confirmation System
This indicator generates high-probability trading signals based on a 3-layer filtering approach:
🔹 Trend Filter – Uses a 200-period EMA slope to confirm bullish or bearish bias.
🔹 Momentum Filter – Uses MACD histogram direction for secondary confirmation.
🔹 Volatility Filter – Filters out weak setups using ATR percentile rank (relative to last 100 bars).
✅ Signal appears only when all filters align, avoiding noise and low-confidence zones.
🚫 If any filter disagrees, no signal is shown — preserving capital through discipline.
💡 Works across any timeframe and asset. Use it alongside price action, support/resistance, and sound risk management.
Created for educational and research purposes — not financial advice.
Volume VA with POC Based Percent DeviationsThis is a slightly different take on my previous version that plotted fibonacci retracement levels based on the POC to value area high/low.
This indicator is also based on the volume value area that plots developing POC, VAH, and VAL as well as historical levels. However, instead of plotting fib levels, this script automatically projects percentage deviation levels from the current POC. This can help identify potential overextensions, target areas, or mean-reversion setups.
Knowing where price is and the change in price relative to areas of interest can help identify true value and market imbalances. Hence the name VALUE AREA :)
The percent deviation levels are dynamically plotted in relation to the developing POC. As POC shifts so do the % levels.
Gradient Value Area Fill: Instead of a static color, the Value Area is filled with a dynamic gradient. The adjustable color and transparency shift is based on the current price's distance from the POC, giving you an intuitive feel for where price is relative to the POC.
Enjoy!
"May the fourth leaf bring you extra luck!" 🍀
HOG QQE FlowHOG QQE Flow
📄 Overview
HOG QQE Flow is a clean, momentum-powered oscillator that visualizes directional strength and overbought/oversold behavior using a smoothed RSI foundation. With a dynamic gradient line, visual pulse dots, and clean zone fills, it delivers real-time insight into price pressure without unnecessary clutter.
⚙️ How It Works
• Smooths RSI using QQE-style logic and tracks slope
• Adds WAE-style volatility confirmation for powerful pulse filtering
• Highlights overbought/oversold zones with subtle color fills
• Pulse dots fire only when momentum aligns with volume bursts
• Line color shifts dynamically based on QQE position and intensity
🎯 Inputs
• RSI Length & Smoothing Factor
• Overbought / Oversold Thresholds
• WAE Volatility Length & Multiplier
• Volume Burst Filter (hardcoded 1.5× 20SMA)
✅ Benefits
• Quickly spot confirmed momentum ignition
• Clearly see when price is extended or fading
• Gradient line provides real-time slope feedback
• Visual-only — no clutter, no guesswork
📈 Use Cases
• Confirm entries on strong breakouts or reversals
• Filter out weak moves lacking volume or slope
• Pair with EMAs or trend overlays for complete flow setups
• Use as a high-probability signal trigger in trend continuation
⚠️ Notes
• This tool is a momentum visualizer — not a full strategy
• Works best on the daily timeframe or higher with trend context
• Pulse dots are rare by design — use them to time your moves
Turtle Trading System (Full Version)The turtle trader strategy by Richard Dennis, buys from breakouts and uses volatility for sizing. Accurate on most asset classes, best on Gold.
RSI-MAI spent a lot of time chasing trading methods.
Until I realized that the best method I need to follow is the reality of my own mind.
With faith in the truth, follow the truth in your heart.
MOM Buy/Sell + MACD Histogram Signal TableThis gives you a bullish and bearish buy signal based on macd crossing 0 level and macd crossing signal line...and it gives sell signal the first time after a buy signal price closes across the 13 ema. It also gives a table on what the macd histogram is doing on multiple time frames so you know where the momentum is.
Body GapsThis script is a customized version based on TradingView’s official “Gaps” indicator. The original version detects gaps using the distance between highs and lows of consecutive bars. In contrast, this script introduces a refined definition of gaps by focusing strictly on real body gaps—price zones where the open and close of two consecutive candles do not overlap.
Additionally, the gap closure logic has been enhanced:
Instead of checking for simple wick penetration, a gap is only marked as closed when the closing price fully re-enters the gap zone, ensuring a more reliable and practical interpretation for traders.
📦 Enhanced Visual Renko Signal Overlay 📈📦 Visual Renko Signal Overlay 📈 Auto Box (1%)
Overview
This innovative indicator simulates Renko-style price action directly on your regular candlestick charts, providing clear buy/sell signals based on significant price movements. Unlike traditional Renko charts, this overlay works seamlessly with any timeframe while maintaining the power of Renko logic.
Key Features
🎯 Automatic Box Sizing
Dynamically calculates box size as 1% of current price
Automatically adjusts to different price ranges and volatility
No manual configuration needed - works on stocks, crypto, forex
📊 Smart Trend Filtering
Uses SMA(40) and EMA(21) for trend confirmation
Only generates signals aligned with the prevailing trend
Reduces false signals in choppy markets
⚡ Clear Entry Signals
BUY: Green label when Renko turns bullish in an uptrend
SELL: Red label when Renko turns bearish in a downtrend
Visual price level indicators for entry, stop loss, and targets
💡 Real-Time Trade Information
Floating info box showing current trade setup
Displays entry price, stop loss (1 box), and target (2 boxes)
Live updates as new signals develop
How It Works
Signal Logic
Renko Simulation: Tracks significant price moves (1% boxes)
Trend Filter: Confirms signals only when price is above/below both moving averages
Entry Trigger: Generates signal when Renko direction changes with trend alignment
Risk Management
Stop Loss: 1 box size (1% of entry price)
Take Profit: 2 box sizes (2% of entry price)
Risk:Reward Ratio: Built-in 1:2 ratio for consistent profitability
Best Practices
Timeframes
Scalping: 1m - 15m charts
Swing Trading: 1H - 4H charts
Position Trading: Daily charts
Market Conditions
Works best in trending markets
Avoid during major news events or low liquidity periods
Consider overall market sentiment
Customization Tips
Adjust box size by modifying the 0.01 value (e.g., 0.005 for 0.5%, 0.02 for 2%)
Experiment with different MA periods for various market conditions
Combine with volume indicators for additional confirmation
What Makes This Different
Unlike standard Renko charts that require separate chart types, this indicator:
Overlays directly on candlestick charts
Maintains time-based analysis capabilities
Provides instant visual feedback
Includes built-in risk management levels
Works across all asset classes and timeframes
Disclaimer
This indicator is for educational purposes only. Always conduct thorough backtesting and risk management before live trading. Past performance does not guarantee future results.
Perfect for traders who want the clarity of Renko analysis with the flexibility of traditional charting.