NIBIRU MATRIXThe Nibiru Matrix is an entry timing tool based on oscillators and trends. It's to provide an intuitive way of timing trades when price is at the resistance or on the support.
The Nibiru Matrix provides trade entry hints and information about the current market behavior (trending or ranging). If the market is trending, it also shows the trend strength and direction. It is a secondary indicator meaning it trade should be made on the support or resistance using Nibiru Matrix as a confluence indicator.
What it plots?
Slow, fast and stochastic oscillators
Bar coloring to warn about possible setups
Trending/ranging market indication
Current volatility
2 methods of trend confirmation based on 2 different algorithms
Indicator components:
Trend/range setup - provides information about current possible trade strategy. Following a RANGE indicator, Voodoo Matrix suggests that the safest way to trade will be between the local support and resistance shown by Voodoo Support and Resistance, and following a TREND indicator, it is likely that a trending strategy or taking profit on larger ranges is more profitable.
Fast trend indicator - providing color based information on direction of the short-term trend. This is the most reactive trend indication shown by Voodoo Matrix. This can even be used for counter-main-trend scalping.
Green - uptrend
Red - downtrend
Gray - indecision
Slow trend indicator - providing color based information on direction of the long-term trend. It is based on the behavior of a longer period EMAs.
Green - uptrend
Red - downtrend
Gray - indecision
Volatility histogram - information on current price strength. Best used in confluence with the short term trend indicator.
Fast oscillator - oscillator based on stochastic RSI, modified to provide better information on timing and price movement. It's fast moving which helps time the shorter-term moves.
Slow oscillator - oscillator based on stochastic RSI, modified to provide better information on timing and price movement. It's slow moving and provides useful information about the price direction and strength of the move.
Stochastic oscillator - simple stochastic oscillator. Best used with both Fast and Slow Oscillators to get best timing and price movement strength and direction.
Overbought zone - area of the chart where the modified stochastic oscillator suggests the market is currently overbought.
Oversold zone - area of the chart where the modified stochastic oscillator suggests the market is currently oversold.
Neutral zone - area of the chart where the modified stochastic oscillator suggests the market is currently neutral.
Timing confirmation hints - signaling confirmation of fast oscillator forming a buy/sell setup.
Fast oscillator buy/sell color hint s – bar coloring to bring a focus and attention to possible buy/sell signal forming on the fast oscillator.
Use the link below or PM me to gain access to the indicator.
Pesquisar nos scripts por "scalping"
DOUBLE TRIXTRIX is an oscilator which is calculated from close price by exponentially smoothing it three times.
When it crosses zero and goes up, it tells that the trend is upwards and vise versa.
Some traders use 2 TRIX lines with different periods to enter the deal when they cross each other.
On tradingview there was no such option to use 2 TRIX on chart and niether the option to choose the source of calculation.
DOUBLE TRIX lets you use 2 TRIX lines and choose the source.
By default the configuration is 18-9, source ohlc4.
How to use:
1. You can use it in combination with TRSI (my other script which contains the code of TRIX) to filter the entry point, i.e. to
open the position when both indicators show the same direction. Look at the chart for an example.
2. You can also use 4-14 for small timeframes for scalping.
Use it carefully and in combination wiht other indicators.
Will be glad to see your feedback.
B1 BetaThis indicator study RSI values for many other special indicators.
this indicator is great for scalping.
Green comes overall, that's mean long.
Orange comes overall, that's mean short.
OMEN-ZONE-15mFXOMEN-ZONE created for 15m Charts FOREX. Omen-zone allows users to have a zone of entry for shorting and Longing.
3 Candle Wait will give users larger Zones for catching longer moves and to find great entries
20 Candle Wait will give users smaller Zones for catching Shorter moves for Scalping.
PPSignal BB and EWO BB Strategy ScalpDescription:
This indicator is an implementation of the Bollinger Band and EWO Oscillator Scalping system.
This technique is for those who want the most simple method that is very effective. It is BEST traded during the busiest trading hours, 3am to 12am EST NY time. This method doesn't work in sideways markets, only in volatile trending markets.
-Time Frames: 1, 5, 10, 15 ,30 min.
-Currency pairs: majors, btc, futures and volatile stock.
Other Chart indicators:
Add EWO bb.
Optionally Add Squeeze Indicato or bbsqueeze .
Here's the strategy:
// Going LONG:
Enter a long position when Curve Slope has crossed up through the Bollinger upper band (lime) . At the same time, the EWO BB or BBqueeze should be approaching or crossing it's zeroline, going up. This is indicated by "Buy" alert.
// Going SHORT:
Enter a short position when Curve Slope has crossed down through the low Bollinger red. At the same time, the EWO BB or BBqueeze should be approaching or crossing it's zero line, going down. This is indicated by the "Sell" Alert.
// Take profit:
// 10-20 pips depending on pair or When Awesome Oscillator turns a different color.
// HINTS: Best trades tend to occur when price reversing bounce off outer band and and outside Optional Bollinger Squeeze indication.
// References:
www.forexstrategiesresources.com
Ultimate Trend Analyzer by HypesterTrading is not all about scalping/day trading. To have a healthy and diversified portfolio, you should always have some trending long term assets to mitigate risks and keep your wallet always on the green side.
That's why Hypester once again innovates with the Ultimate Trend Analyzer. With the UTA you can check the trend's health with one glance.
Do not fool yourself, the Ultimate Trend Analyzer offers different trading profiles, so it doesn't matter what kind of trading you are doing, from long positions to intraday scalping - UTA can quickly adapt with one click. UTA offers Swing/Longterm, Day Trading and Scalping profile.
It also has two correlation methods, volume, and price. So you can decide what you want to prioritize most.
Not only that, there are two smoothing methods, linear regression and symmetrical averaging so you can remove noises from your indicator line.
The UTA offers you insight about the trend's health, just by looking at the background color, the stronger the color, stronger the trend. So higher up it is, stronger the uptrend is. The lower it is, stronger the downtrend.
Nevertheless, the UTA also gives you insight within trend corrections and peaks and bottoms with the indicator line color. So if you have a bullish trend and you see an orange line color, it means that direction is changing and you will observe a line color change, which means the course is now bearish even though the overall trend is going up. This feature is great for swing/scalp trading looking at the big picture.
TB!G-Scalp Strategy [Alert]Scalping Crypto Assets Made Easy
TB!G-Scalp is a TradingView based alert and accompanying strategy PineV3 Script.
Backtest vs Realtime
When designing the algorithms for this strategy our focus was primarily on ease of use.This results in a beautiful yet easy to use scalping strategy. As input it takes a chart period and only one extra parameter for fine tuning. The backtest results are an accurate representation of it’s real-time behaviour.
What makes it tick?
Over the last 2 years we collected a lot of market data regarding Bull and Bear behaviours. This previous market behaviour echo’s into the current market trend.
By recognising these echo’s we are able to anticipate an upcoming micro reversal which eventually end up being a scalping strategy.
Interested
Access is provided to a limited amount of people and for the duration that is determined by it’s Alpha Decay Rate.
This ADR is expected to become problematic after 2.3 year of usage on a lot of 150 users.
Vilarso S1This indicator shows fractals. The main levels of support and resistance. Arrows point to buy and sell zones - great for scalping. And the most important thing is the 5 moving averages SMA by which you can determine the direction of the trend, its support and resistance zones. It is very convenient when different averages for junior and senior periods from 9 to 200 are displayed in one indicator. I installed the standard: 9, 21, 55, 100, 200.
Recommendation: You can reconfigure all 5 mediums on your own. And work out the medium crossings according to your trading strategy.
For example, on my daily timeframe, use my template, and on smaller timeframes you can edit by Fibonacci numbers: 5, 8, 13, 21, 34, 55, 89, 144, 233
Vilarso - recommends you to experiment!
Add to your favorite scripts and trade in profit!
C03 8 MAEasy way to enter up to 8 Moving Average, SMA or EMA
How to use:
Check and choose to use SMA or EMA
-style 1: 5,8,13,21,34,55,89,144
-style 2: 8,13,41,200,243,300,500,700
-style 3: 15,30,50,100,200,300,500,700
i.e:
When MA8 cross MA13 it can be used for scalping.
When MA13 pulls back to MA34 you can buy more or sell more depending on the situation without having to exit your position prematurely before trend direction changes.
This can also be used as position entry points to make sure you are getting the best possible price.
If MA8, MA13 and MA34 cross over MA55: trend confirmed.
Key Levels [@treypeng]Draws horizontal lines for Daily, Hourly (1) and Weekly levels. Really handy to switch on quickly when scalping.
Light blue: Previous hour OHLC
Thick light blue: Previous hour Close / current hour Open
Dark blue: Yesterday OHLC
Thick dark blue: Yesterday Close / today Open
Purple: Weekly Open
It's a bit ugly, I'd prefer horizontal rays instead of lines stretching back across the chart but I couldn't figure out how to do this in PineScript. If I get it sorted, I'll publish an update.
Adjustable Fibonacci LevelsThe Adjustable Fibonacci Levels script allows you to retrieve Fibonacci levels for x days back. This might come in handy when scalping. Shoutout to u/Autemox for the inspiration!
SHERRIFx (variation) IN TRENDI share this script where I made some modifications to the SHERRIF strategy to perform trend scalping.
I use:
- Bollinguer Bands (20)
- CCIs (14 and 40)
- EMAS (20, 57, 100, 200)
- Stochastics (13,3,3) in 70, 30.
I apply in low temporalities, especially M15 and M1, it can also be used to make binaries or in higher temporalities by modifying the constants.
If you improve this program, share it.
Greetings.
Misc OscillatorCombination of Stoch, RSI, Wave Trends, and TTM Squeeze to help identify buy/sell zones for scalping.
Bimex Long Short PRO [PlungerMen]Hello!
This free community edition is very good for all time frame , for all the crypto
This Script recognized overbought area and over-selling area extremely accurate
This Script is very well used as it works by itself and very well used in conjunction with the "Bitmex scalping " script, both compliment for each other. the "Bitmex Scalping" script is Free, you can find it
If you want to be more accurate and more efficient, more comfortable when you do not want to see too many other indicators, you can register for our Professional edition.
- The Professional Edition supports Level 1 and Level 2 commands, which are very effective in allocating funds and optimizing your profits
Besides that,You will be supported by personal preferences, profit maximization
- Register for a Professional version will be used 2 Script,Bimex Scalping Pro and Bitmex Long Short Pro
- We will invite you to the signal channel with the announcement of the bottom and the peak of the BTC ,the big variable variable has exists
We hope you enjoy this script. Your support will help us develop more good quality scripts in the future to serve the community
**Remember, Like this script and posivite feedback if you are satisfied**
if you have any questions Plz post a comment ... below here
******
Thanks
Two Bar Break Line Alerts R1.0 by JustUncleLThis indicator with default settings is designed for BINARY OPTIONS trading. The indicator can also be used for Forex trading with some setting changes. The script shows Two Bar Pullback Break lines and alerts when those Break lines are Touched (broken) creating a short term momentum entry condition.
For a Bullish Break (Green Up Arrow) to occur: first must have two (or three) consecutive bear (red) candles which is followed by a bull (green) candle creating a pivot point. The breakout occurs then the High of the current Bull (green) exceeds the highest point of the previous two (or three) pivotal bear candles. The green channel Line shows where the current Bullish BreakOut occurs.
For a Bearish Break (Red Down Arrow) to occur: first must have two (or three) consecutive bull (green) candles which is followed by a bear (red) candle creating a pivot point. The breakout occurs when the Low of the current Bear (red) drops below the lowest point of the previous two (or three) pivotal Bull candles. The red channel Line shows where the current Bearish BreakOut occurs.
The break Line Arrows can optionally be filtered by the Coloured MA (enabled by default), a longer term directional MA (disabled by default) and/or a MACD condition (enabled by default) as a momentum filter.
You can optionally select three Bar break lines instead of two. The three bar break lines are actually equivalent to Guppy's Three Bar Count Back Line method for trade entries (see Guppy's video reference below).
Included in this indicator is an ability to display some basic Binary Option statistics, when enabled (enabled by default) it shows Successful Bars in Yellow and failed Bars in Black and the last Nine numbers on the script title line represent the Binary option Statistics in order:
%ITM rate
Total orders
Successful Orders
Failed Orders
Total candles tested
Candles per Day
Trades per Day
Max Consecutive Wins
Max Consecutive Losses
You can start the Binary Option statistics from a specific Date, which is handy for checking more recent history.
HINTS:
BINARY OPTIONS trading: use 5min, 15m, 1hr or even Daily charts. Trade after the price touches one of the Breakout lines and the Arrow first appears. Wait for the price to come back from Break Line by 1 or 2 pips, the alert arrow must stay on and candle change to black, then take Binary trade expiry End of Candle. If price pull back and arrow turns off, don't trade this candle, move on you probably don't have momentum, there will be plenty of other trigger events. The backtesting results are good with ITM rates 65% to 72% on many currency pairs, commodities and indices. Realtime trading has confirmed the backtesting results and they could even be bettered, provided you are selective on which signals to trade (strong MACD support etc), that you are patient and disciplined to this trading method.
FOREX trading: the default settings should work with scalping. For longer term trades try with settings change to a more standard MACD filter or slower to catch the longer term momentum swings and the idea would be to trade the first Break Line alert that occurs after a decent Pullback in the direction of the trend. Setting the SL to just above/below the Pivot High/Low and set target to two or three times SL.
References:
"Fundamentals of Price Action Trading for Forex, Stocks, Options and Futures" video:
www.youtube.com
Other videos by "basecamptrading" on Naked Trading.
"Taking Profits in Today's Market by Daryl Guppy" video:
www.youtube.com
ADX Endor Bollinger BandsThis is a modified version of ADX , and it has a bollinger bands endorsed. An advantage of the indicator is allowing users to capture short term rise or drop of trend strength, particularly useful for scalping.
There are three modes open to users: ADX, DIPlus and DIMinus. Users can simply choose the indicators in their favor. A breach of the upper bollinger band will be in blue, breaching lower band or inside-the-bands signals are painted in pink.
Hope you will enjoy it. Make sure to follow my trading journal and give a thumb up to this post.
Double CCI & RSI AlertHi, I am lonelygrass. It is suggested to use this indicator with my another script, Double CCI & RSI Trigger , . This EA consists of a CCI of 34 periods and RSI of 14 periods.
The alert is created in hopes of distinguishing super short term trend and helping scalping.
In general, triangleup (bullish) and triangledown (bearish) are shown near each bars.
A qualifying bullish bar should (1) have a CCI value equaling 0 or more and (2) have a RSI value equaling 55 or more
Instead, a bearish bar should (1) have a CCI value below 0 and (2) have a RSI value below 45
If you put two systems together, you will get an idea of when to initiate your trade and how to hold onto your trade until a counter signal comes off the graph.
NG [Multi-Stochastics]Multiple stochastic script with trend direction.
* Each base shows 3 lines multiplied by 1.618
* Possible to chose how to calculate MA of stochastics SMA, EMA, DEMA, TEMA.
* Possible to chose how to calculate trend.
* Trend adjustment is to adapt to current situation not for signals
Fast stochastics gives a lot of noise but some times good for scalping.
Fractal Resonance CompositeFractal Resonance Composite compresses 8 timescales of stochastic oscillators into just 3 color-coded composite lines: fast, medium and slow. Fast emphasizes the shorter timescale oscillators, medium considers all 8 timescales evenly, and slow emphasizes the longer timeframe oscillators. The composite lines indicate how overbought/sold the market is relative to the size of its recent movements. Major buys occur when all three composites enter the Oversold (green shaded) range and turn up, and major sells when all three reach the Overbought (red shaded) range and turn down. The fast line's quicker reversals and exaggerated alternations on smaller price moves makes it more fit for scalping. Notice the fast and medium lines tend to snap back toward the slow line like stretched rubber bands.
As is particularly apparent in the slow line, the nifty mathematics of the compositing process reconstruct the topology (peaks and valleys) of the underlying price curve in a smoothly distorted "cartoon" form that has a very useful property: the composite lines are confined to +-100% Extreme Overbought/sold oscillatory ranges. (By definition, only extremely rare "parabolic" moves can push all 3 composites beyond +-100%). If we knew that price would always stay confined to a certain range, trading would be much easier, no? Always buy the bottom of the range and sell the top!
How it works
To understand what's behind this nifty property, consider the mathematics of LazyBear's WaveTrend port .
The formula is fairly simple as indicators go yet statistically fundamental in a way that suggests it should have been the grandfather of all market stochastic oscillators. It's just a running average of the ratio:
(price's current deviation from it's mean)
-----------------------------------------------------------
(running average of absolute |price deviation from the mean| )
In formal statistics notation this is written:
E{ (X - E{X}) / E{|X-E{X}|} }
Where X is the price random variable and E{} the averaging or Expectation operator, implemented in this oscillator as exponential moving averages.
Conceptually, the denominator measures and normalizes by the typical size of recent price moves. This normalization process is what stretches or compresses the local price movements such that the whole composite curve can stay within the oscillatory range.
Attributes
The default fast=.6, medium=1, slow=1.4 compositing factors give each line visually distinct behavior, but can be tweaked to emphasize different oscillator "speeds".
Particular lines can be disabled by setting their line width to 0.
Pivot Boss 4 EMA Summary:
Creates one indicator with four exponential moving averages based off the central pivot point
which assists you in trading pure price action using floor pivots.
This also helps you to avoid getting chopped up during price confluence.
How to use:
When T-Line cross Green Short EMA it can be used for scalping.
When Short EMA pulls back to Medium EMA you can buy more or sell more
without having to exit your position prematurely before trend direction changes.
This can also be used as position entry points to make sure you are getting the best possible price.
When T-Line, Short EMA and Medium EMA cross over Long EMA you go long or short.
Transactional Rate of Change (TROC)TRANSACTIONAL RATE OF CHANGE (TROC) INDICATOR
Transaction Rate of Change (TROC) is an advanced momentum indicator that analyzes the rate of change in cumulative inferred buy/sell volume data to identify shifts in buying and selling acceleration and deceleration of transaction flow, providing early signals of potential trend changes, exhaustion/absorption, and momentum shifts. It builds further upon the official Volume Delta indicator released by TradingView.
If a stock price is a rocket climbing , then volume delta is the total fuel burned, and TROC is the fuel burn rate . A rocket can keep rising even after engines start throttling down (decelerating TROC), but it won't go much higher without more thrust. When TROC shows extreme positive readings, the engines are at maximum burn—expect explosive price movement. When TROC drops to zero while price is still high, the fuel is depleted and gravity (selling pressure) takes over. Are buyers pushing on the gas, or are they backing off? Are more buyers coming to the table, or are they losing interest or taking profits? Are excited retail buying highs while smart money close their positions using the excited retail liquidity?
KEY FEATURES
• Volume Delta Analysis - Approximates up and down volume from lower timeframe data to calculate true buying vs. selling pressure.
• Rate of Change Calculation - Measures the momentum of cumulative delta over a customizable period. Essentially, it displays the rate of change between buying and selling. How fast is it going, is it slowing, how excited are they?
• Momentum State Detection - Automatically identifies four distinct market states: accelerating up, decelerating up, accelerating down, and decelerating down
• Extreme Threshold Zones - Bands based on standard deviation to highlight unusually high or low transaction rates, helping to spot potential extreme values, blow offs, and capitulation.
• Z-Score Normalization - Optional standardization for comparing momentum across different timeframes and instruments.
• Momentum Strength Index (MSI) - Filters out weak signals by highlighting only bars with momentum exceeding a threshold.
• Flexible Reset Modes - Reset cumulative delta daily, weekly, monthly, or per session to prevent data drift, or leave it default for continual cumulative data.
APPLICATION
Trend Confirmation
When price makes a new high but TROC is decelerating (lighter colors), it suggests weakening buying pressure and potential exhaustion. Conversely, strong acceleration (darker colors) confirms robust trend continuation. Either buyers are supporting the move, or they aren't. Same goes for selling. It can also assist spotting short covering.
Divergence Trading
Use it similar to MACD divergence strategies. Is price movement confirmed by expansion in TROC, or is the TROC showing weakness while price is continuing it's trend?
Momentum Breakouts
When TROC crosses above the upper threshold zone with strong momentum (MSI activated), it signals institutional-level buying that often precedes significant price moves. Use this for breakout entries.
Mean Reversion
Extreme readings beyond the threshold zones often precede short-term reversals as transaction rates normalize. Consider taking profits or counter-trend positions when TROC reaches statistical extremes. Utilizing the extreme threshold bands can help you identify tops and bottoms.
Absorption Detection
Spot areas where buying or selling is being done, but price is hitting a wall or floor and not moving. This can indicate a hidden seller or a buyer reloading at price levels/zones.
SETTINGS
Timeframe for Volume Delta Calculation
Select the lower timeframe used to calculate buying and selling volume. Default: 1S (1 second)
• 1S or 5S - Maximum precision for scalping and intraday trading on liquid markets
• 1m or 5m - Balanced precision for swing trading and less liquid instruments
• Higher timeframes - Provide more historical data but reduce accuracy
Note: Higher frequency data yields more accurate delta calculations but may not be available for all symbols or historical periods. If you are using higher timeframes (Daily, Weekly) you will need to change this setting to a higher timeframe.
Rate of Change Period
Determines how many bars back to measure the momentum change. Default: 14
• Short periods (7-10) - More responsive, ideal for scalping and quick momentum shifts
• Medium periods (14-20) - Balanced sensitivity for day trading
• Long periods (25-50) - Smoother readings for swing trading and trend analysis
Shorter periods generate more signals but increase false positives; longer periods reduce noise but may lag significant changes.
Extreme Threshold Zones
Bands that highlight unusual transaction rate extremes based on standard deviation.
• Show Zones - Enable/disable the upper and lower threshold lines (Default: Enabled)
• Multiplier - Standard deviation multiplier for zone placement (Default: 2.0)
Values of 1.5-2.0 catch moderate extremes
Values of 2.5-3.0 identify only the most extreme readings
• Lookback Period - Number of bars used to calculate mean and standard deviation (Default: 100)
Shorter lookback (50-75) adapts faster to changing market conditions
Longer lookback (150-200) provides more stable, consistent zones
Smooth Cumulative Delta
Applies Adaptive Moving Average to reduce noise in the cumulative volume delta before calculating rate of change. Default: Enabled
• Smoothing Length - period (Default: 5)
Lower values (3-5) preserve responsiveness
Higher values (7-10) significantly reduce noise on choppy markets
Smoothing is particularly useful on volatile instruments or when using very short ROC periods.
Momentum Strength Index (MSI)
Filters the histogram to highlight only bars exceeding a specified momentum threshold, eliminating weak signals.
• Show MSI - Enable/disable momentum strength filtering (Default: Disabled)
• MSI Threshold - Minimum momentum strength multiplier (Default: 2.0)
Values of 1.5-2.0 show above-average momentum
Values of 2.5-3.5 isolate only exceptional momentum bars
When enabled, bars meeting the threshold display in the "Strong Up/Down" colors, while normal bars use standard momentum colors.
Display Settings
• Histogram Bar Width - Visual thickness of the columns (Default: 1, Range: 1-10)
• Use Z-Score Normalization - Standardizes TROC values for cross-asset comparison (Default: Disabled)
Enable when comparing multiple instruments or timeframes simultaneously
Z-Score converts values to standard deviations from the mean
• Z-Score Threshold - When using Z-Score Normalization mode, sets the extreme zone levels (Default: 2.0)
Represents standard deviations from mean (2.0 = ~95% confidence interval)
Cumulative Transaction Reset
Determines when the cumulative volume delta resets to zero, preventing infinite accumulation. Default: None
• None - Cumulative delta never resets (continues from symbol history start)
• Daily - Resets at the start of each new trading day
• Weekly - Resets at the start of each week
• Monthly - Resets at the start of each month
• On session change - Resets when market opens (useful for 24-hour markets)
Reset modes prevent cumulative drift that can distort ROC calculations over extended periods.
Color Customization Fully customizable color scheme.
-------------------------------------------------------------------
Note: This indicator requires volume data from your data vendor. It uses inferred buy/sell volume. To learn more, read the TradingView Volume Delta documentation. Optimal performance is achieved on liquid instruments with high-frequency data.
Manifold Singularity EngineManifold Singularity Engine: Catastrophe Theory Detection Through Multi-Dimensional Topology Analysis
The Manifold Singularity Engine applies catastrophe theory from mathematical topology to multi-dimensional price space analysis, identifying potential reversal conditions by measuring manifold curvature, topological complexity, and fractal regime states. Unlike traditional reversal indicators that rely on price pattern recognition or momentum oscillators, this system reconstructs the underlying geometric surface (manifold) that price evolves upon and detects points where this topology undergoes catastrophic folding—mathematical singularities that correspond to forced directional changes in price dynamics.
The indicator combines three analytical frameworks: phase space reconstruction that embeds price data into a multi-dimensional coordinate system, catastrophe detection that measures when this embedded manifold reaches critical curvature thresholds indicating topology breaks, and Hurst exponent calculation that classifies the current fractal regime to adaptively weight detection sensitivity. This creates a geometry-based reversal detection system with visual feedback showing topology state, manifold distortion fields, and directional probability projections.
What Makes This Approach Different
Phase Space Embedding Construction
The core analytical method reconstructs price evolution as movement through a three-dimensional coordinate system rather than analyzing price as a one-dimensional time series. The system calculates normalized embedding coordinates: X = normalize(price_velocity, window) , Y = normalize(momentum_acceleration, window) , and Z = normalize(volume_weighted_returns, window) . These coordinates create a trajectory through phase space where price movement traces a path across a geometric surface—the market manifold.
This embedding approach differs fundamentally from traditional technical analysis by treating price not as a sequential data stream but as a dynamical system evolving on a curved surface in multi-dimensional space. The trajectory's geometric properties (curvature, complexity, folding) contain information about impending directional changes that single-dimension analysis cannot capture. When this manifold undergoes rapid topological deformation, price must respond with directional change—this is the mathematical basis for catastrophe detection.
Statistical normalization using z-score transformation (subtracting mean, dividing by standard deviation over a rolling window) ensures the coordinate system remains scale-invariant across different instruments and volatility regimes, allowing identical detection logic to function on forex, crypto, stocks, or indices without recalibration.
Catastrophe Score Calculation
The catastrophe detection formula implements a composite anomaly measurement combining multiple topology metrics: Catastrophe_Score = 0.45×Curvature_Percentile + 0.25×Complexity_Ratio + 0.20×Condition_Percentile + 0.10×Gradient_Percentile . Each component measures a distinct aspect of manifold distortion:
Curvature (κ) is computed using the discrete Laplacian operator: κ = √ , which measures how sharply the manifold surface bends at the current point. High curvature values indicate the surface is folding or developing a sharp corner—geometric precursors to catastrophic topology breaks. The Laplacian measures second derivatives (rate of change of rate of change), capturing acceleration in the trajectory's path through phase space.
Topological Complexity counts sign changes in the curvature field over the embedding window, measuring how chaotically the manifold twists and oscillates. A smooth, stable surface produces low complexity; a highly contorted, unstable surface produces high complexity. This metric detects when the geometric structure becomes informationally dense with multiple local extrema, suggesting an imminent topology simplification event (catastrophe).
Condition Number measures the Jacobian matrix's sensitivity: Condition = |Trace| / |Determinant|, where the Jacobian describes how small changes in price produce changes in the embedding coordinates. High condition numbers indicate numerical instability—points where the coordinate transformation becomes ill-conditioned, suggesting the manifold mapping is approaching a singularity.
Each metric is converted to percentile rank within a rolling window, then combined using weighted sum. The percentile transformation creates adaptive thresholds that automatically adjust to each instrument's characteristic topology without manual recalibration. The resulting 0-100% catastrophe score represents the current bar's position in the distribution of historical manifold distortion—values above the threshold (default 65%) indicate statistically extreme topology states where reversals become geometrically probable.
This multi-metric ensemble approach prevents false signals from isolated anomalies: all four geometric features must simultaneously indicate distortion for a high catastrophe score, ensuring only true manifold breaks trigger detection.
Hurst Exponent Regime Classification
The Hurst exponent calculation implements rescaled range (R/S) analysis to measure the fractal dimension of price returns: H = log(R/S) / log(n) , where R is the range of cumulative deviations from mean and S is the standard deviation. The resulting value classifies market behavior into three fractal regimes:
Trending Regime (H > 0.55) : Persistent price movement where future changes are positively correlated with past changes. The manifold exhibits directional momentum with smooth topology evolution. In this regime, catastrophe signals receive 1.2× confidence multiplier because manifold breaks in trending conditions produce high-magnitude directional changes.
Mean-Reverting Regime (H < 0.45) : Anti-persistent price movement where future changes tend to oppose past changes. The manifold exhibits oscillatory topology with frequent small-scale distortions. Catastrophe signals receive 0.8× confidence multiplier because reversal significance is diminished in choppy conditions where the manifold constantly folds at minor scales.
Random Walk Regime (H ≈ 0.50) : No statistical correlation in returns. The manifold evolution is geometrically neutral with moderate topology stability. Standard 1.0× confidence multiplier applies.
This adaptive weighting system solves a critical problem in reversal detection: the same geometric catastrophe has different trading implications depending on the fractal regime. A manifold fold in a strong trend suggests a significant reversal opportunity; the same fold in mean-reversion suggests a minor oscillation. The Hurst-based regime filter ensures detection sensitivity automatically adjusts to market character without requiring trader intervention.
The implementation uses logarithmic price returns rather than raw prices to ensure
stationarity, and applies the calculation over a configurable window (default 5 bars) to balance responsiveness with statistical validity. The Hurst value is then smoothed using exponential moving average to reduce noise while maintaining regime transition detection.
Multi-Layer Confirmation Architecture
The system implements five independent confirmation filters that must simultaneously validate
before any singularity signal generates:
1. Catastrophe Threshold : The composite anomaly score must exceed the configured threshold (default 0.65 on 0-1 scale), ensuring the manifold distortion is statistically extreme relative to recent history.
2. Pivot Structure Confirmation : Traditional swing high/low patterns (using ta.pivothigh and ta.pivotlow with configurable lookback) must form at the catastrophe bar. This ensures the geometric singularity coincides with observable price structure rather than occurring mid-swing where interpretation is ambiguous.
3. Swing Size Validation : The pivot magnitude must exceed a minimum threshold measured in ATR units (default 1.5× Average True Range). This filter prevents signals on insignificant price jiggles that lack meaningful reversal potential, ensuring only substantial swings with adequate risk/reward ratios generate signals.
4. Volume Confirmation : Current volume must exceed 1.3× the 20-period moving average, confirming genuine market participation rather than low-liquidity price noise. Manifold catastrophes without volume support often represent false topology breaks that don't translate to sustained directional change.
5. Regime Validity : The market must be classified as either trending (ADX > configured threshold, default 30) or volatile (ATR expansion > configured threshold, default 40% above 30-bar average), and must NOT be in choppy/ranging state. This critical filter prevents trading during geometrically unfavorable conditions where edge deteriorates.
All five conditions must evaluate true simultaneously for a signal to generate. This conjunction-based logic (AND not OR) dramatically reduces false positives while preserving true reversal detection. The architecture recognizes that geometric catastrophes occur frequently in noisy data, but only those catastrophes that align with confirming evidence across price structure, participation, and regime characteristics represent tradable opportunities.
A cooldown mechanism (default 8 bars between signals) prevents signal clustering at extended pivot zones where the manifold may undergo multiple small catastrophes during a single reversal process.
Direction Classification System
Unlike binary bull/bear systems, the indicator implements a voting mechanism combining four
directional indicators to classify each catastrophe:
Pivot Vote : +1 if pivot low, -1 if pivot high, 0 otherwise
Trend Vote : Based on slow frequency (55-period EMA) slope—+1 if rising, -1 if falling, 0 if flat
Flow Vote : Based on Y-gradient (momentum acceleration)—+1 if positive, -1 if negative, 0 if neutral
Mid-Band Vote : Based on price position relative to medium frequency (21-period EMA)—+1 if above, -1 if below, 0 if at
The total vote sum classifies the singularity: ≥2 votes = Bullish , ≤-2 votes = Bearish , -1 to +1 votes = Neutral (skip) . This majority-consensus approach ensures directional classification requires alignment across multiple timeframes and analysis dimensions rather than relying on a single indicator. Neutral signals (mixed voting) are displayed but should not be traded, as they represent geometric catastrophes without clear directional resolution.
Core Calculation Methodology
Embedding Coordinate Generation
Three normalized phase space coordinates are constructed from price data:
X-Dimension (Velocity Space):
price_velocity = close - close
X = (price_velocity - mean) / stdev over hurstWindow
Y-Dimension (Acceleration Space):
momentum = close - close
momentum_accel = momentum - momentum
Y = (momentum_accel - mean) / stdev over hurstWindow
Z-Dimension (Volume-Weighted Space):
vol_normalized = (volume - mean) / stdev over embedLength
roc = (close - close ) / close
Z = (roc × vol_normalized - mean) / stdev over hurstWindow
These coordinates define a point in 3D phase space for each bar. The trajectory connecting these points is the reconstructed manifold.
Gradient Field Calculation
First derivatives measure local manifold slope:
dX/dt = X - X
dY/dt = Y - Y
Gradient_Magnitude = √
The gradient direction indicates where the manifold is "pushing" price. Positive Y-gradient suggests upward topological pressure; negative Y-gradient suggests downward pressure.
Curvature Tensor Components
Second derivatives measure manifold bending using discrete Laplacian:
Laplacian_X = X - 2×X + X
Laplacian_Y = Y - 2×Y + Y
Laplacian_Magnitude = √
This is then normalized:
Curvature_Normalized = (Laplacian_Magnitude - mean) / stdev over embedLength
High normalized curvature (>1.5) indicates sharp manifold folding.
Complexity Accumulation
Sign changes in curvature field are counted:
Sign_Flip = 1 if sign(Curvature ) ≠ sign(Curvature ), else 0
Topological_Complexity = sum(Sign_Flip) over embedLength window
This measures oscillation frequency in the geometry. Complexity >5 indicates chaotic topology.
Condition Number Stability Analysis
Jacobian matrix sensitivity is approximated:
dX/dp = dX/dt / (price_change + epsilon)
dY/dp = dY/dt / (price_change + epsilon)
Jacobian_Determinant = (dX/dt × dY/dp) - (dX/dp × dY/dt)
Jacobian_Trace = dX/dt + dY/dp
Condition_Number = |Trace| / (|Determinant| + epsilon)
High condition numbers indicate numerical instability near singularities.
Catastrophe Score Assembly
Each metric is converted to percentile rank over embedLength window, then combined:
Curvature_Percentile = percentrank(abs(Curvature_Normalized), embedLength)
Gradient_Percentile = percentrank(Gradient_Magnitude, embedLength)
Condition_Percentile = percentrank(abs(Condition_Z_Score), embedLength)
Complexity_Ratio = clamp(Topological_Complexity / embedLength, 0, 1)
Final score:
Raw_Anomaly = 0.45×Curvature_P + 0.25×Complexity_R + 0.20×Condition_P + 0.10×Gradient_P
Catastrophe_Score = Raw_Anomaly × Hurst_Multiplier
Values are clamped to range.
Hurst Exponent Calculation
Rescaled range analysis on log returns:
Calculate log returns: r = log(close) - log(close )
Compute cumulative deviations from mean
Find range: R = max(cumulative_dev) - min(cumulative_dev)
Calculate standard deviation: S = stdev(r, hurstWindow)
Compute R/S ratio
Hurst = log(R/S) / log(hurstWindow)
Clamp to and smooth with 5-period EMA
Regime Classification Logic
Volatility Regime:
ATR_MA = SMA(ATR(14), 30)
Vol_Expansion = ATR / ATR_MA
Is_Volatile = Vol_Expansion > (1.0 + minVolExpansion)
Trend Regime (Corrected ADX):
Calculate directional movement (DM+, DM-)
Smooth with Wilder's RMA(14)
Compute DI+ and DI- as percentages
Calculate DX = |DI+ - DI-| / (DI+ + DI-) × 100
ADX = RMA(DX, 14)
Is_Trending = ADX > (trendStrength × 100)
Chop Detection:
Is_Chopping = NOT Is_Trending AND NOT Is_Volatile
Regime Validity:
Regime_Valid = (Is_Trending OR Is_Volatile) AND NOT Is_Chopping
Signal Generation Logic
For each bar:
Check if catastrophe score > topologyStrength threshold
Verify regime is valid
Confirm Hurst alignment (trending or mean-reverting with pivot)
Validate pivot quality (price extended outside spectral bands then re-entered)
Confirm volume/volatility participation
Check cooldown period has elapsed
If all true: compute directional vote
If vote ≥2: Bullish Singularity
If vote ≤-2: Bearish Singularity
If -1 to +1: Neutral (display but skip)
All conditions must be true for signal generation.
Visual System Architecture
Spectral Decomposition Layers
Three harmonic frequency bands visualize entropy state:
Layer 1 (Surface Frequency):
Center: EMA(8)
Width: ±0.3 × 0.5 × ATR
Transparency: 75% (most visible)
Represents fast oscillations
Layer 2 (Mid Frequency):
Center: EMA(21)
Width: ±0.5 × 0.5 × ATR
Transparency: 85%
Represents medium cycles
Layer 3 (Deep Frequency):
Center: EMA(55)
Width: ±0.7 × 0.5 × ATR
Transparency: 92% (most transparent)
Represents slow baseline
Convergence of layers indicates low entropy (stable topology). Divergence indicates high entropy (catastrophe building). This decomposition reveals how different frequency components of price movement interact—when all three align, the manifold is in equilibrium; when they separate, topology is unstable.
Energy Radiance Fields
Concentric boxes emanate from each singularity bar:
For each singularity, 5 layers are generated:
Layer n: bar_index ± (n × 1.5 bars), close ± (n × 0.4 × ATR)
Transparency gradient: inner 75% → outer 95%
Color matches signal direction
These fields visualize the "energy well" of the catastrophe—wider fields indicate stronger topology distortion. The exponential expansion creates a natural radiance effect.
Singularity Node Geometry
N-sided polygon (default hexagon) at each signal bar:
Vertices calculated using polar coordinates
Rotation angle: bar_index × 0.1 (creates animation)
Radius: ATR × singularity_strength × 2
Connects vertices with colored lines
The rotating geometric primitive marks the exact catastrophe bar with visual prominence.
Gradient Flow Field
Directional arrows display manifold slope:
Spawns every 3 bars when gradient_magnitude > 0.1
Symbol: "↗" if dY/dt > 0.1, "↘" if dY/dt < -0.1, "→" if neutral
Color: Bull/bear/neutral based on direction
Density limited to flowDensity parameter
Arrows cluster when gradient is strong, creating intuitive topology visualization.
Probability Projection Cones
Forward trajectory from each singularity:
Projects 10 bars forward
Direction based on vote classification
Center line: close + (direction × ATR × 3)
Uncertainty width: ATR × singularity_strength × 2
Dashed boundaries, solid center
These are mathematical projections based on current gradient, not price targets. They visualize expected manifold evolution if topology continues current trajectory.
Dashboard Metrics Explanation
The real-time control panel displays six core metrics plus regime status:
H (Hurst Exponent):
Value: Current Hurst (0-1 scale)
Label: TREND (>0.55), REVERT (<0.45), or RANDOM (0.45-0.55)
Icon: Direction arrow based on regime
Purpose: Shows fractal character—only trade when favorable
Σ (Catastrophe Score):
Value: Current composite anomaly (0-100%)
Bar gauge shows relative strength
Icon: ◆ if above threshold, ○ if below
Purpose: Primary signal strength indicator
κ (Curvature):
Value: Normalized Laplacian magnitude
Direction arrow shows sign
Color codes severity (green<0.8, yellow<1.5, red≥1.5)
Purpose: Shows manifold bending intensity
⟳ (Topology Complexity):
Value: Count of sign flips in curvature
Icon: ◆ if >3, ○ otherwise
Color codes chaos level
Purpose: Indicates geometric instability
V (Volatility Expansion):
Value: ATR expansion percentage above 30-bar average
Icon: ● if volatile, ○ otherwise
Purpose: Confirms energy present for reversal
T (Trend Strength):
Value: ADX reading (0-100)
Icon: ● if trending, ○ otherwise
Purpose: Shows directional bias strength
R (Regime):
Label: EXPLOSIVE / TREND / VOLATILE / CHOP / NEUTRAL
Icon: ✓ if valid, ✗ if invalid
Purpose: Go/no-go filter for trading
STATE (Bottom Display):
Shows: "◆ BULL SINGULARITY" (green), "◆ BEAR SINGULARITY" (red), "◆ WEAK/NEUTRAL" (orange), or "— Monitoring —" (gray)
Purpose: Current signal status at a glance
How to Use This Indicator
Initial Setup and Configuration
Apply the indicator to your chart with default settings as a starting point. The default parameters (21-bar embedding, 5-bar Hurst window, 2.5σ singularity threshold, 0.65 topology confirmation) are optimized for balanced detection across most instruments and timeframes. For very fast markets (scalping crypto, 1-5min charts), consider reducing embedding depth to 13-15 bars and Hurst window to 3 bars for more responsive detection. For slower markets (swing trading stocks, 4H-Daily charts), increase embedding depth to 34-55 bars and Hurst window to 8-10 bars for more stable topology measurement.
Enable the dashboard (top right recommended) to monitor real-time metrics. The control panel is your primary decision interface—glancing at the dashboard should instantly communicate whether conditions favor trading and what the current topology state is. Position and size the dashboard to remain visible but not obscure price action.
Enable regime filtering (strongly recommended) to prevent trading during choppy/ranging conditions where geometric edge deteriorates. This single setting can dramatically improve overall performance by eliminating low-probability environments.
Reading Dashboard Metrics for Trade Readiness
Before considering any trade, verify the dashboard shows favorable conditions:
Hurst (H) Check:
The Hurst Exponent reading is your first filter. Only consider trades when H > 0.50 . Ideal conditions show H > 0.60 with "TREND" label—this indicates persistent directional price movement where manifold catastrophes produce significant reversals. When H < 0.45 (REVERT label), the market is mean-reverting and catastrophes represent minor oscillations rather than substantial pivots. Do not trade in mean-reverting regimes unless you're explicitly using range-bound strategies (which this indicator is not optimized for). When H ≈ 0.50 (RANDOM label), edge is neutral—acceptable but not ideal.
Catastrophe (Σ) Monitoring:
Watch the Σ percentage build over time. Readings consistently below 50% indicate stable topology with no imminent reversals. When Σ rises above 60-65%, manifold distortion is approaching critical levels. Signals only fire when Σ exceeds the configured threshold (default 65%), so this metric pre-warns you of potential upcoming catastrophes. High-conviction setups show Σ > 75%.
Regime (R) Validation:
The regime classification must read TREND, VOLATILE, or EXPLOSIVE—never trade when it reads CHOP or NEUTRAL. The checkmark (✓) must be present in the regime cell for trading conditions to be valid. If you see an X (✗), skip all signals until regime improves. This filter alone eliminates most losing trades by avoiding geometrically unfavorable environments.
Combined High-Conviction Profile:
The strongest trading opportunities show simultaneously:
H > 0.60 (strong trending regime)
Σ > 75% (extreme topology distortion)
R = EXPLOSIVE or TREND with ✓
κ (Curvature) > 1.5 (sharp manifold fold)
⟳ (Complexity) > 4 (chaotic geometry)
V (Volatility) showing elevated ATR expansion
When all metrics align in this configuration, the manifold is undergoing severe distortion in a favorable fractal regime—these represent maximum-conviction reversal opportunities.
Signal Interpretation and Entry Logic
Bullish Singularity (▲ Green Triangle Below Bar):
This marker appears when the system detects a manifold catastrophe at a price low with bullish directional consensus. All five confirmation filters have aligned: topology score exceeded threshold, pivot low structure formed, swing size was significant, volume/volatility confirmed participation, and regime was valid. The green color indicates the directional vote totaled +2 or higher (majority bullish).
Trading Approach: Consider long entry on the bar immediately following the signal (bar after the triangle). The singularity bar itself is where the geometric catastrophe occurred—entering after allows you to see if price confirms the reversal. Place stop loss below the singularity bar's low (with buffer of 0.5-1.0 ATR for volatility). Initial target can be the previous swing high, or use the probability cone projection as a guide (though not a guarantee). Monitor the dashboard STATE—if it flips to "◆ BEAR SINGULARITY" or Hurst drops significantly, consider exiting even if target not reached.
Bearish Singularity (▼ Red Triangle Above Bar):
This marker appears when the system detects a manifold catastrophe at a price high with bearish directional consensus. Same five-filter confirmation process as bullish signals. The red color indicates directional vote totaled -2 or lower (majority bearish).
Trading Approach: Consider short entry on the bar following the signal. Place stop loss above the singularity bar's high (with buffer). Target previous swing low or use cone projection as reference. Exit if opposite signal fires or Hurst deteriorates.
Neutral Signal (● Orange Circle at Price Level):
This marker indicates the catastrophe detection system identified a topology break that passed catastrophe threshold and regime filters, but the directional voting system produced a mixed result (vote between -1 and +1). This means the four directional components (pivot, trend, flow, mid-band) are not in agreement about which way the reversal should resolve.
Trading Approach: Skip these signals. Neutral markers are displayed for analytical completeness but should not be traded. They represent geometric catastrophes without clear directional resolution—essentially, the manifold is breaking but the direction of the break is ambiguous. Trading neutral signals dramatically increases false signal rate. Only trade green (bullish) or red (bearish) singularities.
Visual Confirmation Using Spectral Layers
The three colored ribbons (spectral decomposition layers) provide entropy visualization that helps confirm signal quality:
Divergent Layers (High Entropy State):
When the three frequency bands (fast 8-period, medium 21-period, slow 55-period) are separated with significant gaps between them, the manifold is in high entropy state—different frequency components of price movement are pulling in different directions. This geometric tension precedes catastrophes. Strong signals often occur when layers are divergent before the signal, then begin reconverging immediately after.
Convergent Layers (Low Entropy State):
When all three ribbons are tightly clustered or overlapping, the manifold is in equilibrium—all frequency components agree. This stable geometry makes catastrophe detection more reliable because topology breaks clearly stand out against the baseline stability. If you see layers converge, then a singularity fires, then layers diverge, this pattern suggests a genuine regime transition.
Signal Quality Assessment:
High-quality singularity signals should show:
Divergent layers (high entropy) in the 5-10 bars before signal
Singularity bar occurs when price has extended outside at least one of the spectral bands (shows pivot extended beyond equilibrium)
Close of singularity bar re-enters the spectral band zone (shows mean reversion starting)
Layers begin reconverging in 3-5 bars after signal (shows new equilibrium forming)
This pattern visually confirms the geometric narrative: manifold became unstable (divergence), reached critical distortion (extended outside equilibrium), broke catastrophically (singularity), and is now stabilizing in new direction (reconvergence).
Using Energy Fields for Trade Management
The concentric glowing boxes around each singularity visualize the topology distortion
magnitude:
Wide Energy Fields (5+ Layers Visible):
Large radiance indicates strong catastrophe with high manifold curvature. These represent significant topology breaks and typically precede larger price moves. Wide fields justify wider profit targets and longer hold times. The outer edge of the largest box can serve as a dynamic support/resistance zone—price often respects these geometric boundaries.
Narrow Energy Fields (2-3 Layers):
Smaller radiance indicates moderate catastrophe. While still valid signals (all filters passed), expect smaller follow-through. Use tighter profit targets and be prepared for quicker exit if momentum doesn't develop. These are valid but lower-conviction trades.
Field Interaction Zones:
When energy fields from consecutive signals overlap or touch, this indicates a prolonged topology distortion region—often corresponds to consolidation zones or complex reversal patterns (head-and-shoulders, double tops/bottoms). Be more cautious in these areas as the manifold is undergoing extended restructuring rather than a clean catastrophe.
Probability Cone Projections
The dashed cone extending forward from each singularity is a mathematical projection, not a
price target:
Cone Direction:
The center line direction (upward for bullish, downward for bearish, flat for neutral) shows the expected trajectory based on current manifold gradient and singularity direction. This is where the topology suggests price "should" go if the catastrophe completes normally.
Cone Width:
The uncertainty band (upper and lower dashed boundaries) represents the range of outcomes given current volatility (ATR-based). Wider cones indicate higher uncertainty—expect more price volatility even if direction is correct. Narrower cones suggest more constrained movement.
Price-Cone Interaction:
Price following near the center line = catastrophe resolving as expected, geometric projection accurate
Price breaking above upper cone = stronger-than-expected reversal, consider holding for larger targets
Price breaking below lower cone (for bullish signal) = catastrophe failing, manifold may be re-folding in opposite direction, consider exit
Price oscillating within cone = normal reversal process, hold position
The 10-bar projection length means cones show expected behavior over the next ~10 bars. Don't confuse this with longer-term price targets.
Gradient Flow Field Interpretation
The directional arrows (↗, ↘, →) scattered across the chart show the manifold's Y-gradient (vertical acceleration dimension):
Upward Arrows (↗):
Positive Y-gradient indicates the momentum acceleration dimension is pushing upward—the manifold topology has upward "slope" at this location. Clusters of upward arrows suggest bullish topological pressure building. These often appear before bullish singularities fire.
Downward Arrows (↘):
Negative Y-gradient indicates downward topological pressure. Clusters precede bearish singularities.
Horizontal Arrows (→):
Neutral gradient indicates balanced topology with no strong directional pressure.
Using Flow Field:
The arrows provide real-time topology state information even between singularity signals. If you're in a long position from a bullish singularity and begin seeing increasing downward arrows appearing, this suggests manifold gradient is shifting—consider tightening stops. Conversely, if arrows remain upward or neutral, topology supports continuation.
Don't confuse arrow direction with immediate price direction—arrows show geometric slope, not price prediction. They're confirmatory context, not entry signals themselves.
Parameter Optimization for Your Trading Style
For Scalping / Fast Trading (1m-15m charts):
Embedding Depth: 13-15 bars (faster topology reconstruction)
Hurst Window: 3 bars (responsive fractal detection)
Singularity Threshold: 2.0-2.3σ (more sensitive)
Topology Confirmation: 0.55-0.60 (lower barrier)
Min Swing Size: 0.8-1.2 ATR (accepts smaller moves)
Pivot Lookback: 3-4 bars (quick pivot detection)
This configuration increases signal frequency for active trading but requires diligent monitoring as false signal rate increases. Use tighter stops.
For Day Trading / Standard Approach (15m-4H charts):
Keep default settings (21 embed, 5 Hurst, 2.5σ, 0.65 confirmation, 1.5 ATR, 5 pivot)
These are balanced for quality over quantity
Best win rate and risk/reward ratio
Recommended for most traders
For Swing Trading / Position Trading (4H-Daily charts):
Embedding Depth: 34-55 bars (stable long-term topology)
Hurst Window: 8-10 bars (smooth fractal measurement)
Singularity Threshold: 3.0-3.5σ (only extreme catastrophes)
Topology Confirmation: 0.75-0.85 (high conviction only)
Min Swing Size: 2.5-4.0 ATR (major moves only)
Pivot Lookback: 8-13 bars (confirmed swings)
This configuration produces infrequent but highly reliable signals suitable for position sizing and longer hold times.
Volatility Adaptation:
In extremely volatile instruments (crypto, penny stocks), increase Min Volatility Expansion to 0.6-0.8 to avoid over-signaling during "always volatile" conditions. In stable instruments (major forex pairs, blue-chip stocks), decrease to 0.3 to allow signals during moderate volatility spikes.
Trend vs Range Preference:
If you prefer trading only strong trends, increase Min Trend Strength to 0.5-0.6 (ADX > 50-60). If you're comfortable with volatility-based trading in weaker trends, decrease to 0.2 (ADX > 20). The default 0.3 balances both approaches.
Complete Trading Workflow Example
Step 1 - Pre-Session Setup:
Load chart with MSE indicator. Check dashboard position is visible. Verify regime filter is enabled. Review recent signals to gauge current instrument behavior.
Step 2 - Market Assessment:
Observe dashboard Hurst reading. If H < 0.45 (mean-reverting), consider skipping this session or using other strategies. If H > 0.50, proceed. Check regime shows TREND, VOLATILE, or EXPLOSIVE with checkmark—if CHOP, wait for regime shift alert.
Step 3 - Signal Wait:
Monitor catastrophe score (Σ). Watch for it climbing above 60%. Observe spectral layers—look for divergence building. If you see curvature (κ) rising above 1.0 and complexity (⟳) increasing, catastrophe is building. Do not anticipate—wait for the actual signal marker.
Step 4 - Signal Recognition:
▲ Bullish or ▼ Bearish triangle appears at a bar. Dashboard STATE changes to "◆ BULL/BEAR SINGULARITY". Energy field appears around the signal bar. Check signal quality:
Was Σ > 70% at signal? (Higher quality)
Are energy fields wide? (Stronger catastrophe)
Did layers diverge before and reconverge after? (Clean break)
Is Hurst still > 0.55? (Good regime)
Step 5 - Entry Decision:
If signal is green/red (not orange neutral), all confirmations look strong, and no immediate contradicting factors appear, prepare entry on next bar open. Wait for confirmation bar to form—ideally it should close in the signal direction (bullish signal → bar closes higher, bearish signal → bar closes lower).
Step 6 - Position Entry:
Enter at open or shortly after open of bar following signal bar. Set stop loss: for bullish signals, place stop at singularity_bar_low - (0.75 × ATR); for bearish signals, place stop at singularity_bar_high + (0.75 × ATR). The buffer accommodates volatility while protecting against catastrophe failure.
Step 7 - Trade Management:
Monitor dashboard continuously:
If Hurst drops below 0.45, consider reducing position
If opposite singularity fires, exit immediately (manifold has re-folded)
If catastrophe score drops below 40% and stays there, topology has stabilized—consider partial profit taking
Watch gradient flow arrows—if they shift to opposite direction persistently, tighten stops
Step 8 - Profit Taking:
Use probability cone as a guide—if price reaches outer cone boundary, consider taking partial profits. If price follows center line cleanly, hold for larger target. Traditional technical targets work well: previous swing high/low, round numbers, Fibonacci extensions. Don't expect precision—manifold projections give direction and magnitude estimates, not exact prices.
Step 9 - Exit:
Exit on: (a) opposite signal appears, (b) dashboard shows regime became invalid (checkmark changes to X), (c) technical target reached, (d) Hurst deteriorates significantly, (e) stop loss hit, or (f) time-based exit if using session limits. Never hold through opposite singularity signals—the manifold has broken in the other direction and your trade thesis is invalidated.
Step 10 - Post-Trade Review:
After exit, review: Did the probability cone projection align with actual price movement? Were the energy fields proportional to move size? Did spectral layers show expected reconvergence? Use these observations to calibrate your interpretation of signal quality over time.
Best Performance Conditions
This topology-based approach performs optimally in specific market environments:
Favorable Conditions:
Well-Developed Swing Structure: Markets with clear rhythm of advances and declines where pivots form at regular intervals. The manifold reconstruction depends on swing formation, so instruments that trend in clear waves work best. Stocks, major forex pairs during active sessions, and established crypto assets typically exhibit this characteristic.
Sufficient Volatility for Topology Development: The embedding process requires meaningful price movement to construct multi-dimensional coordinates. Extremely quiet markets (tight consolidations, holiday trading, after-hours) lack the volatility needed for manifold differentiation. Look for ATR expansion above average—when volatility is present, geometry becomes meaningful.
Trending with Periodic Reversals: The ideal environment is not pure trend (which rarely reverses) nor pure range (which reverses constantly at small scale), but rather trending behavior punctuated by occasional significant counter-trend reversals. This creates the catastrophe conditions the system is designed to detect: manifold building directional momentum, then undergoing sharp topology break at extremes.
Liquid Instruments Where EMAs Reflect True Flow: The spectral layers and frequency decomposition require that moving averages genuinely represent market consensus. Thinly traded instruments with sporadic orders don't create smooth manifold topology. Prefer instruments with consistent volume where EMA calculations reflect actual capital flow rather than random tick sequences.
Challenging Conditions:
Extremely Choppy / Whipsaw Markets: When price oscillates rapidly with no directional persistence (Hurst < 0.40), the manifold undergoes constant micro-catastrophes that don't translate to tradable reversals. The regime filter helps avoid these, but awareness is important. If you see multiple neutral signals clustering with no follow-through, market is too chaotic for this approach.
Very Low Volatility Consolidation: Tight ranges with ATR below average cause the embedding coordinates to compress into a small region of phase space, reducing geometric differentiation. The manifold becomes nearly flat, and catastrophe detection loses sensitivity. The regime filter's volatility component addresses this, but manually avoiding dead markets improves results.
Gap-Heavy Instruments: Stocks that gap frequently (opening outside previous close) create discontinuities in the manifold trajectory. The embedding process assumes continuous evolution, so gaps introduce artifacts. Most gaps don't invalidate the approach, but instruments with daily gaps >2% regularly may show degraded performance. Consider using higher timeframes (4H, Daily) where gaps are less proportionally significant.
Parabolic Moves / Blowoff Tops: When price enters an exponential acceleration phase (vertical rally or crash), the manifold evolves too rapidly for the standard embedding window to track. Catastrophe detection may lag or produce false signals mid-move. These conditions are rare but identifiable by Hurst > 0.75 combined with ATR expansion >2.0× average. If detected, consider sitting out or using very tight stops as geometry is in extreme distortion.
The system adapts by reducing signal frequency in poor conditions—if you notice long periods with no signals, the topology likely lacks the geometric structure needed for reliable catastrophe detection. This is a feature, not a bug: it prevents forced trading during unfavorable environments.
Theoretical Justification for Approach
Why Manifold Embedding?
Traditional technical analysis treats price as a one-dimensional time series: current price is predicted from past prices in sequential order. This approach ignores the structure of price dynamics—the relationships between velocity, acceleration, and participation that govern how price actually evolves.
Dynamical systems theory (from physics and mathematics) provides an alternative framework: treat price as a state variable in a multi-dimensional phase space. In this view, each market condition corresponds to a point in N-dimensional space, and market evolution is a trajectory through this space. The geometry of this space (its topology) constrains what trajectories are possible.
Manifold embedding reconstructs this hidden geometric structure from observable price data. By creating coordinates from velocity, momentum acceleration, and volume-weighted returns, we map price evolution onto a 3D surface. This surface—the manifold—reveals geometric relationships that aren't visible in price charts alone.
The mathematical theorem underlying this approach (Takens' Embedding Theorem from dynamical systems theory) proves that for deterministic or weakly stochastic systems, a state space reconstruction from time-delayed observations of a single variable captures the essential dynamics of the full system. We apply this principle: even though we only observe price, the embedded coordinates (derivatives of price) reconstruct the underlying dynamical structure.
Why Catastrophe Theory?
Catastrophe theory, developed by mathematician René Thom (Fields Medal 1958), describes how continuous systems can undergo sudden discontinuous changes when control parameters reach critical values. A classic example: gradually increasing force on a beam causes smooth bending, then sudden catastrophic buckling. The beam's geometry reaches a critical curvature where topology must break.
Markets exhibit analogous behavior: gradual price changes build tension in the manifold topology until critical distortion is reached, then abrupt directional change occurs (reversal). Catastrophes aren't random—they're mathematically necessary when geometric constraints are violated.
The indicator detects these geometric precursors: high curvature (manifold bending sharply), high complexity (topology oscillating chaotically), high condition number (coordinate mapping becoming singular). These metrics quantify how close the manifold is to a catastrophic fold. When all simultaneously reach extreme values, topology break is imminent.
This provides a logical foundation for reversal detection that doesn't rely on pattern recognition or historical correlation. We're measuring geometric properties that mathematically must change when systems reach critical states. This is why the approach works across different instruments and timeframes—the underlying geometry is universal.
Why Hurst Exponent?
Markets exhibit fractal behavior: patterns at different time scales show statistical self-similarity. The Hurst exponent quantifies this fractal structure by measuring long-range dependence in returns.
Critically for trading, Hurst determines whether recent price movement predicts future direction (H > 0.5) or predicts the opposite (H < 0.5). This is regime detection: trending vs mean-reverting behavior.
The same manifold catastrophe has different trading implications depending on regime. In trending regime (high Hurst), catastrophes represent significant reversal opportunities because the manifold has been building directional momentum that suddenly breaks. In mean-reverting regime (low Hurst), catastrophes represent minor oscillations because the manifold constantly folds at small scales.
By weighting catastrophe signals based on Hurst, the system adapts detection sensitivity to the current fractal regime. This is a form of meta-analysis: not just detecting geometric breaks, but evaluating whether those breaks are meaningful in the current fractal context.
Why Multi-Layer Confirmation?
Geometric anomalies occur frequently in noisy market data. Not every high-curvature point represents a tradable reversal—many are artifacts of microstructure noise, order flow imbalances, or low-liquidity ticks.
The five-filter confirmation system (catastrophe threshold, pivot structure, swing size, volume, regime) addresses this by requiring geometric anomalies to align with observable market evidence. This conjunction-based logic implements the principle: extraordinary claims require extraordinary evidence .
A manifold catastrophe (extraordinary geometric event) alone is not sufficient. We additionally require: price formed a pivot (visible structure), swing was significant (adequate magnitude), volume confirmed participation (capital backed the move), and regime was favorable (trending or volatile, not chopping). Only when all five dimensions agree do we have sufficient evidence that the geometric anomaly represents a genuine reversal opportunity rather than noise.
This multi-dimensional approach is analogous to medical diagnosis: no single test is conclusive, but when multiple independent tests all suggest the same condition, confidence increases dramatically. Each filter removes a different category of false signals, and their combination creates a robust detection system.
The result is a signal set with dramatically improved reliability compared to any single metric alone. This is the power of ensemble methods applied to geometric analysis.
Important Disclaimers
This indicator applies mathematical topology and catastrophe theory to multi-dimensional price space reconstruction. It identifies geometric conditions where manifold curvature, topological complexity, and coordinate singularities suggest potential reversal zones based on phase space analysis. It should not be used as a standalone trading system.
The embedding coordinates, catastrophe scores, and Hurst calculations are deterministic mathematical formulas applied to historical price data. These measurements describe current and recent geometric relationships in the reconstructed manifold but do not predict future price movements. Past geometric patterns and singularity markers do not guarantee future market behavior will follow similar topology evolution.
The manifold reconstruction assumes certain mathematical properties (sufficient embedding dimension, quasi-stationarity, continuous dynamics) that may not hold in all market conditions. Gaps, flash crashes, circuit breakers, news events, and other discontinuities can violate these assumptions. The system attempts to filter problematic conditions through regime classification, but cannot eliminate all edge cases.
The spectral decomposition, energy fields, and probability cones are visualization aids that represent mathematical constructs, not price predictions. The probability cone projects current gradient forward assuming topology continues current trajectory—this is a mathematical "if-then" statement, not a forecast. Market topology can and does change unexpectedly.
All trading involves substantial risk. The singularity markers represent analytical conditions where geometric mathematics align with threshold criteria, not certainty of directional change. Use appropriate risk management for every trade: position sizing based on account risk tolerance (typically 1-2% maximum risk per trade), stop losses placed beyond recent structure plus volatility buffer, and never risk capital needed for living expenses.
The confirmation filters (pivot, swing size, volume, regime) are designed to reduce false signals but cannot eliminate them entirely. Markets can produce geometric anomalies that pass all filters yet fail to develop into sustained reversals. This is inherent to probabilistic systems operating on noisy real-world data.
No indicator can guarantee profitable trades or eliminate losses. The catastrophe detection provides an analytical framework for identifying potential reversal conditions, but actual trading outcomes depend on numerous factors including execution, slippage, spreads, position sizing, risk management, psychological discipline, and market conditions that may change after signal generation.
Use this tool as one component of a comprehensive trading plan that includes multiple forms of analysis, proper risk management, emotional discipline, and realistic expectations about win rates and drawdowns. Combine catastrophe signals with additional confirmation methods such as support/resistance analysis, volume patterns, multi-timeframe alignment, and broader market context.
The spacing filter, cooldown mechanism, and regime validation are designed to reduce noise and over-signaling, but market conditions can change rapidly and render any analytical signal invalid. Always use stop losses and never risk capital you cannot afford to lose. Past performance of detection accuracy does not guarantee future results.
Technical Implementation Notes
All calculations execute on closed bars only—signals and metric values do not repaint after bar close. The indicator does not use any lookahead bias in its calculations. However, the pivot detection mechanism (ta.pivothigh and ta.pivotlow) inherently identifies pivots with a lag equal to the lookback parameter, meaning the actual pivot occurred at bar but is recognized at bar . This is standard behavior for pivot functions and is not repainting—once recognized, the pivot bar never changes.
The normalization system (z-score transformation over rolling windows) requires approximately 30-50 bars of historical data to establish stable statistics. Values in the first 30-50 bars after adding the indicator may show instability as the rolling means and standard deviations converge. Allow adequate warmup period before relying on signals.
The spectral layer arrays, energy field boxes, gradient flow labels, and node geometry lines are subject to TradingView drawing object limits (500 lines, 500 boxes, 500 labels per indicator as specified in settings). The system implements automatic cleanup by deleting oldest objects when limits approach, but on very long charts with many signals, some historical visual elements may be removed to stay within limits. This does not affect signal generation or dashboard metrics—only historical visual artifacts.
Dashboard and visual rendering update only on the last bar to minimize computational overhead. The catastrophe detection logic executes on every bar, but table cells and drawing objects refresh conditionally to optimize performance. If experiencing chart lag, reduce visual complexity: disable spectral layers, energy fields, or flow field to improve rendering speed. Core signal detection continues to function with all visual elements disabled.
The Hurst calculation uses logarithmic returns rather than raw price to ensure stationarity, and implements clipping to range to handle edge cases where R/S analysis produces invalid values (which can occur during extended periods of identical prices or numerical overflow). The 5-period EMA smoothing reduces noise while maintaining responsiveness to regime transitions.
The condition number calculation adds epsilon (1e-10) to denominators to prevent division by zero when Jacobian determinant approaches zero—which is precisely the singularity condition we're detecting. This numerical stability measure ensures the indicator doesn't crash when detecting the very phenomena it's designed to identify.
The indicator has been tested across multiple timeframes (5-minute through daily) and multiple asset classes (forex majors, stock indices, individual equities, cryptocurrencies, commodities, futures). It functions identically across all instruments due to the adaptive normalization approach and percentage-based metrics. No instrument-specific code or parameter sets are required.
The color scheme system implements seven preset themes plus custom mode. Color assignments are applied globally and affect all visual elements simultaneously. The opacity calculation system multiplies component-specific transparency with master opacity to create hierarchical control—adjusting master opacity affects all visuals proportionally while maintaining their relative transparency relationships.
All alert conditions trigger only on bar close to prevent false alerts from intrabar fluctuations. The regime transition alerts (VALID/INVALID) are particularly useful for knowing when trading edge appears or disappears, allowing traders to adjust activity levels accordingly.
— Dskyz, Trade with insight. Trade with anticipation.






















