Bollinger Bands Enhanced and Fibonacci TPThe "Bollinger Bands Enhanced with Anti-False Signal Filters and Fibonacci TP" is an advanced TradingView indicator designed to assist traders in identifying high-quality buy and sell signals in financial markets. This sophisticated tool integrates multiple analytical techniques to deliver precise and reliable trading signals.
Key Features
Signal Hierarchy:
Premium Signals (💎): These signals have the highest priority, based on a high score, volume confirmation, and double confirmation from indicators.
High-Quality Signals (🟢/🔴): These signals have high priority and are based on trend confirmation and significant volume.
SAR Signals (✓): These signals have medium priority and are used for trend confirmation and position adjustments.
Extreme Signals (⚡): These signals have low priority and are primarily used for scalping.
Technical Indicators:
Bollinger Bands: Used to identify support and resistance levels.
Parabolic SAR: Used to confirm trends and reversals.
Ichimoku Cloud: Provides an overview of the trend and support/resistance levels.
Linear Regression: Used to identify the trend and its strength.
Volume Analysis: Used to confirm signals and identify divergences.
Anti-False Signal Filters:
Volume Filter: Ensures signals are confirmed by sufficient volume.
Trend Filter: Uses EMA to confirm the trend.
RSI Filter: Avoids signals in overbought or oversold zones.
Risk Management:
Position Size: Recommends different position sizes based on the type of signal.
Risk/Reward Ratio: Recommends a minimum ratio of 1:2 for premium signals and 1:1.5 for others.
Maximum Simultaneous Positions: Recommends a maximum of 2-3 simultaneous positions.
Alerts and Notifications:
Premium Alerts: Notifies traders of premium signals with comprehensive details.
High-Quality Alerts: Notifies traders of high-quality signals.
Extreme Alerts: Notifies traders of extreme signals.
SAR Confirmations: Notifies traders of SAR confirmations.
Benefits for Traders
This indicator is particularly beneficial for traders looking to enhance the accuracy of their trading signals and reduce false signals. It provides a comprehensive market overview by combining multiple analytical techniques and using a signal hierarchy to prioritize trading opportunities. Traders can use this indicator to identify high-quality trading opportunities, confirm trends, and manage risk effectively.
Conclusion
The "Bollinger Bands Enhanced with Anti-False Signal Filters and Fibonacci TP" indicator is a powerful tool for traders seeking to improve their trading performance. It combines multiple analytical techniques to provide accurate and reliable signals and uses a signal hierarchy to prioritize trading opportunities. Traders can leverage this indicator to identify high-quality trading opportunities, confirm trends, and manage risk effectively.
Trend Analysis
Gap + Open & Close Price Marker (HK)Designed for HK Market :
- Show Previous Day Session Open + Close
- Show Gap Up / Gap Down
- Show Gap in points
- Customizable Gap Threshold
Default Color Setting :
Small Gap Up -> Cyan
Middle Gap Up -> Green
Small Gap Down -> Purple
Middle Gap Down -> Pale Red
Big Gap Up/Down => Yellow
EMA x4📌 Indicator: EMA x4
Author:
Script Type: Overlay (draws on price chart)
Language: Pine Script™ v6
License: Mozilla Public License 2.0
📖 Overview
EMA x4 is a minimalist technical indicator designed to display four customizable Exponential Moving Averages (EMAs) directly on the chart. It offers a clear view of short-, medium-, long-, and extra-long-term trends to support trend-following and momentum-based trading strategies.
This tool is ideal for traders who rely on moving average crossovers, dynamic support/resistance, or need to confirm market bias with multiple time-frame alignment.
⚙️ Input Parameters
Users can modify each EMA's length to match their strategy preferences:
Short EMA: Fastest EMA for short-term by default its value is 35
Middle EMA: Medium-term EMA by default its value is 75
Large EMA: Long-term EMA by default its value is 100
XL - EMA: Extra-long-term trend filter by default its value is 200
📊 Visual Representation
The script plots each EMA using distinct colors and consistent line thickness:
EMA1: Color Blue Short-term EMA (35)
EMA2: Color Orange Mid-term EMA (75)
EMA3: Color Green Long-term EMA (100)
EMA4: Color Red Extra-long-term EMA (200)
All lines are rendered with a linewidth of 2 for enhanced visibility on any chart.
🧠 Typical Use Cases
Trend Identification: Watch for the EMAs stacking in order (e.g., EMA1 above EMA2, etc.) to confirm bullish or bearish trends.
Crossover Signals: Look for EMA crossovers to generate entry/exit signals.
Support & Resistance: EMAs often act as dynamic zones of support/resistance during trending markets.
Multi-timeframe Confirmation: Combine this overlay with higher timeframe charts to confirm trend alignment.
✅ Key Benefits
Fully customizable EMA lengths for all trading styles.
Clean design, ideal for visually-driven traders.
Lightweight code – no lag or performance impact.
Can be used in confluence with other indicators or strategies.
🚀 How to Use
Add the indicator to any TradingView chart.
Configure the EMA lengths based on your preference (swing, day trading, long-term).
Analyze price interactions with the EMAs and look for confluences or crossovers.
Supply/Demand Zones (Synthetic SMA Candles)Supply/Demand Zones (Synthetic SMA Candles)
Created by The_Forex_Steward
This indicator highlights institutional-style supply and demand zones using synthetic SMA-based candles rather than raw price data. It provides a smoother, more refined view of price action to help identify key imbalance areas where price is likely to react.
Features:
- Uses SMA-smoothed synthetic candles to detect bullish and bearish engulfing structures
- Draws demand zones after bullish breakouts and supply zones after bearish breakouts
- Zones are persistent for a customizable number of bars
- Mitigated zones can optionally be removed from the chart
- Includes alerts for breakout and mitigation events
- Optional plotting of synthetic candles over price for visual clarity
How It Works:
When a synthetic candle closes above the high of a previous bearish candle, a bullish engulfing is detected, and a demand zone is created from that bearish candle’s high and low. Conversely, when price closes below the low of a previous bullish candle, a supply zone is formed. These zones stay on the chart for the user-defined duration or until they are mitigated by price, at which point they can be removed automatically.
How to Use:
- Adjust the SMA Length to control how smooth the synthetic candles appear
- Enable or disable Show Supply Zones and Show Demand Zones as needed
- Set the Zone Duration to control how long each zone persists
- Use Delete Mitigated Zones to automatically remove zones when price returns to them
- Optionally enable Show Synthetic SMA Candles to see the candle logic used in detection
- Use the built-in alerts to stay notified of new zone creation or mitigation
Note: This tool is most effective when combined with structure or trend-based strategies for confirmation.
TS Multi-Indicator Trend DetectorDeveloped by KP
This indicator provides a visually clean and reliable trend overlay by combining multiple high-confidence technical indicators into a single floating line above price action. It’s designed for traders who want trend clarity without chart clutter.
⸻
🔍 What It Does:
• Uses EMA (21), RSI, MACD, ADX, and Directional Movement (DI) indicators to evaluate the market trend
• Assigns a “Bullish” or “Bearish” score based on how many indicators confirm the trend
• Plots a floating colored trend line above the price candles to avoid visual interference
• 🟡 Yellow Line = Bullish Trend
• 🔵 Blue Line = Bearish Trend
• Built with multi-timeframe compatibility (works on 5m to weekly charts)
• Minimalist, no noise — no arrows, no labels, just clarity
⸻
⚙️ How It Works:
• Trend shifts when 3 or more out of 5 conditions are met:
• Price above/below 21 EMA
• RSI > 50 or < 50
• MACD crossover
• ADX strength confirmation
• Directional movement dominance (+DI vs -DI)
⸻
🧠 Why Use This?
Unlike traditional moving averages or lagging signals, this tool filters market noise using a multi-indicator consensus approach, then visualizes it as a non-intrusive floating trend line — helping you focus only on meaningful price action.
⸻
✅ Best For:
• Swing traders, intraday trend followers, and algo developers
• Clean-chart enthusiasts who value signal quality over quantity
The Mended Collective: London High/Low KillzonesThis open-source indicator automatically tracks the London session (3 AM – 8 AM EST) on any intraday chart. It plots the session’s dynamic high and low, shades the active kill-zone, and labels the completed range so you can spot liquidity sweeps and breakout setups at a glance.
🔧 Features
Real-time session range
Detects the London window daily and updates the high/low as price evolves.
Visual highlights
• Color background during the active session
• Green line = London High | Red line = London Low
• Automatic labels once the session closes
Breakout alerts
Built-in alertcondition() triggers when price crosses above the London High or below the London Low, perfect for momentum or liquidity-grab strategies.
Time-zone aware
Uses New York (EST) timestamps so the range lines stay accurate on any broker feed.
🎯 How to Use
Add the indicator to any intraday chart (typically ≤ 1 h).
During 3 AM–8 AM EST the kill-zone is shaded; watch the evolving high/low.
After 8 AM EST the range is locked; trade retests, break-and-retest, or liquidity grabs with confidence.
Enable alerts to get notified the moment a breakout occurs.
Dual TF Stochastic StrategyCore Strategy Components:
Uses two Stochastic oscillators (Primary and Reference)
Both use 15-second timeframe (15S)
Primary Stochastic settings:
K Length: 12
K Smoothing: 12
D Length: 12
Reference Stochastic settings:
K Length: 12
K Smoothing: 15
D Length: 30
Entry Logic:
Long Entries occur when:
Primary %K crosses over %D
AND either:
Reference %D is ≥ 50 or < 20
OR Primary %K is close to Reference %D (within 0.15)
AND price is above Moving Average (if MA filter enabled)
AND during regular market hours (9:30 AM - 4:00 PM ET)
Short Entries occur when:
Primary %K crosses under %D
AND either:
Within tolerance of Reference %D
OR specific crossunder conditions met
AND price is below Moving Average
AND during regular market hours
Exit Logic:
Time-based exits:
At 3:30 PM ET
End of regular market hours
Technical exits:
Long positions: When Primary %K crosses under Reference %D
Short positions: When Primary %K crosses over Reference %D and Reference %D > 20
Pattern Detection:
Higher Low Pattern:
Current crossover %K > Previous crossover %K
Bullish continuation pattern
Lower High Pattern:
Current crossunder %K < Previous crossunder %K
Bearish continuation pattern
Risk Management:
Price difference filters:
Maximum price difference: 0.1%
Minimum price difference for shorts: 0.1%
Reference %D tolerance: 0.1%
Close %K tolerance: 0.7%
Strengths:
Multiple confirmation layers (dual timeframes, MA filter)
Clear entry/exit rules
Pattern recognition for trend continuation
Time-based filters to avoid volatile periods
Comprehensive alert system
Potential Limitations:
Short timeframe (15S) may generate more false signals
Tight price difference filters might miss some opportunities
Relies heavily on Reference %D levels
No stop-loss implementation visible in the code
Suggested Improvements:
Add stop-loss mechanisms
Implement position sizing rules
Add volume confirmation
Consider adding RSI or other momentum filters
Add backtesting statistics tracking
Best Use Cases:
Day trading in liquid markets
Markets with clear trends
Time periods with normal volatility
When price action aligns with Stochastic signals
Risk Considerations:
High-frequency trading due to 15S timeframe
Multiple entries possible in short timeframes
No explicit risk management beyond entry/exit rules
Market hours limitation might miss opportunities
Spaghetti 2.0 - Multi-Asset Performance [By Barbell_Fi]This is an updated and more opinionated take on the original Spaghetti indicator.
Multi Asset Performance indicator (also called “Spaghetti”) makes it easy to monitor the changes in Price, Open Interest, and On Balance Volume across multiple assets simultaneously, distinguish assets that are overperforming or underperforming, observe the relative strength of different assets or currencies, use it as a tool for identifying mean reversion opportunities and even for constructing pairs trading strategies, detect "risk-on" or "risk-off" periods, evaluate statistical relationships between assets through metrics like correlation and beta, construct hedging strategies, trade rotations and much more.
Start by selecting a time period (e.g., 1 DAY) to set the interval for when data is reset. This will provide insight into how price, open interest, and on-balance volume change over your chosen period. In the settings, asset selection is fully customizable, allowing you to create three groups of up to 30 tickers each. These tickers can be displayed in a variety of styles and colors. Additional script settings offer a range of options, including smoothing values with a Simple Moving Average (SMA), highlighting the top or bottom performers, plotting the group mean, applying heatmap/gradient coloring, generating a table with calculations like beta, correlation, and RSI, creating a profile to show asset distribution around the mean, and much more.
One of the most important script tools is the screener table, which can display:
🔸 Percentage Change (Represents the return or the percentage increase or decrease in Price/OI/OBV over the current selected period)
🔸 Beta (Represents the sensitivity or responsiveness of asset's returns to the returns of a benchmark/mean. A beta of 1 means the asset moves in tandem with the market. A beta greater than 1 indicates the asset is more volatile than the market, while a beta less than 1 indicates the asset is less volatile. For example, a beta of 1.5 means the asset typically moves 150% as much as the benchmark. If the benchmark goes up 1%, the asset is expected to go up 1.5%, and vice versa.)
🔸 Correlation (Describes the strength and direction of a linear relationship between the asset and the mean. Correlation coefficients range from -1 to +1. A correlation of +1 means that two variables are perfectly positively correlated; as one goes up, the other will go up in exact proportion. A correlation of -1 means they are perfectly negatively correlated; as one goes up, the other will go down in exact proportion. A correlation of 0 means that there is no linear relationship between the variables. For example, a correlation of 0.5 between Asset A and Asset B would suggest that when Asset A moves, Asset B tends to move in the same direction, but not perfectly in tandem.)
🔸 RSI (Measures the speed and change of price movements and is used to identify overbought or oversold conditions of each asset. The RSI ranges from 0 to 100 and is typically used with a time period of 14. Generally, an RSI above 70 indicates that an asset may be overbought, while RSI below 30 signals that an asset may be oversold.)
⚙️ Settings Overview:
◽️ Period
Periodic inputs (e.g. daily, monthly, etc.) determine when the values are reset to zero and begin accumulating again until the period is over. This visualizes the net change in the data over each period. The input "Visible Range" is auto-adjustable as it starts the accumulation at the leftmost bar on your chart, displaying the net change in your chart's visible range. There's also the "Timestamp" option, which allows you to select a specific point in time from where the values are accumulated. The timestamp anchor can be dragged to a desired bar via Tradingview's interactive option. Timestamp is particularly useful when looking for outperformers/underperformers after a market-wide move. The input positioned next to the period selection determines the timeframe on which the data is based. It's best to leave it at default (Chart Timeframe) unless you want to check the higher timeframe structure of the data.
◽️ Data
The first input in this section determines the data that will be displayed. You can choose between Price, OI, and OBV. The second input lets you select which one out of the three asset groups should be displayed. The symbols in the asset group can be modified in the bottom section of the indicator settings.
◽️ Appearance
You can choose to plot the data in the form of lines, circles, areas, and columns. The colors can be selected by choosing one of the six pre-prepared color palettes.
◽️ Labeling
This input allows you to show/hide the labels and select their appearance and size. You can choose between Label (colored pointed label), Label and Line (colored pointed label with a line that connects it to the plot), or Text Label (colored text).
◽️ Smoothing
If selected, this option will smooth the values using a Simple Moving Average (SMA) with a custom length. This is used to reduce noise and improve the visibility of plotted data.
◽️ Highlight
If selected, this option will highlight the top and bottom N (custom number) plots, while shading the others. This makes the symbols with extreme values stand out from the rest.
◽️ Group Mean
This input allows you to select the data that will be considered as the group mean. You can choose between Group Average (the average value of all assets in the group) or First Ticker (the value of the ticker that is positioned first on the group's list). The mean is then used in calculations such as correlation (as the second variable) and beta (as a benchmark). You can also choose to plot the mean by clicking on the checkbox.
◽️ Profile
If selected, the script will generate a vertical volume profile-like display with 10 zones/nodes, visualizing the distribution of assets below and above the mean. This makes it easy to see how many or what percentage of assets are outperforming or underperforming the mean.
◽️ Gradient
If selected, this option will color the plots with a gradient based on the proximity of the value to the upper extreme, zero, and lower extreme.
◽️ Table
This section includes several settings for the table's appearance and the data displayed in it. The "Reference Length" input determines the number of bars back that are used for calculating correlation and beta, while "RSI Length" determines the length used for calculating the Relative Strength Index. You can choose the data that should be displayed in the table by using the checkboxes.
◽️ Asset Groups
This section allows you to modify the symbols that have been selected to be a part of the 3 asset groups. If you want to change a symbol, you can simply click on the field and type the ticker of another one. You can also show/hide a specific asset by using the checkbox next to the field.
HOG PathfinderHOG Pathfinder
📊 Overview
HOG Pathfinder is a forward-projection engine that analyzes trend, momentum, and volume to chart a probable path for the next candles. Built as a tactical overlay for directional bias, it gives traders a clean, visual estimate of where price is likely to head — without relying on hope or hindsight.
⚙️ How It Works
• Scores 5 key signals:
• EMA 9/21 trend slope
• RSI strength
• MACD histogram bias
• Price relative to EMA 50 (volume position)
• Trend confirmation via ADX
• Determines a bias: Bullish, Bearish, or Neutral
• Uses average true range to project a path over the next 10 candles
• Displays a dotted line that curves upward, downward, or flat depending on strength and alignment
🎯 Inputs
• Projection Length — number of forward candles to project
• Show Target — enables future target logic (not plotted)
✅ Benefits
• Instant directional read of where price is likely to go
• Pairs perfectly with indicators like Trifecta or Super Trend
• Clean visual — no noise, just trajectory
• Built from native Pine Script logic — no dependencies
📈 Use Cases
• Forecasting next 10 candles on the daily or 4H
• Trade alignment with higher timeframe bias
• Visual guide for continuation or mean reversion trades
⚠️ Notes
• This is not a “prediction” tool — it projects the most probable path given current momentum, trend, and volume alignment
• Adjust slope logic in future versions to curve toward key zones or FVGs
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)
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.