SCMF Structural Candle Momentum## Reading the SCMF Dashboard — Complete Reference
---
## The Main Panel (Chart Area)
Before the table — what you're looking at on screen:
**The histogram bars** are the core output. Each daily bar produces one histogram column. Color tells you the classification tier immediately without reading the table. Width tells you nothing — only the height (value) and color matter.
**The faint white line** running through the histogram is CMS Raw — the unpenalised score before quality gates apply. When it sits significantly higher than the histogram bar, the gates are cutting into your score. When they track closely, all gates are passing cleanly.
**The light blue filled band** around the zero line is the SQC band. Its width equals `±SQC × 0.5`. A wide band means high confidence. A narrow band means the indicator is uncertain. When a bar's histogram column sits well outside the band, the signal is strong relative to its own uncertainty.
**The thin coloured lines** are the five dimensions plotting simultaneously. You read them the same way as the histogram — above zero is bullish, below is bearish, and magnitude matters.
---
## Row 1 — CMS Adjusted
This is the single number that summarises everything. Range is ` `.
It is the weighted sum of all five dimensions, suppressed to `na` (no display) if SQC falls below 0.25 or if the liquidity gate fires.
**What the number means in practice:**
| Value | What the crowd actually did |
|---|---|
| `+0.80` to `+1.00` | Every dimension is bullish and aligned. Rare. Act with conviction |
| `+0.50` to `+0.79` | Strong multi-dimensional bull signal. Most reliable entry zone |
| `+0.20` to `+0.49` | Moderate bullish. One or two dimensions are pulling back |
| `+0.05` to `+0.19` | Marginal. Don't act on CMS alone at this level |
| `-0.05` to `+0.05` | Genuine standoff. No edge in either direction |
| `-0.05` to `-0.19` | Marginal bearish. Same — don't act alone |
| `-0.20` to `-0.49` | Moderate bearish. Check what dimension is driving it |
| `-0.50` to `-0.79` | Strong bear signal |
| `-0.80` to `-1.00` | Full multi-dimensional bearish alignment |
The distance from zero matters more than crossing a threshold. `+0.66` and `+0.64` are not meaningfully different despite sitting on opposite sides of the strong-bull line.
---
## Row 2 — Signal
The text classification of CMS Adjusted. Seven tiers:
```
▲ STRONG BULL CMS > 0.65
▲ MOD BULL CMS > 0.35
△ WEAK BULL CMS > 0.10
◆ NEUTRAL CMS between -0.10 and +0.10
▽ WEAK BEAR CMS < -0.10
▼ MOD BEAR CMS < -0.35
▼ STRONG BEAR CMS < -0.65
⚠ NO SIGNAL CMS is na (suppressed by SQC or liquidity gate)
```
The arrow shapes are intentional — filled triangles (▲▼) for strong/moderate, hollow (△▽) for weak, diamond (◆) for neutral. At a glance you know whether you're in a conviction zone or a noise zone.
`⚠ NO SIGNAL` is not a neutral reading. It means the quality gates have decided the data for this bar is unreliable — treat it as if the bar doesn't exist for signal purposes.
---
## Row 3 — CMS Raw
The composite score **before SQC suppression**, but after all five dimensions are computed and weighted. Range ` `.
**How to use it alongside CMS Adjusted:**
The gap between Raw and Adjusted tells you how much the quality gates are penalising the bar. In v1.2, CMS Adjusted = CMS Raw when SQC ≥ 0.25 (they're the same number — the only suppression now is the hard cutoff at 0.25). So the main reason these two diverge is when SQC is very close to 0.25 and the histogram shows a different shade.
More practically: if CMS Raw is `+0.71` but CMS Adjusted shows `⚠ NO SIGNAL`, it means a strong theoretical signal was killed by one of the gates — most likely liquidity (HHI abort) or a doji. Check SQC to know which gate caused it.
---
## Row 4 — SQC + Pip Bars
**The number** is the Signal Quality Coefficient — a multiplicative product of all five quality gates. Range ` `.
**The pip bars** `████ / ███░ / ██░░ / █░░░` give you instant visual confidence:
| Pips | SQC Range | Meaning |
|---|---|---|
| `████` | > 0.75 | All gates clean. Full confidence. Treat signal at face value |
| `███░` | 0.50–0.75 | One gate is degraded. Use signal but be aware of which gate |
| `██░░` | 0.25–0.50 | Two or more gates degraded. Signal valid but reduce position size |
| `█░░░` | < 0.25 | Output suppressed — CMS Adjusted will show `⚠ NO SIGNAL` |
**How to use SQC as a position sizing input:**
Don't use it as a binary pass/fail. Use it as a scale. If your normal position size at `▲ STRONG BULL` is 100%, then at SQC `███░` run 75%, at `██░░` run 50%. The number is literally a confidence weight you can apply directly.
**What kills SQC:**
There are six multiplicative components. Any one of them going low drags the product down hard:
| Component | What lowers it | How much |
|---|---|---|
| `sqc_v` (Validity) | Not on daily/weekly timeframe, or zero volume | Drops to 0 — kills everything |
| `sqc_bvc` (BVC accuracy) | No 5m intraday data, or high HHI | 0.55–0.88 range |
| `sqc_phase` (Event trust) | Gap > 2× ATR, or structural event day | 0.50–0.80 |
| `sqc_liq` (Liquidity) | HHI high (concentration), or high Amihud rank | 0.50–1.00, or 0 if abort |
| `sqc_d` (Doji validity) | Bar range < 10% of ATR | 0.30 |
| `sqc_regi` (Regime) | Transitional regime | 0.90 |
---
## Dimensions Block — D1 through D5
Every dimension runs on the same scale: ` `. Positive = bullish pressure, negative = bearish pressure, zero = no signal from this dimension. The colour in the cell matches the tier — green shades for positive, grey near zero, red shades for negative.
**`—` or `no 5m data` / `no 30m data`** means the dimension couldn't compute because the required intraday data wasn't available from your broker for this ticker. The weight for that dimension is dropped and the remaining weights renormalise. This is normal behaviour for some EGX names.
---
### D1 — CPI (Close Position Index)
**The number answers:** *Where did price close within today's range?*
```
+1.00 Closed exactly at session high
+0.50 Closed in the upper quarter of range
0.00 Closed exactly at session midpoint
-0.50 Closed in the lower quarter of range
-1.00 Closed exactly at session low
```
This is the only dimension derived purely from daily OHLC — no intraday data needed. It's always available.
**Reading example:** D1 = `+0.82`. The close was 91% of the way from the session low to the session high. The crowd ended the day with strong upward pressure.
**What it cannot tell you:** It doesn't know if volume supported that close, what time of day the high was made, or whether the close was driven by informed buyers or just thin late-day drift. That's why it carries the lowest weight (0.08–0.15 depending on regime).
---
### D2 — WAM (Wick Absorption Model)
**The number answers:** *Where did the crowd get rejected, and did the other side absorb it with conviction?*
```
+1.00 Long lower wick, large body closing up — heavy selling absorbed with conviction
+0.50 Lower wick present, modest body — absorption occurred, not fully confirmed
0.00 Wicks are symmetric, or body is tiny — no absorption signal
-0.50 Upper wick present, modest body — buying attempt was absorbed
-1.00 Long upper wick, large body closing down — heavy buying absorbed with conviction
```
**Reading example:** D2 = `+0.63`. There is a meaningful lower wick and a solid body. Someone sold aggressively into a level and got absorbed by buyers who then pushed price to close well above the session low. This is a structural sign of demand at a price level.
**The most important interaction:** WAM is the key dimension for confirming D1. If D1 = `+0.82` (closed high) but D2 = `-0.40` (long upper wick, closed off highs relative to wicks) — that's tension. The close was strong but the wicks tell a different story. The divergence engine watches for exactly this.
---
### D3 — NVD (Net Volume Delta)
**The number answers:** *Across all 54 five-minute candles today, who was the net aggressor — buyers lifting offers, or sellers hitting bids?*
```
+1.00 100% of weighted volume was aggressive buying
+0.50 Buyers were the aggressor on roughly 75% of volume
0.00 Equal buy and sell aggression — genuine equilibrium
-0.50 Sellers were the aggressor on roughly 75% of volume
-1.00 100% of weighted volume was aggressive selling
```
This is the highest-weight dimension (0.25–0.40 depending on regime) because it is the closest proxy to actual order flow. It does not depend on where price closed — a stock can close at the top of its range while NVD is negative (sellers were hitting bids all day but absorption held price up).
**Reading example:** D3 = `-0.44`. Despite what the candle looks like, sellers were the net aggressors across the intraday session. That number reflects who was initiating trades, not where price ended up.
**When D3 shows `no 5m data`:** The broker doesn't provide 5-minute history for this ticker. NVD is dropped from the composite. This particularly affects thin EGX names. CMS will still compute from D1, D2, D4, D5 with renormalised weights, but loses its most informative dimension — SQC will reflect this via `sqc_bvc` penalty.
---
### D4 — TVD (Temporal Volume Distribution)
**The number answers:** *Did volume concentrate in the conviction phase (13:30–14:30), and did it point in the same direction as price moved during that window?*
```
+1.00 Conviction phase dominated total volume AND conviction-phase price rose
+0.50 Moderate conviction-phase dominance with bullish direction
0.00 Volume was evenly distributed, or conviction-phase direction was flat
-0.50 Moderate conviction-phase dominance with bearish direction
-1.00 Conviction phase dominated total volume AND conviction-phase price fell
```
**Why this matters more than raw volume:** A candle with 10 million shares traded means nothing if 8 million traded in the first 30 minutes (retail FOMO at open). The same 10 million is very different if 6 million traded between 13:30 and 14:30. Institutional rebalancing happens in the conviction window. TVD measures whether they were there and which direction they pushed.
**On event days** the weighting shifts — opening phase gets higher weight (0.80) because informed traders act at open when news has a time expiry. TVD automatically adjusts, so you don't need to do anything differently.
**Reading example:** D4 = `+0.71`. The conviction window was heavy and price moved upward during that window. Institutional positioning for tomorrow was to the buy side.
---
### D5 — PPT (Price Path Topology)
**The number answers:** *Did the 30-minute closes trace a consistent directional path, and did the pace accelerate or decelerate toward the end?*
```
+1.00 Monotonic grind upward all day, accelerating into the close
+0.50 Mostly directional with some pullbacks, no strong acceleration signal
0.00 Oscillating path that happened to close up/down — no conviction in the journey
-0.50 Mostly directional downward with some bounces
-1.00 Monotonic grind downward all day, accelerating into the close
```
PPT has two sub-components you can think about separately:
**Path Monotonicity** — what fraction of 30-minute steps pointed in the final direction. A day where 8 of 8 steps went up is different from a day where price went up, down, up, up, down, up, up, up and happened to close up.
**Momentum Acceleration** — did the second half of the session move faster than the first half? Positive acceleration (slow start, fast finish) is institutionally consistent. Deceleration (fast start, slow finish) is exhaustion.
**Reading example:** D5 = `-0.28`. Even though the daily close might look fine, the intraday path decelerated toward the end and had inconsistent step direction. The crowd moved without conviction today. Don't trust tomorrow's follow-through.
**The most useful divergence from D5:** When CMS is strongly positive but D5 is negative — this is the Exhaustion pattern (EX flag). The candle looks great, the crowd was net bullish today, but the path tells you energy is fading. Often appears one to two bars before a reversal.
---
## Context Block
### Regime
Three states, driven by ADX and ATR ratio:
| State | ADX | ATR/SMA(ATR) | Meaning for the indicator |
|---|---|---|---|
| `TRENDING` | > 25 | > 1.0 | NVD and TVD weights are elevated. Institutional order flow dominates price action. CMS is most reliable here |
| `RANGING` | < 20 | < 0.8 | WAM and CPI weights are elevated. Absorption at extremes and close position matter more than delta. Watch for mean-reversion signals |
| `TRANSITIONAL` | Between | Between | Default weights apply. SQC gets a 0.90 modifier — slight confidence reduction because regime is ambiguous |
Regime is critical context for interpreting the signal tier. A `▲ MOD BULL` in `TRENDING` regime with high NVD is a different trade from `▲ MOD BULL` in `RANGING` regime driven by WAM — the first is trend continuation, the second is a bounce candidate.
---
### Event Day
**`No`** — Normal session. Phase weights are standard (opening=0.0, discovery=0.50, conviction=1.00). Informed trading expected at close.
**`▲ YES`** — Either the opening gap exceeded 1× ATR, or the opening 30-minute window had more than 2.5× its 20-day average volume. Phase weights have shifted (opening=0.80, discovery=0.45, conviction=0.35). Informed traders may have front-loaded into the opening on time-sensitive news. SQC is reduced to 0.80 for this bar. If the gap exceeded 2× ATR, SQC drops further to 0.50 and the bar should be treated as structurally unreliable for momentum signals.
On event days: D4 (TVD) is the most affected dimension — its output is driven by dynamically reweighted phases. D3 (NVD) is unaffected since it reads raw order flow regardless of when it happened. Trust D3 and D1 more than D4 and D5 on event days.
---
### Divergence
Shows the active divergence pattern for the current bar. Only one shows at a time (priority order: HD → HA → EX → CM). On the chart these appear as plotshapes directly on the indicator panel.
**`None`** — Dimensions are broadly consistent with the CMS direction. Signal is clean.
**`Hidden Dist` (HD ▼)** — Hidden Distribution. D1 (close) is positive (`> +0.35`) but D3 (NVD) is negative (`< -0.25`) and D4 (TVD) is negative (`< -0.15`). The candle *looks* bullish but the crowd was net selling all day and institutional volume was bearish. Classic smart-money distribution pattern. In a topping market this is the most dangerous candle type — price is being marked up while size is being sold into retail buyers.
**`Hidden Accum` (HA ▲)** — Hidden Accumulation. D1 (close) is negative (`< -0.35`) but D3 (NVD) is positive (`> +0.25`) and D2 (WAM) is positive (`> +0.15`). The candle looks bearish but buyers absorbed all supply and the lower wick confirms a defended level. Smart money is building a position at a discount.
**`Exhaustion` (EX ✕)** — D1 is positive (`> +0.35`) but D5 (PPT) decelerated (`< -0.15`) and D4 conviction-phase volume was absent (`< +0.10`). Strong close, but the path slowed and institutional participation faded late. Not a reversal signal by itself — more a momentum quality warning. Often precedes a flat or weak next session rather than a sharp reversal.
**`Conv Mismatch` (CM ○)** — D3 (NVD) is strongly positive (`> +0.35`) but D4 (TVD) is negative (`< -0.20`). There was aggressive net buying throughout the day, but it happened in the opening phase (retail FOMO), not the conviction phase. Institutional traders were not the buyers. High risk of next-session mean reversion as the weak holders unwind.
---
## The Complete Reading Process — Step by Step
When you open the chart at end of day, read in this order:
**Step 1 — SQC first.** If `█░░░` or `⚠ NO SIGNAL`, stop. The bar is not usable for signals today.
**Step 2 — Regime.** Sets the interpretive frame. Are you looking for trend continuation (TRENDING) or mean reversion (RANGING)?
**Step 3 — Event Day.** If YES, discount D4 and D5 slightly, trust D3 and D1 more.
**Step 4 — CMS Adjusted and Signal tier.** Is this a conviction zone (> ±0.35) or noise (< ±0.10)?
**Step 5 — Divergence.** Does the signal have internal conflict? Hidden Distribution on a `▲ MOD BULL` = danger. Hidden Accumulation on a `▼ MOD BEAR` = potential entry.
**Step 6 — Dimension breakdown.** Which dimensions are driving the CMS? A `+0.58` driven by D3 `+0.80` and D4 `+0.75` (both intraday-dependent dimensions) is much stronger than `+0.58` driven only by D1 `+0.90` and D2 `+0.60` (daily OHLC only) with D3/D4/D5 all near zero.
**Step 7 — CMS Raw vs Adjusted gap.** If they are the same, all gates passed cleanly. If Raw is significantly higher, something penalised the bar — usually a gate between 0.25 and 0.75 SQC. Indicator

OTE Power BandsOTE Power Bands
This indicator combines regression flow analysis with dynamic power measurement to visualize trend structure, pullback zones, and market strength in a single framework.
Instead of using static Fibonacci levels, the bands are built around a flowing regression core that continuously adapts to market direction, volatility, and price behavior. The result is a dynamic structure that expands and contracts with changing market conditions.
Key Features:
• Flowing Regression Core
A curved regression engine that tracks the underlying market flow rather than simple moving averages.
• Dynamic Flow Bands
Adaptive upper and lower flow zones calculated from volatility and price deviation. The bands automatically adjust to changing market environments.
• Trend Flow Detection
The regression core determines whether the market is in a bullish, bearish, or neutral flow state.
• Power Engine
Measures trend quality using:
* Regression slope strength
* Regression curvature
* Price distance from the flow core
* Volatility expansion
• AVG Power
Calculates the average strength of the flow over time, helping identify whether the current trend is stronger or weaker than its own historical behavior.
• Edge Measurement
Displays the difference between current Power and AVG Power.
Positive Edge:
Current flow strength is above average.
Negative Edge:
Current flow strength is below average.
Panel Information:
Flow
Current market flow direction.
Power
Current flow strength.
AVG
Average flow strength.
Edge
Difference between current and average strength.
This tool is designed to help traders visualize trend structure, flow quality, and dynamic market behavior without relying on fixed support and resistance levels.
Indicator

Flipped Inverted Z-Score (Subpane)Flipped Inverted Z-Score (Subpane) Indicator
What It Does
This indicator measures how far an asset's current price deviates from its long-term average, expressed as a Z-Score — a statistical measure of standard deviations from the mean.
The description "flipped inverted" means the score rises when price is above its long-term average (bullish territory) and falls when price is below it (bearish territory), making it intuitive to read at a glance.
The indicator also highlights when an asset is overheated (orange) and when the asset has cooled off significantly (blue). Oftentimes when an asset is overheated investors are taking profit, and when an asset is oversold investors are accumulating. It's important though to note that an asset can be overbought or oversold for a long period of time (or may in fact never return to prior highs or lows). The z-score highlights bright green and bright red at extreme values, further enhancing these overbought and oversold areas.
The indicator occupies a separate subpane below your main chart, so it never clutters your price action.
Core Calculations
Three values drive everything:
1-Year Moving Average (MA) — the long-term baseline representing "fair value"
Standard Deviation Proxy MA — a shorter MA used to normalize the deviation, making the score comparable across different assets and price ranges
Flipped Z-Score — computed as -(1Y MA - Price) / Std Dev MA, so positive = price above fair value, negative = price below
The Z-Score is dimensionless and asset-agnostic, meaning it works equally well on Bitcoin at $100k or a stock at $15. This normalization is the key benefit over a plain moving average crossover indicator.
Visual Elements
Z-Score Line
The main line changes color dynamically:
🟢 Lime — Strongly above threshold (bullish momentum)
🟩 Green — Mildly positive (above zero, below threshold)
🟥 Maroon — Mildly negative (below zero, above threshold)
🔴 Red — Strongly below threshold (bearish momentum)
Slow & Fast Moving Averages of the Z-Score
Two smoothed MAs are overlaid on the Z-Score line itself, helping filter noise and identify trend direction within the indicator. Both turn green above zero and red below zero.
Background Highlighting (Hot/Cold Zones)
An optional orange or blue background appears when conditions align for potentially overbought or oversold readings:
🟠 Orange background — Z-Score is elevated, above both MAs, and exceeds the hot threshold → potential overbought/overheated zone
🔵 Blue background — Z-Score is depressed, below both MAs, and exceeds the cold threshold → potential oversold/undervalued zone
Crossover Dots (Optional Alerts)
Small colored dots mark moments when the Z-Score crosses above or below the Slow MA — useful as entry/exit signal triggers or for setting PulseWire alerts.
Baseline Reference Line
A horizontal line at zero marks the dividing line between price being above or below long-term fair value. (Additional lines can be added to help as references. You may find that certain assets are less volatile, and therefore deviate less from the base reference line. This difference may also occur over time for example in the case of a new asset versus a more mature asset.)
User-Configurable Settings
Setting Default — What It Controls
Price Source (Close) — Which OHLCV value drives the calculation
1-Year MA Period (365 bars) — Long-term "fair value" baseline length
Std Dev Proxy Period (150 bars) — Normalization window, shorter = more sensitive
Z-Score Deviation Threshold (±SD) (0.50) — Where the line color flips from mild to strong
Background Hot Threshold (0.34) — Minimum Z-Score to trigger orange background
Background Cold Threshold (0.40) — Minimum Z-Score depth to trigger blue background
Enable Background Highlighting (On) — Toggle hot/cold background on or off
Show Horizontal Reference Lines (On) — Toggle the zero baseline line
Show Z-Score Moving Averages (On) — Toggle the slow and fast MA lines
Slow MA Period (50 bars) — Smoothing period for the trend-following MA
Fast MA Period (3 bars) — Smoothing period for the responsive MA
Show Crossover Dots (Off) — Toggle the MA crossover signal dots
Practical Use Cases
Macro cycle positioning — on daily/weekly charts with default 365-bar settings, the score gives a birds-eye view of where an asset sits in its broader cycle, useful for sizing positions larger or smaller
Overbought/oversold screening — orange and blue backgrounds highlight historically stretched conditions worth watching for reversals
Trend confirmation — when the Z-Score, Slow MA, and Fast MA are all aligned on the same side of zero, it confirms the broader trend direction
Cross-asset comparison — because the score is normalized, you can apply identical settings to BTC, ETH, SPY, or any stock and compare readings directly
Alert triggers — crossover dots (when enabled) give discrete signal events you can attach PulseWire alerts to, removing the need to watch the chart constantly
Tips for Tuning
Shorter timeframes (1H, 4H): consider reducing the 1-Year MA period and Std Dev period proportionally, and uncomment the threshold lines in the source code for finer visual guidance
More sensitive signals: lower the Fast MA period toward 1–2 and tighten the deviation threshold
Reduce noise: raise the Slow MA period and increase the hot/cold thresholds so backgrounds only appear during truly extreme readings
Indicator

Indicator

Indicator

Estrategia DPO - ArteDeJubilarte**English Description**
This strategy combines the Detrended Price Oscillator (DPO), MACD, ADX/DI and two simple moving averages to identify higher-quality trend continuation signals.
The main entry logic is based on the DPO crossing the zero line, confirmed by MACD direction, directional movement through +DI/-DI, and a fast SMA crossing a slow SMA within a configurable confirmation window. The system includes visual BUY, SELL and EXIT signals, configurable alerts, optional session filters, Stop Loss, Take Profit and Trailing Stop management.
The DPO has been implemented in a non-repainting operational format, avoiding future-looking displacement and making the signals more realistic for backtesting and live chart analysis.
Designed primarily for Forex pairs on the 1-hour timeframe, this script is intended for educational, analytical and testing purposes.
**Signature**
Fran Contreras
Judicial Expert in Finance, Wealth, Real Estate and Civil/Commercial Mediation.
MiFID II Financial Analyst.
Quantum Algorithm Creator.
Decentralized Blockchain Assets and Tokenization.
🌐 Perito Profesional
Visit my PulseWire profile for more information.
================
**Descripción en Español**
Esta estrategia combina el Detrended Price Oscillator (DPO), MACD, ADX/DI y dos medias móviles simples para identificar señales de continuación de tendencia con mayor calidad técnica.
La lógica principal de entrada se basa en el cruce del DPO sobre la línea cero, confirmado por la dirección del MACD, el movimiento direccional mediante +DI/-DI y el cruce de una media móvil rápida sobre una media móvil lenta dentro de una ventana configurable de confirmación. El sistema incluye señales visuales de COMPRA, VENTA y CIERRE, alertas configurables, filtro horario opcional, Stop Loss, Take Profit y Trailing Stop.
El DPO ha sido programado en formato operativo sin repainting, evitando desplazamientos visuales que miren datos futuros y haciendo que las señales sean más realistas tanto para backtesting como para análisis en gráfico real.
Diseñado principalmente para pares Forex en temporalidad de 1 hora, este script está orientado a fines educativos, analíticos y de prueba.
**Firma**
Fran Contreras
Perito Judicial en Finanzas, Patrimonio, Inmuebles y Mediación Civil/Mercantil.
Analista Financiero MiFID II.
Creativo de Algoritmos Cuánticos.
Activos Blockchain Descentralizados y Tokenización.
🌐 Perito Profesional
Visita los datos de mi perfil de PulseWire para más información.
Strategy

EMA MACD Trend Decision TableEMA MACD Decision Table v6
This Pine Script v6 overlay indicator summarizes trend, momentum, volume, higher-timeframe context, and ATR-based planning levels into one decision table.
The indicator uses EMA 9, EMA 21, EMA 50, EMA 100, EMA 200, MACD, RSI, ADX / DMI, volume confirmation, optional higher-timeframe EMA trend, and ATR risk planning.
It produces a numeric decision score on every bar. Bullish confirmations add points, bearish confirmations subtract points, and the final score is converted into Strong Buy, Buy, Neutral, Sell, or Strong Sell.
BUY labels appear only when the score first reaches Strong Buy territory. SELL labels appear only when the score first reaches Strong Sell territory.
This tool is designed for chart context and planning. It is not financial advice and does not guarantee trade results.
Scoring Logic
Condition | Score
--- | ---
EMA 9 above EMA 21 and price above EMA 50 | +2
EMA 9 below EMA 21 and price below EMA 50 | -2
Price above EMA 200 | +1
Price below EMA 200 | -1
MACD above signal and histogram above 0 | +2
MACD below signal and histogram below 0 | -2
MACD bullish crossover | +1
MACD bearish crossover | -1
RSI above 55 | +1
RSI below 45 | -1
ADX above threshold and +DI above -DI | +1
ADX above threshold and -DI above +DI | -1
Volume above average and candle closes above open | +1
Volume above average and candle closes below open | -1
Higher-timeframe close above its EMA when enabled | +1
Higher-timeframe close below its EMA when enabled | -1
Decision Output
Score Range | Decision
--- | ---
>= 5 | Strong Buy
2 to 4 | Buy
-1 to 1 | Neutral
-2 to -4 | Sell
<= -5 | Strong Sell
Decision Table Rows
Row | What It Shows | How To Read It
--- | --- | ---
Decision | Final decision and total score | Main summary of bullish, bearish, or mixed confirmation
Last Price | Latest close and price direction | Shows current price context
Bar Change | Close-to-close change and percent change | Positive is above prior close, negative is below prior close
O / H / L | Current open, high, and low | Shows current candle range
EMA 9 / EMA 21 | Short-term EMA relationship | EMA 9 above EMA 21 is bullish, below is bearish
EMA 50 / EMA 200 | Medium and long trend context | Price above EMA 200 supports bullish trend, below supports bearish trend
MACD | MACD state and histogram | Bullish when MACD is above signal and histogram is positive
RSI | RSI state and value | Above 55 bullish, below 45 bearish, above 70 overbought, below 30 oversold
ADX / DMI | Trend strength and direction | Strong +DI lead is bullish, strong -DI lead is bearish
Volume | Volume confirmation | Above-average bullish candle confirms buyers; bearish candle confirms sellers
HTF Trend | Optional higher-timeframe EMA trend | Bullish above HTF EMA, bearish below, Off when disabled
ATR | Current Average True Range | Risk planning unit
Long Plan | ATR-based long stop and target | Reference levels only
Short Plan | ATR-based short stop and target | Reference levels only
Candle Color Meaning
Score Range | Meaning | Candle Color
--- | --- | ---
>= 5 | Strong Buy | Lime
2 to 4 | Buy | Green
-1 to 1 | Neutral | Normal chart color
-2 to -4 | Sell | Maroon
<= -5 | Strong Sell | Red
ATR Planning Formulas
Plan | Formula
--- | ---
Long stop | close - ATR * stop multiplier
Long target | close + (close - long stop) * reward/risk
Short stop | close + ATR * stop multiplier
Short target | close - (short stop - close) * reward/risk
Data Window Values
Code | Meaning
--- | ---
2 | Strong Buy
1 | Buy
0 | Neutral
-1 | Sell
-2 | Strong Sell
Alert Logic
The script includes alerts for Strong Buy Decision, Strong Sell Decision, MACD Bullish Cross, and MACD Bearish Cross.
Strong decision alerts trigger when the score enters strong buy or strong sell territory. MACD alerts are based only on MACD line and signal line crossovers.
Reading The Output
Green output means bullish confirmations are stronger.
Red output means bearish confirmations are stronger.
Gray output means conditions are mixed or neutral.
The decision score is strongest when trend, momentum, volume, and higher-timeframe direction all agree.
Indicator

EFI & MACD Advanced Pro
Indicator Synopsis: EFI & MACD Advanced Pro
This custom PulseWire indicator—created for Simon20cent—is a dual-momentum confirmation filter designed to isolate high-probability trend phases by synchronising a volume-weighted oscillator with a trend-following moving average cross.
It strips away chart noise by compressing two distinct indicator panels into a single, highly scannable visual pane.
Core Components & Logic
The system monitors the interaction between two classic technical metrics:
1. Elder’s Force Index (EFI): Measures the directional power of a move by multiplying price change by volume. It determines whether buyers or sellers dominate the volume profile (Value > 0 or < 0).
2. MACD vs. Signal Line: Tracks classic moving average momentum. A bullish state is triggered when the fast MACD line crosses above the slow Signal line (MACD > Signal).
Visual Matrix (How to Read the Pane)
The indicator renders exclusively as a zero-anchored Column Chart, utilizing four distinct conditions:
* 🟩 Bright Green Column (+1.0): Full Bullish Alignment. The EFI is above zero and accelerating upward, while the MACD line is securely above its signal line.
* 🟥 Bright Red Column (-1.0): Full Bearish Alignment. The EFI is below zero and accelerating downward, while the MACD line is securely below its signal line.
* 🟦 Light Blue Column (+0.5): Divergence / Market Out of Alignment. The indicators do not agree, but the EFI remains positive (>0), suggesting weak bullish underlying volume.
* 📘 Dark Navy Column (-0.5): Divergence / Market Out of Alignment. The indicators do not agree, but the EFI remains negative (<0), suggesting weak bearish underlying volume.
Advanced Institutional Features
* Momentum Grading (Two-Tone Gradients): The columns automatically shift to a darker shade of green or red if structural momentum begins to flatten, providing an early structural warning before a trend formally breaks.
* Trend Exhaustion Alerts (Orange Triangles): Small orange triangles automatically print above or below the columns the exact moment a strong green or red streak loses velocity, marking ideal profit-taking windows.
* Integrated Alert Engine: Features pre-built Pine Script hooks for Bullish Alignment, Bearish Alignment, and Trend Exhaustion, allowing you to link the indicator directly to PulseWire phone push notifications or email alerts.
🟢 Long Exit Warning (Orange Triangle pointing Downward)
This prints at the top of the pane (+1.1) to signal it is time to scale out or close a long position. It triggers when you are in a valid long streak (Green columns), but the very next bar suffers a breakdown in power:
* The Math: The indicator checks if Elder's Force Index (EFI) starts falling compared to the previous bar, OR if the MACD Line slips back below the Signal Line.
* The Meaning: Buyers are running out of breath. Even though price might still be hovering near the highs, the volume-weighted power (EFI) is dropping, meaning institutional buying pressure has dried up.
🔴 Short Exit Warning (Orange Triangle pointing Upward)
This prints at the bottom of the pane (-1.1) to signal it is time to cover your short position. It triggers when you are in a valid short streak (Red columns), but seller momentum hits exhaustion:
* The Math: The indicator checks if EFI starts rising (climbing back toward zero), OR if the MACD Line crosses back above the Signal Line.
* The Meaning: Sellers are exhausted. The downward volume is thinning out, and profit-taking by larger players is likely about to cause a bullish bounce or a prolonged squeeze.
💡 Trading Strategy Tip
Do not use these orange triangles to open new trades. Treat them strictly as protective exit signals. When you see one appear while you are in profit, it means the high-velocity phase of that specific wave has ended, and the indicator is about to print unaligned blue columns.
Indicator

Momentum Conviction [HermesCore]WHAT THIS INDICATOR DOES
Momentum Conviction watches two things at the same moment: where price momentum turns, and how much agreement stands behind that turn. The turn is an EMA crossover — the fast EMA (Exponential Moving Average) crossing the slow one — but only when the MACD histogram (Moving Average Convergence Divergence, a standard momentum gauge) is leaning the same way. A LONG fires when the fast EMA crosses above the slow EMA while MACD momentum is positive; a SHORT is the exact mirror. A cross with no momentum behind it is ignored.
Every signal that does fire is then graded 0 to 5 by a conviction score, built from five independent checks the moment the signal prints. You decide how much conviction you require: show every signal, or raise the minimum and keep only the ones with weight behind them.
WHY IT IS DIFFERENT
Most moving-average tools print an arrow on every cross and leave you to separate the real ones from the noise by eye. My rules are:
A cross is not a signal on its own. It has to happen while MACD momentum agrees. A large share of the crosses that fail are crosses that fired into flat or opposing momentum; gating on the histogram removes them before they ever reach the chart.
The score is a filter, not decoration. It is not a confidence label added after the fact — it is five yes/no facts, known at signal time, summed. Set a minimum and the weak signals never appear.
The higher timeframe gets a vote, not the final word. One of the five points is HTF agreement, so you can weigh it without being ruled by it.
ADX is deliberately excluded. I tested it repeatedly on the charts this was built for and it did not earn a place.
Everything updates on confirmed bars only. No intrabar flicker, no repainting, and the higher-timeframe reads use no look-ahead.
HOW TO READ THE CHART
LONG bubble (green, below the bar) and SHORT bubble (red, above it) mark each qualifying signal. Bubble size is adjustable.
The gradient EMA cloud is aqua when the fast EMA sits above the slow one (uptrend lean) and magenta when below. The slow EMA carries a soft gold glow so the spine of the trend is always easy to find.
A faint background tint colours the whole pane in the trend colour — a peripheral regime cue, nothing to act on by itself.
A faint gold background band shows the previous day's and previous week's range, for context on where price sits inside the larger structure.
THE CONVICTION SCORE
Each check is worth one point, decided at signal time, and never changes afterwards:
Momentum strength — the MACD histogram is larger than its own 50-bar average: the push is bigger than this market's normal push. +1
Slope agreement — the fast EMA is itself moving in the signal's direction, not merely crossing. +1
Higher-timeframe trend — the chosen HTF (4H by default) is trending the same way; its price and 50/200 EMAs agree. +1
Not over-extended — price is within a set ATR (Average True Range, a volatility measure) distance of the slow EMA, so you are not entering after the move has already run. +1
RSI room — RSI (Relative Strength Index, 0–100) is not already at an extreme in the signal's direction; there is room left to travel. +1
Five of five is a cross with bigger-than-normal momentum, sloping the right way, aligned with the higher timeframe, entered near value, with room to run. Zero is a bare cross with nothing behind it. The minimum-score input is where you set your own bar.
HOW I USE IT
The defaults are deliberately fast (EMA 2/12) — a low-timeframe, many-signals setting. Slow the lengths down for swing work and you get fewer, heavier signals.
I treat a high-score signal that agrees with the higher timeframe as the one worth acting on, and a low-score signal as information about the tape rather than a trade. The honest part: this is trend and momentum logic. It earns its keep when the market trends and gives a good deal of it back in ranges. The regime tint and the HTF vote exist to keep you on the right side of that question, not to solve it — be honest with yourself about which regime you are actually in.
SETTINGS THAT MATTER
EMA fast/slow and MACD lengths — the engine. Defaults are fast; raise them for higher timeframes and fewer, heavier signals.
Minimum score (0) — your conviction bar. 0 shows everything; raise it to thin the chart to signals with agreement behind them.
Higher timeframe (4H) — the trend you check against. Match it to your horizon.
Max distance to slow EMA (2.0 ATR) — how far from value still counts as "not over-extended."
RSI overbought/oversold (72/28) — the "room left" thresholds.
Each score component can be switched off individually if you want to see what it contributes on its own.
ALERTS
Momentum Conviction LONG and Momentum Conviction SHORT, both firing on the confirmed close of the signal bar, with ticker and timeframe in the message.
CALCULATION DETAILS
All logic evaluates on confirmed bars. A signal cannot appear or disappear inside a forming candle.
The trigger is the fast/slow EMA cross; the gate is the sign of the MACD histogram on the same close.
The higher-timeframe trend uses that timeframe's prior-bar close and 50/200 EMAs, requested with no look-ahead, so it does not repaint.
The conviction score is computed once, at signal time, from the values listed above.
HONEST LIMITATIONS
This is trend-following momentum. In a range it will cross back and forth and hand gains back; no filter removes that, it only thins it.
The score is a hypothesis about signal quality, not a measured edge. This indicator does not keep score for you. If you want to know whether higher scores actually perform better on your symbol, run the matching strategy version in the Strategy Tester with realistic costs and read the result yourself.
The defaults trade often. On a live account, slippage and spread on frequent entries matter more than the chart suggests — cost everything before you believe anything.
Signals are evaluated at the close; real fills happen later and worse. Treat the chart as the ideal case.
It runs on any symbol and timeframe, but "runs" is not "has an edge" — whether it works on your market is yours to verify. Past behaviour is not the next signal.
Not financial advice. It manages no positions and places no orders.
ORIGINALITY
The ingredients — EMA crosses, MACD, RSI, ATR — are as old as charting. The momentum-gated trigger, the five-factor conviction score and its use as a hard filter, the regime-aware visual language and the non-repaint construction are my own work in Pine v6. Every value the script uses is recomputable from the rules above.
Questions and suggestions are welcome in the comments. Enjoy. Indicator

Kinetic Momentum & Capitulation Model (KMCM)🚀 KMCM Adaptive Regime Oscillator (KMCM)
The KMCM (Kinetic Momentum & Capitulation Model) is a volatility-adaptive market regime oscillator designed to quantify directional energy imbalance by integrating price momentum, volume mass dynamics, and statistical energy dispersion into a single bounded regime signal. Rather than treating price as a simple time series, KMCM reconstructs market behavior as an energy system where movement intensity is jointly determined by velocity and participation.
The core objective of KMCM is to detect regime transitions between momentum expansion, neutral equilibrium, and capitulation-driven stress phases. It does this by modeling market activity as a normalized kinetic system and transforming the resulting distribution into a bounded oscillator ranging approximately between -100 and +100.
Unlike traditional momentum indicators that rely primarily on price derivatives (ROC, RSI, MACD), KMCM incorporates volume-adjusted mass and volatility-adaptive scaling. This allows the indicator to remain structurally stable across different volatility regimes and asset classes while preserving sensitivity to regime shifts.
💡 Key Features
🧠 Kinetic Market Model:
KMCM interprets market behavior as a simplified physical system where price velocity represents momentum and volume represents mass. The resulting “energy” formulation captures the intensity of participation behind directional moves rather than price movement alone.
📊 Volume-Normalized Mass Scaling:
Volume is normalized against its adaptive moving average to construct a relative participation metric. This ensures that abnormal volume expansions or contractions are properly reflected in regime intensity rather than absolute scale distortions.
🔬 Volatility-Adaptive Period Engine:
All internal computation windows are dynamically adjusted using ATR-based volatility ratios. This prevents overfitting to fixed time horizons and ensures that the model self-adapts to changing market regimes.
⚡ Statistical Energy Transformation:
Directional energy is derived from velocity-squared magnitude scaled by participation mass, then standardized using z-score normalization. This produces a statistically consistent representation of market stress and expansion phases.
🛡️ Nonlinear Compression Layer:
A hyperbolic tangent transformation compresses raw statistical output into a bounded oscillator space. This preserves extreme regime information while preventing signal saturation during high volatility events.
📉 Dual-Threshold Regime Logic:
Market conditions are classified into three primary states:
* Expansion Regime (Above Upper Threshold): Strong directional imbalance and momentum continuation pressure
* Neutral Regime (Between Thresholds): Balanced market structure and reduced directional conviction
* Capitulation Regime (Below Lower Threshold): Stress-driven liquidation dynamics and downside exhaustion phases
🔬 Mathematical Logic and Structure
KMCM is built on a multi-layer statistical energy framework that converts raw market microstructure into a normalized regime oscillator.
The process begins by computing velocity as a rate of change over an ATR-adaptive window. This velocity is then combined with a volume-derived mass factor, which represents relative participation intensity compared to its historical baseline.
A kinetic energy proxy is constructed by squaring velocity and scaling it with normalized mass. This formulation ensures that large directional moves with strong participation are weighted disproportionately higher than low-volume price fluctuations.
To stabilize the signal, directional energy is standardized using a rolling mean and standard deviation, producing a z-score representation of market imbalance. This step transforms raw energy into a distribution-aware signal that is comparable across time and assets.
The z-score output is then passed through a hyperbolic tangent function, compressing it into a bounded regime oscillator. This step ensures nonlinear saturation control while preserving structural extremes.
Finally, exponential smoothing is applied to reduce microstructure noise, and slope filtering is used to eliminate short-term directional instability. This results in a stable regime oscillator that prioritizes structural shifts over transient fluctuations.
In essence, KMCM does not attempt to predict price direction. It models the *intensity and structure of market participation* as a kinetic system and translates it into a unified regime framework of expansion, neutrality, and capitulation.
🛠️ How to Use
1. Expansion Regime (Above Upper Threshold):
Indicates strong directional momentum supported by elevated participation. Trend continuation strategies and breakout positioning are statistically favored.
2. Capitulation Regime (Below Lower Threshold):
Represents forced liquidation, panic-driven behavior, or exhaustion of selling pressure. Reversal or mean reversion structures become more relevant.
3. Neutral Regime (Between Thresholds):
Signals equilibrium conditions where directional conviction is weak. Range-based strategies or reduced exposure conditions are more appropriate.
🎛️ Settings
* Minimum Velocity Period (7–21): Controls sensitivity of momentum detection
* Volume Period (30–150): Defines adaptive participation baseline
* Upper Threshold (30): Expansion boundary for regime classification
* Lower Threshold (-30): Capitulation boundary for regime classification
* Smoothing Length (7 EMA): Stabilization layer for signal refinement
📌 Credits and Origins
KMCM is engineered by @gunebak4n as a volatility-adaptive kinetic regime framework designed to unify momentum, volume, and statistical dispersion into a single structural oscillator. The model is intended for regime-based analysis rather than directional prediction, emphasizing structural transitions over raw price movement.
The design prioritizes robustness across volatility regimes, making it suitable for discretionary traders, quantitative researchers, and systematic strategy development workflows focused on regime awareness.
⚠️ Disclaimer
All outputs generated by KMCM are probabilistic and non-deterministic. This indicator does not predict future price direction or guarantee outcomes. It is a structural market analysis tool intended to support decision-making under uncertainty. Proper risk management is required at all times.
Indicator

Quantum Imbalance Trap [MarkitTick]💡 This advanced analytical tool is a comprehensive market structure and momentum suite designed to identify high-probability institutional-style footprints through structural price imbalances, relative volume anomalies, and dynamic volatility tracking. By integrating a sophisticated multi-layered filtering engine, it provides traders with a complete visual and statistical ecosystem, featuring dynamic risk-to-reward mapping, session-specific filters, advanced RSI divergence checks, and automated JSON webhook alerts for seamless algorithmic integration.
✨ Originality and Utility
What sets this tool apart from conventional momentum oscillators is its holistic, data-driven approach to signal validation. It does not merely detect large candles; it synthesizes the candlestick's body-to-range ratio, compares localized volume to a historical moving average, and optionally requires structural liquidity sweeps and RSI divergences before flagging an event. Furthermore, the inclusion of fully formatted, localized JSON alerts containing precise targets and confidence scores makes this indicator highly utilitarian for traders utilizing automated execution bots. The real-time, non-invasive dashboard completely eliminates the need for manual risk-to-reward drawing tools, drastically reducing cognitive load.
🔬 Methodology and Concepts
The core engine operates on a strict, multi-variable confluence matrix:
Imbalance & Volume Detection: Evaluates the specific relationship between a candle's real body and its total range (high-to-low). A signal triggers only if this ratio exceeds a user-defined threshold simultaneously with a volume surge that breaches a defined multiplier of the historical volume SMA.
Momentum & Trend Alignment: Utilizes a fast versus slow Simple Moving Average crossover to dictate the immediate micro-trend, ensuring signals fire in the direction of the active order flow.
RSI Divergence: An optional mechanical filter that compares recent price action against a 14-period RSI to locate classic bullish or bearish divergences, adding a layer of exhaustion-reversal logic.
Liquidity Sweeps: Analyzes recent price nodes to determine if local swing highs or lows were structurally breached (swept) prior to the imbalance, indicating potential trap mechanics.
MTF Validation: Safely references a non-repainting higher timeframe (HTF) 20-period SMA. It dynamically penalizes the mathematical "Confidence Score" if the micro-signal contradicts the macro trend.
🎨 Visual Guide
• Chart Elements
Entry Zone Boxes: Semi-transparent cyan boxes indicating the optimal dynamic re-entry area based on a 0.35x ATR modifier.
Signal Labels: Upward (cyan) or downward (orange) triangles marking the exact trigger candle with localized text.
Risk-to-Reward Lines: Solid colored lines for the Entry point, dashed deep pink lines for the Stop Loss (SL), and dotted lines for Take Profit (TP) levels 1, 2, and 3.
Price Labels: Text annotations extending rightward from the action, detailing the exact price coordinate and R-multiple for each respective TP level.
• On-Chart Dashboard
Positioned in the top-right corner with a sleek, dark-themed background and custom-colored text mappings.
Row-by-Row Metrics: Displays the asset ticker, localized Micro Trend, HTF Macro Trend, Imbalance Percentage, Volume Spike Percentage, and an aggregated Confidence Score using active visual block meters (█/░).
Live Tracking: Monitors the active trade state (Long/Short/Idle), current ATR value, dynamically tracked Entry/SL/TP prices, and a live tracking of the floating Risk-to-Reward (R) metric.
📖 How to Use
Wait for a definitive signal label to plot on the chart, confirming that the baseline imbalance, volume, and enabled filters have aligned.
Consult the on-chart dashboard to review the "Confidence Score." A higher percentage (closer to 100%), supported by solid block meters and HTF alignment, indicates a structurally superior setup.
Utilize the automatically generated Entry, Stop Loss, and TP lines to establish risk parameters before executing a position. The shaded zone box identifies an optimal area to scale in.
For algorithmic setups, configure your external bot to parse the automated JSON alert strings to execute trades completely hands-free based on the indicator's defined R-multiples.
⚙️ Inputs and Settings
Every aspect of the logic and visual output is fully customizable through categorized input groups:
• Signal Detection
Imbalance Lookback (Bars): Dictates the lookback window for volume averages, momentum SMAs, and localized swing structures.
ATR Period: The lookback length for the Average True Range calculation, governing dynamic SL distances.
Body-to-Range Threshold: The minimum percentage the solid candle body must occupy relative to its entire wick-to-wick range.
Volume Spike Multiplier: The exact threshold multiplier by which current volume must exceed the volume SMA.
RSI Divergence Confirmation: A toggle to mandate an active RSI divergence for signal validation.
• Smart Money Concepts
Require Liquidity Sweep: When toggled, the engine mandates a structural sweep of the recent highest high or lowest low before plotting a signal.
• Order Flow
Higher Timeframe Alignment: Mandates that the localized signal matches the structural bias of a higher timeframe.
Higher Timeframe: A dropdown selection to dictate the exact MTF resolution referenced (e.g., 60 minutes).
Dynamic Re-entry Zone: Toggles the persistent forward extension of the Entry Zone boxes for continued visual reference.
• Risk Management
Stop Loss ATR Multiplier: Defines the precise mathematical distance of the stop loss line, scaling automatically with asset volatility.
Take Profit 1, 2, and 3 (R-Multiple): Exact floating-point settings to define the distances of targets based strictly on Risk-Reward multiples.
• Alerts & Sessions
Bullish / Bearish Signal Alert: Toggles for activating the fully structured JSON alert webhooks.
Enable Session Filter: Activates strict time-based operational windows.
London / New York Open: Specific boolean toggles to restrict signal detection exclusively to the London (07:00–10:30 UTC) and/or New York (12:30–15:00 UTC) trading sessions.
• Dashboard & Visual Style
Show Entry Zone / Show Price Labels: Toggles to hide or display specific on-chart visual elements to manage chart clutter.
Background / Text Colors: Dedicated color pickers for the dashboard table aesthetics.
Bullish / Bearish / Target Colors: Complete hex/RGB customization for trend alignments, signal labels, and every dynamically drawn Risk-to-Reward line.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The algorithmic foundation of this indicator heavily relies on volume-weighted price kinematics and statistical normalization. By isolating the body-to-range differential, the code mathematically abstracts the concept of aggressive, one-sided market participation, filtering out symmetric volatility (dojis) in favor of asymmetric momentum. The integration of relative volume acts as an independent confirming variable, a critical tenet in auction market theory, which postulates that true price discovery requires heavy transactional density.
The "Confidence Score" utilizes a multivariate linear normalization technique. It aggregates disparate data arrays—imbalance depth, volume intensity, and momentum velocity—into a bounded 0-100 percentage scale. Crucially, it applies a deterministic penalty if the micro-trend contradicts the macro-trend, rooted in the fractal nature of time-series analysis where higher-degree trends exhibit stronger gravitational pull on price action. Finally, the risk mechanics are anchored in dynamic expectancy models; by utilizing the Average True Range (ATR) multiplied by user-defined R-variables, the script ensures that standard deviation and local variance are constantly factored into target projection, honoring the mathematical realities of market heteroskedasticity.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Indicator

Sin RSI Footprint■ Overview
The Sin RSI Footprint【ALT_analyst】 indicator brings the concept of footprint charting to momentum oscillators.
Instead of mapping trading volume at price levels, this script peers inside the current higher-timeframe candle to map the internal momentum using Lower Timeframe (LTF) RSI data.
By visualizing exactly where and how momentum was distributed within a single bar, traders can identify hidden exhaustion, hidden accumulation/distribution, and intra-bar divergences that are invisible on standard charts.
■ Core Modes & How It Works
The script utilizes request.security_lower_tf to fetch an array of LTF RSI and Close prices for the duration of the current chart's bar. It then processes this data in one of two distinct visualization modes:
1. Matrix Mode (Traditional Price Level)
This mode acts like a traditional footprint or volume profile, but for RSI.
■ The Calculation
The script divides the high-to-low range of the current candle into user-defined bins (e.g., 10 rows). It calculates the step size:
step = (high - low) / Matrix Rows
For each LTF data point, it determines the correct row using:
math.floor((close - low) / step)
Why this calculation is used
To map momentum to specific price levels, allowing you to see if buyers or sellers were exhibiting strong momentum at the extremes or the middle of the candle.
Actual Output Values
The script outputs an averaged RSI value (ranging from 0.00 to 100.00) for each specific price row. The boxes are colored based on this average (0-9 for extreme oversold, 90-100 for extreme overbought).
2. Stack Mode (Vertical Momentum)
This mode stacks LTF RSI prints vertically above or below the candle based on a baseline threshold.
■ The Calculation
By default, if the LTF RSI is > 50, it is categorized as bullish and stacked above the candle's high. If <= 50, it is stacked below the candle's low. The height of each box is calculated dynamically using:
box_height = ATR * Box Height Multiplier
Why this calculation is used
Separating prints above and below the candle isolates bullish vs. bearish momentum bursts. Using ATR for box height ensures the boxes remain visually proportionate across different assets and timeframes regardless of absolute price volatility.
Actual Output Values
The output generates box coordinates (Top, Bottom, Left, Right) relative to the chart's price scale. The text inside represents the exact LTF RSI value at that sequence point (e.g., 72, 34).
■ Key Features
Noise Filter (Hide Range): Clean up the chart by hiding neutral RSI values (e.g., hiding everything between 40 and 60). This leaves only the significant momentum extremes visible.
Highlight & Enlarge: Automatically expand the width and height of boxes that contain extreme RSI readings (e.g., > 80 or < 20) to instantly draw your eye to critical exhaustion points.
Compression Logic: Consecutive LTF RSI prints that fall into the same color tier and threshold are grouped into a single, taller block to prevent chart clutter.
Custom Color Themes: Choose from Normal, Aurora, Rainbow, or Monochrome to suit your chart background.
Rendering Modes: Includes a Real-time mode for live trading and an "Ultra-Light" Historical Camera Track mode to efficiently review past data without exceeding Pine Script's drawing limits.
■ How to Use
1. Spotting Reversals (Matrix Mode)
Look for deep red (overbought) RSI footprints concentrated at the very top of a bullish candle. If the next candle fails to break that high, it suggests momentum exhaustion at resistance.
2. Confirming Breakouts (Stack Mode)
When price breaks a key level, look at the Stack Mode. A large stack of green/blue boxes above the candle confirms sustained LTF bullish momentum driving the move, rather than a single anomalous tick.
3. Filtering Noise
Set the "Hide Range" to 35-65. The indicator will now only display footprint boxes when the LTF RSI reaches true overbought/oversold extremes, making it highly effective for identifying turning points.
■ Developer's Note
As a fundamental characteristic of the RSI, momentum patterns observed on higher timeframes tend to carry greater reliability due to the natural reduction of market noise. To capture the purest momentum shifts, it is recommended to begin your analysis on larger timeframes.
Disclaimer: This script maps mathematical momentum and does not guarantee future price movements. It is best used in conjunction with price action and broader market context. Indicator

Stockbee Signals DashboardStockbee Signals
Stockbee Signals combines three key Stockbee-style indicators into a single visual dashboard:
TI65 – Trend strength based on short-term vs. long-term moving averages.
MDT – Price position relative to the 126-day moving average.
M20 – Momentum breakout/breakdown signal based on 30-day price action.
The indicator displays each signal as a color-coded bar and provides an alert when all three signals are bullish.
Signal Colors
🟢 Green = Bullish
⚪ Gray = Neutral
🔴 Red = Bearish
Indicator Components
TI65
Measures the ratio of the 7-day moving average to the 65-day moving average.
Interpretation:
Green: TI65 > 1.05
Gray: TI65 between 0.95 and 1.05
Red: TI65 < 0.95
A green TI65 indicates a strong uptrend.
MDT
Measures the stock price relative to its 126-day moving average.
Interpretation:
Green: MDT > 1.10
Gray: MDT between 0.90 and 1.10
Red: MDT < 0.90
A green MDT indicates the stock is trading significantly above its longer-term trend.
M20
Identifies significant momentum moves over the previous 30 trading days.
Bullish M20 (Green):
Price is at least 20% above the 30-day low, or
Price has risen at least $20 from the 30-day low
Minimum volume requirement is met
Bearish M20 (Red):
Price is at least 20% below the 30-day high, or
Price has fallen at least $20 from the 30-day high
Minimum volume requirement is met
Neutral (Gray):
Neither bullish nor bearish conditions are met
Triple Green Signal
A Triple Green Signal occurs when:
TI65 is Green
MDT is Green
M20 is Green
When all three conditions are met, the indicator triggers the alert: “Stockbee Signal => GREEN”
This represents alignment across trend, relative strength, and momentum. These values can be used in PulseWire Pine Screener (Add as favorite to use that way). This combination identifies stocks showing strong trend, relative strength, and momentum characteristics.
I personally use it as an overlay indicator in the lower pane behind another indicator which shows only when I bring mouse-over.
When all three continues to be green helps me make decision on holding the stocks longer as the overall trend is intact and maximize returns.
Disclaimer: This script is not validated or endrosed by Stockbee and solely based on interpretation of different videos I watched. If anyone sees the logic being inaccurate, please suggest. This tool is intended for scanning, watchlist building, and identifying stocks that may deserve further research. This indicator is for educational and research purposes only. It is not financial advice. Always perform your own analysis and risk management before making trading decisions. Indicator

Indicator

Indicator

Strategy

MACD Mean Reversion ShadingMACD Mean Reversion Shading
This indicator is a visual MACD tool designed to make MACD/signal-line momentum shifts easier to read at a glance.
Unlike a standard MACD display that only plots the MACD line, signal line, and histogram, this version emphasizes the relationship between the MACD and signal line by coloring the MACD line, plotting optional crossover dots, and shading the space between the MACD and signal line.
The purpose is to help traders quickly identify potential mean-reversion momentum turns after extended moves, especially when MACD begins crossing back toward the signal line.
How it works
The indicator calculates MACD using customizable EMA lengths. The default settings are:
Fast EMA: 8
Slow EMA: 21
Signal EMA: 5
These faster settings are designed to be more responsive than the traditional 12/26/9 MACD.
When the MACD line is above the signal line, the indicator colors the MACD line green and shades the area between the two lines green. When the MACD line is below the signal line, the MACD line turns red and the shaded area turns red.
Optional dots mark MACD/signal-line crossovers:
Green dot: MACD crosses above the signal line
Red dot: MACD crosses below the signal line
The histogram can be displayed using either two-color or four-color logic. The four-color mode distinguishes between rising/falling momentum above and below the zero line.
Multi-timeframe option
The script can calculate MACD using the current chart timeframe or an alternate user-selected timeframe. This allows traders to view higher- or lower-timeframe MACD behavior while staying on the current chart.
How to use it
This script is not intended to be a standalone buy/sell system. It is designed as a visual momentum and mean-reversion aid.
Potential uses include:
Spotting MACD/signal-line turns after extended directional moves
Identifying when bearish momentum is weakening
Identifying when bullish momentum is strengthening
Comparing MACD momentum across different chart timeframes
Using the shaded MACD/signal area as a quick visual trend/momentum filter
A green shaded region suggests MACD is above its signal line. A red shaded region suggests MACD is below its signal line. Traders should combine this with price structure, support/resistance, trend, volume, and broader market context.
Original contribution
The main contribution of this script is its visual treatment of MACD/signal-line interaction: dynamic line coloring, shaded MACD/signal spread, crossover dots, four-color histogram behavior, and optional multi-timeframe calculation in one configurable tool. Indicator

Indicator

MACD + Timeframe DisplayHave you ever maximized your MACD pane to get a closer look at a crossover, only to realize the top toolbar disappeared and you forgot exactly which timeframe you were analyzing?
This indicator solves that frustrating UI quirk.
This script is a 1:1 replica of PulseWire’s standard built-in MACD, but with one major quality-of-life upgrade: it features a dynamic, built-in display table in the top right corner of the indicator pane that continuously tracks your active chart timeframe.
Because the text is drawn directly onto the indicator's canvas, it stays perfectly visible even when the pane is double-clicked and maximized.
Key Features:
Classic MACD Math: Uses the exact same calculations, inputs, and histogram color schemes as the default PulseWire MACD. Your signals and familiar aesthetics remain completely unchanged.
Smart Timeframe Formatting: Automatically detects your active timeframe and converts raw minutes into a clean, human-readable format. Instead of displaying "60" or "240", it dynamically formats the text to "1H", "4H", "15m", "1D", etc.
Unobtrusive UI: The timeframe is displayed in a clean, semi-transparent box in the top right corner of the pane, ensuring it doesn't block your view of the moving averages or histogram.
How to use:
Simply add it to your chart, replace your old MACD, and customize your moving average lengths just like you normally would. The timeframe display is entirely automatic! Indicator

McGinley Dynamic + LWPI ConfluenceWHAT IT DOES
This overlay combines two complementary reads of the market into a single confluence framework: the McGinley Dynamic, an adaptive trend line that speeds up when price runs and slows down in quiet conditions, and the Larry Williams Proxy Index (LWPI), a volatility-scaled balance-of-power oscillator. A signal prints only when both engines agree: trend direction from the McGinley Dynamic, momentum confirmation from the LWPI.
WHY COMBINE THEM
Every fixed-length moving average lags by a constant amount, which makes it too slow in fast markets and too jumpy in slow ones. The McGinley Dynamic addresses that by scaling its own smoothing factor with the ratio of price to its previous value — but, like any trend line, it says nothing about who is actually in control of the move. The LWPI measures exactly that: the average open-to-close pressure normalized by ATR. On its own, however, the LWPI whipsaws inside strong trends. Each component covers the other's blind spot, which is the reason for the mashup: the McGinley Dynamic decides direction, the LWPI decides timing.
HOW IT WORKS
1. Trend engine — McGinley Dynamic:
MD = MD + (price - MD ) / max(k * N * (price / MD )^4, 1)
The fourth-power ratio term automatically widens the divisor when price stretches away from the line, reducing overshoot and whipsaw versus EMAs of comparable length. Price above the line = bullish regime (line plots green), below = bearish (red).
2. Momentum engine — LWPI:
LWPI = 50 * SMA(open - close, N) / ATR(N) + 50
Readings below 50 mean closes are dominating opens relative to volatility (buyers in control); above 50, sellers are in control. Optional smoothing (SMA/EMA/WMA/RMA) is available for noisy symbols.
3. Confluence logic:
- Long state: price above McGinley Dynamic AND LWPI below 50
- Short state: price below McGinley Dynamic AND LWPI above 50
A triangle prints on the first bar a state becomes active. The optional candle coloring shows the full extent of each state; the dashboard in the top-right corner summarizes trend, momentum and confluence at a glance.
4. ATR reference bands:
Dotted bands at +/- ATR * multiplier around price provide volatility context, e.g. for evaluating whether a stop distance is realistic for the symbol and timeframe. They are informational and not part of the signal logic.
HOW TO USE IT
Works on any market and timeframe; it was designed with trending instruments in mind (crypto, FX majors, index futures). A simple workflow: read the regime from the line color, wait for the LWPI to hand momentum back to the trend side, and use the confluence triangle as your alert to start analyzing — not as an automatic entry. The three built-in alerts (long confluence, short confluence, trend flip) let you monitor multiple symbols without watching charts.
SETTINGS
All defaults are textbook values, not curve-fitted: McGinley length 14 with the standard 0.6 constant from the original formula, LWPI period 8, ATR 14 with a 2.0 multiplier. Every input is documented with tooltips.
CREDITS
The McGinley Dynamic concept belongs to John R. McGinley, CMT. The Larry Williams Proxy Index concept was popularized on PulseWire by loxx, whose open-source work this script's momentum component builds on, with thanks.
DISCLAIMER
This is an educational tool for market analysis. It is not financial advice and no performance is implied or promised. Always do your own research.
Indicator

Adaptive Divergence Core [JOAT]Adaptive Divergence Core is an open-source Pine Script v6 oscillator that combines HMA-smoothed RSI behavior, adaptive percentile bands, confirmed divergence lines, and regime fills. It is designed to make oscillator extremes relative to the current chart sample instead of relying only on fixed overbought and oversold levels.
The script is useful when standard oscillator thresholds are too rigid. A market can stay strong or weak for long periods. Adaptive Divergence Core recalculates upper and lower fields from recent oscillator distribution, then plots confirmed divergence only after both price and oscillator pivots are confirmed.
Core Concepts
1. HMA-RSI Core
The oscillator blends RSI on raw price, RSI on HMA-smoothed price, and an HMA-smoothed RSI value. It is centered around zero for easier bullish and bearish reading.
hmaSource = ta.hma(src, hmaLen)
rawRsi = ta.rsi(src, rsiLen)
rsiOnHma = ta.rsi(hmaSource, rsiLen)
smoothedRsi = ta.hma(rawRsi, smoothLen)
core = (rsiOnHma * 0.58 + smoothedRsi * 0.42) - 50.0
2. Adaptive Percentile Bands
The upper and lower bands are calculated from rolling percentiles of the oscillator. This lets the bands adapt to the recent distribution of momentum.
upperRaw = ta.percentile_nearest_rank(core, percentileLength, upperPercentile)
lowerRaw = ta.percentile_nearest_rank(core, percentileLength, lowerPercentile)
3. Extreme Fields
Additional 95th and 5th percentile fields help show deeper oscillator stretch zones beyond the primary adaptive bands.
4. Confirmed Divergence Detection
Bearish divergence requires price to form a higher confirmed pivot high while the oscillator forms a lower confirmed pivot high. Bullish divergence requires price to form a lower confirmed pivot low while the oscillator forms a higher confirmed pivot low.
5. Regime Fill
The script fills the oscillator against zero and against its guide line, making positive and negative regimes easy to read without large markers.
Features
HMA-RSI oscillator: Blends raw RSI, RSI on HMA, and smoothed RSI
Adaptive percentile bands: Upper and lower thresholds adjust to recent oscillator behavior
Extreme bands: Additional outer fields for deeper stretch readings
Confirmed divergence lines: Divergences plot only after price and oscillator pivots confirm
Divergence labels: Small S Div and B Div labels are placed near confirmed divergence lines
Divergence line cap: Old lines are deleted to respect object limits
Optional candle tint: Can color chart candles from the oscillator pane setting
Dashboard: Shows core value, bands, divergence counts, and current field
Alerts: Divergence, band entry, and band release conditions
Input Parameters
Core:
Source: Price source
RSI Length: Base RSI period
HMA Price Length: HMA source smoothing
HMA RSI Smooth: Smoothing for the raw RSI component
Adaptive Bands:
Percentile Length: Lookback used for adaptive thresholds
Upper Percentile: Upper adaptive threshold percentile
Lower Percentile: Lower adaptive threshold percentile
Divergence:
Divergence Left Bars / Right Bars: Pivot confirmation settings
Maximum Divergence Lines: Object cap for plotted divergence lines
Divergence Labels: Shows or hides compact divergence labels
Visuals:
Tint Candles: Optional candle tint from the oscillator state
Show Dashboard: Shows or hides the compact top-right pane dashboard
Palette: Selects the local JOAT color preset
How to Use This Indicator
Step 1: Read the Core Relative to Zero
Values above zero show positive oscillator regime. Values below zero show negative oscillator regime.
Step 2: Use Adaptive Bands
When core enters the upper or lower adaptive band, momentum is stretched relative to its recent sample.
Step 3: Evaluate Divergence After Confirmation
Divergence lines are delayed by pivot confirmation. This is intentional and avoids projecting unconfirmed pivots into the past.
Indicator Limitations
Divergences confirm late because pivots need right-side bars
Adaptive bands depend on the selected lookback and can shift over time
Divergence is context, not a complete trade plan
During strong trends, oscillator stretch can persist for many bars
Originality Statement
Adaptive Divergence Core is original in its HMA-RSI blend, rolling percentile threshold system, confirmed pivot divergence logic, and compact dashboard. It uses public Pine v6 functions to build a distinct oscillator workflow.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Oscillator divergences can fail or remain early for extended periods. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
Indicator
