Strategy

Indicator

Gamma Exposure (GEX) Levels - JMerc567Here's how to use it effectively:
Setting Up (Daily Pre-Market Routine)
Get your GEX data from one of these free/paid sources:
SpotGamma — best for SPX/SPY
Market Chameleon — free options data
SqueezeMetrics — DIX/GEX for SPY
Then open the indicator Settings and fill in:
Field What to enter
Gamma Flip Strike The price where dealers flip from positive to negative gamma
Call Gamma Wall Strike with the most call open interest / highest positive gamma
Put Gamma Wall Strike with the most put open interest / highest negative gamma
Levels L1–L8 Other high-OI strikes you want to watch
Reading the Dashboard
Regime (most important):
POSITIVE GEX (price above flip) → dealers are short gamma → they buy dips and sell rips → expect mean reversion, low volatility, price pinning near strikes
NEGATIVE GEX (price below flip) → dealers are long gamma → they buy drops and sell bounces acting as amplifiers → expect trending, higher volatility, larger moves
Environment label:
PINNING (low vol) — price tends to gravitate toward high-OI strikes, great for range strategies
TRENDING (high vol) — price can move fast and far, momentum strategies work better
Dist to Flip % — how far price is from the regime change level. Under 0.5% = watch closely.
Key Levels
Call Gamma Wall (green line) = strong resistance — dealers hedge by selling as price approaches
Put Gamma Wall (red line) = strong support — dealers hedge by buying as price drops here
GEX Flip (yellow dashed) = the most important level — crossing it signals a regime change
Alerts
Set these up via PulseWire's Alert dialog (clock icon):
GEX Regime Change — flip cross, potential trend shift
Price Near Flip ±0.25% — watch for acceleration or reversal
Price Near Call/Put Wall — key S/R test incoming
High-Volume GEX Event — diamond marker on chart, potential unpin
Tips
Update levels daily pre-market — GEX resets on each expiration (especially 0DTE Fridays)
The GEX Proxy oscillator (in the dashboard) is volume-based — not real GEX, but useful as a directional bias confirmation
On opex weeks (monthly expiration), GEX effects are strongest Indicator

MGI & Momentum TrendThe suite of indicators plotted here serves as an analytical foundation for capturing market "structure" from multiple perspectives. They are designed to facilitate everything from a broad assessment of the market environment based on weekly charts to precise, tactical entry decisions using daily charts.
Below is an explanation of the logic and role of each indicator, along with guidance on adapting them to market conditions.
This system is designed to deliver its full value when customized by the user to suit changing market environments and the specific characteristics of the assets being monitored.
The display is primarily based on weekly charts, with daily charts used as needed.
MarketGoingIndex (MGI) – Macro Liquidity Environment
Look for buying opportunities when the background indicator lights up while the purple line is rising.
Purpose:
This indicator utilizes the yield spread between US junk bonds and US Treasury bonds—one of the metrics most strongly inversely correlated with capital inflows into the stock market (risk-on sentiment). This spread widens sharply when large-scale investors become anxious about the economic outlook. By calculating the "cumulative 4-week momentum" of this spread and inverting the result, we create a leading indicator for the stock market.
Logic:
It is based on the credit spread of US high-yield bonds (junk bonds). A widening spread signifies rising credit risk, while a narrowing spread indicates abundant liquidity.
Role of the Index:
By calculating the "cumulative change" in the spread, it visualizes the direction of capital flow (risk-on vs. risk-off).
Usage (Market Adaptation):
For the US market: It functions using the default settings. Another suitable alternative is FRED:BAA10Y (Moody's Seasoned Baa Corporate Bond Yield Relative to Yield on 10-Year Treasury). Major recessions like the COVID-19 crash (where stock prices drop by nearly 20%) often occur in years ending in "9" or "0" and during the first or second year of a U.S. presidential term. In such cases, it is more effective to gauge the timing of a market bottom reversal by using indicators that offer stronger leading signals for recessions than the standard 10-year/2-year spread—specifically, the spread between 10-year and 3-month Treasury yields (FRED:T10Y3M), which the Federal Reserve prioritizes.
During major recessions like the COVID-19 crash, the FRED:BAMLH0A0HYM2 indicator is too slow to react.
Image
Focus on short-term Treasury yields, to which the Fed is likely to respond quickly (using the FRED:T10Y3M setting).
For the Japanese market: Since it is highly correlated with the U.S. market, I recommend using this as a leading indicator while also monitoring the momentum of the USD/JPY exchange rate and trends in the Nikkei 225 Volatility Index (NI225VI) for supplementary analysis.
2.Intermediate Trend Background Signal (A/D Difference)
Logic:
Uses the SMA of the Advance/Decline (A/D) line to indicate market overheating and trend direction via the background color.
Role:
An indicator that measures market "breadth." Areas with background coloring suggest the market is in an overheated zone with a clear trend.
Operation (Adjustment Method):
Thresholds (-1000, -1500) vary depending on the liquidity of the target market.
If the background color does not appear when you want it to, make the threshold looser (closer to 0).
If there is too much noise, adjust the threshold to be stricter (increase the negative value).
System Usage Workflow
Broad Perspective (Weekly Chart):
Check the capital environment using MGI and assess market "heat" via the background color. When the background turns green or pink, it indicates a phase requiring special attention.
Tactical Decision (Daily Chart):
Check the direction of the VStop line and the price position; consider trend-following trades aligned with the direction seen on the weekly chart.
Temporal Edge (Seasonality Chart):
Check where the current price stands relative to historical anomalies to increase your confidence when buying dips or selling rallies.
Key Points for Use
This system does not provide a single "answer"; rather, it is a tool to assist you in interpreting the current market environment. If you find yourself wondering, "Why did the background color appear but the price didn't follow suit?", try fine-tuning the parameters mentioned above.
Please make investment decisions calmly and at your own risk.
Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Astro: Planetary Time Projection [invincible3]Astro: Planetary Time Projection
Astro: Planetary Time Projection is a time-analysis indicator inspired by the market philosophy of W.D. Gann, who believed that markets are governed not only by price but also by recurring cycles of time.
Unlike traditional technical indicators that attempt to forecast future prices, this indicator is designed to project **potential market timing windows**. It starts from an important market high or low (the Anchor) and projects future dates based on the angular movement of selected celestial bodies.
The underlying idea is simple:
A significant market high or low establishes the starting point. As planets advance through specific angular distances from that anchor, the market may enter a period where a reversal, acceleration, breakout, or change in behavior becomes more likely.
The indicator does not predict price direction. Instead, it identifies when market participants may want to pay closer attention to price action.
-----------------------------------------------------------------------------------------------
Core Concept
The workflow follows four simple steps.
Step 1 — Identify an Important Anchor
Select a meaningful market event to use as the Anchor Date.
Typical anchors include:
• Major swing highs
• Major swing lows
• Bull market bottoms
• Bear market tops
• Long-term support or resistance reversals
• Breakout or breakdown dates
• Major economic or geopolitical events
The quality of the anchor often determines the usefulness of the projected timing windows.
-----------------------------------------------------------------------------------------------
Step 2 — Select One or More Planets
The indicator allows multiple planets to be enabled simultaneously.
Supported bodies include:
• Sun
• Moon
• Mercury
• Venus
• Mars
• Jupiter
• Saturn
• Uranus
• Neptune
• Pluto
• North Lunar Node
Each body moves at its own average angular speed, producing unique timing cycles.
-----------------------------------------------------------------------------------------------
Step 3 — Select Planetary Angles
Choose one or more angular projections.
Available presets include:
15°
30°
45°
50°
60°
72°
75°
87°
90°
115°
120°
144°
180°
216°
240°
270°
315°
360°
Custom angles may also be entered to support individual trading methodologies.
-----------------------------------------------------------------------------------------------
Step 4 — Project Future Time Windows
The indicator calculates the amount of time required for each selected planet to travel the chosen angular distance from the Anchor Date.
Those calculated dates are displayed as vertical timing lines on the chart.
These dates represent **potential periods of increased market significance**, where traders may observe:
• Trend reversals
• Trend continuation
• Breakouts
• Breakdown attempts
• Volatility expansion
• Momentum shifts
• Cycle completions
-----------------------------------------------------------------------------------------------
The Gann Perspective
W.D. Gann believed that markets exhibit recurring mathematical and natural cycles.
One of his enduring principles was:
"When Time is fulfilled, Price becomes vulnerable."
Rather than attempting to predict exact prices, Gann often focused on identifying moments when the market had completed an important time cycle.
This indicator adopts that philosophy by using planetary angular movement as a timing mechanism.
It does not assume that planets directly influence financial markets. Instead, planetary cycles are used as a structured and repeatable way to measure the passage of time from significant market events.
-----------------------------------------------------------------------------------------------
Time Projection Instead of Price Prediction
This indicator answers a different question than most technical tools.
Traditional indicators ask:
"Where might price go?"
Astro: Planetary Time Projection asks:
"When should I pay closer attention?"
The projected dates are intended to highlight periods where market behavior may become more dynamic. These dates should always be interpreted alongside price action and broader market context.
-----------------------------------------------------------------------------------------------
Time Confluence
One of the most valuable features of the indicator is the ability to enable multiple planets simultaneously.
When projections from different planetary cycles occur close together, a time confluence is created.
Many Gann practitioners consider these clustered periods to be more significant than isolated timing projections, as multiple independent cycles converge within a relatively short time window.
-----------------------------------------------------------------------------------------------
Repeat Cycle Projection
Markets often display repeating cyclical behavior over longer periods.
The Repeat Cycle option extends each selected planetary projection by additional 360° revolutions.
For example:
90°
450°
810°
1170°
-----------------------------------------------------------------------------------------------
This feature allows users to study both short-term and long-term timing relationships.
-----------------------------------------------------------------------------------------------
Forward and Backward Analysis
The indicator supports both:
Forward Projection
Projects future timing windows beyond the selected anchor.
Backward Projection
Projects historical timing relationships prior to the anchor, making it useful for research and historical cycle analysis.
-----------------------------------------------------------------------------------------------
Suggested Workflow
A common workflow is:
1. Identify a significant market high or low.
2. Set the Anchor Date.
3. Enable one or more planets.
4. Select the desired angular projections.
5. Observe where multiple planetary timing lines cluster.
6. Monitor those dates for technical confirmation using market structure, support and resistance, trend analysis, volume, or momentum indicators.
The indicator is intended to complement—not replace—traditional technical analysis.
-----------------------------------------------------------------------------------------------
Features
• Multiple planetary selection
• Planet-specific color coding
• User-defined Anchor Date
• Multiple angle projections
• Custom angular inputs
• Forward and backward projections
• Repeat 360° cycle projections
• Vertical timing windows
• Optional labels
• Lightweight PulseWire implementation
-----------------------------------------------------------------------------------------------
Current Calculation Model
The current version estimates planetary movement using average angular speeds to generate practical timing projections within Pine Script.
It is designed as a lightweight and educational implementation suitable for market timing studies.
It is not intended to reproduce high-precision astronomical ephemeris calculations or professional astrology software.
-----------------------------------------------------------------------------------------------
Disclaimer
Astro: Planetary Time Projection is an educational market timing tool inspired by Gann's time-cycle methodology.
The projected dates identify potential timing windows, not guaranteed market reversals or price targets.
No indicator can predict future market movements with certainty. Users should combine this tool with sound technical analysis, disciplined risk management, and independent judgment before making trading decisions.
Indicator

Indicator

Tendencia Diaria - EMA 20 / 50 / 200Armé un indicador simple para PulseWire pensado para leer la tendencia diaria de una forma visual, sin llenar el gráfico de señales invasivas.
La base usa tres medias móviles:
• EMA 20: muestra el movimiento de corto plazo y sirve para detectar recuperación o pérdida de impulso.
• EMA 50: ayuda a identificar la tendencia de mediano plazo.
• EMA 200: funciona como referencia de tendencia estructural o de fondo.
Además de dibujar las medias, el indicador muestra una tabla con el precio actual, el valor de cada EMA y la distancia porcentual del precio respecto de ellas.
La tabla clasifica el contexto en distintos estados:
🟢 Alcista fuerte
El precio está por encima de EMA 20, EMA 50 y EMA 200. Además, las medias están ordenadas de menor a mayor plazo y la EMA 200 acompaña subiendo. Es el escenario más favorable para buscar compras.
🟢 Alcista
El precio se mantiene por encima de EMA 50 y la EMA 50 está arriba de EMA 200. La tendencia general sigue siendo positiva, aunque el corto plazo puede estar corrigiendo.
🟠 Corrección alcista
El activo pierde la EMA 20, pero sigue con una estructura de fondo positiva: continúa arriba de EMA 200 y la EMA 50 sigue por encima de la EMA 200. Puede ser una corrección dentro de una tendencia alcista.
🟠 Debilitamiento
El precio está debajo de EMA 20, EMA 50 y EMA 200, pero la EMA 50 todavía permanece arriba de EMA 200. No es una tendencia bajista de fondo plenamente confirmada, pero sí una señal clara de deterioro.
🔴 Bajista
El precio está debajo de EMA 50 y la EMA 50 ya está por debajo de EMA 200. El contexto general es negativo.
🔴 Bajista fuerte
El precio está debajo de las tres medias, ordenadas de forma bajista, y la EMA 200 no muestra pendiente positiva. Es el escenario más débil.
🟠 Rebote bajista
El precio recupera la EMA 20, pero sigue debajo de EMA 200 y la EMA 50 continúa debajo de la EMA 200. Puede haber rebote, pero la estructura principal sigue siendo bajista.
⚪ Neutral
Las medias están mezcladas o el precio está entre ellas. No hay una tendencia clara y conviene evitar decisiones apuradas.
La señal bull del indicador aparece cuando el precio recupera la EMA 20 dentro de una estructura positiva: el precio debe estar por encima de EMA 50 y la EMA 50 debe estar por encima de EMA 200. La idea no es comprar cualquier cruce, sino buscar una recuperación de impulso dentro de una tendencia que ya acompaña.
Las señales se muestran con triángulos discretos para no ensuciar el gráfico.
Importante: esto no busca predecir el mercado ni reemplaza análisis de volumen, soportes, resistencias, contexto macro o gestión de riesgo. Es una herramienta visual para ordenar la lectura de tendencia.
Indicator

Indicator

NY RTH Opening Range [M1D]NY RTH Opening Range
This indicator marks the New York Regular Trading Hours Opening Range (09:30–10:00 New York time, DST-adjusted automatically) on any chart timeframe at or below 30 minutes.
How it works: the script accumulates the highest high and lowest low across every bar that falls inside the 09:30–10:00 New York session window, rather than assuming a single candle equals the range — this makes it accurate whether you're viewing a 1-minute or 30-minute chart.
Once the window closes, the range locks and three levels are drawn: the range high, the range low, and the midpoint (equilibrium). The current day's range plus a user-defined number of prior days are displayed for reference, with prior days dimmed automatically.
After the range locks, the script monitors price for a confirmed bar close beyond the range high or low and marks a single directional signal per side per day. If price later closes back inside the range following a break, a separate marker flags that the break may have failed, prompting reassessment rather than continued directional bias.
A status panel in the corner of the chart shows whether the range is still forming or has locked, the current high/low values, and the live directional bias.
Settings: session window and timezone, line extension length, number of prior days shown, line/marker colours, and panel visibility are all user-adjustable via the indicator's settings menu.
Note: This tool identifies a structural reference level and does not constitute financial advice or a standalone trading signal. As with any single concept, it is intended to be used as one component of a broader trading framework and should be combined with proper risk management. Indicator

CTZ BTC Market Cycles
**CTZ BTC Market Cycles**
This indicator maps Bitcoin's major market cycle turning points using real historical dates — not fixed bar counts — so it works accurately on any timeframe (daily, weekly, monthly).
**What it draws:**
🔵 **Bottom → Bottom** (Cyan) — The full bear-to-bear cycle floor. Historical durations: 1,153d → 1,421d → 1,432d
🟠 **Top → Top** (Orange) — The full bull-to-bull cycle ceiling. Historical durations: 1,478d → 1,424d → 1,426d
🟢 **Bottom → Top** (Green) — The bull run phase from each cycle low to the next peak
🩷 **Top → Bottom** (Pink) — The bear market phase from each cycle peak to the next low
**Known pivots:**
- Bottoms: Nov 2011 → Jan 2015 → Dec 2018 → Nov 2022
- Tops: Nov 2013 → Dec 2017 → Nov 2021 → Oct 2025
**Projected (based on historical averages):**
- Next bottom: ~Oct 2026 (~$34k, based on diminishing drawdown pattern: 84% → 77% → ~69%)
- Next top: ~Sep 2029 (+1,430d from Oct 2025 top)
**Bear zone shading** highlights the current drawdown window from the Oct 2025 top to the projected Oct 2026 bottom.
**Status bar** on the current bar shows days since last bottom, days since last top, and days to projected next bottom.
All pivots, colours, arc height and projections are fully customisable in settings.
*Published by CTZ — 25 years trading experience. Part of the CTZ indicator suite.*
Indicator

SMT - NDOG - NWOG - CBDR - FLOUT - Z DAYHere is a simple breakdown of how it works and how to use it:
1. Z-Day Profile (The "Coiled Spring")
What it is: A Z-Day is an ICT concept representing a day of extreme consolidation where the market essentially goes nowhere (zero net change). How the script tracks it: The script calculates the Average Daily Range (ADR) over the last 14 days. If a trading day finishes and its total range was less than 50% of the normal ADR, the script stamps a yellow "Z-DAY" label at the start of the next day. How to use it: When you see a Z-Day label, expect massive, violent expansion (trend days) to occur shortly after, as institutional energy has been tightly coiled.
2. SMT Divergence (Smart Money Tool)
What it is: SMT spots fake moves or underlying strength/weakness by comparing two assets that should move together (like NQ and ES). How the script tracks it: You enter a correlated ticker in the settings (e.g., CME_MINI:ES1!). The script pulls that asset's data in the background. It then tracks swing highs and lows on both charts simultaneously. How to use it: If your current chart makes a Lower Low (sweeping liquidity), but the hidden SMT chart makes a Higher Low, the script flags this as a Bullish SMT. It means the down-move on your chart is likely a fake stop-hunt, and price is preparing to reverse upward.
3. Price Action Gaps (NDOG & NWOG)
What it is: Voids in price caused by the market closing and reopening. These gaps act as algorithmic magnets. How the script tracks it:
NDOG (New Day Opening Gap): Tracks the gap between the 5:00 PM EST close and the 6:00 PM EST reopen.
NWOG (New Week Opening Gap): Tracks the gap between Friday's close and Sunday's reopen. How to use it: The script draws colored boxes over these gaps and extends them endlessly to the right. The box will only disappear once price completely overlaps and "fills" the gap, allowing you to use them as high-probability draw-on-liquidity targets.
4. Dealer Ranges & Projections (CBDR & Asian)
What it is: Institutions accumulate orders during specific quiet hours (Dealer Ranges), and then manipulate or expand price outward based on those ranges. How the script tracks it:
It boxes the absolute High and Low printed during the CBDR (Central Bank Dealers Range, 14:00-20:00 NY time).
It boxes the absolute High and Low printed during the Asian Range (20:00-00:00 NY time).
How to use it: The exact moment the Asian Range finishes at midnight, the script measures the height of the CBDR box. It then projects Fibonacci Standard Deviation lines (+1, +2, -1, -2) out into the future. You use these dashed lines as algorithmic take-profit targets for the new trading day.
It also calculates the Flout, which combines the CBDR and Asian ranges together, cuts them in half, and projects dotted lines for alternate target projections. Indicator

PD Arrays MatrixThis script is arguably the most comprehensive script in this workspace. It acts as an algorithmic footprint scanner, actively mapping the entire spectrum of ICT "Premium/Discount Arrays" on your chart in real-time.
Because charting all these footprint concepts can get incredibly cluttered, it features a built-in memory management system, a Lookback Period optimizer (to only track recent data), and toggle switches for every single array type in the settings menu.
Here is exactly what the script detects, draws, and manages:
1. Fair Value Gaps (FVGs) & Consequent Encroachment (CE)
BISI (Buyside Imbalance Sellside Inefficiency): A Bullish FVG. Drawn as a green box when a massive up-move leaves a 3-candle gap.
SIBI (Sellside Imbalance Buyside Inefficiency): A Bearish FVG. Drawn as a red box during a massive down-move.
CE (Consequent Encroachment): It automatically calculates and draws a dotted midline perfectly through the 50% equilibrium mark of every active FVG, which algos use for precise mitigation.
2. Inversion FVGs (IFVG)
The script actively monitors the life-cycle of every FVG. If a Bullish FVG fails to support price and a candle closes completely below it, the script intelligently flips its polarity.
It turns into a Bearish Resistance zone (colored red/gray) labeled IFVG, extending into the future.
3. Balanced Price Ranges (BPR)
A highly sensitive algorithmic signature. If the script detects that a new Bearish FVG has formed and perfectly overlaps the price range of an older Bullish FVG, it highlights that specific overlapping zone in yellow. This acts as a massive magnet/rejection zone for future price action.
4. Volume Imbalance (VI)
Detects microscopic inefficiencies. If two consecutive candles gap up or down so heavily that their bodies do not overlap at all, but their wicks do touch, the script draws a small purple VI zone between the bodies.
5. Order Blocks (OB)
To filter out low-probability order blocks, the script mathematically enforces the Displacement Rule. It will only flag an institutional down-candle (+OB) or up-candle (-OB) if it immediately precedes a move impulsive enough to leave behind an FVG.
6. Breaker Blocks (+BRK/-BRK) & Mitigation Blocks (MB)
The script monitors the life-cycle of Order Blocks! When an Order Block fails and price breaks aggressively through it, the algorithm checks the previous swing structure:
Did price sweep liquidity (a higher high / lower low) before breaking the OB? If yes, it flips the failed OB into a Breaker Block, turning support into resistance.
Did price fail to sweep liquidity? If yes, it flips it into a Mitigation Block.
7. Rejection Blocks
It scans the chart for unusually long institutional wicks (specifically, wicks that are more than double the size of the candle body and statistically significant relative to the ATR).
When found, it draws a block from the open/close of the candle body out to the extreme tip of the wick, highlighting where institutional accumulation or distribution took place off-screen. Indicator

Indicator

Candle Pattern Forecast# Candle Pattern Forecast — Complete Guide
---
## What This Indicator Does
The Candle Pattern Forecast engine looks at the most recent candles on your chart and asks a simple question: **has the market made this same sequence of candles before, and if so, what happened next?**
Every candle tells a story beyond just where price closed. It reveals how decisive the move was (the body), whether buyers or sellers got rejected at the extremes (the wicks), and which side was in control (direction). This indicator reads those four characteristics on each of the last N candles, builds a structural fingerprint of that sequence, then scans back through history looking for every other time the market made a similar sequence.
Once it finds enough matching sequences, it looks at what price actually did in the bars that followed each match. It then plots the median of all those outcomes as a forecast midline, and draws confidence bands showing the range where the bulk of those historical outcomes actually landed.
In plain terms: **the last time the market made candles that looked like this, here is what typically happened next.**
---
## What It Is Not
This is not a crystal ball. It is not predicting the future with certainty. It is showing you a probability-weighted summary of historical behavior following similar candle patterns. The quality of that summary depends entirely on how many good matches exist in history and how consistently those matches behaved afterward. The info box tells you both of those things in real time.
---
## The Display
**Pattern Line** — a purple line tracing the closes of the Candle Lookback window. This shows you exactly which candles the engine read to build its fingerprint, ending at the anchor point where the forecast begins. When Historical Rewind is active, the pattern line shifts back with the rest of the indicator so you always see the sequence that generated the projection.
**Forecast Midline** — the median (or average, if you switch modes) of all the forward price paths observed after matched candle sequences. This is your central tendency line — where the market most commonly ended up after patterns like this.
**Confidence Bands** — the range between the 25th and 75th percentile of historical outcomes by default. The middle 50% of your matched sequences ended up inside these bands. Tight bands mean the matches behaved consistently. Wide bands mean outcomes were scattered and the pattern had no reliable follow-through.
The bands naturally widen as they extend further forward in time. This is correct behavior — the further out you project, the more historical paths diverge from each other.
---
## Inputs — Model Group
**Non-Repaint Mode** — when on, the indicator anchors itself to the last fully closed candle and never changes its projection mid-bar. This is the honest setting for real trading decisions. When off, it updates live on the current bar, which means the projection shifts as price moves.
**Candle Lookback** — how many candles back the engine reads to build its fingerprint. At 5, it reads the last 5 candles and uses their combined anatomy as the pattern it is trying to match in history. Shorter lookbacks find more matches because the fingerprint is simpler. Longer lookbacks find fewer but potentially more specific matches. For short-term intraday work, 3–7 is a practical range. Going much above 10–15 starts to starve the engine of good matches.
**Search Depth** — how far back in history the engine scans looking for matches, measured in bars. At 2000, it looks back 2000 bars. More depth gives more candidates to match against, which is generally better. The limit is how much data your chart actually has.
**Forecast Horizon** — how many bars forward the projection extends after the anchor point. At 10, you get a 10-bar forecast. Keep this in a sensible relationship to your Candle Lookback — projecting 50 bars forward on a 5-candle pattern will produce a technically valid but practically meaningless result as the historical outcomes diverge too much to average meaningfully.
**Pattern Matches** — the target number of historical matches the engine tries to collect. It starts with a very strict similarity requirement and automatically loosens it until it has found this many matches, stopping at the Similarity Floor. More matches produce a smoother, more stable midline but dilute the directional signal. Fewer matches are noisier but more specific. 15–30 is a practical range.
**Similarity Floor** — the absolute minimum similarity score the engine will accept for a match, expressed as a percentage. If it cannot find enough matches above this floor, it takes whatever it found and shows a warning in the info box. This prevents the engine from building a projection on essentially unrelated historical patterns. Raising this makes the engine more selective. Lowering it makes it more permissive.
---
## Inputs — Historical Rewind Group
**Enable Rewind** — when toggled on, the entire indicator shifts backward in time by the number of bars you specify. The fingerprint is read from that past point, the scan searches only history that existed at that time, and the projection extends forward from there — into what is now known history. This lets you visually compare what the indicator would have projected against what price actually did. The pattern line also shifts back to show the candle sequence that was read at that point in time. When off, the indicator runs live as normal.
**Bars Back** — how many bars back to anchor the rewind. At 50, the engine reads the candle sequence from 50 bars ago, finds matches from history prior to that point, and draws the projection forward from there. You can then see how closely the actual subsequent price action followed the forecast. Set to 0 when rewind is enabled but you want to temporarily pause without toggling it off.
The info box Rewind row shows **Live** when rewind is off and **⏪ N bars back** in orange when active, so it is always clear whether you are looking at a live projection or a historical replay.
---
## Inputs — Match Strictness Group
**Match Strictness** — a single dropdown from 1 (Weak) to 5 (Exact) that controls how the engine weighs the four candle anatomy dimensions against each other when measuring similarity.
- **1 — Weak** — all four dimensions (body, upper wick, lower wick, direction) matter equally. The engine is looking for a general structural resemblance. Finds the most matches.
- **2 — Relaxed** — slight emphasis on body conviction. Still broadly permissive.
- **3 — Balanced** — the default. Body size is the dominant signal but wicks and direction still contribute meaningfully.
- **4 — Strict** — strong body emphasis. The engine is primarily matching on how decisive each candle was. Fewer but structurally closer matches.
- **5 — Exact** — body conviction is the overwhelming signal. Only candle sequences with very similar body profiles will qualify. Hardest to match, fewest results.
Think of this as tuning what kind of candle similarity matters most to you. If you care primarily about whether candles were indecisive or committed, lean toward Strict or Exact. If you want a broader match that respects the full candle structure equally, use Weak or Relaxed.
---
## Inputs — Pattern Line Group
**Show Pattern Line** — toggles the pattern line on or off. Default is on.
**Color** — color of the pattern line. Default is purple.
**Width** — thickness of the pattern line. Default is 2.
---
## Inputs — Forecast Group
**Midline Mode** — controls how the central forecast line is calculated from the matched outcomes.
- **Median** (default) — takes the middle value when all outcomes are sorted. More robust to outliers. If one matched sequence had a massive move that was atypical, it gets pushed to the edge rather than pulling the midline toward it.
- **Average** — takes the arithmetic mean of all outcomes. More sensitive to outliers and extreme moves in either direction.
For most use cases Median is the more honest representation of what typically happened.
**Midline Color / Width / Style** — visual styling for the forecast midline.
**Show Confidence Bands** — toggles the upper and lower bands on or off.
**Confidence Band Mode** — controls how the bands are calculated.
- **Percentile** (default) — sorts all historical outcomes at each forecast step and draws the bands at the exact percentile you specify. No assumptions about the shape of the distribution. The bands directly show you where real historical outcomes clustered.
- **Std Deviation** — draws the bands at mean ± N standard deviations. Assumes outcomes are roughly bell-shaped. Can be distorted by outliers inflating the standard deviation even when most matches behaved similarly.
**Lower Percentile / Upper Percentile** — only active in Percentile mode. Default is 25 and 75, meaning the bands show where the middle 50% of historical outcomes landed. Moving to 10/90 widens the bands to capture 80% of outcomes. Moving to 5/95 captures 90%. The right setting depends on whether you want to see the typical range or the full plausible range.
**Band Std Deviation** — only active in Std Deviation mode. At 1.0, the bands cover approximately 68% of outcomes. At 2.0, approximately 95%.
**Upper / Lower Band Color, Width, Style** — visual styling for the confidence bands.
---
## Inputs — Info Box Group
The info box displays the engine's live diagnostic state so you always know what is actually running.
**Show Info Box** — toggles the info box on or off.
**Position** — where on the chart the info box appears.
**Text Size** — size of the info box text.
**Background / Border / Header colors** — visual styling.
---
## Reading the Info Box
**Candle Lookback** — confirms how many candles the fingerprint is built from.
**Forecast Horizon** — confirms how many bars forward the projection extends.
**Matches Used** — how many historical sequences qualified. If this is orange, no matches were found — the engine has nothing to project from. Try lowering the Similarity Floor, reducing the Candle Lookback, or increasing the Search Depth.
**Sim Floor / Fit** — two numbers. The left is the similarity threshold the engine actually settled on to reach your target match count. The right is the average similarity score of all the matches it found. Higher is better. A warning symbol next to the left number means the engine hit the Similarity Floor and could not find enough matches above it.
**Match Quality** — a composite score from Low to High that combines the average similarity of your matches, how close you got to your target match count, and whether the floor was hit. High means the engine found well-matched patterns. Low means the projection is built on weaker material and should be treated with more skepticism.
**Search Depth** — confirms the search depth setting currently active.
**Strictness** — confirms which Match Strictness level is active.
**Midline** — confirms whether you are running Median or Average.
**Bands** — confirms the active band mode and parameters. Shows either "Pctl 25/75" style or "StdDev ×1.0" style depending on your selection.
**Rewind** — shows Live when the indicator is running on the current bar, or ⏪ N bars back in orange when Historical Rewind is active.
---
## Practical Usage Tips
The forecast midline being relatively flat is not a failure — it often means the candle pattern genuinely did not predict a strong directional move historically. In that case the bands are the more useful signal, showing you the range of outcomes rather than pretending to know direction.
Tight bands with a flat midline means the pattern historically resolved with small moves in both directions — a low-conviction setup. Wide bands means the pattern was followed by large moves but in inconsistent directions. A midline with meaningful slope and tight bands is the highest-quality signal the engine can produce.
Treat Match Quality as your confidence filter. When it reads Low or Weak, reduce the weight you place on the projection. When it reads High, the engine found genuinely similar historical sequences and the projection has more structural basis behind it.
Use Historical Rewind to build intuition for the indicator before trusting it live. Step back 50 or 100 bars, observe how the projection compared to what actually happened, experiment with different Candle Lookback and Match Strictness settings, and develop a feel for when the indicator tends to be more or less reliable on your instrument and timeframe. The pattern line makes this especially useful — you can see exactly which candle sequence triggered the projection and compare it visually to where price went next. Indicator

Indicator

Balanced Price Range + V-Shape IndicatorBalanced Price Range + V-Shape Indicator
Overview
This is an open-source intraday scalping model built on ICT-derived price-action concepts. It combines Balanced Price Ranges and V-shaped liquidity-driven reversals into a single contextual system. The scalping method is specific: it looks for a sharp reversal (a "V") off a zone of overlapping imbalance (a Balanced Price Range), but only when that zone is confirmed by higher-timeframe imbalance or a recent liquidity sweep — the kind of fast, location-specific entry used on 1–15 minute charts. Rather than printing every BPR or inverted gap (which is unusably noisy live), it cross-filters them so only confirmed locations are highlighted. The source is fully open; everything below describes exactly what the code does.
Building block 1 — Fair Value Gaps and inversions
A Fair Value Gap (FVG) is a three-candle imbalance: a gap between candle 1's extreme and candle 3's extreme left unfilled by candle 2. The script detects each FVG as it forms and stores the displacement (middle) candle's open and close for later momentum checks. When price later closes back through a gap, that gap is latched as inverted (an iFVG) — its expected support/resistance role flips.
Building block 2 — Balanced Price Range
A Balanced Price Range is the price overlap between a fresh FVG and an opposite-direction iFVG. When a new FVG forms and overlaps an opposite inverted gap within a configurable lookback window, the overlapping band is drawn as a BPR. A minimum-size filter (as a percentage of 14-period ATR) discards slivers too thin to matter. BPR zones extend rightward until price closes through them or a max-extension bar limit is reached.
Building block 3 — Liquidity mapping and sweeps
The script independently maps liquidity from four sources, each toggleable: swing-pivot highs/lows, equal highs/lows (two same-side swings within an ATR tolerance), previous-day high/low, and London / NY-AM session highs and lows. For each level it distinguishes a sweep (wick through, close back — liquidity grab) from a clean break (close beyond — level reclaimed), marking sweeps on the chart.
The V-Shape gate — how the pieces work together
A BPR is upgraded to a "V-BPR" and an entry arrow only fires when the location passes a context gate with two independent confirmation paths, either of which validates the setup:
HTF FVG tap (continuation path): Fair Value Gaps are read from a higher timeframe (chart TF × a user multiplier, snapped to the nearest standard resolution). The gate checks whether price recently tapped a still-valid HTF gap of matching direction, and whether the BPR sits inside or within an ATR buffer of it.
Liquidity sweep (reversal path): a correct-side sweep — a low taken for a long, a high taken for a short — within a recent bar window.
Two candle-level filters refine the trigger: a clean-V-tip rule (the inversion candle must be preceded by an opposite-direction candle, enforcing a real reversal at the tip) and a strong-close rule (the inverting candle must reclaim a set percentage of the displacement candle's body, confirming momentum). An optional clear-path filter rejects a setup when un-swept opposite-side liquidity rests within an ATR danger zone in the trade's direction, since that pool is often taken first.
Chart Examples:
Settings reference
Settings: max BPRs shown, iFVG lookback window, min BPR size (% ATR), max zone extension.
Higher-TF FVG: show/hide, timeframe multiplier, max stored, colour.
V-Shape Gate & Entry: master gate toggle, HTF-tap window, zone proximity buffer, sweep-path toggle and window, clean-V-tip, clear-path toggle and danger-zone size, hide-non-V-BPR, entry-marker toggle, strong-close percentage.
Liquidity & Sweeps: toggles for swing / PDH-PDL / session / equal-H-L sources, pivot strength, equal tolerance, session windows (NY time), max levels, sweep marking, colours.
Colors: bull/bear BPR, FVG/iFVG components, liquidity, sweep marks.
How to use it
Apply to 1–15 minute charts. Drawn BPRs show overlapping imbalance; thicker V-BPR zones and ▲/▼ markers show locations that passed the gate. Each entry marker's tooltip audits why it fired (which path confirmed it and the reclaim %). Begin with the gate on to see only confirmed scalps; loosen by disabling individual filters, or enable "Hide BPRs that fail the gate" to declutter. Alerts fire on confirmed long and short V-Shape entries.
Non-repainting
All higher-timeframe and previous-day data is requested with offset historical expressions, so no future data is used on historical bars; entries evaluate only on confirmed bar closes and do not repaint. Indicator

Flops - OrderblocksDescription
The Advanced Flops - Orderblock indicator is a sophisticated, algorithmic supply and demand tracking system. It dynamically identifies trend-following institutional structures by detecting "Flops" (often known as Orderblocks) in real-time, visualizing exact areas where momentum aggressively shifted.
Instead of relying on a rigid, single-candle definition, this engine operates on a multi-timeframe perspective natively. It simultaneously evaluates 1-Candle, 2-Candle, and 3-Candle breakout logic on every single bar to validate structural breaks and paint flawless institutional supply/demand zones on your chart.
🎯 How It Works: The 1, 2, 3 Logic
The engine evaluates the market looking for a sequence of momentum candles that break structure against the previous opposing candle. By running the 1, 2, and 3-candle logic simultaneously, the script guarantees it catches both immediate V-shape reversals (1-candle) and slower, grinding structural breaks (3-candle) without drawing overlapping or duplicated zones.
Bullish ( Flops - Orderblock ): Formed when the price forcefully breaks the high of the last bearish candle. This indicates newly created demand.
Bearish ( Flops - Orderblock ): Formed when the price forcefully breaks the low of the last bullish candle. This indicates newly created supply.
✨ Key Features
Simultaneous Multi-Candle Logic: Runs three independent sequence checkers at the exact same time to ensure no valid Orderblock is ever missed.
Dynamic Mitigation Engine: Active zones project forward indefinitely into future price action until they are touched or closed through (customizable).
Single Mitigated Memory: A sleek visual feature that automatically deletes old, invalidated zones. It keeps only the absolute last mitigated zone on your chart to show you the most recent point of failure, without cluttering your screen with historical noise.
Trend Deactivation: The script understands market structure. If the dominant trend fully flips (e.g., from Bullish to Bearish based on a 3-candle sequence), all opposing active ( Flops - Orderblock ) zones are immediately deactivated and labeled as "Trend Flip", preventing you from taking trades against a confirmed structural shift.
Boundary Customization: Choose exactly how you want your Orderblock zones measured—either wick-to-wick (High/Low) or body-to-body (Open/Close).
⚙️ Settings
Flop Boundary: Define zones using full Wicks or strictly Candle Bodies.
Mitigation Mode: Choose whether a zone is invalidated the moment a wick "Touches" it, or only when a candle "Closes" fully through the zone.
Show Only Last Mitigated Flop: Keep your charts clean by automatically erasing old mitigated lines and only leaving the single most recent mitigated Orderblock on the chart.
Deactivate on Trend Flip: Automatically invalidate all active supply zones if the macro trend shifts bullish (and vice versa).
Full Visual Control: Customize colors, line widths, line styles (solid, dashed, dotted), and label visibility to fit your exact chart aesthetic. Indicator

Indicator
