ANIMATRIX: RED PILL_BLUE PILLANIMATRIX: RED PILL_BLUE PILL
A falling-code visualization styled after the Matrix "digital rain" look where every column isn't random — each one is a live market-condition lane, rendered as a cascading glyph instead of a traditional plot or oscillator.
How it works:
Each bar, the indicator evaluates a set of real technical conditions trend, momentum, volatility, volume, structure, pattern recognition, etc. built from dozens of underlying calculations.
When a condition fires, its dedicated glyph where each one is reserved and never reused elsewhere — drops into the grid and cascades in whatever direction you've set (top-to-bottom, bottom-to-top, left-to-right, or right-to-left).
No condition firing means an empty cell — silence is meaningful too, not just noise filling space.
Red Pill — 17 primary market-condition lanes (Trend, Pressure, Volatility, Divergence, Volume/Whale, Reversal/Pattern, Structure/Levels, Regime, Wyckoff Phase, Fair Value Gap, Breakout, Support/Resistance Flip, Momentum Exhaustion, Multi-Timeframe Alignment, Session Open Range, Trend Acceleration, and Liquidity Grab), plus a Confluence marker (fires when enough lanes align) and a Dormant marker (flags dead/flat stretches).
Blue Pill — 12 "preceding" early-warning and rarer sub-event lanes (building exhaustion, squeeze setups, liquidity sweep setups, extreme order flow, delta-price divergence, FVG extras, PDC reclaim/rejection, session bias flips, etc.), plus a Conflict Warning marker for when opposing signals fire at once.
Layout Mode — Fixed (each lane always in the same slot), Full Drift (lanes shuffle position each tick), or Neo (a hybrid of the two).
Global Sensitivity — one dial that scales every lane's trigger thresholds at once, on top of each lane's own individual settings.
Two on-chart legend tables (one per Pill) spell out what every glyph means, with independent visibility, size, and position controls.
Full styling control — glyph size, transparency, per-lane colors (all grouped in the Style section), and cascade speed/direction.
In short: it's a technical dashboard disguised as ambient code — glance at the chart and the pattern of glyphs tells you what's actually happening underneath, without reading a single number. Indicator

TIS - BTC ESTRATEGIA Momentum + Confluencia¿Que hace este sistema?
Compra la fuerza a favor de la tendencia; pero solo cuando el diario confirma
La mayoría de los sistemas de momentum fallan por lo mismo: entran en cada impulso que ven. Este no. Opera en 4 horas, pero exige que el gráfico diario tenga momentum al mismo tiempo. Si las dos escalas no coinciden, no hay trade.
Ese único filtro es lo que separa este sistema de un generador de señales cualquiera. En la investigación, exigir la confluencia llevó el Recovery Factor fuera de muestra de 0,96 a 14,7. No porque gane más por operación, sino porque descarta la mayoría de las señales y deja solo las que tienen las dos escalas empujando en la misma dirección.
Resultado: 81 operaciones en 9 años. Es un sistema deliberadamente selectivo.
Las reglas, completas
1 · Solo a favor de la tendencia Long únicamente si el precio está por encima de su SMA de 50.
2 · Entrada por momentum 3 velas verdes consecutivas (cierre > apertura) en 4 horas.
3 · Confluencia: el filtro clave El gráfico diario tiene que tener su propia racha de 3 velas verdes. Si el diario no ha disparado, la señal de 4h se ignora por completo. Es un hecho binario: disparó o no disparó. No es una media que haya que elegir ni un umbral que haya que optimizar — por eso tiene menos perillas que romper.
4 · Tamaño por riesgo (ATR) Cada posición arriesga ~1% del capital, medido contra una distancia de 3 × ATR(14). Cuando hay confluencia el tamaño se multiplica por 1,5. Tope duro de exposición: 40% de la cuenta.
5 · Salidas
Giro de media: cierra en cuanto el precio cierra por debajo de la SMA de 50.
Corte de cola: sale al instante si una vela va en contra más de 2 × ATR.
Sin stop fijo, sin take profit, sin trailing. Se probaron todos: ninguno mejoró el resultado.
Resultados del backtest
BINANCE:BTCUSDT · 4 horas · 17-ago-2017 → 20-jul-2026
Capital inicial $100.000
Beneficio neto +$201.117 (+201%)
Rentabilidad anual (CAGR) 13,1%
Máxima caída 6,2% (intradía, sobre el pico de capital)
Profit Factor 4,42
Operaciones 81
Aciertos 53,1%
Ganancia media / pérdida media 3,9 : 1
Duración media 7,2 días
Sharpe / Sortino 0,26 / 1,47
Construcción 2017-2020. Validación 2021-2026 con datos que el sistema nunca vio. La curva se comporta igual a un lado y al otro de esa línea; eso es lo que se estaba buscando, no el retorno.
El dato que importa:
En ese mismo periodo, BTC cayó un 83% (mínimo de diciembre de 2018). El sistema cayó un 6,2%.
Y la otra cara, porque sin ella la comparación es tramposa: comprar y aguantar rindió +1.389%, muy por encima del +201% del sistema. En retorno bruto, BTC gana de calle. Lo que cambia es el precio emocional: por cada punto de caída, el sistema devolvió 32 puntos de retorno; comprar y aguantar, 16,7. Aguantar un -83% es fácil en un gráfico y casi nadie lo hace en vivo.
Ajustes del backtest (transparencia)
Capital inicial $100.000 · sin apalancamiento · una posición a la vez
Órdenes ejecutadas al cierre de la vela (process_orders_on_close)
Slippage: 5 ticks
Comisión: 0 — hay que decirlo claro. Con la comisión spot de Binance (0,10%) sobre los $11,03 M de volumen negociado, el neto baja de $201.117 a ~$190.000 (+190% en vez de +201%). El sistema opera poco, así que el impacto existe pero no cambia la conclusión.
No repinta: la confluencia diaria se lee con lookahead_off y las señales se evalúan en cierre de vela.
Lo que este sistema NO hace
Es un sistema long-only. Gana en los mercados alcistas (2021, 2023, 2024) y en los bajistas queda casi plano: no gana, pero protege el capital; nunca tuvo un año de pérdida seria. Necesita que BTC no colapse.
No es all-weather. Para ganar en bajista hace falta el lado corto, que es otro problema y no está resuelto aquí. ¡Pero pronto puedo publicarlo, así que sígueme!
Si buscas algo que gane todos los años, construye un portafolio y vuelvelo una probabilidad!
Tampoco es un sistema de alta frecuencia: 9 operaciones al año de media. Habrá meses enteros sin hacer nada. Esa es la característica, no el defecto.
Cómo usarlo:
Pensado para BTC/USDT en 4 horas. Todos los parámetros son configurables, pero se dejaron en valores redondos a propósito (50, 3, 14, 3,0, 1%), el sistema aguanta al moverlos, y esa robustez es más valiosa que el punto óptimo del backtest.
El fondo verde marca cuándo el diario tiene momentum: si no está verde, no puede haber entrada.
Contenido educativo. Los resultados pasados no garantizan resultados futuros. Esto no es asesoría financiera; es un sistema documentado para que puedas estudiarlo, cuestionarlo y decidir por ti mismo.
Trade It Simple — trading sistemático, explicado simple. @mariellangsaez
ENGLISH DESCRIPTION:
Buy strength with the trend — but only when the daily confirms
Most momentum systems fail for the same reason: they take every impulse they see. This one doesn't. It trades the 4-hour chart, but it requires the daily chart to have momentum at the same time. If the two timeframes don't agree, there is no trade.
That single filter is what separates this from a generic signal generator. In testing, requiring confluence moved the out-of-sample Recovery Factor from 0.96 to 14.7. Not because it wins more per trade, but because it throws away most of the signals and keeps only the ones with both timeframes pushing the same way.
The result: 81 trades in 9 years. This system is deliberately selective.
The complete rules
1 · Trend only Long only when price is above its 50-period SMA.
2 · Momentum entry 3 consecutive green candles (close > open) on the 4-hour chart.
3 · Confluence — the key filter The daily chart must have its own run of 3 green candles. If the daily hasn't fired, the 4-hour signal is ignored entirely. It's a binary fact: it fired or it didn't. It isn't a moving average you have to pick or a threshold you have to optimize — which is exactly why it has fewer knobs to break.
4 · Risk-based position sizing (ATR) Each position risks ~1% of equity, measured against a distance of 3 × ATR(14). When confluence is present, size is multiplied by 1.5. Hard exposure cap: 40% of the account.
5 · Exits
Mean reversal: closes as soon as price closes below the 50 SMA.
Tail cut: exits immediately if a single candle moves against the position by more than 2 × ATR.
No fixed stop, no take profit, no trailing stop. All three were tested. None of them improved the result.
Backtest results
BINANCE:BTCUSDT · 4H · Aug 17, 2017 → Jul 20, 2026
Initial capital $100,000
Net profit +$201,117 (+201%)
Annualized return (CAGR) 13.1%
Max drawdown 6.2% (intrabar, against peak equity)
Profit factor 4.42
Total trades 81
Percent profitable 53.1%
Average win / average loss 3.9 : 1
Average duration 7.2 days
Sharpe / Sortino 0.26 / 1.47
Built on 2017-2020. Validated on 2021-2026 — data the system had never seen. The curve behaves the same on both sides of that line. That, not the return, was the goal.
The number that actually matters
Over that same period, BTC drew down 83% (December 2018 low). This system drew down 6.2%.
And the other side of it, because without this the comparison is dishonest: buy and hold returned +1,389%, far above the system's +201%. On raw return, BTC wins by a mile. What changes is the emotional price. For every point of drawdown, the system returned 32 points of profit; buy and hold returned 16.7. Sitting through an 83% drawdown looks easy on a chart, and almost nobody does it live.
Backtest settings (full transparency)
$100,000 initial capital · no leverage · one position at a time
Orders filled on bar close (process_orders_on_close)
Slippage: 5 ticks
Commission: 0 — and this needs saying plainly. Applying Binance spot taker fees (0.10%) to the $11.03M of volume traded, net profit drops from $201,117 to roughly $190,000 (+190% instead of +201%). The system trades rarely, so the impact is real but doesn't change the conclusion.
No repainting: daily confluence is read with lookahead_off, and all signals are evaluated on bar close.
What this system does NOT do
This is a long-only system. It makes money in bull markets (2021, 2023, 2024) and goes nearly flat in bear markets: it doesn't profit, but it protects capital — it has never had a seriously losing year. It needs BTC not to collapse.
It is not all-weather. Profiting in a bear market requires the short side, which is a different problem and is not solved here. If you want something that makes money every year, this isn't it.
It's also not a high-frequency system: 9 trades per year on average. There will be entire months with no activity. That's the feature, not the flaw.
How to use it
Built for BTC/USDT on the 4-hour chart. Every parameter is configurable, but they were deliberately left on round numbers (50, 3, 14, 3.0, 1%) — the system holds up when you move them, and that robustness is worth more than the backtest's optimal point.
The green background marks when the daily has momentum. If it isn't green, no entry is possible.
Educational content. Past results do not guarantee future results. This is not financial advice — it's a documented system, published so you can study it, challenge it, and decide for yourself.
Trade It Simple — systematic trading, explained simply. Strategy

Indicator

Post-Earnings Return DashboardPost-Earnings Return Dashboard
Post-Earnings Return Dashboard is designed to show how a stock has historically performed after earnings reports.
The script automatically detects earnings events using PulseWire’s built-in earnings data, calculates post-earnings returns over several periods, and displays the results in an on-chart dashboard.
What the indicator measures
For each detected earnings report, the indicator calculates the stock’s return after:
1 trading session
5 trading sessions
10 trading sessions
20 trading sessions
The return is calculated using:
Return = Future closing price divided by the selected reference price, minus 1, multiplied by 100.
Dashboard statistics
For each return period, the dashboard displays:
Reports — the number of completed earnings observations included in the calculation
Average — the average return across the selected earnings history
Median — the middle result when all returns are arranged from lowest to highest
Win rate — the percentage of earnings events that produced a positive return
A return of exactly 0% is not counted as a win.
The number of observations may differ between periods because the latest earnings report may not yet have completed the 10-session or 20-session measurement window.
Latest row
The Latest row shows the completed returns following the most recently detected earnings report.
1D — return after 1 trading session
5D — return after 5 trading sessions
10D — return after 10 trading sessions
20D — return after 20 trading sessions
Once a measurement period has completed, its value is stored and does not continue changing.
If the latest earnings event occurred fewer than 20 sessions ago, some longer-period values may remain blank.
Current row
The Current row shows the live return from the latest earnings reference price to the current closing price.
It also displays:
Sessions — the number of trading sessions since the latest detected earnings report
Ticker — the symbol currently displayed on the chart
For example, Current -4.42%, Sessions 17, TSM means the stock is currently trading 4.42% below its selected earnings reference price, 17 trading sessions after the latest report.
EPS row
The bottom row displays information about the latest detected earnings event.
EPS — the reported earnings per share
Estimate — the analyst EPS estimate
Last X — the maximum number of recent earnings reports included in the historical statistics
For example, EPS 4.221, Estimate 3.81, Last 12 means the company reported EPS of 4.221 against an estimate of 3.81, while the dashboard is configured to use up to the latest 12 earnings reports.
Return starting price
The indicator provides two reference-price options.
Previous close
Uses the closing price immediately before the earnings bar.
This is generally the most consistent option for measuring the full market reaction when the exact earnings-release timing is unknown.
Earnings-bar close
Uses the closing price of the bar on which PulseWire registers the earnings event.
This may be more appropriate when the report is known to have been released after that trading session closed.
Historical sample size
Users can choose how many recent earnings reports are included in the statistics.
For a company reporting quarterly:
4 reports is approximately 1 year
8 reports is approximately 2 years
12 reports is approximately 3 years
20 reports is approximately 5 years
A smaller sample may better reflect recent behaviour, while a larger sample may provide a broader long-term view.
Chart markers and labels
The indicator can optionally:
Mark earnings dates with an E symbol
Display historical post-earnings return labels
Show the selected 1, 5, 10, or 20-session return directly on the chart
Display reported and estimated EPS where available
These options can be disabled to keep the chart clean.
Recommended timeframe
This indicator is designed for use on the daily chart.
The script counts chart bars as trading sessions.
On a daily chart:
1 bar equals 1 trading session
5 bars is approximately 1 trading week
20 bars is approximately 1 trading month
Using the indicator on an intraday chart will cause it to count intraday candles rather than trading days, which will produce misleading results.
How to interpret the statistics
The statistics should be considered together rather than individually.
A positive average, positive median, and high win rate may indicate historically consistent post-earnings strength.
A positive average with a negative median may mean that a small number of large gains are distorting the average.
A high win rate with a low average may indicate frequent small gains but occasional large losses.
A low win rate with a positive average may indicate less frequent but much larger winning reactions.
A negative average and negative median may indicate persistent post-earnings weakness over the selected sample.
Potential uses
This indicator may be useful for:
Reviewing a stock before an upcoming earnings report
Studying post-earnings announcement drift
Comparing the latest earnings reaction with previous reports
Assessing whether earnings gaps tend to continue or reverse
Identifying stocks with historically consistent earnings reactions
Supporting swing-trade research
Comparing post-earnings behaviour across different stocks
Evaluating whether holding after earnings has historically been favourable
Data source
The script retrieves earnings information through PulseWire’s built-in request.earnings function.
It uses:
Reported EPS
Estimated EPS
The earnings event bar supplied by PulseWire
The indicator does not scrape company filings or external websites.
Results depend on the earnings and price history available for the selected symbol on PulseWire.
Limitations
PulseWire does not consistently expose the precise release time for every earnings report.
The script may therefore be unable to determine whether an individual report was released before market open, during the trading session, or after market close.
This can affect which closing price most accurately represents the price immediately before the market received the information.
The indicator measures raw stock returns and does not currently adjust for overall market performance, sector performance, index movement, dividends, currency changes, volatility, earnings gap size, revenue surprises, or forward guidance.
A positive return does not necessarily mean the stock outperformed the wider market.
Indicator

Rotation Cycles Dashboard OverlayRotation Cycles Dashboard — Overlay
This indicator identifies four market-cycle phases and displays the current phase in a compact dashboard directly on the price chart.
It is based on the original “Rotation Cycles Graph” concept by VanHe1sing. This modified version uses corrected rolling Z-score normalization, Pine Script v6, and a fixed-size overlay dashboard.
HOW IT WORKS
The indicator calculates two normalized variables:
1. Relative Level
The closing price is converted into a rolling Z-score:
Z-score = (Price − Moving Average) / Standard Deviation
The Z-score is then smoothed using a Hull Moving Average.
A positive Level value indicates that the instrument is trading above its normalized mean, while a negative value indicates that it is trading below its normalized mean.
2. Momentum
Momentum measures the change in the smoothed Z-score over the selected number of bars.
A positive Momentum value indicates improving relative strength. A negative Momentum value indicates weakening relative strength.
Both values are compressed into an approximate range between −1 and +1 to create a stable cycle classification.
CYCLE PHASES
GROWING
Level is positive and Momentum is positive.
The instrument is above its normalized mean and continues to strengthen.
WEAKENING
Level is positive and Momentum is negative.
The instrument remains above its normalized mean, but momentum is deteriorating.
CONTRACTION
Level is negative and Momentum is negative.
The instrument is below its normalized mean and continues to weaken.
RECOVERY
Level is negative and Momentum is positive.
The instrument remains below its normalized mean, but momentum is improving.
DASHBOARD
The fixed-size dashboard displays:
• Current cycle phase
• Relative Level
• Momentum
• Number of bars spent in the current phase
• Cycle strength
Cycle strength measures the distance of the Level and Momentum coordinates from the neutral center. A higher percentage indicates a more developed phase, while a lower percentage indicates that the instrument is closer to a phase transition.
SETTINGS
Z-Score Length
Defines the rolling period used to calculate the price mean and standard deviation.
Z-Score Smoothing
Defines the Hull Moving Average smoothing period applied to the Z-score.
Momentum Length
Defines the number of bars used to measure the change in the smoothed Z-score.
Level Compression
Controls the sensitivity of the Relative Level reading. Higher values keep the Level closer to zero.
Momentum Compression
Controls the sensitivity of the Momentum reading. Higher values keep Momentum closer to zero.
Dashboard Position
Allows the dashboard to be placed in different corners or sides of the chart.
OPTIONAL VISUAL SETTINGS
• Color price bars according to the current cycle phase
• Apply a subtle chart-background tint according to the current phase
ALERTS
Alerts are available when the indicator enters a new phase:
• Growing
• Weakening
• Contraction
• Recovery
Alerts trigger only when a phase transition occurs, rather than on every bar within the same phase.
USAGE
The indicator can be used on stocks, indices, futures, cryptocurrencies, commodities, currencies, and other chart symbols.
It is designed as a market-cycle and momentum-classification tool. It may help identify strengthening, weakening, contraction, and recovery conditions across different timeframes.
The indicator does not predict exact market tops or bottoms. Phase changes may occur after price has already started moving, and short-lived transitions may occur in volatile or sideways markets.
For best results, combine the indicator with:
• Market structure
• Support and resistance
• Trend analysis
• Volume
• Relative strength
• Risk management
CREDITS
Original concept and source code:
VanHe1sing — “Rotation Cycles Graph”
Modified version includes:
• Correct rolling standard-deviation calculation
• Revised Z-score normalization
• Separate Momentum calculation
• Soft value compression
• Pine Script v6 conversion
• Fixed-size price-chart overlay dashboard
• Phase-duration and cycle-strength metrics
• Phase-transition alerts
DISCLAIMER
This indicator is provided for informational and educational purposes only. It does not constitute financial or investment advice.
Past performance and historical cycle behavior do not guarantee future results. Users should perform their own analysis and use appropriate risk management. Indicator

Liquidity Stress Oscillator Pro2 Liquidity Stress Oscillator Pro2
The Liquidity Stress Oscillator Pro2 is a macro risk-regime indicator designed to visualize broad market liquidity stress using a weighted composite of credit, volatility, dollar strength, funding pressure, and yield-curve conditions.
This oscillator is intended to help traders identify when macro liquidity conditions are improving, neutral, deteriorating, or entering elevated stress. In the BTC comparison shown, the oscillator highlights several major macro regime transitions that have aligned with important Bitcoin cycle shifts.
What It Measures;
LSO Pro2 combines normalized z-scores from multiple macro stress inputs:
- CCC option-adjusted spreads
- High-yield credit spreads
- MOVE bond volatility index
- U.S. Dollar Index
- SOFR / repo stress proxy
- 10Y-2Y yield curve
Each component is converted into a z-score over the selected lookback period, then blended into a weighted composite. The yield curve component is inverted so that deeper curve weakness contributes to higher stress.
Regime Levels;
The oscillator uses adjustable regime thresholds to help dial in trends on different timeframes.
Extreme Risk Off
Risk Off
Neutral
Risk On
The line color, background shading, and regime markers update automatically as the composite moves between regimes.
Features;
- Weighted macro liquidity-stress composite
- Adjustable z-score length and smoothing
- Customizable component symbols
- Optional raw composite display
- Regime background shading
- Risk On, Risk Off, and Extreme Risk Off markers
- Regime table with key component readings
- Works across assets and timeframes, especially useful for macro-sensitive markets like BTC, equities, indexes, and risk assets
How To Use;
Rising LSO values indicate increasing macro stress and tightening liquidity conditions. Falling LSO values indicate easing stress and improving risk appetite.
Risk On regimes may support stronger risk-asset environments, while Risk Off and Extreme Risk Off regimes may warn of elevated caution, deleveraging, or liquidity pressure.
This tool is best used as a macro regime filter alongside price action, trend structure, volume, and risk management. It is not designed to generate standalone buy or sell signals.
Notes;
Some symbols may depend on PulseWire data availability. If a component does not load on your chart, replace it in the indicator settings with an equivalent symbol supported by your data feed.
Default weights emphasize credit stress, especially CCC spreads, because lower-quality credit markets often react strongly during liquidity contractions.
Disclaimer;
This indicator is for educational and informational purposes only. It does not provide financial advice and should not be used as the sole basis for trading or investment decisions. Always use proper risk management and perform your own analysis. Indicator

Macro Risk Regime CompositeMacro Risk Regime Composite
The Macro Risk Regime Composite is a multi-factor indicator designed to identify broad risk-on, neutral, and risk-off market environments.
The indicator combines liquidity, currency, interest-rate, credit, crypto-liquidity, and equity-market confirmation data into a single normalized score ranging from 0 to 100.
A higher score indicates a more supportive environment for risk assets, while a lower score indicates tighter financial conditions and a more defensive market regime.
COMPONENTS
1. Net USD Liquidity
Net USD liquidity is calculated as:
Federal Reserve Total Assets
− Overnight Reverse Repo
− U.S. Treasury General Account
Data source:
ECONOMICS:USCBBS − FRED:RRPONTTLD − FRED:WTREGEN
Rising net liquidity is treated as supportive for risk assets.
2. U.S. Dollar Index
Data source:
TVC:DXY
A falling U.S. dollar is treated as supportive, while a rising dollar is treated as restrictive.
3. 10-Year Real Yield
Data source:
FRED:DFII10
Falling real yields are treated as supportive for risk assets. Rising real yields increase the discount rate applied to financial assets and are treated as restrictive.
4. High-Yield Credit Spread
Data source:
FRED:BAMLH0A0HYM2
Narrowing high-yield credit spreads indicate improving risk appetite and easier financial conditions. Widening spreads indicate increasing credit stress.
5. Stablecoin Dominance
Data source:
CRYPTOCAP:USDT.D + CRYPTOCAP:USDC.D
Falling stablecoin dominance is treated as crypto risk-on, as capital is moving from stablecoins into more volatile crypto assets. Rising stablecoin dominance is treated as defensive.
6. Equity Market Confirmation
Data source:
NASDAQ:NDX / SP:SPX
Rising Nasdaq 100 relative strength versus the S&P 500 is treated as confirmation of stronger risk appetite.
CALCULATION
Each component measures its momentum over a configurable number of weeks.
The component impulse is normalized relative to its own historical distribution using a configurable normalization window. The normalized result is converted into a score between 0 and 100.
The final composite is calculated as a weighted average of all active components.
Default weights:
• Net USD Liquidity: 25%
• U.S. Dollar Index: 15%
• 10-Year Real Yield: 20%
• High-Yield Credit Spread: 20%
• Stablecoin Dominance: 10%
• NDX/SPX Confirmation: 10%
REGIME INTERPRETATION
• 65–100: Risk-On
• 35–65: Neutral
• 0–35: Risk-Off
Scores above 50 indicate that the overall macro environment is becoming more supportive. Scores below 50 indicate that financial conditions are becoming more restrictive.
The dashboard also classifies each component as:
• Supportive
• Neutral
• Restrictive
SETTINGS
Momentum Period
Defines the number of weeks used to calculate the change in each component.
Normalization Period
Defines the historical window used to normalize each component relative to its own behavior.
Smoothing
Applies additional smoothing to reduce short-term noise.
Component Weights
Allows users to change the importance of each macro factor or disable individual components.
Risk-On and Risk-Off Thresholds
Allow users to customize the regime classification levels.
USAGE
The indicator is designed primarily for weekly macro and market-cycle analysis.
It may be used as a regime filter for:
• Bitcoin and Ethereum
• Nasdaq 100 and S&P 500
• Growth stocks
• Gold and commodities
• Treasury bonds
• Other risk-sensitive assets
The composite should not be interpreted as a direct entry or exit signal. It is intended to provide context regarding the broader liquidity and financial-conditions environment.
The current weekly reading may change before the weekly candle closes because some data series continue to update during the week.
DISCLAIMER
This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, trading, or legal advice.
No macroeconomic indicator can reliably predict future market performance. Historical relationships may weaken, disappear, or reverse during different market regimes.
Users should combine this indicator with independent analysis, price structure, position sizing, and appropriate risk management. Indicator

Opening Range Breakout Session Strategy [JOAT]Opening Range Breakout Session Strategy
Locks the opening range of your session, then trades disciplined, capped breakouts beyond it with fully framed risk.
What it is
The first minutes of a session set the day's battle lines. The opening range — the high and low forged during that early window — is where overnight orders, gap fills and early positioning collide, and price leaving that range tends to keep going. This indicator builds the opening range objectively, trades confirmed breakouts from it, and enforces the discipline that makes the approach workable: a session filter and a hard daily trade cap. It is an original implementation of the widely-used opening-range-breakout concept.
How it works
• Opening range — during a user-defined opening window (09:30–10:00 by default, in your chosen timezone) the tool records the high and low, then locks them as the reference range and draws a clean box with labelled ORH and ORL levels.
• Session and daily reset — signals are only allowed inside a separate trade-session window, and the range clears cleanly on each new day using a real day-change test, so nothing carries over stale.
• Breakout logic — a Buy fires on a confirmed close above the range high plus a small ATR buffer; a Sell on a confirmed close below the range low minus the buffer. The buffer filters marginal pokes through the edge.
• Discipline — a hard cap of N trades per day plus a minimum-bar spacing control prevent the range edges from generating repeated signals as price oscillates around them.
Trade framing
Each signal projects a red risk box and a green reward box. The stop is either the opposite opening-range edge (structure-based, the default) or an ATR distance, and the three targets ladder out in R multiples with labelled entry, stop and take-profit prices. Extension levels at 1R and 2R from the range edges are also projected as context for where a breakout may travel.
The dashboard
An adjustable session ticket shows the current phase (pre-open, opening, session or locked), the range size, the bias relative to the range, a breakout-extension meter, the trades used against the daily cap, the active signal, and a live first-target-before-stop tally from closed bars only.
How to use it
• Set the opening window, trade session and timezone to match your market (index or futures cash open, an FX session, or a crypto day boundary).
• Wait for the range to lock, then take confirmed breakouts; use the opposite edge as your invalidation and the extension levels as context.
• Respect the daily cap — the discipline is part of the method, not an afterthought.
Settings
Opening-range and trade-session windows, timezone, ATR length, stop mode and multiplier, breakout buffer, target R multiples, maximum trades per day, plus full visual and dashboard controls.
Originality and usefulness
Opening-range breakout is a public concept; the contribution here is the complete, disciplined implementation — objective range locking, a strict session and daily-reset model, buffered confirmed-close breakouts, structure-based stops at the opposite edge, and integrated non-repainting trade framing — explained so each control's purpose is clear.
Notes and limitations
• Range-bound sessions produce whipsaws around the edges; the buffer and daily cap reduce but do not remove this.
• Breakouts fail regularly — the opposite-edge stop and R-based targets exist precisely for that reason.
• Session settings must match the instrument, or the range will be measured at the wrong time.
• The win tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Indicator

Uptrick: Flow Expansion TrendIntroduction
Uptrick: Flow Expansion Trend (FET) is an overlay tool built around an efficiency-adaptive midline that speeds up or slows down based on how directional recent price movement has been. The midline is paired with a volatility-based signal boundary and a minimum flow-strength filter to determine confirmed trend flips, and the script includes a market-state read that classifies current conditions as directional, developing, or compressed. Signal labels can be anchored to price highs and lows, a fixed ATR distance from price, or the midline itself.
Originality
This script's core is an efficiency ratio, calculated as the net price movement over a lookback divided by the sum of all bar-to-bar movement over that same lookback, which produces a value between 0 and 1 describing how directional versus choppy the recent path has been. Rather than using this ratio as a standalone oscillator, it is fed into the smoothing constant of the midline itself, so the midline's responsiveness continuously adjusts between a fast and slow smoothing constant based on current market efficiency. This is what separates the midline from a standard moving average, since it does not use a fixed lookback response but instead reshapes itself with the character of the move.
The signal boundary distance around the midline is also adaptive: it widens or narrows based on the same efficiency reading, so the distance price must travel to trigger a trend flip contracts in efficient, directional conditions and expands in choppier ones. A trend flip additionally requires a minimum flow-strength threshold, a normalized measure of the midline's own rate of change relative to ATR, so a boundary breach alone is not sufficient to flip the trend without accompanying follow-through in the midline's slope.
Combining an adaptive midline, an adaptive signal boundary, and a flow-strength confirmation filter into a single confirmed-trend mechanism is the original contribution of this script, since each of the three components is derived from the same efficiency and volatility inputs but serves a distinct role in preventing premature or noise-driven flips. The selectable signal anchor further separates the trend calculation from the signal display, letting traders choose whether labels sit at the bar's high/low, a fixed ATR offset from price, or directly on the midline, without altering the underlying trend logic in any way.
Features
Efficiency-adaptive midline that adjusts its smoothing speed based on how directional recent price action has been
Adaptive signal boundary that widens in choppy conditions and narrows in directional conditions
Minimum flow-strength filter required alongside a boundary breach to confirm a trend flip
Confirmed-bar trend state calculation to avoid intrabar repainting of the trend flip
Selectable signal anchor for up and down labels: high/low, fixed ATR distance from price, or midline
Adjustable ATR distance value when the ATR distance anchor is selected
Up and down trend signal labels
Optional candle coloring based on the most recent confirmed signal
Adjustable midline width
On-chart dashboard showing trend, market efficiency percentage, flow strength, market state classification, bars since the last signal, and current signal anchor mode
Four selectable dashboard positions
Four alert conditions: up signal, down signal, any trend signal, and market becoming directional
Inputs
Trend Engine: source, trend length, signal distance multiplier, minimum signal strength threshold.
Signals: show/hide up and down signals, signal anchor mode, signal ATR distance.
Visuals: candle coloring toggle, midline width, show/hide dashboard, dashboard position.
How It Works / How to Use
The script measures how efficiently price has moved over the trend length by comparing net displacement to total path length traveled. This efficiency value continuously reshapes the midline's smoothing speed, so the midline hugs price more closely in strong directional runs and lags more in choppy conditions. An ATR-based boundary is placed around the midline, with its distance also scaled by the same efficiency reading. A trend flip is confirmed only when price closes beyond this boundary on a confirmed bar and the midline's own rate of change exceeds the minimum flow-strength threshold in that direction.
Once a flip is confirmed, the up or down label is placed according to the chosen signal anchor: at the bar's high or low, at a fixed ATR distance beyond price, or directly on the midline. This is purely a display choice and does not affect when or why a trend flip occurs.
Traders can use the midline's slope and color for ongoing directional bias, the up and down signals for confirmed flips, and the dashboard's market-state classification to gauge whether current conditions are more suited to trend-following or more likely to produce choppy, range-bound behavior.
Conclusion
Uptrick: Flow Expansion Trend combines an efficiency-adaptive midline, a matching adaptive signal boundary, and a flow-strength confirmation filter into a single trend-following overlay, giving traders a trend read that reshapes itself with current market conditions rather than relying on a fixed-speed average, with flexible signal placement to suit different charting preferences.
Disclaimer
This script is provided for informational and educational purposes only and does not constitute financial advice. Past performance, whether shown historically or implied through the script's logic, does not guarantee future results. Always perform your own due diligence and risk management before making trading decisions. Indicator

Best Order Block Finder - Xcelerate TradeThe Best Order Block Finder - Enhanced - Developed by the Xcelerate Trade team.
Advanced Order Block Detection with Smart Visualization
This professional-grade indicator identifies institutional order blocks using sophisticated price action analysis, helping traders spot high-probability reversal and continuation zones.
🎯 Key Features:
Smart Detection Algorithm:
Identifies bullish and bearish order blocks based on volume pivots and price rejection
Configurable period analysis (2-20 bars) for different market conditions ( It can also be used on small timeframes 1m-15m)
Minimum percentage move filter to eliminate noise
Optional wick-based or body-based detection methods
Visual Excellence:
Clean, professional rectangular zones with customizable transparency
Color-coded labels with percentage move information
Compact design with adjustable block length (2-30 bars)
Dual color schemes: DARK and BRIGHT themes
Bullish blocks in GREEN, Bearish blocks in RED for instant recognition
Advanced Controls:
Maximum order blocks limit (5-50) to prevent chart clutter
Automatic cleanup of old/irrelevant blocks
Optional channel lines for latest order blocks
Information panel showing current OB levels
Real-time alerts for new order block formations
📈 How It Works:
Order blocks represent areas where large institutions have placed significant orders, creating imbalances that often lead to price reversals or strong reactions when retested.
Bullish Order Blocks: Form after bearish candles followed by strong bullish momentum
Bearish Order Blocks: Form after bullish candles followed by strong bearish momentum
🔔 Alert System:
New Bullish Order Block detected
New Bearish Order Block detected
Fully customizable alert messages
⚙️ Customization Options:
Adjustable detection sensitivity
Color scheme selection
Transparency controls
Block duration settings
Label visibility toggles
Perfect for:
Swing traders identifying key support/resistance levels
Scalpers looking for high-probability entry zones
Institutional analysis and smart money tracking
Multi-timeframe order block analysis
💡 Pro Tips:
Use on higher timeframes (30m - 4H+) for stronger institutional levels
Combine with volume analysis for confirmation
Watch for price reactions when retesting order blocks
Best used with proper risk management
Transform your trading with institutional-level order block analysis!
May 6
Release Notes
Xcelerate Trade – Order Block Finder (Enhanced)
Overview
A clean, rules-based Order Block tool that highlights bullish and bearish OB zones using a classic “OB candle + consecutive candles” confirmation model. It’s designed for traders who want simple, consistent OB marking without repaint-style guesswork.
How it works
Bullish OB: a bearish OB candle followed by N bullish candles (Relevant Periods) and an optional minimum % move filter.
Bearish OB: a bullish OB candle followed by N bearish candles (Relevant Periods) and an optional minimum % move filter.
OB zones are drawn as boxes and labeled on the chart once confirmation is met.
Key features
Order Block Zone modes
Open→Wick (default, matches the original method)
Body (open↔close)
Full Wick (high↔low)
Noise control via Min. Percent move threshold
Mitigation & invalidation options (optional)
Mitigation: Off / Touch / Close inside
Invalidation: Off / Touch beyond / Close beyond
After mitigation: Keep / Fade / Delete
Object management: configurable maximum OB boxes displayed to keep charts clean.
Alerts
Alert conditions for new Bullish OB and new Bearish OB
Optional alert conditions for mitigation events
Best practices
Use higher timeframes to mark “major” OB zones, then refine entries on lower timeframes.
Combine with structure (HH/HL/LH/LL), key levels, and session context for better confluence.
Developed by the Xcelerate Trade team. Indicator

Breaker Block Identifier [algo_aakash]Breaker Block Identifier is a market structure indicator that converts failed order block retests into scored, non-repainting breaker zones. Rather than flagging every order block that gets invalidated, the script requires a complete sequence of confirmed price events — order block formation, an opposing structure break, a retracement into the invalidated zone, and a failed retest of that zone — before a breaker is created, and then ranks the result with a transparent quality score.
Problem Statement
Order blocks are frequently invalidated by a structure break and later retested, but a retest failing to continue in the original direction is not automatically a tradable breaker block. Many public scripts draw a zone as soon as an order block is broken, without verifying that the subsequent retest actually failed, how deep that retest penetrated, or how convincingly price rejected the zone. This produces a high volume of low-quality zones that require manual filtering by the trader.
This indicator addresses that gap by treating breaker formation as a multi-stage state machine rather than a single condition, and by scoring every candidate that completes the sequence so weak retests can be filtered out programmatically instead of visually.
Methodology
Swing highs and lows are identified with ta.pivothigh/ta.pivotlow using a user-defined bar count on each side, so every structural level referenced by the script is a confirmed pivot, never a forming one.
An order block source candle is located as the last opposite-colored candle at or immediately before each confirmed swing pivot, within a fixed lookback. The candle must exceed a minimum size expressed as a multiple of ATR, and can optionally be required to close on above-average volume. Zone boundaries can be set to the candle body (open/close) or the full wick range (high/low).
Every order block candidate then moves through three internal states. In the Pending state the script waits for an opposing structure break (a close beyond the relevant swing high or low, optionally required to clear the level by a minimum ATR multiple). Once that break occurs the candidate becomes Flipped, and the script waits for price to retrace back into the now-invalidated zone. On entry into the zone the candidate becomes Retesting, and the script tracks the deepest penetration price reaches inside the zone on a bar-by-bar basis.
A Retesting candidate resolves in one of two ways. If price closes back through the zone in its original direction by the confirmation displacement threshold, the retest is judged to have held and the candidate is discarded with no breaker created. If price instead closes through the opposite edge of the zone by the same displacement threshold, and the tracked penetration depth met a minimum percentage of the zone's height (the Retest Qualification Filter), the retest is judged to have failed and the order block is converted into a breaker in the opposite direction of its original bias.
Each confirmed breaker is then scored from 0 to 100 using six independent, user-weighted factors: the displacement strength of the invalidating structure break, the ATR-relative size of the original order block candle, how closely the retest penetration matched a user-defined ideal depth (scored on a curve, so both shallow touches and near-total breaches score lower than a clean mid-zone tag), the wick-rejection ratio of the confirming candle, how quickly the retest resolved relative to the retest window, and the ATR-normalized distance price traveled before returning to retest. The six sub-scores are combined using auto-normalized weights, so a breaker only appears on the chart, gets drawn, and triggers alerts if it clears the configured minimum quality threshold.
Confirmed breakers remain in an Active/Touched state until price closes through the far edge of the zone by the invalidation displacement threshold, at which point the zone is marked invalidated, visually dimmed, and removed after a configurable linger period. A hard maximum-age limit and a per-direction cap on active zone count prevent unbounded object growth.
Signal Workflow
Step 1 — a confirmed swing pivot forms and an order block candidate is registered from the qualifying source candle behind it.
Step 2 — the candidate waits in a Pending state until an opposing structure break (BOS/CHoCH) closes beyond the originating swing level.
Step 3 — once flipped, the candidate waits for price to re-enter the invalidated zone, entering the Retesting state and tracking maximum penetration depth.
Step 4 — the retest resolves: a displacement close back through the zone in the original direction discards the candidate, while a displacement close through the opposite edge with sufficient penetration confirms a breaker.
Step 5 — the confirmed breaker is scored across six weighted factors and only drawn, labeled, and alerted on if it meets the minimum quality threshold.
Step 6 — the active breaker zone extends forward until price closes through its far edge by the invalidation displacement threshold, at which point it dims and is scheduled for removal.
Why This Indicator Is Different
Most public order block or breaker scripts draw a zone the moment an order block is invalidated by a structure break, without separately validating whether the ensuing retest actually failed.
This script models breaker formation as an explicit four-state pipeline (source candle, pending, flipped, retesting) and only creates a zone after the retest resolves against its original direction with a minimum measured penetration depth.
The Breaker Quality Score converts six independently disclosed factors, including retest penetration depth scored on a curve around a configurable ideal value rather than a simple threshold, into a single adjustable ranking rather than a cosmetic label.
Quality-score weighting is fully exposed, allowing the ranking to be tuned toward structure strength, retest precision, wick rejection, confirmation speed, or impulse distance depending on the trader's approach.
Zone fill transparency scales with the quality score, so higher-ranked breakers render more opaque and lower-ranked ones fade into the background without adding separate visual elements.
An optional formation preview renders the retest phase of a candidate before it resolves, giving visibility into why a breaker did or did not form without permanently cluttering the chart.
Inputs
Structure Settings
Swing Pivot Length
Displacement Filter on Structure Break
Structure Break Displacement (x ATR)
ATR Length
Order Block Detection
Use Candle Body for Zone Boundaries
Min Order Block Size (x ATR)
Candidate Expiry (bars)
Volume Confirmation Filter
Volume MA Length
Volume Multiplier Threshold
Breaker Conversion Rules
Retest Window (bars)
Confirmation Displacement (x ATR)
Min Retest Penetration (%)
Quality Score
Filter Breakers by Quality Score
Minimum Quality Score
Ideal Retest Penetration Ratio
Advanced weight sliders for structure break strength, impulse size, retest precision, wick rejection, confirmation speed, and distance traveled
Visual Settings
Bullish/Bearish Breaker Colors
Min/Max Fill Transparency
Show Zone Midline
Show Quality Label
Label Size
Formation Preview toggle and color
Lifecycle & Cleanup
Max Active Breakers (per side)
Invalidation Displacement (x ATR)
Invalidated Linger (bars)
Max Breaker Age (bars)
Info Panel
Show Info Panel
Panel Position
Alerts
Alerts are available for:
Bullish Breaker Block formed
Bearish Breaker Block formed
Structure confirmation on breaker conversion
Price entering an active breaker zone
Breaker invalidated
Practical Usage
Use the info panel's structure bias reading as directional context before evaluating individual breaker zones.
Treat a fresh, high-quality breaker aligned with the prevailing structure bias as a potential continuation zone rather than a standalone entry signal.
Raise the minimum quality threshold on lower timeframes or noisy instruments to reduce the number of marginal zones drawn.
Use the retest penetration and displacement settings together to control how strict the failed-retest qualification is for your instrument and timeframe.
Combine the alert feed with a broader trade plan, since each alert marks a structural event, not an execution signal.
Limitations
Swing pivots require bars to form on both sides before they confirm, so structure breaks and order block placement are inherently delayed by the swing pivot length.
The order block source candle is located within a fixed lookback behind each pivot; if no qualifying candle exists in that window, no candidate is created for that pivot.
Quality scoring is a relative ranking based on disclosed, adjustable factors and does not predict the outcome of any individual breaker zone.
Volume-based filtering depends on the data provider's reported volume and may behave inconsistently on instruments with limited or unreliable volume data.
As with any structure-based tool, results will vary across instruments, timeframes, and market regimes.
Notes
This indicator is a market structure analysis tool intended to organize and rank breaker block formation through a disclosed, multi-stage validation process.
All structure breaks, state transitions, breaker confirmations, and invalidations are evaluated on confirmed bar closes only, so no element of the script repaints once drawn.
The output is intended to support structural analysis and is not a standalone buy or sell recommendation.
Indicator

Indicator

NeuPortal - Forecast LevelsDraws a pre-computed probabilistic price forecast on the chart: a core-50% / 80% cone projected forward, the median path, an entry zone, an invalidation level, two reference levels, Fibonacci retracements, support/resistance and three EMAs.
This is a RENDERER, not a signal generator. You paste the numbers — produced by your own model or by hand — into the settings, and the script draws them consistently. Nothing is computed from price except the moving averages.
Why it is built this way: a forecast written down with an explicit invalidation and a stated probability band can be scored afterwards. A drawing without those cannot.
Inputs are grouped:
1) Forecast — central (median), core 50% band, wide 80% band, projection length
2) Position — bias (long / short / neutral), entry zone, invalidation, two reference levels
3) Structure — support, resistance, five Fibonacci retracements
4) Moving averages — three EMAs, bundled in to save an indicator slot
Educational content — not financial advice. Indicator

Change of Character (CHoCH) Alert System [algo_aakash]Change of Character (CHoCH) Alert System is a market structure signal tool focused on a single event: a confirmed shift in directional bias. Rather than labeling every Break of Structure and CHoCH the way many public structure scripts do, this indicator deliberately ignores continuation breaks and limits both the chart and the alert feed to the moments where the prevailing character of the market actually flips.
Problem Statement
Most public CHoCH implementations classify a character change purely on the direction of a swing break, with no measure of how convincing that break actually was. This creates two practical issues for anyone building alerts around structure. Every minor swing wobble can trigger a notification, producing alert fatigue, and there is no way to separate a decisive character change from one that barely closed beyond the swing level. This script addresses both issues with a close-confirmed CHoCH-only detection engine and a built-in confidence grading step applied to every signal.
Methodology
The script maintains a single structure register holding the most recent confirmed swing high and swing low, located with standard pivot detection over a user-defined pivot length. When the adaptive swing filter is enabled, a newly confirmed pivot only replaces the stored swing if its distance from the last opposite-type pivot exceeds a configurable ATR-relative threshold, which keeps insignificant micro-swings out of the structure register before they can influence a signal.
A Change of Character is only evaluated on a confirmed candle close, so nothing in the detection logic repaints once a signal has printed. A bullish CHoCH requires a close above the last swing high while the tracked bias is bearish or undefined. A bearish CHoCH requires a close below the last swing low while the tracked bias is bullish or undefined. A break that occurs while the bias already agrees with the break direction is treated as ordinary continuation and is not flagged.
Two optional filters gate confirmation further. A displacement filter requires the breaking close to clear the swing level by a minimum ATR multiple, removing marginal breaks. A momentum filter requires the breakout candle's body to represent a minimum percentage of its total range, removing breaks driven mostly by wick with little real conviction behind the close.
Once a CHoCH is confirmed, the broken swing level is projected forward on the chart as an active structure line. If a later confirmed close moves back through that level, the structure is marked invalidated and the projection line is dimmed, separately from the detection of any new CHoCH.
Signal Workflow
Track the most recent confirmed swing high and swing low using pivot detection.
Apply the adaptive swing filter to reject pivots too close to the last opposite-type pivot.
On each confirmed candle close, test for a close beyond the stored swing level against the current bias.
Apply the displacement filter to confirm the close cleared the level by a minimum ATR multiple.
Apply the momentum filter to confirm the breakout candle's body-to-range ratio meets the minimum threshold.
Score the confirmed breakout candle on displacement in ATR units and body-to-range ratio to produce a Weak, Moderate, or Strong confidence grade.
Flip the tracked bias, plot the CHoCH label with its grade, and project the broken level forward as an active structure line.
Continue monitoring the active structure line and mark it invalidated if a later confirmed close moves back through it.
Why This Indicator Is Different
Many structure tools plot every Break of Structure alongside every CHoCH, leaving the trader to filter out which events represent an actual change in character.
This script omits BOS events entirely and reports only confirmed CHoCH signals, which are the events that correspond to a bias flip.
Each confirmed CHoCH is scored using two independent factors measured on the breakout candle itself, its ATR-normalized displacement past the level and its body-to-range ratio, rather than being treated as a single undifferentiated event.
The confidence grade is written into the alert message text at the moment the event fires, which requires composing the message dynamically rather than relying on a fixed template.
The swing level broken by a CHoCH remains tracked after the signal fires, so a later close back through that level produces a distinct invalidation alert rather than silently vanishing into the next structure calculation.
Detection is restricted to confirmed candle closes throughout, so the bias, the grade, and the invalidation state cannot change intrabar once printed.
Inputs
Structure Engine
Swing Pivot Length
Adaptive Swing Filter
Filter Threshold (ATR multiple)
Break Confirmation
Displacement Filter
Displacement Multiplier
Momentum Filter
Minimum Body % of Range
ATR Length
Visual Settings
Show Swing Points
Show Structure Projection
Projection Extension
Show Trend Background Wash
Color Candles After CHoCH
Show Confidence Grade
Label Size
Bullish, Bearish, and Projection colors
Status Panel
Show Status Panel
Panel Position
Alerts
Alert: Bullish CHoCH
Alert: Bearish CHoCH
Alert: Bullish Structure Invalidated
Alert: Bearish Structure Invalidated
Alerts
Alerts are available for:
Bullish CHoCH confirmed on a closed candle, with the confidence grade included in the alert message
Bearish CHoCH confirmed on a closed candle, with the confidence grade included in the alert message
Bullish structure invalidated after a confirmed close back below an active bullish level
Bearish structure invalidated after a confirmed close back above an active bearish level
Practical Usage
Use a shorter pivot length on intraday charts to react to structure earlier, combined with the displacement and momentum filters to avoid marginal breaks.
Use a longer pivot length on higher timeframes to isolate structurally significant character changes only.
Treat a Strong-grade CHoCH as a higher-conviction event than a Weak-grade CHoCH when weighing entry timing or position sizing.
Watch for a structure invalidated alert shortly after a CHoCH, since it indicates price has returned through the level that produced the signal.
Use the status panel as a quick reference for the current bias and the most recent CHoCH grade without needing to scan the chart for labels.
Limitations
Swing highs and lows depend on confirmed pivots, which require the full pivot length of bars to close on both sides before becoming available, introducing a disclosed confirmation lag.
The displacement and momentum filters reduce signal frequency by design, which means fewer but more selective CHoCH events compared to unfiltered structure break detection.
Structure invalidation reflects a return through a previously broken level and does not attempt to forecast subsequent price direction.
This indicator identifies structural events only and does not constitute financial advice or a complete trading system on its own.
Notes
All structural state, including the tracked bias, the active levels, and the confidence grade, is evaluated only on a confirmed candle close, so nothing in this script repaints once printed.
The only lag in the system is the standard pivot confirmation lag inherent to pivot-based swing detection, which is disclosed above rather than hidden.
Designed for dark theme charts. On light themes, consider darkening the projection line color for improved contrast.
Indicator

Auto-ATR Volatility Spike & Trend Tracker [BigBeluga]Auto-ATR Volatility Spike & Trend Tracker is an institutional-grade algorithmic trend-following terminal engineered for PulseWire. It is specifically built to isolate high-momentum breakout anomalies (spikes) from ordinary noise and anchor a dynamic, risk-managed trailing stop-loss directly to the underlying structural expansion.
By merging volumetric price momentum with an adaptive Average True Range (ATR) detection framework, this indicator completely redefines how breakout traders enter and manage trends. Instead of reacting blindly to standard moving average crosses, the system utilizes an execution state machine that locks onto systemic market expansion, tracks trend health via dynamic midpoint lines, and protects capital with a trailing protection line.
🔵 CHANNELS & ARCHITECTURAL CORE ENGINE FEATURES
1. Dual-Mode Spike Detection System
Auto ATR Volatility Engine: Automatically adapts to varying market conditions. By cross-referencing incoming candle structures against an ATR Length multiplier baseline, the indicator filters out flat consolidation periods and flags abnormal, high-liquidity volume expansions that signify true institutional participant footprints.
Fixed Percentage Breakout Mode: For traders operating in highly structured assets with predictable daily limits, this module locks onto absolute price change thresholds ( Fixed Spike Threshold % ), isolating momentum moves that pierce predefined parameters.
Wick-to-Body Range Toggle: Allows you to switch calculations to run from either the raw candle body (Open to Close) or the full extreme range ( Calculate From Wicks (High/Low) ). This isolates clean structural closes while adjusting to high-volatility liquidity sweeps.
2. Predictive Mid-Level Benchmarks & Spacing Visuals
Dynamic Mid Level Dash Lines: When a valid trend spike is verified, the engine immediately draws a horizontal midpoint line extending from the center of the candle ( Display Mid Level Dash Line ). This centerline serves as an immediate structural macro floor or ceiling; as long as price retains this boundary, the primary breakout impulse remains historically intact.
Measurement Arrow Guides & Measurement Labels: Automatically draws measurement arrow guides along with real-time text percentage indicators directly over the breakout candle ( Display Size % Labels & Arrow Lines ). This gives you instant clarity on the volatility profile without needing to use manual drawing tools.
3. Algorithmic State Machine & Trailing Protection
Volatility-Adjusted Trailing Stops: Once a breakout trend is established, the indicator deploys a step-calculated trailing line based on your Trailing ATR Multiplier . This line is engineered to trail tightly beneath bullish expansions or above bearish flushes, keeping you safely in the macro trend while mitigating downside variance.
Trend Interlock Protection: The underlying state machine features built-in trigger restrictions that lock execution while a trend is dominant. This prevents counter-trend false entries or premature reversals, keeping your focus strictly on the dominant structural path.
Theme Overwrite Candlesticks: Completely recolors the active layout chart workspace bars using vivid, customized hex-theme presets ( Bullish/Bearish Theme Colors ) the exact moment an abnormal spike is validated.
4. Persistent Macro Statistics Dashboard Matrix
Top-Right Analytics HUD Table: Instantly maps out a high-performance database grid showing critical data points from the most recent historical market expansions.
Real-Time Metrics Monitoring: Explicitly stores and displays the precise directional Spike Type , Size (%) , and exact entry execution Price for both bullish and bearish cycles, providing a reliable quantitative snapshot of the asset's structural strength.
🔵 SYSTEMATIC EXECUTION STRATEGIES & RISK INTERPRETATION
Midpoint Re-test Accumulation Plays: When a powerful up-spike forces a market breakout, do not chase the initial overextended move. Instead, wait for a constructive pullback toward the extended dynamic dashed midline. If price builds a base and prints a clean rejection candle at this level, it signals a premium, low-risk continuation entry aligned with institutional order flow.
Trailing ATR Invalidation Exits: The trailing stop-loss line acts as your absolute trend line invalidation boundary. In a powerful bullish expansion, the indicator will continuously trail and lock in accrued profit beneath the recent low points. A clean daily close crossing beneath this line confirms an official trend termination, signaling an immediate exit to protect your capital.
Breakout Sizing Divergences: Cross-reference the live metrics dashboard data to spot exhausting trends. If an asset is pressing higher but newly generated bullish spikes show smaller percentage sizes compared to the historical records on your HUD table, it exposes fading momentum—frequently warning of an impending reversal or structural distribution phase.
🔵 INTERFACE CONFIGURATION AND PARAMETERS
Detection Mode Controls: Choose between Auto ATR or Fixed % settings and specify lookback periods to customize the indicator to match any asset class, volatility cycle, or execution chart timeframe.
Visibility Filters Overrides: Independently toggle midlines, trailing stops, background cloud color fills, or measurement labels to maintain a clean, distraction-free charting interface.
Theme Personalization Modifiers: Fully adjust color properties for upward spikes, downward spikes, buy/sell arrows, and trailing lines to blend seamlessly into your dark or light workspace layout themes.
Transform your charting workspace from speculative guessing into an automated, volatility-tracked breakout environment with the Auto-ATR Volatility Spike & Trend Tracker terminal. Indicator

Indicator

VWAP Deviation Trend [BackQuant]VWAP Deviation Trend
Overview
VWAP Deviation Trend is a volume-weighted trend-following overlay that transforms VWAP and its surrounding price distribution into a directional trailing structure.
Rather than using VWAP only as a fair-value line, the indicator calculates:
A configurable anchored or rolling VWAP.
The volume-weighted standard deviation of price around that VWAP.
Adaptive upper and lower deviation bands.
One-sided trailing boundaries used to confirm bullish and bearish regimes.
The indicator is designed to identify when price has moved far enough away from accepted volume-weighted value to establish a meaningful directional shift.
Unlike a simple VWAP crossover, price can move through VWAP without immediately changing the active trend. A new regime requires price to break the opposite trailing deviation boundary, optionally with confirmation from the direction of VWAP itself.
The updated visual engine also measures trend strength and uses it to control:
Gradient intensity.
Trail glow width.
Post-flip bloom effects.
The visual separation between price and the active trail.
Core concept
VWAP represents the average price paid over a selected period, weighted by trading volume.
The basic formula is:
VWAP = Sum of Price × Volume / Sum of Volume
Prices associated with greater volume contribute more heavily to the final value. This makes VWAP a useful approximation of:
Volume-weighted fair value.
The center of traded activity.
The average position of market participants.
An institutional execution benchmark.
However, VWAP alone does not explain how widely price has been distributed around that value.
VWAP Deviation Trend treats VWAP as the center of a volume-weighted price distribution and measures the dispersion around it. That dispersion is then used to create trailing trend boundaries.
VWAP calculation modes
The indicator supports five VWAP windows:
4 Hours
Daily
Weekly
Rolling Lookback Bars
Rolling Lookback Days
4 Hours
Resets VWAP at fixed four-hour intervals.
This can be useful for:
Cryptocurrency markets.
Intraday futures.
Continuously traded markets.
Shorter fair-value regimes.
Daily
Resets at the beginning of each calendar day.
This is the traditional intraday VWAP structure and is useful for:
Session bias.
Intraday mean reversion.
Day-trading trend confirmation.
Weekly
Accumulates volume and price across the current week.
This creates a slower structural anchor suited to:
Swing trading.
Weekly positioning.
Broader accepted-value analysis.
Rolling Lookback Bars
Calculates VWAP over a fixed number of candles.
The window moves forward continuously and does not reset at a calendar boundary.
This is useful for:
Systematic trend models.
Consistent multi-timeframe analysis.
Markets where daily sessions are less important.
Rolling Lookback Days
Includes bars that fall within a selected number of calendar days.
This keeps the analytical window tied to elapsed time instead of a fixed candle count.
Anchored versus rolling VWAP
Anchored modes begin at a fixed boundary and accumulate until the next reset.
Rolling modes continually remove old observations as new observations arrive.
Anchored VWAP is useful when a particular session or week has structural meaning. Rolling VWAP is useful when the trader wants a stable and continuously adapting lookback.
Volume-weighted deviation
The indicator calculates more than the VWAP mean.
It also measures volume-weighted price variance using:
Weighted Mean Square = Sum of Price² × Volume / Sum of Volume
Weighted Variance = Weighted Mean Square - VWAP²
Weighted Deviation = Square Root of Weighted Variance
This measures how widely prices associated with meaningful trading volume are distributed around VWAP.
A small deviation suggests:
Trading is concentrated near fair value.
The market is relatively balanced.
Price acceptance is narrow.
A large deviation suggests:
Trading is spread across a wider range.
Price discovery is more active.
The market is less tightly centered around VWAP.
Because the calculation is volume weighted, high-volume prices influence the bands more than low-volume excursions.
Fallback when volume is unavailable
If usable volume is not available, the indicator falls back to an unweighted arithmetic mean and variance.
This allows it to function on synthetic or limited-volume symbols, although the result should then be interpreted as a rolling or anchored mean rather than a true VWAP.
Deviation bands
The raw width is calculated as:
Deviation Width = Weighted Deviation × Deviation Multiplier
The upper and lower raw bands are:
Upper Band = VWAP + Band Width
Lower Band = VWAP - Band Width
Higher deviation multipliers create wider bands and fewer trend changes.
Lower multipliers create tighter bands and faster, more frequent flips.
ATR minimum width
During low-dispersion periods, volume-weighted deviation can become extremely narrow.
This can cause small and insignificant movements to trigger repeated reversals.
The optional ATR floor calculates:
ATR Floor = ATR × ATR Minimum Multiplier
The final width becomes:
Band Width = Maximum of Deviation Width and ATR Floor
This preserves volume-weighted deviation as the primary band engine while preventing the channel from collapsing below a practical volatility threshold.
Trailing-band construction
The raw deviation bands move freely with VWAP and dispersion.
The indicator converts them into one-sided trailing levels.
Lower trail
While the selected trigger remains above the lower trail:
The trail can rise.
It cannot move downward.
This creates a ratcheting support structure.
Upper trail
While the trigger remains below the upper trail:
The trail can fall.
It cannot move upward.
This creates a ratcheting resistance structure.
The active trend trail is:
The lower trail during bullish regimes.
The upper trail during bearish regimes.
Why trailing logic matters
A raw VWAP band can move toward price and create unstable signals.
The one-sided trail preserves trend structure and creates hysteresis.
Hysteresis means the threshold required to enter a bullish regime is different from the threshold required to enter a bearish regime.
This allows price to rotate around VWAP without constantly changing the active trend.
Trend initialization
When the first valid VWAP is available:
The trend initializes bullish if the trigger is at or above VWAP.
The trend initializes bearish if the trigger is below VWAP.
After initialization, a full break of the opposite trail is required to change regimes.
Bullish trend flip
A bullish flip requires:
The selected trigger to move above the upper trailing band.
The current trend not already to be bullish.
VWAP slope confirmation to pass if enabled.
Once confirmed:
The trend becomes bullish.
The active trail moves beneath the market.
A bullish signal marker is displayed.
Bearish trend flip
A bearish flip requires:
The selected trigger to move below the lower trailing band.
The current trend not already to be bearish.
VWAP slope confirmation to pass if enabled.
Once confirmed:
The trend becomes bearish.
The active trail moves above the market.
A bearish signal marker is displayed.
Flip trigger
The trend can be triggered using:
Close
The selected VWAP price source
Close is the more conventional option.
Using the price source, such as HLC3, can produce a slightly smoother trigger because it reflects more of the bar than the close alone.
VWAP slope confirmation
Optional slope confirmation requires VWAP itself to move in the direction of the proposed new trend.
For a bullish flip:
Current VWAP must be above VWAP from the selected lookback.
For a bearish flip:
Current VWAP must be below its prior value.
This can help reject:
Temporary band breaks.
Low-volume price spikes.
Liquidity sweeps against flat fair value.
The tradeoff is additional confirmation delay.
Breaking the trail on flips
The active trail changes from one side of the market to the other during a regime transition.
The Break Trail On Flips option inserts a visual gap on the flip bar so the previous and new trails are not connected by a misleading line segment.
This affects presentation only.
Visual trend-strength engine
The updated script includes a visual-strength model that controls the intensity of the gradient and glow.
It combines two measurements:
Distance between price and the active trail.
Slope of VWAP relative to the current band width.
Distance strength
The script measures:
Absolute Distance = |Close - Trend Trail|
This is normalized by the current band width.
A larger distance indicates stronger separation between price and the structural trail.
Slope strength
VWAP movement across the slope lookback is also normalized by the band width.
This measures whether volume-weighted fair value itself is moving meaningfully relative to the size of the current deviation structure.
Combined trend strength
The final visual strength is weighted:
70% price-to-trail distance.
30% VWAP slope strength.
This produces a value between zero and one.
It does not change trend logic or signals. It controls the visual intensity of the indicator.
Layered gradient fill
Instead of using one flat gradient, the updated indicator divides the space between the trail and price into six visual layers.
The levels are placed progressively between:
The active trend trail.
The current closing price.
The gradient is:
Most concentrated near the structural trail.
Progressively softer toward price.
The opacity adapts to trend strength.
When price is strongly separated from the trail and VWAP is moving with the regime:
The gradient becomes more vivid.
When the trend is weak:
The fill becomes softer and more transparent.
This makes the visual ribbon encode more than direction. It also reflects the current strength of the price-to-structure relationship.
Flip bloom
After a confirmed trend flip, the indicator creates a temporary bloom around the new trail.
The bloom is strongest immediately after the transition and fades over the following bars.
Its intensity follows this general sequence:
First bar after flip: strongest bloom.
Second bar: reduced bloom.
Third bar: light residual bloom.
Afterward: bloom disappears.
This visually emphasizes fresh regime changes without permanently increasing chart brightness.
The bloom is cosmetic and does not affect calculation.
Adaptive trail glow
The glow surrounding the trail also changes with trend strength.
The base width is ATR-scaled, then increases slightly as the visual trend-strength score rises.
This creates:
A broader glow during stronger regimes.
A narrower glow when trend structure is weaker.
The glow contains:
An inner, more visible layer.
A wider, softer outer layer.
Visual interpretation
The updated presentation provides several pieces of information simultaneously:
Color shows the active trend direction.
The trail shows the structural regime boundary.
Gradient intensity reflects trend strength.
Glow width reinforces structural conviction.
The bloom highlights fresh regime transitions.
How to use the indicator
Trend regime filter
Use the active color and trail position as directional context:
Favor longs during bullish regimes.
Favor shorts during bearish regimes.
Pullback structure
In a bullish regime:
VWAP represents volume-weighted fair value.
The lower trail represents deeper structural support.
In a bearish regime:
VWAP represents the mean-reversion anchor.
The upper trail represents deeper structural resistance.
Trend-strength context
A vivid gradient and broader glow suggest:
Price is well separated from the trail.
VWAP is moving in the trend direction.
The regime has stronger structural momentum.
A weak or faded gradient suggests:
Price is closer to the trail.
VWAP slope is weaker.
The trend may be consolidating or losing strength.
Fresh transitions
The bloom helps identify newly established regimes.
A fresh flip with:
Strong bloom.
Growing price separation.
VWAP slope alignment.
generally represents stronger early trend structure than a flip that immediately loses visual intensity.
Dynamic risk management
The active trail may be used as:
A trailing stop reference.
A regime invalidation boundary.
A position-management guide.
Because the trail responds to both volume-weighted dispersion and volatility, it adjusts as market conditions change.
How this differs from a standard VWAP
A standard VWAP:
Plots only volume-weighted mean price.
Usually resets once per session.
Does not maintain trend state.
VWAP Deviation Trend:
Supports anchored and rolling windows.
Calculates volume-weighted dispersion.
Creates adaptive raw bands.
Converts them into directional trailing boundaries.
Maintains persistent bullish and bearish regimes.
Adds a strength-reactive visual system.
How this differs from Supertrend
A traditional Supertrend normally uses a central price such as HL2 and ATR-based bands.
VWAP Deviation Trend uses:
Volume-weighted fair value as the center.
Volume-weighted standard deviation as the primary width.
ATR only as an optional minimum floor.
This means the trail responds not only to range volatility, but also to where trading volume has been concentrated.
How this differs from Bollinger Bands
Bollinger Bands normally use:
A moving average.
Unweighted standard deviation.
Symmetrical non-trailing bands.
This indicator uses:
A volume-weighted mean.
Volume-weighted variance.
One-sided trailing bands.
Persistent trend-state logic.
It is therefore a trend-regime model rather than a standard mean-reversion envelope.
Input guide
VWAP Mode
Selects the anchored or rolling calculation window.
Deviation Multiplier
Controls the width of the statistical bands.
Higher values produce wider, slower regimes. Lower values produce tighter and faster regimes.
ATR Minimum Width
Prevents excessive narrowing during compressed conditions.
VWAP Slope Confirmation
Requires volume-weighted fair value to move with the proposed trend.
Flip Trigger
Selects whether close or the chosen price source must cross the trail.
Visual settings
Allow the trader to display:
The trend trail.
VWAP.
Raw deviation bands.
Layered gradient.
Adaptive glow.
Signals.
Trend candles.
Strengths
Combines fair value, dispersion, and trend structure.
Uses volume-weighted mean and variance.
Supports multiple anchored and rolling VWAP windows.
Uses ATR protection against narrow-band whipsaws.
Creates persistent regimes with hysteresis.
Provides optional VWAP slope confirmation.
Includes a trend-strength-reactive visual system.
Clearly emphasizes fresh trend transitions.
Limitations
Volume quality varies between instruments.
Anchored VWAP modes may be unstable immediately after a reset.
Long windows can react slowly to sudden regime changes.
Tight settings can increase whipsaws.
Wide settings can delay reversals.
Slope confirmation can add additional lag.
Visual strength is contextual and is not a separate trading signal.
Alerts
The indicator includes alerts for:
Confirmed bullish trend flips.
Confirmed bearish trend flips.
These represent complete VWAP deviation regime changes, not ordinary crosses of VWAP.
Summary
VWAP Deviation Trend converts volume-weighted fair value and price dispersion into a directional trend trail.
It calculates VWAP over a configurable anchored or rolling window, measures volume-weighted standard deviation around that VWAP, and builds upper and lower deviation bands. An optional ATR floor prevents the structure from becoming excessively narrow during quiet conditions.
The raw bands are transformed into one-sided trails. The lower trail ratchets upward during bullish regimes, while the upper trail ratchets downward during bearish regimes. Trend changes occur only when price breaks the opposite trail, optionally with confirmation from the slope of VWAP.
The updated visual engine measures price separation and VWAP slope to dynamically control the layered gradient, trail glow, and temporary post-flip bloom. This creates a clearer representation of direction, structural strength, and fresh regime transitions without changing the underlying signal logic. Indicator

Shift Momentum Suite (FSO/HSO)# Shift Momentum Suite (FSO/HSO)
Ein Open-Source-Momentum-Indikator für PulseWire (Pine Script v6), der Trendphasen, Divergenzen und Multi-Timeframe-Übersicht in einem Tool kombiniert.
## Idee dahinter
Der Indikator kombiniert zwei Momentum-Layer mit unterschiedlicher Geschwindigkeit:
- **FSO – Full Shift Oscillator** (mittelfristig, träger, Standard-Schwelle ±15–20): zeigt den übergeordneten Trend
- **HSO – Half Shift Oscillator** (kurzfristig, reaktionsschneller, Standard-Schwelle ±4–10): zeigt kurzfristige Dynamikänderungen
Aus dem Zusammenspiel beider Layer leitet der Indikator eine Reihe von Zuständen ab – von "Frühaufklärung" über "Halbe Schicht" bis "Voller Umschwung" – und macht so sichtbar, in welcher Phase eines Trends sich der Markt gerade befindet.
**Hinweis:** Dies ist eine eigenständige Implementierung eines allgemeinen Konzepts (mehrstufige Momentum-Analyse), keine Kopie eines bestehenden proprietären Skripts. Formel, Code und Logik sind komplett neu geschrieben.
## Funktionen im Überblick
### 1. FSO & HSO Oszillatoren
Zwei Linien im Indikatorfenster (blau = FSO, orange = HSO), berechnet aus einer Kombination von RSI-Abweichung und Rate-of-Change. Beide sind auf `ta.ema` geglättet, um Rauschen zu reduzieren.
### 2. Phasen-Klassifikation (Hintergrundfarbe)
Der Chart-Hintergrund färbt sich je nach FSO/HSO-Konstellation ein:
- Stark aufwärts / Aufwärts / Schwäche aufwärts
- Stark abwärts / Abwärts / Schwäche abwärts
### 3. Feinsignale (Symbole im Chart)
| Symbol | Bedeutung |
|---|---|
| Label "Full↑/↓" | **Voller Umschwung** – FSO und HSO beide über/unter ihrer Schwelle: volle Dynamik in eine Richtung |
| Kreis | **Halbe Schicht** – HSO hat seine Schwelle schon gerissen, FSO bestätigt aber noch nicht: Dynamik baut sich auf |
| Dreieck | **Pullback-Shift** – FSO bleibt im starken Trend, HSO kühlt sich kurz ab: kleiner Rücksetzer ohne Trendbruch |
| Flagge | **Frühaufklärung** – HSO kreuzt die Nulllinie zuerst: möglicher erster Hinweis auf einen Stimmungswechsel |
| X-Symbol | **Erschöpfung** – FSO war extrem und fällt seit mehreren Bars zurück, HSO wird ebenfalls schwächer: Trend verliert an Kraft |
### 4. Divergenz-Erkennung
Einfache Pivot-basierte Divergenz zwischen Kurs und FSO (bullish/bearish), markiert mit Dreiecken über/unter dem Kurs.
### 5. Multi-Timeframe-Tabelle
Zeigt die aktuelle Phase auf bis zu 6 frei wählbaren Zeitrahmen gleichzeitig (Standard: 5m, aktueller Chart, 30m, 4h, 1D, 1W) – so siehst du auf einen Blick, ob sich mehrere Zeitebenen einig sind oder widersprechen.
### 6. Trendstärke-Anzeige
Ein Label zeigt eine kombinierte Trendstärke in Prozent (0–100 %) sowie die aktuelle Phase und den aktuellen Feinzustand als Text an.
## Wie man den Indikator benutzt
1. **Grundlage schaffen:** Schau zuerst auf die Hintergrundfarbe – sie gibt dir die grobe Richtung (Trend auf/ab, stark oder schwach).
2. **Feinzustand prüfen:** Die Symbole zeigen, *wo im Zyklus* der Trend gerade steht:
- Frühaufklärung → möglicher Beginn einer Bewegung, noch unbestätigt
- Halbe Schicht → Bewegung nimmt Fahrt auf
- Voller Umschwung → volle Dynamik, Trend ist bestätigt
- Pullback-Shift → normale Verschnaufpause im Trend, kein Warnsignal für sich allein
- Erschöpfung → Vorsicht, Trend könnte auslaufen
3. **Mit der MTF-Tabelle abgleichen:** Stimmen mehrere Zeitrahmen in der Tabelle überein (z.B. 30m, 4h und 1D zeigen alle "Aufwärts"), ist das Signal deutlich belastbarer als ein Signal auf nur einem Zeitrahmen.
4. **Divergenzen als Frühwarnsystem:** Eine Divergenz gegen den aktuellen Trend ist ein zusätzlicher Hinweis, dass die Dynamik nachlässt – am aussagekräftigsten in Kombination mit "Erschöpfung".
5. **Trendstärke-Label:** Nützlich, um mehrere Setups miteinander zu vergleichen – ein Setup mit 80 % Trendstärke ist tendenziell verlässlicher als eines mit 25 %.
## Einstellungen
| Gruppe | Parameter | Standard | Bedeutung |
|---|---|---|---|
| FSO | Basis-Länge / Glättung | 50 / 5 | Größer = träger, weniger Fehlsignale |
| FSO | Auf-/Abwärts-Schwelle | ±20 | Ab wann FSO als "extrem" gilt |
| HSO | Basis-Länge / Glättung | 14 / 3 | Kleiner = reaktionsschneller, mehr Rauschen |
| HSO | Auf-/Abwärts-Schwelle | ±4 | Ab wann HSO als "extrem" gilt |
| Divergenzen | Lookback | 5 | Pivot-Fenster für die Divergenzsuche |
| Feinsignale | Ein/Aus | an | Halbe Schicht, Pullback, Frühwarnung, Erschöpfung |
| Multi-Timeframe | Zeitrahmen 1–6 | 5m/Aktuell/30m/4h/1D/1W | Frei wählbar in den Indikator-Einstellungen |
**Tipp:** Die Standardwerte sind ein Ausgangspunkt. Je nach Markt (Aktie, Krypto, Forex) und Volatilität lohnt es sich, die Schwellenwerte anzupassen – bei sehr volatilen Assets ggf. höher, bei ruhigeren niedriger ansetzen, damit die Feinsignale sinnvoll auslösen.
## Für Weiterentwicklungen
Der Code ist bewusst modular aufgebaut:
- `f_shift()` – zentrale Momentum-Formel, hier lässt sich die Berechnung austauschen
- `f_phase()` – Klassifikationslogik, hier lassen sich weitere Zustände ergänzen
- Feinsignal-Bedingungen sind einzeln benannt und kommentiert, leicht erweiterbar (z.B. um Alerts)
## Disclaimer
Dieser Indikator dient zu Studien- und Bildungszwecken. Er stellt keine Anlageberatung dar und ersetzt kein eigenständiges Risikomanagement. Vergangene Signale sind keine Garantie für zukünftiges Verhalten des Marktes.
## Lizenz
Empfehlung für die Veröffentlichung: Mozilla Public License 2.0 (Standard-Lizenz für viele PulseWire Open-Source-Skripte) oder MIT-Lizenz – beide erlauben freie Nutzung, Studium und Weiterentwicklung. Indicator

Indicator

Sniper FVGThis Pine Script indicator, Sniper FVG, is designed to highlight Fair Value Gaps (FVGs) within a defined trading session based on India Standard Time (IST). The user specifies a session window (default 19:00–01:40 IST), and the script automatically shades the chart background outside this range to keep focus on active trading hours. It also draws dashed vertical lines at session start and end for clear visual boundaries.
To filter signals, the script references higher‑timeframe EMA values (15m, 30m, 1h). At the first candle of each session, a bias is set: bullish if price is below all EMAs, bearish if price is above all EMAs, and neutral otherwise. Only FVGs aligned with this bias are drawn. The detection logic checks for gaps between the high of candle 1 and the low of candle 3 (bullish) or the low of candle 1 and the high of candle 3 (bearish). Boxes are extended a few bars forward, with customizable transparency, color, and minimum size percentage to avoid insignificant gaps.
Overall, the script combines session management, bias filtering, and gap visualization to help traders focus on meaningful FVG setups during their chosen trading hours. Indicator

Moneyball MTF Trend Databox [VinnieTheFish]📊 Moneyball MTF Trend Databox
The Moneyball MTF Trend Databox is a powerful, lightweight companion dashboard designed specifically to complement the core Moneyball EMA-MACD indicator ecosystem.
When trading with the Moneyball strategy, keeping track of higher and lower timeframe market structures is vital. Instead of manually flipping through charts, this utility aggregates a comprehensive multi-timeframe (MTF) trend analysis across 8 critical timeframes simultaneously and packs them into a clean, customizable HUD directly on your current chart.
🔍 How It Works
The engine dynamically evaluates the current asset’s trend alignment using a single master trend filter of your choice. A timeframe is marked as BULLISH if the price is trading above your selected Moving Average, and BEARISH if it falls below.
By looking at the dashboard, you can instantly see if your lower-timeframe execution aligns with the higher-timeframe "macro" trend.
⚙️ Key Features:
8 Timeframe Coverage: Scans the 2m, 5m, 15m, 30m, 1h, 4h, Daily, and Weekly intervals concurrently.
4-in-1 Trend Filters: Choose your preferred trend line directly from the settings:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
DEMA (Double EMA - for faster response time)
TEMA (Triple EMA - ultra-low lag trend tracking)
Fully Customizable Display: Position the dashboard anywhere on your chart (Top Right, Bottom Left, etc.) and fine-tune the background opacity so it never obstructs your price action or candlesticks.
Optimized Execution (Pine Script v6): Built natively on PulseWire's newest engine version. The table updates strictly on the live bar (barstate.islast), completely protecting your charts from browser lag or slow calculation times.
📈 How to Use This in Your Trading
Macro-Trend Alignment: Before taking a Moneyball buy or sell signal on your execution chart (e.g., the 5-minute), check the Databox. If the 1H, 4H, and Daily rows are screaming BULLISH, you have massive high-probability wind at your back for long positions.
Confluence Clustering: Look for moments when all (or most) timeframes switch to a single color. A full grid alignment often signals a massive breakout or a strong continuation wave.
Counter-Trend Warning: If you see a buy signal on your lower timeframe but the higher timeframes are strictly BEARISH, the dashboard acts as an early warning system to either pass on the trade or take quick, conservative profits.
🛠️ Recommended Setup
For the truest "Moneyball" alignment, set your configuration input to:
MA Length: 200
MA Type: EMA or DEMA
Pair this dashboard on your layout with the primary Moneyball EMA-MACD indicator oscillator to experience the full synergy of the trend-following system. Indicator

SyncroFlow RSI [Trend & Momentum]Title: SyncroFlow RSI
Description:
SyncroFlow RSI is a modern, visually clean indicator designed to help traders objectively identify points of confluence between macro trend direction and short-term momentum.
By combining the structural trend analysis of the SuperTrend with the momentum dynamics of the RSI and its EMA, this tool provides a clear, noise-free visualization of market flow. It is built with a calming, pastel-based color palette to reduce eye strain during long charting sessions, allowing for calm and rational market analysis.
🌟 Core Concepts
Macro Trend (Background Color):
The indicator calculates a short-term SuperTrend (default 10, 1.0) and projects its direction as a subtle background color. A Teal background indicates a bullish overarching trend, while a Rose Red background indicates a bearish trend.
Momentum Flow (RSI & EMA):
Instead of just looking at overbought/oversold levels, this script focuses on the trajectory of the RSI. It plots the RSI alongside a smoothing EMA. The EMA changes color (Teal/Red) based on its slope, giving you an immediate read on whether short-term momentum is accelerating or decelerating.
SyncroFlow Signals (Triangles):
The true edge of this indicator lies in its "Sync" logic. When the overarching trend (SuperTrend Background) and the short-term momentum (RSI's EMA slope) align in the same direction, the indicator plots a triangle signal. This highlights the exact moment the market regains its directional harmony.
⚙️ Key Features
Alternating Signal Filter: To prevent signal spam during choppy consolidations or complex pullbacks, the script includes a strict alternating filter. It will only print a bullish signal if the previous signal was bearish (and vice versa), ensuring you only see the most significant structural shifts.
Calm & Minimalist Aesthetics: Designed with custom Earth and Pastel tones to keep your charts looking professional and easy on the eyes.
Highly Customizable: Everything is neatly grouped in the settings panel. You can easily adjust the RSI length, SuperTrend sensitivity, toggle visuals (hide background or signals), and fully customize the colors/transparency to match your dark or light chart theme.
💡 How to Interpret the Data
Trend Continuation (Pullbacks): During a strong Teal background (Bullish SuperTrend), wait for the RSI's EMA to briefly turn red (pullback), and then look for the Bullish Sync Triangle (alignment) as a potential objective area to rejoin the trend.
Objective Environment Assessment: If the background is Teal but the EMA line is consistently Red, it visually warns you that the macro trend and micro momentum are fighting each other (consolidation/chop).
Disclaimer: This script is designed for educational and objective environmental analysis purposes only. It is not a standalone mechanical trading system. Always use it in conjunction with your own price action analysis and risk management rules. Indicator

FTA Daily Pro v4FTA Daily Pro v4 — Full Technical Analyzer
A comprehensive daily-timeframe dashboard that combines trend, momentum, volume, volatility, relative strength, and divergence analysis into a single panel.
WHAT'S NEW IN V4
- Graded trend scoring — instead of an all-or-nothing trend flag, each condition (price vs EMA20, EMA20 vs EMA50, EMA50 vs EMA200, price vs EMA200) contributes points. A stock above its short-term EMAs but still below EMA200 now receives a partial score rather than zero.
- Momentum measures direction only — RSI and Stochastic no longer lose their points when readings run hot. Overbought/oversold is surfaced separately as an Exhaustion warning instead of silently reducing the score.
- Volume and volatility act as a quality gate — signals require meaningful relative volume and ATR expansion, not just a small score deduction.
- RRG (Relative Rotation) row — shows where the symbol sits versus a benchmark: Leading, Weakening, Lagging, or Improving, with RS-Ratio / RS-Momentum values and a direction arrow.
- Higher-timeframe confirmation row — displays the weekly (configurable) trend state to help avoid counter-trend setups.
- Clearer scoring scale — Bull/Bear score is now out of 10.
FEATURES
- EMA 10 / 20 / 50 / 200 — trend direction and structure
- MACD — momentum regime and fresh crossovers
- RSI (14) — zone reading with overbought/oversold background
- Stochastic K/D — momentum confirmation
- Relative Volume — participation filter
- ATR % — volatility filter
- RRG — relative strength quadrant versus a configurable benchmark (default SPY)
- HTF confirmation — higher-timeframe trend state
- Exhaustion flag — warns when momentum readings are stretched
- RSI Divergence — bull/bear divergence labels on chart
- Scoring system — Bull/Bear score out of 10
SIGNALS
Buy triggers on an EMA10/EMA20 crossover or a fresh MACD crossover, provided the score threshold and quality gate are met. Sell is symmetric. Score thresholds are adjustable in settings.
Dashboard displays real-time status of all components in one panel (top right). Alerts available for Buy, Strong Buy, Sell, Strong Sell, Bullish Divergence, Bearish Divergence, and RRG quadrant entries.
Best used on the Daily timeframe. Works across stocks, forex, crypto, and commodities, though the volume filter is most meaningful on symbols with reliable volume data.
NOTE
This is a technical analysis and visualization tool. It has not been backtested as a standalone trading system, and the scoring reflects current conditions rather than a validated edge. It does not constitute financial advice — always do your own research before making trading decisions. Indicator
