Edo Ichimoku StateEdo Ichimoku State — Five-State Structural Classifier for Ichimoku Kinko Hyo
Ichimoku Kinko Hyo is one of the most complete systems available for reading market structure at a single glance. Its name means roughly "one-glance equilibrium chart", yet in practice that single glance is anything but simple: a reader has to combine the position of price relative to the cloud, the slope of the cloud itself, the relationship between Tenkan and Kijun, and the position of the Chikou Span relative to past price before deciding whether the context is a confirmed trend, a directional bias, a transition, or no direction at all.
Edo Ichimoku State keeps that full engine intact and does the synthesis for you. It calculates the five classical Ichimoku lines with their original 9 / 26 / 52 periods, evaluates four independent conditions bar by bar, and returns a single market state, a dual Bull / Bear score, and a summary panel listing the conditions that support the reading. The aim is to turn a visually demanding but technically powerful system into a direct reading surface, without simplifying or discarding any of its original components.
WHAT IT DOES (AND WHAT IT IS NOT)
The indicator is a complete implementation of the Ichimoku system: its five lines, the cloud projected forward by the classical displacement, a discrete classification into five states, a 0-to-4 Bull / Bear score, an optional state-colored background, and a corner panel. By default only the cloud and the colored background are shown, keeping the chart clean; every other line can be turned on individually for those who want the full detail.
It is not a closed trading system or an automatic entry/exit signal generator. It does not predict specific highs or lows, nor does it replace risk management or the trader's own judgment. It is also not a simplified Ichimoku: all five original components are present and calculated with the canonical periods.
THE FIVE LINES
Tenkan-sen (Conversion Line): the midpoint of the last 9 periods' range, (highest high + lowest low) / 2. It is the most reactive line and the first to turn on a reversal.
Kijun-sen (Base Line): the midpoint of the last 26 periods' range. It acts as an intermediate structural reference and as classical dynamic support/resistance.
Senkou Span A (Leading Span A): (Tenkan + Kijun) / 2, displaced 26 bars forward. The first edge of the cloud; it reacts faster than Senkou B to trend changes.
Senkou Span B (Leading Span B): the midpoint of the last 52 periods' range, displaced 26 bars forward. The second, much more stable edge of the cloud; it defines the structural floor or ceiling.
Chikou Span (Lagging Line): the current close, displaced 26 bars backward. It compares current price to the price 26 bars ago and provides historical confirmation.
THE CLOUD (KUMO)
The cloud is the most characteristic element of Ichimoku and the only line shown enabled by default. It is the fill between the two Senkou Spans projected 26 bars forward. When Senkou A is above Senkou B the cloud is bullish and painted in a soft teal green; when Senkou A is below Senkou B the cloud is bearish and painted in a soft coral red. A crossover of the two spans flips the cloud color entirely, an event called a Cloud Flip.
Reading the Kumo is straightforward: price above the cloud is a bullish structural bias with the cloud acting as dynamic support; price below the cloud is a bearish bias with the cloud acting as dynamic resistance; price inside the cloud means no clear direction, and the indicator classifies that situation as Undefined. The thickness of the cloud is proportional to the strength of that support or resistance: a thin cloud breaks easily, a thick one is rarely crossed in a single move. Because the cloud is projected 26 bars forward, it also lets you anticipate the structural support or resistance price will face in the immediate future.
THE FIVE-STATE CLASSIFICATION
The market state is reduced to one of five discrete configurations, ordered from maximum bullish strength to maximum bearish strength:
Confirmed Up — all four bullish conditions active simultaneously.
Bias Up — at least two bullish conditions active and dominating over the bearish ones.
Undefined — price inside the cloud, or a balance between bullish and bearish conditions.
Bias Down — at least two bearish conditions active and dominating over the bullish ones.
Confirmed Down — all four bearish conditions active simultaneously.
The state is built from four independent conditions evaluated on every bar. Price vs Cloud checks whether price is above the cloud (bullish) or below it (bearish); if price is inside the cloud, neither side counts and the state is forced directly to Undefined, following the original Ichimoku logic that there is no operational direction inside the Kumo. Cloud Bias checks whether Senkou A is above or below Senkou B, measuring the projected direction of the cloud. TK vs KJ checks whether Tenkan-sen is above or below Kijun-sen, measuring recent momentum. Chikou Free checks whether current price is above or below the price 26 bars ago, measuring historical confirmation.
BULL SCORE AND BEAR SCORE
Alongside the discrete state, the indicator publishes two complementary scores. The Bull Score counts how many bullish conditions are active on the current bar, out of four; the Bear Score counts how many bearish conditions are active, built from the inverse of each bullish condition. The two are not strictly complementary: both can sit at intermediate values at the same time, for example Bull 2/4 and Bear 2/4 when the cloud is mixed or price is right on its edge. The discrete state resolves which reading prevails. The scores are especially useful for comparing bars within the same state: a Bias Up with Bull 3/4 and Bear 1/4 is more solid than a Bias Up with Bull 2/4 and Bear 2/4, even though both carry the same label.
INFORMATION PANEL
A summary panel sits in one corner of the chart and condenses the Ichimoku state on the most recent closed bar into seven rows. The first row shows the current state label together with its duration in bars (for example 21b), which tells you how long the market has held the same configuration. The next four rows show the individual conditions: Price vs Cloud (Above / Inside / Below), Cloud Bias (Bullish / Bearish), TK vs KJ (TK greater or less than KJ), and Chikou Free (Above / Below / Level). The last two rows show the Bull Score and Bear Score as N / 4. Panel position (any of the four corners), size (Small / Medium) and theme (Dark / Light) are all configurable.
HOW TO READ IT
The state and the score give an immediate reading, but the indicator gains depth when combined with recent transition history. A clean bullish activation typically runs Undefined to Bias Up to Confirmed Up over a few bars, with a Cloud Flip from bearish to bullish and a Bull Score climbing toward 4/4. Bullish exhaustion often shows a long-lived Confirmed Up whose Bull Score oscillates between 3/4 and 4/4 without settling. A drop into the cloud turns the state to Undefined and tends to resolve either as a bounce on Senkou A back into Bias Up, a full crossing that exits below into Bias Down, or sideways action inside the Kumo. A bearish confirmation sees price break the cloud downward while Cloud Bias turns bearish, TK falls under KJ and Chikou stays below historical price, moving the state Undefined to Bias Down to Confirmed Down. The logic is ticker-agnostic and works the same on stocks, indices, crypto, forex and commodities, provided the asset has enough liquidity for stable highs/lows.
ALERTS
The indicator publishes ten native alert conditions, all configured from TradingView's standard alert dialog by picking the event from the dropdown. Five state alerts fire when the state newly enters Confirmed Up, Confirmed Down, Bias Up, Bias Down or Undefined. Two price-vs-cloud alerts fire when the close crosses above or below the cloud. Two Cloud Flip alerts fire when Senkou A crosses above Senkou B (Cloud Flip Bull) or below it (Cloud Flip Bear). Two TK/KJ cross alerts fire when Tenkan crosses above or below Kijun. State-change alerts fire on the exact bar the new state first appears; to avoid intrabar triggers, set the alert to Once Per Bar Close.
CONFIGURATION
Ichimoku periods default to the canonical 9 (Tenkan), 26 (Kijun) and 52 (Senkou Span B), with both the forward cloud displacement and the backward Chikou displacement at 26; these match the original system and changing them is only recommended for specific studies. The Lines section toggles Tenkan-sen, Kijun-sen and Chikou Span (hidden by default) and the Kumo fill (enabled), with a Cloud Opacity from 40 to 95. The State section enables a state-colored background (on by default, opacity 70 to 98) and an optional Paint Candles by State mode. The five state colors are each customizable, and the panel can be shown or hidden, repositioned to any corner, and sized Small or Medium.
OPEN SOURCE
Edo Ichimoku State is published on TradingView as a free, open-source indicator. Any user with an active account can add it to their charts at no cost and use it on whatever timeframes and assets they consider appropriate. You are welcome to study the code and learn from how the four conditions are formalized into the five-state classification.
This indicator is a technical analysis tool for educational and informational purposes only. It does not generate automatic buy or sell signals and should not be considered financial advice. Trading financial markets involves significant risk of capital loss. Past performance does not guarantee future results. Always use proper risk management. インジケーター

インジケーター

Adaptive Support & Resistance Pro + SignalsOverview
Adaptive Support & Resistance Pro is a dynamic technical analysis tool designed to automatically identify, calculate, and plot key Support and Resistance (S/R) levels on your chart. Unlike traditional pivot-based indicators, this script uses a hybrid approach combining Momentum, Relative Strength, and Volatility filters to pinpoint institutional supply and demand zones.
To ensure professional-grade execution, the script is fully optimized to prevent repainting. It operates strictly in real-time, aligning historical signals with the exact moments these key levels were formed.
How It Works (The Engine)
The indicator calculates its levels based on three core components:
Chande Momentum Oscillator (CMO) via HMA: It analyzes the rate of change between two Hull Moving Averages (HMA) of different periods to detect strong shifts in market momentum.
Relative Strength Index (RSI): A 9-period RSI filters out minor market noise, ensuring that support levels are only tracked in oversold conditions ( NYSE:RSI < 25$) and resistance levels in overbought conditions ( NYSE:RSI > 75$).
Legacy Close Pivots: The script analyzes extreme high/low deviations over a specific lookback period to establish the structural price floor or ceiling.
When all three conditions align, a new Support or Resistance price level is established.
Key Features & Settings
Multi-Timeframe (S/R Timeframe): You can plot S/R levels from higher timeframes (e.g., Daily or 4-Hour) directly onto your lower timeframe execution chart (e.g., 15-minute) for top-down analysis.
Signal Trigger Modes: Under the settings, you can choose how signals are displayed:
On Candle Close: Displays a BUY or SELL label immediately on the candle that confirmed the new level.
After Candle Close: Waits for the confirmation candle to close and prints the signal on the next candle, providing an extra layer of validation.
Strict One Signal Per Level Rule: The script features built-in logic that guarantees only one signal will ever be triggered per new structural level, completely eliminating label clutter and overlapping signals.
How to Use It (Trading Strategy)
Support & BUY Signals: Look for green BUY labels after the market prints a fresh support line. This indicates that momentum has shifted upwards from an oversold structural area.
Resistance & SELL Signals: Look for red SELL labels when price prints a fresh resistance line. This indicates institutional selling pressure in an overbought area.
Breakouts & Re-tests: The drawn lines stay on the chart, allowing you to monitor future re-tests of these adaptive zones.
Disclaimer
Past performance does not guarantee future results. This indicator is meant to be used as a supportive tool alongside your own risk management and trading plan. インジケーター

Alpha Forge Liquidity Matrix v2.2# Liquidity Matrix
Liquidity Matrix is a native TradingView overlay designed to map probable liquidity zones, identify sweep traps, and help traders understand where price may be hunting stops.
Instead of focusing only on traditional trend signals, this tool looks at market structure through the lens of liquidity.
Where are traders likely trapped?
Where are stops likely clustered?
Where did price sweep liquidity and reject?
Did the reclaim actually confirm, or did it fail?
Liquidity Matrix was built to answer those questions directly on the chart.
---
## What It Does
Liquidity Matrix tracks recent swing highs and swing lows, then clusters nearby levels into projected liquidity zones.
These zones represent areas where stop orders may be concentrated:
* Swing highs can create buy-side liquidity above price
* Swing lows can create sell-side liquidity below price
* Repeated reactions near the same area increase the weight of that zone
* Stronger zones are shown as heavier projected boxes
The result is a visual map of where liquidity may be sitting before price reaches it.
---
## Liquidity Zones
The indicator draws forward-projected heat boxes directly on the chart.
Upper zones represent probable buy-side liquidity.
Lower zones represent probable sell-side liquidity.
Zone strength is classified as:
* Minor
* Active
* Major
The stronger the zone, the more important that area may become when price approaches it.
These zones are not standard support and resistance lines. They are designed to highlight areas where traders may be trapped, where stops may be clustered, and where fake breakouts or sweep moves may occur.
---
## Sweep and Reclaim Logic
A key feature of Liquidity Matrix is its ability to identify liquidity sweeps.
A sweep occurs when price pushes beyond a liquidity zone, grabs that liquidity, and then rejects or reclaims.
The script separates these events into clearer signal types:
### Buy Signal
A buy signal can occur when sell-side liquidity is swept and price confirms a bullish reclaim.
This suggests price pushed below a lower liquidity zone, triggered stops, and then recovered back above the level.
### Sell Signal
A sell signal can occur when buy-side liquidity is swept and price confirms a bearish rejection.
This suggests price pushed above an upper liquidity zone, triggered stops, and then failed to hold the breakout.
### Exit Long
An exit long signal appears when price sweeps upper liquidity and rejects strongly enough to trigger a structural warning.
This is designed as a circuit-breaker style warning for long positions.
### Exit Short
An exit short signal appears when price sweeps lower liquidity and reclaims strongly enough to trigger a structural warning for short positions.
---
## Signal Strictness
Liquidity Matrix includes three signal strictness modes:
### Early
Signals can trigger faster using wick-based reclaim or rejection logic.
This mode is more responsive, but may produce more early signals in choppy markets.
### Balanced
Signals require a cleaner close-based reclaim or rejection.
This is the default mode and is designed to balance responsiveness with confirmation.
### Confirmed
Signals require follow-through confirmation after the sweep.
This mode is stricter and may reduce false signals, but signals can appear later.
---
## Trade Direction Control
The indicator includes trade direction settings so users can match the tool to their trading style.
Options include:
* Longs & Shorts
* Longs Only
* Shorts Only
In Longs Only mode, buy signals remain active while short-style sell signals are treated as warnings instead of short entries.
In Shorts Only mode, sell signals remain active while long-style buy signals are treated as warnings instead of long entries.
This makes the tool easier to use for stock traders, crypto traders, futures traders, and users who only trade one side of the market.
---
## Signal Label Styles
Liquidity Matrix includes flexible label wording.
Users can choose between:
* Liquidity Terms
* Plain Buy/Sell
* Both
Liquidity Terms display labels such as SSL Reclaim and BSL Reject.
Plain Buy/Sell mode displays simple BUY, SELL, EXIT LONG, and EXIT SHORT labels.
Both mode displays the trade meaning and the liquidity event together.
This allows advanced traders to keep the market-structure terminology, while newer users can choose simpler chart labels.
---
## Dashboard
The dashboard provides a quick read of the current liquidity environment.
It can show:
* Current analysis timeframe
* Nearest upper liquidity zone
* Nearest lower liquidity zone
* Circuit breaker state
* Latest event
* Current bias
* ATR sweep power
* Confirmation status
The bias reading helps identify whether the chart is currently leaning toward sweep risk above, sweep risk below, post-sweep bullish behavior, post-sweep bearish behavior, or a circuit-breaker state.
---
## Confirmation Filters
Liquidity Matrix includes several optional filters to improve signal quality.
### Volume Confirmation
Requires relative volume to meet a minimum threshold before sweep signals are confirmed.
### Trend Filter
Allows signals to be filtered by trend conditions.
Modes include:
* Off
* Signal Quality
* Strict Signals
### Session Killzones
Allows users to define preferred trading windows.
Signals can be filtered to specific sessions, and optional session shading can be displayed on the chart.
### ATR Sweep Strength
The dashboard can show how powerful a sweep is relative to ATR.
This helps separate small liquidity taps from stronger displacement-style sweeps.
---
## Alerts
The indicator includes simplified alert names for easier setup.
Available alert types include:
* Buy Signal
* Sell Signal
* Exit Long
* Exit Short
* Any Buy/Sell Signal
* Any Exit Signal
* Long Warning
* Short Warning
This makes it much easier to create TradingView alerts without needing to understand every internal liquidity term.
Webhook-ready JSON alert calls are also available for users who want structured alert messages for automation, bots, dashboards, or external systems.
---
## How to Use It
Liquidity Matrix is best used as a structure and risk tool, not as a blind signal generator.
Common use cases include:
* Avoiding breakout traps near major liquidity zones
* Spotting failed sweeps before price reverses
* Confirming potential entries after sell-side or buy-side liquidity is swept
* Exiting long positions after upper liquidity rejection
* Exiting short positions after lower liquidity reclaim
* Identifying areas where price may be drawn toward liquidity
* Filtering trade ideas with volume, trend, session, and ATR confirmation
A strong use case is combining Liquidity Matrix with a separate trend or momentum tool.
For example:
A buy signal after sell-side liquidity is swept may carry more weight when trend, volume, and momentum are also aligned.
A sell signal after buy-side liquidity is swept may be more meaningful when price rejects a major upper zone with strong ATR expansion.
---
## Important Notes
Liquidity Matrix does not know where actual stop orders are placed.
It estimates probable liquidity areas using swing structure, repeated reactions, clustering, volatility, and rejection behavior.
The indicator does not guarantee future price movement.
It is designed to help traders better understand where liquidity may be building, when price may be sweeping that liquidity, and when a move may be a trap instead of a true breakout.
As always, this tool should be used with proper risk management and as part of a complete trading plan.
---
## Summary
Liquidity Matrix is a visual liquidity-mapping system built for traders who want to look beyond basic support, resistance, and lagging indicators.
It identifies probable stop clusters, projects liquidity zones forward, detects sweeps and reclaims, provides buy/sell/exit signals, and gives traders a clearer view of when price may be hunting liquidity.
The goal is simple:
See the trap before reacting to it.
インジケーター

Bitcoin Power Law FloorBitcoin Power Law Floor
This indicator plots a long-term Bitcoin Power Law Floor based on the empirical Bitcoin power-law framework associated with Giovanni Santostasi, Harold Christopher Burger, Andrei Perrenod, Bitcoin Observatory, and related Bitcoin power-law research.
The model uses days since Bitcoin’s genesis block as the time variable:
Trend(t) = 10^-16.493 × t^5.688
Floor(t) = Trend(t) × 10^-0.42
The default floor offset in this script is -0.42. For the commonly referenced ~0.40× trend floor, set “Floor log10 offset vs trend” to -0.40.
The plotted floor is intended to represent a historically observed lower-bound region in Bitcoin’s long-term price evolution. It is not a guarantee, not a prediction, and not a trading signal by itself. The model should be used as a long-term reference framework, ideally on BTCUSD or BTCUSDT charts with logarithmic price scale enabled.
The script includes:
- Bitcoin Power Law Floor plot
- Optional central power-law trend line
- Optional future floor projection
- Projection horizons of 3, 5, 10, 15, 20, and 25 years
Sources and further reading:
Bitcoin Observatory — BTC Power Law Floor:
btcpowerlaw.nl
Giovanni Santostasi — The Bitcoin Power Law Theory:
giovannisantostasi.medium.com
Scientific Bitcoin Institute:
scientificbitcoininstitute.org
Special thanks to the scientists, researchers, explorers, data analysts, builders, educators, and content writers who study, test, explain, challenge, and share Bitcoin power-law models. This script exists because of the open work of people exploring Bitcoin with curiosity, rigor, and imagination.
This indicator is for educational and research purposes only. It is not financial advice. Historical model fit does not guarantee future performance. インジケーター

Smart Volume Profile VPVR POC, Value Area, SR [LunqFX]Smart Volume Profile VPVR is a modern, professional-grade volume profile indicator for TradingView that turns raw traded volume into the cleanest possible map of where the market actually did business. It plots the Point of Control (POC), the full 70% Value Area (VAH / VAL), and every High and Low Volume Node (HVN / LVN) as glowing, easy-to-read horizontal support and resistance levels — on any symbol and any timeframe: forex, crypto, stocks, indices, futures, gold (XAUUSD), Bitcoin (BTCUSD), NASDAQ, S&P 500, oil and more. Unlike a plain histogram, this VPVR (Volume Profile Visible Range) tool layers a live order-flow dashboard on top that reads the market in real time and tells you whether price is accepting value, rejecting value, rotating back to fair value, or breaking out — the exact context that separates profitable volume-profile trading from guessing. Built entirely in Pine Script v6 with neon gradient candles and a fully readable, gradient-coloured profile, it is designed to be both beautiful and genuinely useful for day trading, scalping, swing trading and intraday analysis.
◆ WHY VOLUME PROFILE MATTERS
Most indicators are based on price and time. Volume profile is based on price and volume — it answers a completely different and more important question: at which prices did the most trading actually happen? Those prices are where institutions, liquidity and "fair value" concentrate. High-volume areas act as magnets and strong support/resistance; low-volume areas are vacuums that price rips through. By making this structure obvious, Smart Volume Profile helps you trade with the auction instead of against it.
◆ WHAT IT DRAWS ON THE CHART
POC — Point of Control (gold ray): the single most-traded price in the window. This is the market's fairest value and its strongest magnet. Price returns to the POC again and again; it is the most important pivot on the chart.
VAH / VAL — Value Area High & Low (dashed rays): the top and bottom of the zone that contains 70% of all traded volume (fully configurable, 40–95%). Inside this band the market is "comfortable"; outside it the market is in discovery / imbalance.
High Volume Nodes (HVN): thick, bright rows = heavy acceptance = strong support & resistance and reaction/reversal zones.
Low Volume Nodes (LVN): thin, dim rows = rejection / fast-move zones where price tends to travel quickly and gap.
Gradient histogram: every row is colour-graded by its volume, so the profile literally glows where volume is heaviest — you read the structure at a glance instead of squinting at bars.
All levels extend as live rays with clean, high-contrast labels showing the exact price.
◆ THE LIVE DASHBOARD PANEL (this is what makes it "Smart")
A plain volume profile just draws lines. This indicator adds a compact, modern analytics panel that computes context you cannot see on the chart and condenses it into one glance:
Signal — the headline call, colour-coded: ▲ LONG revert, ▼ SHORT revert, ▲ BREAKOUT, ▼ BREAKDOWN, or ● BALANCED. This is the playbook for the current moment (logic explained below).
→ POC — the live distance from current price to the Point of Control, in %. This is your mean-reversion target and a quick read of how stretched price is from fair value.
In VA — a clean segmented meter showing where price currently sits inside the value area (from VAL on the left to VAH on the right). Instantly tells you if you're at the top, middle, or bottom of value.
Acceptance — the split of volume traded above vs below the POC (e.g. 52% ▼ / ▲ 48%). Reveals which side the market is building value on — a directional bias the chart hides.
Pressure — a segmented meter of buy volume vs sell volume across the whole window. Shows whether buyers or sellers are in control of the auction.
Footer — the lookback size and the actual % of volume captured by the value area, so you always know the context behind the numbers.
The panel is fully themeable (position, background, accent) and stays readable on dark charts.
◆ HOW IT WORKS (under the hood)
Binning: the chosen lookback window is divided into price rows ("buckets"). Resolution is adjustable for coarse or razor-sharp profiles.
True volume distribution: instead of dumping each bar's volume at its close, the indicator can spread each bar's volume across every price it actually traded through (high→low), producing a far more accurate profile than close-only methods.
POC detection: the row with the maximum accumulated volume becomes the Point of Control — by construction always the longest bar in the histogram.
Value Area expansion: starting from the POC, the algorithm steps outward toward whichever neighbouring row holds more volume, accumulating until the target (default 70%) of total volume is enclosed. The final boundaries become VAH and VAL — the same methodology used in classic Market Profile.
Order-flow analytics: the script measures volume above vs below the POC (Acceptance) and buy-bar vs sell-bar volume (Pressure) across the window.
Smart Signal engine: it blends Acceptance and Pressure into a single order-flow reading and combines it with price location relative to the value area to classify the situation as a rotation or a breakout (see below).
◆ THE SMART SIGNAL LOGIC
A naive volume-profile tool always says "revert to POC", which gets you run over in trends. This one is smarter:
Price BELOW value + order flow NOT confirming the drop → ▲ LONG revert (rotation back to POC).
Price BELOW value + order flow confirming the drop → ▼ BREAKDOWN (continuation — don't catch the knife).
Price ABOVE value + order flow NOT confirming the push → ▼ SHORT revert (rotation back to POC).
Price ABOVE value + order flow confirming the push → ▲ BREAKOUT (continuation — trade with it).
Price INSIDE value → ● BALANCED (range conditions — fade the edges back toward POC).
This single distinction — rotation vs breakout — is the difference between fading a pullback and getting trapped against a trend.
◆ HOW TO USE IT
Mean-reversion / range trading: in BALANCED or revert states, fade moves at VAH/VAL back toward the POC. The → POC distance is your target; HVN rows are logical stop zones.
Breakout / trend trading: in BREAKOUT / BREAKDOWN states, trade in the direction of the move and target the next HVN. Avoid counter-trend fades when order flow confirms the break.
Support & resistance mapping: treat thick HVN rows as high-probability reaction zones and expect rapid, low-resistance moves through LVN gaps.
Bias & confluence: use Acceptance and Pressure for directional bias, and combine the POC/VAH/VAL levels with your own structure, liquidity, order blocks or session tools for higher-conviction entries.
Multi-timeframe: raise the Lookback for higher-timeframe value (swing context), lower it for intraday/scalping context. Increase Rows for more precise POC placement.
◆ SETTINGS
Volume Profile Engine: Lookback (bars), Rows (resolution), Value Area %, true-range volume distribution toggle.
Profile Look: width, gap from price, anchor side (right of price / classic overlay), Value-Area / outside / POC colours.
Levels: POC ray, VAH/VAL rays, optional Value-Area shading, ray extension, label size (Small → Huge).
Neon Candles: gradient candles (turquoise bullish / magenta bearish) with momentum-scaled glow halo.
Panel: show/hide, position, background and accent colour.
◆ ALERTS
Price crossed POC
Breakout above VAH
Breakdown below VAL
◆ NON-REPAINTING
The profile, levels and dashboard are single objects rendered on the last bar over a fixed rolling lookback — historical bars are never repainted. As with any live tool, the current bar is included in the calculation, so the real-time read updates tick by tick and settles on close; closed history never changes.
Smart Volume Profile VPVR is an educational analysis tool, not financial advice. Volume profile reflects historical traded volume and does not predict future prices. Always do your own research and manage risk. © LunqFX.
インジケーター

Volume-Trend Order Block Engine [BigBeluga]Volume-Trend Order Block Engine is a powerful trading tool for TradingView. It combines trend direction with volume-weighted Order Blocks (OB) to show you exactly where institutional buyers and sellers are active in real time.
Instead of drawing basic support and resistance lines, this tool filters out market noise using a built-in **Supertrend Engine**. This ensures you only see order blocks that align with the main market trend. It also splits each block based on buy/sell volume, showing you who is in control.
🔵 MAIN FEATURES
1. Supertrend Filter
Trend Direction Filter: Tracks the main market trend and filters out choppy sideways movements using the Volatility SMA Length and Multiplier settings.
Trend Cloud Background: Colors the background ( Show Trend Cloud Fill ) to show you instantly if the market is in an Uptrend or Downtrend.
2. Smart Order Blocks & Volume Split
Trend-Locked Blocks: Finds key swing highs and lows based on your Pivot Strength . In an uptrend, it only looks for buy blocks; in a downtrend, it only looks for sell blocks.
No Overlapping Zones: If a new order block forms over an old one, the tool automatically locks the old zone and starts a clean new one to keep your chart tidy.
Volume Split Line ( Split Price ): Breaks down each order block into buy and sell percentages ( Buy % vs. Sell % ). This shows you the exact strength of the buyers and sellers inside that zone.
3. Retest Alerts & Auto-Clean Engine
Retest Signals: Places a cross marker ( ✚ ) on your chart the moment price enters and tests an active order block.
Volume Thresholds: Filters out weak moves. You can set a minimum volume requirement ( Min Buy % / Min Sell % ) so you only get signals when big institutional money is involved.
Auto-Delete Broken Zones: When enabled ( Delete OB on Complete Break ), the tool instantly deletes broken order blocks once the price completely passes through them. This keeps your chart clean.
🔵 HOW TO TRADE WITH IT
Trend Continuation Entries: When the trend is bullish, wait for the price to pull back into a Bullish OB. If it hits the zone and bounces back up with strong volume, a "Retest" cross will appear, signaling a good entry point.
Precise Entries & Tighter Stops: Use the internal volume split line to find better entries. Entering closer to the bottom of a buy zone allows you to use a much smaller stop loss.
Automatic Risk Invalidation: If you are in a long trade and the price breaks completely below the buy zone, the tool deletes that block. This is your visual sign that the trade setup is no longer valid.
🔵 SETTINGS & CONFIGURATION
Trend & Pivot Settings: Adjust lookbacks and volume filters to fit any market, including Crypto, Forex, or Indices.
Style & Clean-Up: Turn the trend background cloud on/off, customize retest markers, and enable auto-deletion to keep your workspace clear.
Color Themes: Fully customize colors for uptrends, downtrends, text, and signals to match your favorite chart theme.
Upgrade your charts from simple lines to a volume-driven, trend-filtered map with the Volume-Trend Order Block Engine . インジケーター

MACD & Stoch RSI Confluence S/RMACD & Stoch RSI Confluence S/R
MACD & Stoch RSI Confluence S/R draws horizontal support and resistance
levels from MACD and Stochastic RSI crossover points, then automatically
merges levels that cluster close together into a single confluence zone.
Instead of treating every crossover as an isolated signal, it highlights
the price areas where two independent momentum oscillators historically
agreed on a turning point.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BACKGROUND — WHY CROSSOVER-BASED LEVELS?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MACD and Stochastic RSI are both momentum oscillators, but they measure
momentum differently — MACD from the relationship between two EMAs,
Stochastic RSI from the position of RSI within its own recent range.
Because of this difference, the two oscillators don't always cross at the
same time or the same price, but when they do cross near the same price
level, it suggests that two independent calculations both detected a
shift in momentum at that point.
Traditional crossover indicators only mark the moment of the crossover
itself and then move on — the price level where it happened is rarely
preserved or revisited. This indicator instead treats every crossover
price as a potential support or resistance level going forward, on the
logic that price has already shown a reaction (a momentum shift) at that
level once, and may do so again if it returns there.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS — TECHNICAL DETAIL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CROSSOVER DETECTION
The indicator calculates a standard MACD (fast EMA, slow EMA, signal line)
and a standard Stochastic RSI (RSI smoothed through a Stochastic
calculation, then K/D smoothing) independently. Bullish crossovers occur
when MACD crosses above its signal line, or when Stochastic RSI's K line
crosses above its D line. Bearish crossovers are the inverse.
Each time a valid crossover occurs, the indicator looks back a
user-defined number of bars (How many bars before crossover?) and records
the low of that bar for bullish crossovers, or the high for bearish
crossovers. This offset exists because the actual turning point in price
often occurs slightly before the oscillator confirms it — anchoring the
line to the prior bar's extreme captures the reaction point more
accurately than the bar where the crossover is technically confirmed.
PROXIMITY FILTERING (PER OSCILLATOR)
Before a new level is recorded, it's checked against existing levels from
the same oscillator and same direction using an ATR-based distance
threshold. If a new crossover price falls too close to an already-recorded
level, it's discarded. This prevents a single trending move that triggers
several crossovers in quick succession from flooding the chart with
near-identical lines.
CONFLUENCE MERGING (ACROSS OSCILLATORS)
After proximity filtering, all surviving levels from both oscillators —
MACD support, MACD resistance, Stoch RSI support, Stoch RSI resistance —
are pooled together. Any levels within a percentage threshold of each
other are merged into a single line, positioned at their average price.
The merged line is labeled with the count of crossovers that contributed
to it, so a label showing "⬡3" indicates three separate crossover events —
potentially from different oscillators — all landed within the merge
threshold of one another.
This merge threshold is calculated automatically based on the chart's
timeframe: wider on higher timeframes (where price ranges are naturally
larger) and tighter on lower timeframes. A manual override is available if
you prefer a fixed percentage regardless of timeframe.
DYNAMIC COLORING
Every line — merged or single — is colored based on its position relative
to the current close. A line below price is colored as support; a line
above price is colored as resistance. Because lines extend forward in
time, a single line can change from resistance to support (or vice versa)
as price crosses through it, and the color updates automatically.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INFO TABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A table in the corner of your choice displays, for the most recent bar:
— The number of support and resistance lines currently shown for each
oscillator separately
— The nearest support and nearest resistance level to current price,
calculated from the same merged lines drawn on the chart — not a
separate calculation, so the table always matches what you see
— Whether the MACD zero-line filter and Stoch RSI overbought/oversold
filter are currently active
— Whether each oscillator is enabled
— The current merge threshold percentage and whether it was set
automatically or manually
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. CHOOSE WHICH OSCILLATORS TO USE
Both MACD and Stochastic RSI are enabled by default. You can disable
either one independently if you only want levels from a single
oscillator, or run both for confluence.
2. SET THE BAR OFFSET
How many bars before crossover? controls how far back from the
confirmed crossover the indicator anchors the level. Start with the
default and increase it if you find levels are consistently anchored
slightly too late relative to the actual price reaction.
3. TUNE THE PROXIMITY FILTER
The ATR Multiplier controls how close a new crossover has to be to an
existing level of the same type before it's discarded. Increase this on
choppy assets to reduce clutter; decrease it if you feel valid levels
are being filtered out.
4. APPLY OPTIONAL FILTERS IF NEEDED
The MACD Zero Line Filter restricts bullish crossovers to above the
zero line and bearish crossovers to below it, filtering out weaker
signals that occur against the broader momentum direction. The Stoch
RSI Overbought/Oversold Filter restricts crossovers to occur only in
oversold or overbought territory, focusing on reversal-type signals
rather than mid-range noise. Both are off by default — enable them if
you want fewer, more selective levels.
5. ADJUST THE MERGE THRESHOLD IF NEEDED
The automatic threshold works well across most timeframes, but if you
trade a single timeframe consistently and want more control, switch to
Manual Threshold and set a fixed percentage that matches your
instrument's typical price behavior.
6. READ THE LABELS
Single-oscillator lines are labeled "M" (MACD) or "S" (Stoch RSI).
Merged lines are labeled with a count (e.g. "⬡2", "⬡3") showing how many
crossovers — and potentially how many different oscillators — agreed on
that level. Higher counts represent stronger confluence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHERE TO USE IT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator works on any asset class and any timeframe, since both
oscillators and the merge threshold are calculated directly from the
chart you have open. It's particularly useful for:
— Identifying support/resistance levels that are backed by momentum
shifts rather than purely price-action-based pivots
— Spotting confluence zones where MACD and Stoch RSI crossovers
historically aligned, which may carry more weight than a level
identified by either oscillator alone
— Confirming reactions at prior turning points — if price returns to a
level where a crossover previously occurred, the level provides context
for whether momentum may shift again
— Combining with other structure or volume-based tools as part of a
broader confluence-based approach, rather than as a standalone signal
generator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MACD: Fast/Slow/Signal EMA lengths, source, bar offset, max support/
resistance lines kept, line width, colors, extend mode, ATR-based
proximity filter, zero-line filter
Stochastic RSI: RSI period, Stochastic period, K/D smoothing, source, and
the same set of line/extend/proximity/zone options as MACD
Merging: enable/disable, automatic or manual threshold, merged line color
and width
Table: show/hide, position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ORIGINALITY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MACD and Stochastic RSI crossovers are both well-established concepts
individually, but this script's specific contribution is treating
crossover prices as persistent support/resistance levels rather than
one-off signals, combined with a cross-oscillator confluence merge that
identifies where two independently-calculated momentum tools agreed on
the same price area. The ATR-based proximity filter and timeframe-adaptive
merge threshold are the author's own approach to keeping this practical
and readable on a live chart rather than producing chart clutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is intended for educational and analytical purposes only.
No indicator can predict future market movements with certainty. Always
use proper risk management and combine multiple forms of analysis before
making trading decisions. インジケーター

Monthly Statistical LevelsMonthly Statistical Levels is an open-source indicator that plots monthly reference levels based on historical monthly price extensions from the monthly open.
The goal of the script is to provide a clean statistical map for the current and recent months. It is designed as a market structure and reference-level tool, not as a buy/sell signal system.
How it works
The script uses completed monthly candles from TradingView data.
For each completed month, it calculates two historical extensions:
High extension:
Monthly High minus Monthly Open, divided by Monthly Open.
Low extension:
Monthly Open minus Monthly Low, divided by Monthly Open.
These historical extensions are stored separately for upside and downside movement.
At the start of each new month, the script uses the current monthly open and projects five reference levels:
Strong High
Avg High
Open
Avg Low
Strong Low
Avg High is based on the historical average upside extension from the monthly open.
Avg Low is based on the historical average downside extension from the monthly open.
Strong High uses the average upside extension plus a configurable standard deviation multiplier.
Strong Low uses the average downside extension plus a configurable standard deviation multiplier.
By default, the strong multiplier is set to 1.0, meaning strong levels use the historical average extension plus one standard deviation.
Lookback options
Users can choose the statistical lookback used for the calculations:
24 months
36 months
60 months
120 months
All available history
Using all available history can make the levels more stable, but it may also mix different market regimes. This is especially important for assets with structural changes, short trading histories, or very different behavior across cycles.
No lookahead logic
The indicator uses completed monthly candles to build the historical sample.
Each month keeps the levels calculated with the information available at the start of that month. The current month is used only for its monthly open, which is known once the month begins.
This means the levels are not recalculated using future monthly highs or lows.
How to use it
The levels can be used as a visual reference for monthly range structure.
Possible uses include:
Identifying where price is trading relative to its monthly statistical range.
Comparing the current month with recent monthly behavior.
Observing when price reaches average or stronger historical extension zones.
Keeping a cleaner chart with only the most recent visible months.
Main settings
Visible months:
Controls how many recent months are displayed. The default is 6 and the maximum is 12 to keep the chart readable.
Statistical lookback:
Controls the historical sample used to calculate average and strong levels.
Minimum closed months:
Defines the minimum number of completed monthly candles required before plotting levels.
Strong multiplier:
Controls how far strong levels are placed from average extension levels using standard deviation.
Labels:
Users can show labels only for the current month, for all visible months, or turn labels off.
Alerts
The script includes optional alert conditions for touches of:
Strong High
Avg High
Open
Avg Low
Strong Low
Limitations
This indicator does not predict future price movement.
It does not identify support or resistance with certainty.
It does not generate buy or sell signals.
It does not evaluate trend, fundamentals, macro conditions, liquidity, positioning, or news.
The levels depend on the TradingView symbol selected, the available historical data, and the chosen lookback window.
Why it may be useful
Many traders look at monthly opens, monthly ranges, and volatility-based zones separately. This script combines those ideas into one clean open-source tool: monthly open-based statistical levels built from completed historical monthly extensions.
It helps traders visualize where price is trading relative to its own historical monthly behavior, while keeping the chart simple and readable. インジケーター

Ict Mmxm Frameworkict mmxm framework is a session-based market structure tool designed to organize intraday price delivery around fpi zones, macro windows, order blocks, imbalances, breakaway gap order blocks, opening ranges, and session range structure.
The script is built to help traders study how price behaves during the asian, london, new york morning, lunch, and new york afternoon sessions. It separates each major session into its own visual components so the user can compare pre-session ranges, active session ranges, macro windows, fpi areas, imbalance areas, order block zones, breakaway gap order blocks, and opening range levels.
Main components:
* pre-asian range from 7:00 pm to 9:00 pm new york time
* asian range from 9:00 pm to 12:00 am new york time
* asian macro windows at 6:50 pm to 7:10 pm, 8:50 pm to 9:10 pm, and 12:50 am to 1:10 am
* pre-london range from 2:00 am to 3:00 am new york time
* london range from 3:00 am to 5:00 am new york time
* london macro windows at 1:50 am to 2:10 am, 2:50 am to 3:10 am, and 4:50 am to 5:10 am
* new york morning, lunch, and afternoon session structure
* fpi visualization for asian, london, and new york sessions
* separate fpi detection for asian and london macro windows
* selected-bias imbalance mapping
* selected-bias order block mapping
* breakaway gap order block mapping
* high, midpoint, and low price labels for imbalance, order block, and breakaway gap order block zones
* opening range levels for the new york morning and afternoon sessions
* configurable session visibility and visual settings
The asian and london sections include range boxes, high and low references, midpoint references, macro windows, fpi areas, selected-bias imbalance zones, selected-bias order block zones, and breakaway gap order block context. These components are intended to help traders compare how price develops from one session into the next.
The selected expected bias controls how the main imbalance and order block zones are emphasized. When bearish bias is selected, the framework focuses on the highest relevant bullish order block and premium-side imbalance context. When bullish bias is selected, the framework focuses on the lowest relevant bearish order block and discount-side imbalance context.
The order block, imbalance, and breakaway gap order block zones use soft transparent colors based on the selected expected bias. Bearish bias uses red-toned zones, while bullish bias uses green-toned zones. This is intended to keep the chart visually aligned with the selected directional framework.
The purpose of this script is to provide a structured visual framework for studying session-based delivery, liquidity reference points, fpi behavior, macro timing, order blocks, imbalances, breakaway gap order blocks, and projected levels. It is intended for market context, discretionary planning, and research.
This script does not generate guaranteed trade signals, does not predict future price movement, and does not provide financial advice. It should be used together with independent analysis and proper risk management.
Asian Session:
London Session:
Ny Session:
インジケーター

Auction Regime Atlas v1.0 # 🧭 Auction Regime Atlas v1.0
Auction Regime Atlas is a Pine Script v6 overlay indicator designed to visualize market acceptance, value migration, rejected auction areas, and contextual auction regimes directly on the chart.
❌ It is not a buy/sell signal tool.
❌ It is not a strategy.
❌ It is not an orderflow or liquidation-data replacement.
🎯 The goal is to help traders understand where price has been accepted, where value is forming, where price has moved away from value, and whether the current market context is balanced, transitional, displaced, or low quality.
---
## 💡 Core Idea
Markets often rotate around accepted value before moving into new auction areas.
Auction Regime Atlas maps that process by combining:
* price acceptance over a lookback window
* volume participation
* candle efficiency
* wick/rejection behavior
* higher-timeframe context
* regime classification
* distance from current value
📊 The result is a compact visual framework for understanding auction context without flooding the chart with signals.
---
## 🚀 Main Features
### 1. 🎯 Core Value Band
The Core Value Band highlights the price area where recent market activity shows the strongest acceptance.
It is calculated from a price-bin acceptance model using:
* time spent near price
* volume concentration
* close location
* wick/rejection behavior
⚠️ This band is meant as auction context, not as a mechanical support or resistance level.
---
### 2. 📏 Acceptance Edges
Upper and lower acceptance edges define the boundaries of the current accepted value area.
These edges help identify whether price is:
* inside accepted value
* above value
* below value
* far away from value
---
### 3. 🔄 Auction Regime
The dashboard shows a simplified auction regime state.
Current v1.0 regime states include:
* Neutral
* Balance
* Migration Up
* Migration Down
* Failed Auction
🛡️ The regime engine uses confirmed-bar logic and cooldown handling to avoid excessive state flipping.
---
### 4. 🌍 HTF Context
The indicator includes a higher-timeframe context layer based on confirmed higher-timeframe data.
ℹ️ This is used only as context and does not create entry or exit signals.
---
### 5. 📍 Location Awareness
The Location field shows where current price is relative to the accepted value area:
* Inside Value
* Above Value
* Below Value
* Away From Value
* No Value
When price is far away from the value zone, the visual relevance of the Core Band is reduced so the zone does not appear like an active trade signal.
---
### 6. 🎨 Visual Modes
Auction Regime Atlas includes three modes:
#### 🎯 Focus Mode
A clean minimal view for live chart reading.
Shows:
* Core Value Band
* Acceptance Edges
* compact dashboard
* no debug rows
#### ⚖️ Balanced Mode
Adds additional context zones while keeping the chart clean.
Shows:
* Core Value Band
* Acceptance Edges
* transitional/rejection context
* vacuum/context areas where applicable
#### 🔬 Research Mode
Adds validation and diagnostic rows for development, review, and deeper inspection.
Shows:
* object count
* validation status
* pending state information
* alert condition status
---
## 📋 Dashboard Fields
The compact dashboard includes:
* Mode
* Regime
* HTF Context
* Core Value Band
* Acceptance Score
* Location
* Activity
* Context Quality
🔬 Research Mode can additionally show:
* Validation Status
* Object Count
* State Debug
* Alert Debug
---
## 🔔 Alerts
The indicator includes four confirmed-bar alert conditions:
* New Auction Regime
* Value Migration Started
* Acceptance Edge Broken
* Failed Auction Detected
⚠️ Alerts are context alerts only.
They are not trade entry or exit instructions.
---
## 🛠️ Suggested Use
Auction Regime Atlas is best used as a context layer.
Useful questions:
* Is price currently inside accepted value?
* Is price moving away from value?
* Is the market balanced or transitioning?
* Did price leave value without building new acceptance?
* Is the current move happening near or far away from accepted value?
* Does higher-timeframe context support or contradict the current auction?
✅ Recommended starting use:
* Focus Mode for clean chart reading
* Balanced Mode for broader context
* Research Mode only for diagnostics and validation
---
## 📖 Practical Workflow
A simple way to interpret auction conditions is to combine Regime, Location Awareness, and HTF Context into a structured process.
### 1️⃣ Step 1: Start With HTF Context
First identify the higher-timeframe backdrop shown in the dashboard.
Ask:
* Is the higher timeframe supportive of directional movement?
* Is it balanced or already migrating?
* Does it align with the current chart or create conflict?
🌍 HTF Context provides the broader auction environment in which lower-timeframe activity is occurring.
### 2️⃣ Step 2: Check Current Location
Next evaluate where price is relative to accepted value.
* Inside Value suggests ongoing acceptance and rotational behavior.
* Above Value or Below Value suggests price is testing outside accepted value.
* Away From Value suggests displacement from the current auction area.
* No Value suggests acceptance has not yet formed clearly.
📍 Location helps determine whether price is interacting with value or operating away from it.
### 3️⃣ Step 3: Read the Active Regime
Then assess the current Auction Regime state.
* Balance implies acceptance and rotational trade around value.
* Migration Up or Migration Down implies value is attempting to relocate.
* Failed Auction suggests an attempted move has not established acceptance.
* Neutral indicates limited directional auction information.
🔄 The regime describes the current phase of the auction process rather than predicting the next move.
### 4️⃣ Step 4: Compare Regime and Location
The most useful information often comes from the relationship between regime and location.
Examples:
* Balance + Inside Value often reflects stable acceptance.
* Migration Up + Above Value may indicate value expansion higher.
* Migration Down + Below Value may indicate value expansion lower.
* Failed Auction + Away From Value may indicate rejection of a recent auction attempt.
📊 This comparison helps identify whether price behavior is consistent with the current auction state.
### 5️⃣ Step 5: Evaluate Market State Transitions
Watch for changes between regimes while monitoring location relative to value.
Common transitions include:
* Balance → Migration Up
* Balance → Migration Down
* Migration → Failed Auction
* Failed Auction → Balance
🔍 A transition becomes more meaningful when it is supported by location changes and aligned with HTF Context.
### 6️⃣ Step 6: Build a Contextual Narrative
Rather than treating any single field as a signal, combine all three layers:
1. Determine the higher-timeframe backdrop.
2. Identify where price is relative to value.
3. Assess the active auction regime.
4. Monitor whether the relationship between those factors is strengthening or weakening.
🧠 This workflow helps traders interpret whether the market is accepting value, rejecting value, migrating toward a new value area, or transitioning between auction states.
---
## 📈 Recommended Markets and Timeframes
The indicator is designed for liquid markets, especially:
* crypto perpetuals
* major crypto spot markets
* liquid index or futures markets
* high-volume intraday instruments
⏱️ Suggested timeframes:
* 5m
* 15m
* 1h for higher timeframe context
---
## ⚠️ Important Limitations
Auction Regime Atlas does not use true orderflow, footprint, delta, liquidation, or exchange-level positioning data.
All calculations are based on OHLCV data available in Pine Script.
❌ The indicator does not predict price direction.
❌ It does not guarantee reversals, continuations, or breakouts.
❌ It does not provide financial advice.
📌 The visual zones should be interpreted as auction context, not as automatic trade levels.
---
## 🛡️ Non-Repainting Design
The indicator is designed with confirmed-bar logic and non-repainting higher-timeframe requests.
Higher-timeframe context uses confirmed data and avoids lookahead behavior.
🔧 Visuals are updated with a stable object lifecycle to reduce flicker and avoid uncontrolled object creation.
---
## 📝 Release Notes — v1.0
🎉 Initial public release.
✅ Included:
* Acceptance Map Engine
* Core Value Band
* Acceptance Edges
* Minimal Auction Regime Engine
* HTF Context
* Location Awareness
* Focus / Balanced / Research modes
* Compact dashboard
* Confirmed-bar alerts
* Validation diagnostics in Research Mode
* Controlled object budget
* Non-repainting architecture
❌ Not included:
* strategy mode
* backtesting
* buy/sell signals
* automated entries or exits
* orderflow claims
* delta claims
* liquidation data
* machine learning
* multi-symbol logic
インジケーター

Levels V1.5 Wall Street RedneckLevels V1.5 — Wall Street Redneck
🔵 OVERVIEW
Levels V1.5 is a multi-layer price structure tool that maps three distinct areas of market interest onto a single, clean chart overlay.
Rather than relying on a single reference point, this script combines dynamic price averaging, volatility-based swing detection, and historically significant price levels to give traders a complete picture of where price has been, where it is, and where it may interact next.
The script is designed to support high-probability entry and exit decisions by identifying zones of confluence — areas where two or more layers of interest overlap, increasing the significance of a reaction.
It also helps traders identify zones to avoid, preventing entries into areas of historically poor risk-to-reward or active congestion.
🔵 CORE CONCEPTS
Candle Average Price Structure
A dynamic average derived from ongoing price action is used to identify the mean of recent candle behavior. This creates a reference band that adapts to current market conditions and helps define whether price is extended above or below its natural center of gravity.
ATR-Based Swing Interaction
An Average True Range component measures the current volatility environment and projects interaction boundaries around active price swings. This layer adjusts dynamically as volatility expands and contracts, providing context for how far price can realistically move before encountering resistance or support.
Key Price Level Mapping
Previously established and currently active price reference points are plotted directly on the chart. These include:
• Current Day High, Open, and Low
• Previous and Current Daily High and Low
• Previous and Current Weekly High and Low
• Previous and Current Monthly High and Low
• Previous and Current Yearly High and Low
• Previous and Current 4-Hour High and Low
These levels represent areas where institutional and retail participants have previously reacted, making them high-probability zones for future interaction.
🔵 HOW IT WORKS
The three layers of this script work together to define a structured decision-making framework:
• The candle average identifies price location relative to recent action
• The ATR layer defines the active swing range and volatility context
• The key level map identifies historically significant price points within that range
When price approaches an area where multiple layers converge, the significance of that zone increases. Entries taken at isolated levels carry less context than entries taken at zones of multi-layer confluence.
Customizable Zone Mapping
Each plotted zone displays both a top price and a bottom price, giving traders exact reference points for zone boundaries. These values can be used directly for limit order placement, stop positioning, or target identification.
Zone inputs are fully customizable, allowing traders to adjust sensitivity and range to match their preferred instrument and timeframe.
🔵 TRADE MANAGEMENT APPLICATIONS
• Use zones of confluence as high-probability entry areas
• Avoid initiating new trades inside areas of active congestion or between two opposing levels
• Use ATR interaction boundaries to set realistic target expectations
• Reference the key level map to identify where price may stall, reverse, or accelerate
• Use zone top and bottom prices for precise bracket order placement
🔵 IMPORTANT NOTES
This script is designed for EDUCATIONAL PURPOSES and is intended to support a structured trading process, not replace one. No indicator guarantees trade outcomes.
Developed and maintained by Wall Street Redneck. Licensed for personal and student use only. Redistribution is not permitted. インジケーター

Friction Map [NovaLens]Friction Map reads price structure the way a floor trader reads a room: it finds the price shelves where the market actually spent time, marks which ones are still live versus which the market has abandoned, and measures how much clear air you have to the nearest live shelf in each direction. It is a map of where structure is, how alive it is, and where the open space sits - not a buy or sell signal.
Most support/resistance tools draw static lines and leave them there forever, so the chart fills with levels that stopped mattering 300 bars ago. Friction Map keeps the same structure honest over time: every shelf carries a freshness that decays once the market stops trading at it, so the orange (live) shelves are the ones price has interacted with recently and the gray (fading) ones visibly age out.
═════════════════════════════════════════
◈ HOW TO READ IT
Friction Map draws directly on the price chart. There are two views of the same structure.
The shelves.
Orange = LIVE - price traded here recently; this is the current structure context.
Gray = FADING - price has not returned in a while; the market has moved on and the shelf dims the longer it stays untouched.
Faint dotted = BROKEN - price closed through it; an x-cross marks the exact bar it failed, and the dotted tail is kept so you can still see it existed.
KEY LEVEL - the strongest live shelf on the map (boldest line, brightest tag). The eye's anchor.
The room boxes. On the right edge, a box runs from current price to the nearest LIVE shelf above and below, with a label that reads the distance as a near-to-far range in ATR, for example "1 to 2.1 ATR" - meaning roughly 1 ATR of clear air, then the shelf running out to 2.1 ATR. ATR units make the read comparable on any symbol and timeframe. Teal means clear room; orange means a live shelf sits within about 1 ATR. When there is no live shelf in a direction the label reads "open air".
The breakout badge. On a confirmed close that breaks the recent range, and only at the extremes, the map prints a one-word context badge: CLEAR RUNWAY when there is no live shelf within the runway band ahead, or WALLED (with the distance) when a live shelf stands within about 1 ATR of the path. Only one CLEAR RUNWAY prints per clear-air leg - no repeats while price keeps running in the same open space, and it resets once price pulls back into a shelf. It is breakout context, never a direction call.
The info panel. A compact info panel compiles the read: the structure memory in bars; Room above and Room below as ATR ranges; Price now (open air, on a live shelf, or on a fading shelf); Last breakout (the most recent badge and how many bars ago); Shelves (how many live versus fading); and a one-line Reading takeaway.
The two views (Level view).
Anchored (default): each shelf line starts at its origin diamond, shows its current live (orange) / fading (gray) state from that origin, and marks the x-cross where it broke. An anchored structure story - where structure formed, how it reads now, and where it broke if broken - not a full per-era ledger.
Zones : every live shelf drawn as a clean full-width band straight across the chart, like a supply/demand map. Instant "where are my levels right now". No origin/break markers; broken shelves drop off.
═════════════════════════════════════════
◉ HOW IT WORKS
The density field. Across the lookback window, the indicator measures how often each price level sat inside the high-low range of the lookback bars - a time-at-price-style structure read. For every bar it asks which price levels the bar's high-low range covered, and accumulates that into a density field using a difference-array method (O(L+bins) per bar) so the script stays fast even on long charts and heavy lookbacks. Price levels where many bars overlapped are dense; levels price passed through quickly are thin.
Where shelves are born. A shelf forms at a density peak whose strength clears a RELATIVE floor - it must be at least a set fraction of the strongest peak currently on the map. That relative test is self-calibrating: it adapts to each asset and regime instead of relying on a fixed tick count, so the same indicator is designed to read BTC, SPY, EURUSD and gold without constant retuning. A small absolute floor screens out noise on near-empty windows.
Data-driven width. Each shelf's band is not a fixed width. It expands outward from the peak for as long as the neighbouring density holds at least half the peak value, then is capped to a readable range in ATR units. A wide consolidation earns a wide shelf; a tight one stays thin.
Aliveness (freshness). Every shelf carries a freshness equal to an exponential decay of the bars since the band was last traded (2^(-barsSinceTouch / halfLife)). Freshness is 1 while price is in the band and halves every half-life once price leaves. Above the live threshold a shelf renders LIVE (orange); below it the shelf renders FADING (gray) and dims further until it drops off the map.
Causal lifecycle. Shelves are born on confirmed bars and never re-placed. A shelf becomes BROKEN only when price, after arming on one side with real separation, closes through to the other side - the break bar is frozen and the line continues as a faint dotted tail. The ORIGIN anchor (the earliest bar within the lookback where price actually traded that level) and the BREAK anchor are both set once and never rewritten. That frozen history is the trust element: the map cannot quietly redraw the past to look right.
═════════════════════════════════════════
✦ HOW WE USE IT
A common read on a liquid crypto or index chart, default memory: price is pushing toward the top of its recent range. The panel Room above reads "0.4 to 1.6 ATR" in orange - there is a live shelf close overhead, so the map reads the upside as walled in the near term. Room below reads "open air" - nothing live underneath. Price is sitting in open air between an overhead live shelf and abandoned structure far below.
Now price closes through the recent high. Because the nearest live shelf overhead was inside the runway band, the map prints WALLED with the distance, not CLEAR RUNWAY - the break is into immediate structure, not open space. The badge does not say the break fails; it says there is a live shelf standing in the path, which is the context a discretionary trader wants before deciding whether the move has room.
Flip the situation: a confirmed break with Room ahead reading "open air" prints CLEAR RUNWAY . In our testing, clear-runway breakouts travelled further on average than walled ones (the effect was modest and weakest on rates). That is an observation about context, not a guarantee about the next bar.
The point of the map is the same in every case: see where the live structure is, see how much clear air you have to it in ATR, and read the breakout against that structure instead of against a static line.
═════════════════════════════════════════
❖ OTHER APPLICATIONS
Trade-location context : read entries against the nearest live shelf rather than a static S/R line - the orange shelves are the structure price has interacted with most recently.
Breakout context : CLEAR RUNWAY versus WALLED on a confirmed break, as a read on whether there is open space ahead or a live shelf in the path.
Stop and target context : the room ranges in ATR give a structure-aware sense of where the nearest live shelves sit above and below, for evaluating whether planned stops or targets sit near recent structure or out in open air, instead of at round numbers.
Chop filter : many overlapping live shelves with price standing on one ("on a live shelf" in the panel) is a congested read; sustained open air is cleaner trend space.
Structure classifier : use the Shelves row (live versus fading) and Room rows as a top-down structure filter for any external trade plan, independent of the badges.
Alert-driven workflow : subscribe to the clear-runway and walled breakout alerts and check the chart only when a confirmed breakout actually changes the structural picture.
═════════════════════════════════════════
⚙ GETTING STARTED
Friction Map ships with pre-tuned memory profiles plus a Custom override. Pick a memory and start reading the map - the default Auto setting matches the chart timeframe for you.
Structure memory:
Auto (match timeframe) (default): reads the chart - 30-minute and faster get Short, everything slower gets Medium.
Short (60 bars) : about one trading day on 5m, a week on 1H. Faster-moving map.
Medium (120 bars) : about a month on 1H, six months on 1D. Balanced.
Long (240 bars) : slow, full-cycle structure.
Custom : unlocks the Advanced group for full manual control.
Core display:
Level view : Anchored (causal story, default) or Zones (clean full-width bands).
Structure shelves : master toggle for the shelf lines. On by default. Under it, three per-state toggles let you choose which states draw:
Live shelves (orange) , Fading shelves (gray) , Broken shelves (dotted) - all on by default. Turn Broken off to declutter when a level has rebuilt live on top of old broken tails.
Room boxes + labels : the price-to-nearest-live-shelf boxes and ATR range labels. On by default.
Breakout badge : CLEAR RUNWAY / WALLED context badges on confirmed breakouts. On by default.
Shelf state tags : a small LIVE / FADING / KEY LEVEL tag at the right end of each shelf. On by default; turn off for a cleaner chart once the colours are familiar.
Show real shelf width : off by default (live shelves get a thin subtle halo). On draws each live shelf at its true data-driven width as a wider transparent band.
Info panel : pick where the summary panel anchors - Top Right (default), Top Left, Bottom Right, Bottom Left, Middle Right, or Off to hide it.
Dark theme panel : panel colours for dark charts; turn off on a light background.
Level reach (bars) : how far back the shelf lines and halos draw, so old structure does not stretch across the whole chart.
Appearance / Colours (4 pickers):
Live shelf, Fading shelf, Clear air, Broken shelf - each on its own line. The shelf lines, halos, room boxes, tags and badges all reference these inputs, so the palette adapts for colour-blind, light-mode or brand themes without forking the script.
Advanced (Memory = Custom only): Custom opens on the same defaults as the Medium profile (not a live copy of whichever profile you are currently on), so coming from Medium the switch is seamless; coming from Short or Long the map steps to that baseline first. Then every dial below is yours.
Lookback (bars) : structure memory in bars. Larger = more history considered, slower-moving map.
Freshness half-life : how fast a shelf fades once the market stops trading at it. After this many bars untouched a shelf is at half freshness.
Breakout lookback : a breakout is a confirmed close that newly breaks beyond the prior N-bar high or low (a fresh cross, so a sustained trend does not re-fire it every bar).
Min strength (vs strongest) : a shelf is born only if its density is at least this fraction of the strongest peak on the map. Raise for fewer, stronger shelves.
Merge distance (ATR) : shelf candidates closer than this to an existing shelf refresh it instead of spawning a duplicate.
Max shelves : cap on simultaneously tracked (non-broken) shelves; the weakest is pruned when a stronger one is born.
Live threshold : freshness above this renders a shelf LIVE (orange).
Runway band (ATR) : how far ahead of a breakout to scan for live shelves when deciding CLEAR RUNWAY versus WALLED.
═════════════════════════════════════════
△ LIMITATIONS
Descriptive, not predictive : Friction Map shows where price spent time and how alive that structure is. It makes no claim that a shelf will hold or that a breakout will follow through. There is no buy or sell signal anywhere in the tool.
Time-at-price, not volume : the density field is built from how much of the traded range sat at each level, not from volume. That keeps the read universally stable across every asset and data feed (crypto volume is fractured by exchange, FX volume is a tick proxy), but it does not weight a busy bar more than a quiet one.
Backward-looking by construction : in fast moves and gaps, room can jump to "open air" quickly as price leaps into untraded territory. That is accurate but may not persist.
Room measures to LIVE shelves only : the room ranges and the badge ignore fading shelves on purpose - the room read focuses on the current (orange) structure. A fading shelf still shows on the chart as a gray line; it just is not counted as room.
The breakout effect is context, not edge : in testing, clear-runway breakouts travelled further than walled ones on average, but the difference was modest and weakest on rates. Treat the badge as context to read alongside your own plan, not as a validated signal.
Recency fade : a structurally important level that has not been traded in a long time will fade from the map even if you still consider it important. Lengthen the memory or half-life if you want older structure to persist.
═════════════════════════════════════════
🔔 ALERTS
Two alert conditions are built in so you can monitor structure without watching every bar:
Clear-runway breakout : a confirmed breakout into clear air (no live shelf within the runway band ahead).
Walled breakout : a confirmed breakout into nearby live structure (a live shelf within about 1 ATR of the path).
Both fire on bar close (gated on `barstate.isconfirmed`) - no intrabar repaint. The indicator also emits a richer alert with a pure-JSON payload for routing to your own automation or webhook stack. The payload carries the brand, the indicator name, the event, the direction, the up and down clearance in ATR, the current price, the ticker, the timeframe and the bar time (the clearance fields are sent as text and read "open" when there is no live shelf that way). Pick ONE mechanism per event - the dropdown alert condition for a simple notification, or the JSON alert for a webhook - so you do not get duplicate notifications. Badges and alerts fire even when the on-chart badge is toggled off; alerts should not require chart clutter.
═════════════════════════════════════════
⌁ NOTES
Built on a containment-count density field (time-at-price), with data-driven band width, exponential freshness decay, and a causal frozen lifecycle (origin and break anchors set once and never moved).
Method lineage: the density field is a time-at-price construction, in the tradition of Market Profile (J. Peter Steidlmayer, popularised at the CBOT in the 1980s), which reads structure from where the market spent time rather than from volume. Friction Map adds the freshness decay and the causal live/fading/broken lifecycle on top of that classical time-at-price idea.
Repaint: non-repainting on confirmed bars. Births, breaks, clearance, badges and alerts are computed on bar close; the current bar updates in real time. Live/fading colour reflects current state, so a re-traded faded shelf can re-colour live - no past origin or break anchor is ever changed.
Original construction. The engine is built from first principles for this tool; there is no external reference implementation, so no validation-correlation claim is made.
Open-source under MPL 2.0. Free to use, fork, study.
NovaLens インジケーター

Pivot Point - Standard Overview
This indicator plots classic "Floor Trader" Standard Pivot Points (P, R1-R3, S1-S3) on your intraday charts. However, unlike traditional pivot indicators, it is specifically engineered to solve the "Settlement Close vs. Last Traded Price (LTP)" discrepancy that plagues traders in the Indian markets (NSE/BSE) or anyone trying to sync their TradingView charts with brokerages using the ChartIQ engine (like Zerodha, Upstox, etc.).
The Problem It Solves
Most standard TradingView pivot indicators use the daily Last Traded Price (LTP) as the daily Close. In markets like India, the official daily close is not the LTP, but a 30-minute Volume Weighted Average Price (VWAP) settlement. Because TradingView captures the final LTP spike at 15:30, traditional pivot math gets skewed, causing your TradingView support and resistance lines to completely mismatch the lines generated by your broker's platform.
How It Works
To bypass the LTP spike and replicate the official settlement price, this indicator features an Auto Time-Capture system.
Instead of looking at the daily timeframe for the close, it silently captures the closing price of a specific intraday candle right before the market closes (Default: 15:25 exchange time). This 15:25 close acts as a highly accurate proxy for the official VWAP settlement price. It pairs this captured close with the official daily High and Low to calculate mathematically perfect ChartIQ-style pivot levels for the next day.
Key Features:
Auto Time-Capture: Automatically grabs the closing price at a user-defined time (default 15:25) to avoid post-market LTP spikes.
True Pivot UI: Draws clean, horizontal lines for the current day only. It does not draw ugly diagonal lines connecting yesterday's levels to today's levels.
Full Floor Trader Math: Calculates the main Pivot (P), plus 3 levels of Support and Resistance (R1, R2, R3 / S1, S2, S3).
Fully Customizable: Users can adjust the specific hour and minute they want the script to capture the closing price via the settings menu.
How to Use:
Apply this to an intraday timeframe (e.g., 1-minute, 5-minute, or 15-minute). Note: The timeframe must be small enough that your chosen capture time (like 15:25) actually exists as a candle close.
The indicator will automatically capture the price at the designated time and use it to project the standard pivot levels when the next trading day begins. インジケーター

インジケーター

Previous Candle High Low [JoeyWave]Previous Candle High Low
The previous candle's High and Low for any timeframe — set it once, read it on any chart.
█ WHAT IT DOES
Draws two horizontal levels: the High and the Low of the previous candle on your chosen timeframe (default H4). Same idea as Previous Day High/Low (PDH/PDL), but the period is yours to pick — H1, H4, Daily, Weekly, anything.
These levels are clean liquidity references: the prior candle's extremes are where stops rest and where price often reacts.
█ FEATURES
▮ Any timeframe
Pick the period once (default H4). The label auto-names itself — "Previous H4 High", "Previous D1 Low", etc.
▮ Smart timeframe clamp
View a chart below your chosen timeframe (e.g. M5 chart, H4 setting) and it auto-raises to the chart timeframe instead of breaking — always a valid level, no errors.
▮ Non-repainting
Levels are taken from the last fully closed candle of the chosen timeframe — they don't repaint.
▮ Fully customizable
Line style (solid / dashed / dotted), colors, label on/off, price on/off, and label offset to push the text toward the right edge.
█ SETTINGS
· Timeframe — which period's previous candle to read (default H4)
· Show Previous High / Low — toggle each level
· Line Style / Colors — appearance
· Show Labels / Show Price / Label Offset — label control
█ NOTES
· Works on every market and timeframe
· Choosing a timeframe ≥ chart timeframe gives the truest reading
· Pairs well with market-structure and liquidity-based setups
Built on Pine v6.
インジケーター

Volume Profile Support & Resistance Matrix [HexaTrades]Most indicators tell you where the price went. This one shows you where the volume traded and then does the hard part for you: it reads that volume map and draws the support and resistance levels that genuinely matter right now.
VRVP Visible Range Support/Resistance Matrix is an all-in-one volume toolkit. It builds a buy/sell Volume Range Visible Profile over the last N candles (or the visible range), locates the heavy high-volume nodes, converts them into ranked support and resistance zones, and surrounds them with everything you need to act: Point of Control, Value Area, Low-Volume-Node levels, optional Fair Value Gaps, a corner dashboard, and breakout/touch/ approach alerts. Everything is configurable, and every level is explained
✨ features
✔️ Buy & Sell Volume Profile
- Volume-by-price histogram built from the chosen window, one row per price bin.
- Buy vs sell split: each candle’s volume is classified as buying (close ≥ open) or selling (close < open) and stacked per row, so you see the order-flow balance at every level.
- Radiant intensity coloring: heavy rows render bright/opaque, light rows fade out, so the significant nodes jump off the chart.
- Right-of-price placement: the profile sits in the gap to the right of the last candle (adjustable), so it never covers your price action, and it pans/zooms with the chart.
- Gap-free distribution: volume is spread across each candle’s full range, so the profile is solid rather than a sparse set of dots.
✔️ Automatic Support & Resistance Zones
- High-volume node detection: the script repeatedly finds the biggest volume peaks and turns them into zones.
- Strength % score: every zone is graded by its volume relative to the Point of Control (e.g. “Support 82%”), and the fill opacity scales with that strength.
- Retest count: counts how many times price has re-entered the zone (e.g. “x4”), so you can tell fresh levels from heavily-tested ones.
- Smart spacing: a minimum distance (in profile rows) and an anti-overlap floor keep zones cleanly separated, never stacked on top of each other.
- Per-side cap: limit how many support and resistance zones show, so the chart stays readable.
- Auto role flip: a level above the last confirmed close is Resistance, below it is Support; zones recolor only when a candle actually closes through them.
- Adjustable thickness: zone band height from ATR or bin size, fully tunable.
Anchor options extend zones from the window start or from the last price touch.
✔️ Point of Control & Value Area
- POC line: the single highest-volume price (the market’s fair-value magnet).
- Value Area (VAH / VAL) : the high/low boundaries that contain your chosen % of total traded volume (default 70%).
- Used both as optional on-chart lines and as the engine behind the dashboard’s trend bias.
✔️ Low Volume Nodes (LVNs)
- Imbalance detection: finds the thin “valleys” in the profile where little volume traded.
- Dashed level lines mark these air pockets: price tends to move quickly through them and react at the thick nodes around them.
✔️ Fair Value Gaps (FVG)
- 3-candle imbalance detection: bullish & bearish gaps where price moved so fast it left an unfilled inefficiency.
-Unfilled-only boxes: only gaps price hasn’t returned to are shown, as small yellow boxes labeled “FVG”. Capped to keep the chart clean. (Off by default.)
✔️ Stat Dashboard
- A compact corner panel showing 📊 POC, 🔼 VAH, 🔽 VAL, 🟥 Nearest Resistance, 🟩 Nearest Support, 🧭 Trend Bias (Bullish / Bearish / Balanced) and 📐 zone counts.
- Dark, high-contrast styling that stays readable on light and dark chart themes; placeable in any of the four corners.
✔️ Alerts
The tool features a comprehensive, built-in alert system that triggers notifications for a variety of critical price movements, such as breakouts above resistance, breakdowns below support, support touches, resistance rejections, and upcoming zone warnings. Traders can also enable an optional volume confirmation filter to help minimize false signals during low-liquidity periods.
✔️ Window & Customization
- Two modes: a fixed candle window (default 360) for consistency, or the visible range so the profile follows whatever you’re looking at.
- Adjustable resolution: set the number of profile rows for coarse or fine detail.
- Full color control: buy/sell profile, support/resistance fills, POC, value area, LVN and FVG colors are all editable.
Find all mentioned features in the chart below.
⚙️ How it works
- Range & rows. It takes the high/low of the last N candles (or the visible range) and slices that range into bins (rows).
- Volume mapping. Each candle spreads its volume across the rows its range covers, then splits it into buy vs sell, giving a solid, gap-free volume-by-price map.
- POC & Value Area. The busiest row is the Point of Control; the script expands outward until it captures your chosen % of total volume → VAH / VAL.
- Zone selection. It picks the biggest volume peaks, keeps them spaced apart so they never overlap, scores each by strength, and counts retests.
- Role & signals. Levels above the last confirmed close are Resistance; below are Support, and breakout/touch / reject / approach events fire from the nearest live zone.
🚀How to use it- step by step
Add the indicator to any symbol that has volume, on any timeframe. The defaults work out of the box. Two decisions set the context:
- Timeframe: use your trading timeframe. Higher timeframes (1H/4H/1D) give fewer, stronger zones; lower timeframes give more, faster-moving ones.
- Window: keep Use Fixed Candle Count on (default 360) for a stable, repeatable profile, or turn it off to let the profile follow the visible range as you scroll.
⭐️ Read the structure with the dashboard
- Trend Bias is your regime filter: Bullish when price is above the Value Area High (favour longs), Bearish below the Value Area Low (favour shorts), Balanced inside the value area (favour fading the edges / mean-reversion).
- 🎯 POC / 🔼 VAH / 🔽 VAL give you the fair-value zone where most business was done.
- 🟥 Nearest Resistance / 🟩 Nearest Support are your immediate targets and invalidation prices
⭐️ Find the zones that actually matter
Not all zones are equal — let the labels rank them for you:
- Strength % : higher = more volume traded there = a stronger level. A “Support 95%” is far more significant than a “Support 48%”. Prioritise the high-% zones.
- Retest count (x N): a low count means a fresh, untested level (often the cleanest reactions); a high count means it’s been hit many times and may be weakening toward a break.
- Profile shape: the long bars are High-Volume Nodes (acceptance/magnets); the thin LVN dashed lines are Low-Volume Nodes (rejection / fast-travel zones).
⭐️ Trade the three core plays
Almost every setup is one of these. Use the zone edges for entries and stops:
Bounce (long at support)
- Price drops into a strong green Support zone with the bias bullish or balanced.
- Wait for a reaction candle (rejection wick/engulfing) inside or at the zone.
- Entry on the reaction; stop just below the zone; first target = POC or the nearest resistance.
Reject (short at resistance)
- Price rallies into a strong red Resistance zone with the bias bearish or balanced.
- Look for a rejection / the “Resistance Reject” marker.
- Entry on the reaction; stop just above the zone; target = POC or nearest support.
Breakout / Breakdown (momentum)
-A decisive close through a zone (ideally with the BUY/SELL signal and volume confirmation on) flips it from resistance to support (or vice-versa).
-Enter on the break or the retest of the flipped zone; target the next zone up/down.
- Breaks through a thin LVN tend to run fast to the next High-Volume Node.
Stack confluence for the best setups
The highest-probability trades are where several things line up:
Zone + POC: a level sitting on the Point of Control is a heavy magnet.
Zone + Value Area edge: VAH/VAL rejections are classic mean-reversion spots.
Zone + Fair Value Gap turn on FVGs: a gap that overlaps a zone is a strong target.
Zone + LVN beyond it: if there’s an air pocket just past a zone, a break can accelerate quickly.
High Strength % + low retest count: fresh, heavy levels react best.
Feel free to explore, learn from, and build upon this indicator. Feedback, suggestions, and ideas for future improvements are always welcome and appreciated.
This indicator is provided for educational and analytical purposes only and does not constitute financial, investment, or trading advice. All signals, levels, and zones are based on historical market data and should be used alongside your own analysis and risk management. Trading involves risk, and past performance or historical price reactions do not guarantee future results.
インジケーター

RSI Extremes Reaction Zones# RSI Extremes Reaction Zones
RSI Extremes Reaction Zones is a price-level analysis tool designed to identify historically significant market areas based on extreme Relative Strength Index (RSI) readings.
Rather than using RSI solely as an oscillator below the chart, this indicator converts historical RSI extremes into actionable price levels directly on the chart. By doing so, traders can visualize where strong momentum expansions or momentum exhaustion events previously occurred and monitor how price interacts with those areas in the future.
The indicator automatically scans a user-defined historical range, ranks the strongest RSI highs and RSI lows, maps those values to their corresponding market prices, and transforms them into support and resistance zones.
In addition to identifying RSI-derived reaction areas, the script also measures how frequently price has interacted with each level and highlights the most actively tested zones.
---
## Why RSI Extremes Matter
RSI is commonly used to measure momentum strength and identify overbought or oversold conditions. However, many traders focus only on the current RSI reading and overlook the price levels where extreme RSI values originally occurred.
Historical RSI extremes often represent areas where:
• Strong buying pressure entered the market
• Strong selling pressure entered the market
• Trend acceleration occurred
• Momentum exhaustion appeared
• Important market reactions developed
When price revisits these areas in the future, market participants may once again react to those levels, creating potential support, resistance, rejection, or breakout opportunities.
This indicator is built around the idea that historical momentum extremes can leave behind meaningful market reference points long after the original RSI signal has disappeared.
---
## Features
• Detects the highest RSI readings within the selected lookback period
• Detects the lowest RSI readings within the selected lookback period
• Converts RSI extremes into chart-based support and resistance zones
• ATR-based dynamic zone sizing
• Highlights the two most frequently tested levels
• Displays historical touch information
• Shows time elapsed since each extreme occurred
• Automatic label collision management
• Built-in statistical dashboard
• Adjustable analysis range
• Fully customizable zone width and touch sensitivity
---
## How The Indicator Works
The script continuously calculates RSI values and stores the corresponding market prices.
Within the selected lookback window, the indicator identifies:
• The strongest RSI highs
• The strongest RSI lows
The prices associated with these RSI events are then ranked and displayed directly on the chart.
Instead of treating these prices as single horizontal lines, the indicator creates dynamic support and resistance zones around each level using the Average True Range (ATR).
This allows the zones to automatically adapt to the volatility characteristics of the current market.
Higher volatility markets produce wider zones, while lower volatility markets generate tighter zones.
The result is a more realistic representation of potential reaction areas compared to using fixed-price levels.
---
## Most Touched Levels
Not all RSI-based levels are equally important.
To help identify the strongest reaction areas, the script measures how often price has revisited each detected level.
A configurable ATR-based threshold is used to determine whether a historical price interaction qualifies as a valid touch.
The two levels with the highest number of interactions are highlighted separately as:
🏆 Most Touched #1
🥈 Most Touched #2
These levels often represent areas where buyers and sellers repeatedly agreed on value and therefore may attract future market attention.
---
## Dashboard Overview
The built-in dashboard provides a complete overview of the detected RSI-based levels.
### Highest RSI Section
Displays:
• Highest recorded RSI values
• Associated market prices
• Ranking order
• Number of bars since occurrence
These levels frequently act as potential resistance or reaction areas.
### Lowest RSI Section
Displays:
• Lowest recorded RSI values
• Associated market prices
• Ranking order
• Number of bars since occurrence
These levels frequently act as potential support or reaction areas.
### Most Touched Section
Displays:
• Most interacted price levels
• Number of touches
• Current price relationship
• Most recent interaction information
This helps identify areas that have repeatedly influenced market behavior.
---
## Understanding The Zones
The indicator uses color-coded zones to make interpretation easier.
### Upper Zones
Levels generated from historically high RSI readings are displayed as potential resistance regions.
These areas represent locations where strong bullish momentum previously existed.
Potential observations:
• Price rejection
• Trend slowdown
• Consolidation
• Breakout continuation
### Lower Zones
Levels generated from historically low RSI readings are displayed as potential support regions.
These areas represent locations where strong bearish momentum previously existed.
Potential observations:
• Bounce reactions
• Trend stabilization
• Reversal attempts
• Breakdown continuation
The indicator does not assume that a level will hold. Instead, it highlights historically significant areas where market reactions may deserve additional attention.
---
## How To Use
### Trend Following
Use the indicator to identify pullback zones during strong trends.
In uptrends:
• Monitor lower RSI zones for support reactions
• Look for bullish confirmations before entering
In downtrends:
• Monitor higher RSI zones for resistance reactions
• Look for bearish confirmations before entering
---
### Reversal Trading
Watch for price reaching historical RSI extreme zones after extended moves.
Potential confirmation signals may include:
• Rejection candles
• Momentum divergence
• Volume expansion
• Market structure shifts
The indicator should be used as a location tool rather than a standalone entry signal.
---
### Support & Resistance Analysis
Historical RSI-based levels often align with traditional support and resistance structures.
When multiple analytical methods point to the same area, the level may carry greater significance.
Examples include:
• Swing highs and lows
• Market structure levels
• Fibonacci retracements
• Trendlines
• Volume profile zones
---
### Confluence Analysis
The indicator becomes particularly useful when combined with other technical tools.
Look for overlap between RSI-derived zones and:
• Existing support and resistance
• Trendlines
• Moving averages
• Volume-based levels
• Higher timeframe structure
Areas where multiple analytical concepts align may offer stronger trading opportunities than any individual signal alone.
---
## Input Settings
### RSI Period
Controls the sensitivity of RSI calculations.
Lower values:
• More responsive
• More frequent extremes
• More short-term signals
Higher values:
• Smoother behavior
• Fewer extremes
• Greater emphasis on major momentum events
---
### Bar Count
Defines the historical range used for analysis.
Smaller values:
• Focus on recent market behavior
• Faster adaptation
Larger values:
• Include older market data
• Highlight longer-term reaction levels
---
### Zone Width
Controls the ATR multiplier used to create support and resistance zones.
Higher values:
• Wider zones
• More tolerance for volatility
Lower values:
• Tighter zones
• Greater precision
---
### Touch Threshold
Controls how close price must come to a level for an interaction to be counted as a touch.
Lower values:
• Stricter touch requirements
Higher values:
• More forgiving interaction detection
---
## Best Used For
• Support and resistance trading
• Swing trading
• Trend continuation analysis
• Market structure analysis
• Momentum studies
• Confluence-based trading
• Reaction zone identification
• Historical price level analysis
• Multi-factor technical analysis
---
## Originality
This indicator presents an alternative approach to RSI analysis by transforming historical momentum extremes into chart-based price structures.
The script combines:
• Historical RSI ranking
• Price-level mapping
• ATR-based zone construction
• Touch-frequency analysis
• Dynamic visualization
• Statistical reporting
into a single framework designed to help traders identify historically significant reaction areas directly on the chart.
---
## Disclaimer
This indicator is intended for educational and analytical purposes only.
Historical RSI extremes and past market reactions do not guarantee future results. All trading decisions should be based on independent analysis, proper risk management, and additional confirmation methods.
No indicator can predict future market behavior with certainty.
インジケーター

Liquidity Vault [Dojo La Nuit]Liquidity Vault maps resting liquidity on your chart as clean horizontal levels and tracks what happens to them — without any buy/sell signals or predictions. It is a pure visualization tool for traders who read price around liquidity.
HOW IT WORKS
The script detects swing pivots and clusters nearby highs (and nearby lows) into single liquidity zones using an ATR-based tolerance, so the levels travel across instruments without re-tuning. Each zone gets a strength score from 0 to 100 built from three factors:
• Touches — how many times price reacted at the level
• Freshness — recent levels score higher and decay over time (configurable half-life)
• Volume — relative volume that accumulated at the level
HOW TO READ IT
• Red lines = sell-side liquidity (resting above price)
• Green lines = buy-side liquidity (resting below price)
• Opacity = strength: the stronger the zone, the more solid the line
• Dimmed, dotted lines = zones that have already been swept (price wicked through the level). They are kept as context, not removed.
SETTINGS
• Zone Detection — adaptive or fixed pivot length, clustering tolerance, lookback, max live zones
• Zone Strength — minimum score to display, freshness half-life, volume weighting on/off
• Visuals — theme (auto/dark/light), strength-based intensity, keep swept zones, line width
• Colors — fully customizable buy-side / sell-side colors
NOTES
Strength is shown through line opacity by design, to keep the chart minimal. Zones are recalculated on confirmed bars. This tool highlights where liquidity rests and when it gets taken — it does not generate entries, targets or signals.
This indicator is for educational and analytical purposes only. It is not financial advice. Always do your own research and manage your own risk.
─────────────────────────
🌙 LIQUIDITY VAULT — Dojo La Nuit
Liquidity Vault mostra la liquidità presente sul grafico come livelli orizzontali puliti e ne traccia l'evoluzione, senza segnali di acquisto/vendita e senza previsioni. È uno strumento puramente visivo per chi opera attorno alla liquidità.
COME FUNZIONA
Lo script individua i pivot di mercato e raggruppa i massimi (e i minimi) vicini in un'unica zona di liquidità tramite una tolleranza basata sull'ATR, così i livelli funzionano su strumenti diversi senza dover ritoccare i parametri. A ogni zona viene assegnato un punteggio di forza da 0 a 100, calcolato su tre fattori:
• Tocchi — quante volte il prezzo ha reagito al livello
• Freschezza — i livelli recenti pesano di più e si attenuano nel tempo (half-life configurabile)
• Volume — il volume relativo accumulato sul livello
COME SI LEGGE
• Linee rosse = liquidità sell-side (sopra il prezzo)
• Linee verdi = liquidità buy-side (sotto il prezzo)
• Opacità = forza: più la zona è forte, più la linea è piena
• Linee attenuate e puntinate = zone già spazzate (il prezzo ha bucato il livello con un'ombra). Restano come contesto, non vengono rimosse.
IMPOSTAZIONI
• Rilevamento zone — pivot adattivo o fisso, tolleranza di clustering, lookback, numero massimo di zone attive
• Forza zone — punteggio minimo da mostrare, half-life della freschezza, peso del volume on/off
• Visual — tema (auto/scuro/chiaro), intensità in base alla forza, mantieni zone spazzate, spessore linea
• Colori — colori buy-side / sell-side completamente personalizzabili
NOTE
La forza è rappresentata tramite l'opacità della linea, per scelta, per mantenere il grafico minimale. Le zone vengono ricalcolate sulle barre confermate. Lo strumento evidenzia dove si trova la liquidità e quando viene presa: non genera entrate, target o segnali.
Questo indicatore è a scopo puramente didattico e di analisi. Non è consulenza finanziaria. Fai sempre le tue valutazioni e gestisci il tuo rischio. インジケーター

Smart SR Zones [JOAT]SMART SR ZONES
Support / resistance done properly. Most public SR scripts paint a horizontal line at every pivot, which produces wallpaper, not analysis. Smart SR Zones does the opposite — pivots are first detected with a volatility-aware engine, then clustered into zones, then scored by volume and touches, then filtered by spacing and distance. What ends up on the chart is the small handful of levels that actually matter for the current market state.
Pivot detection — preset-driven
A single Strength Preset selects the personality of the pivot engine:
Scalp — 4 left / 2 right, 0.4× ATR clustering tolerance, 4-bar minimum spacing. For 1–5m charts.
Local — 6 / 4, 0.5×, 8-bar. Tight zones from recent structure.
Swing — 15 / 8, 0.9×, 20-bar. The balanced default.
Major — 35 / 15, 1.4×, 50-bar. Wide macro zones.
Custom — every parameter is exposed for manual tuning.
The preset abstraction means you do not need to refit anything across timeframes — pick the read you want and the engine does the rest.
Clustering, not stacking
When two pivots fall within Cluster Tolerance × ATR of each other they are merged into a single zone, with the box span widened to cover both extremes. This is the difference between a "level" and a "zone": a level pretends price is precise, a zone respects the fact that liquidity sits in a band. The cluster tolerance is ATR-relative so the same setting works across symbols.
Touch counting, properly gated
A pivot must contribute to a cluster from a minimum bar spacing (preset-driven). Without this filter a chop within a zone gets counted as ten separate touches and inflates the strength score. With it, a zone earns its touch count from genuinely independent visits.
Volume-weighted strength + star rating
Each cluster accumulates the bar volume at every contributing pivot. The aggregate is converted to a 1–3 star rating relative to the strongest zone currently on the chart, and is shown in the zone label alongside the touch count. Zones can optionally be coloured by volume share so the visually loudest box is the one carrying the most demonstrated activity.
Zone of Interest (ZOI) — the headline filter
A zone earns the ZOI badge when all of these are true at the same time:
It has met the minimum-touches threshold (so it is real structure).
Its volume share is above the ZOI volume threshold (so it is meaningfully active).
It has not been touched recently — at least ZOI Quiet bars since the most-recent touch.
In other words, a ZOI is a high-quality level that the market is conspicuously not testing — and these are usually the next levels that matter. The ZOI gets a bright burlywood border with an optional animated pulse so it visually separates from the rest of the SR stack.
Distance hiding
A "Hide zones farther than %" input drops anything whose centre price is too far from current — so when you scroll into history the chart does not get cluttered with macro zones from another era. Set to 0 to keep everything visible.
Broken zones and dropped zones
Two optional historical layers:
Broken — zones that were physically closed through. Renders in a desaturated palette so you can see where structure failed without confusing it for active level.
Dropped — zones that were removed not by a break but by reorganisation, because newer / stronger pivots reshuffled the cluster set.
Both are off by default so a working chart stays clean.
Optional signal layer
Three small markers (all off by default) for traders who want execution hints rather than just structure:
Successful test — circle on bars that touched an active zone and rejected.
Retest — diamond when price returns to a broken zone from the opposite side, inside a configurable window.
Zone reaction — small diamond on a touch-with-hold, plus a text label on physical break events.
A configurable cooldown prevents back-to-back markers from the same zone.
Dashboard
A compact diagnostic table, positionable to any of nine corners, monospaced. Shows nearest support / resistance with distance, current ZOI status, active zone count per side, and the preset in use. A compact mode hides descriptions for narrow layouts.
Alerts
A single high-signal alert is exposed: Zone of Interest activation — fires on the first bar a zone qualifies as a ZOI. The other layers are visual diagnostics, not alert-grade; this is intentional, because the ZOI rule is the strongest filter in the script and is what you actually want to be notified about.
How to read it
Look at the chart and ignore everything except the ZOI-tagged zones and the stars. The stars tell you which historical levels have the most demonstrated activity; the ZOI badge tells you which of those have been deliberately avoided recently. The intersection — a star-rated ZOI close to price — is the cleanest level read this script can produce. Use the volume score and the touch count as a tiebreaker when multiple ZOIs are in play.
Suggested settings
Default Swing preset works well from 1H through 1D on liquid futures, FX, and crypto. Drop to Local for intraday execution and Scalp for tape-reading on minute charts. Major is for weekly / monthly macro reads. The ZOI volume threshold (70%) is intentionally strict — drop it to 50–60% if you want more frequent ZOI candidates.
Originality / what's reused
The vocabulary (pivot, cluster, touch count, broken zone, retest) is public-domain market-structure language. The implementation — the preset-driven engine, the ATR-clustering, the volume-weighted star rating, the ZOI rule (touches + volume share + quiet-period), the dropped-zone reorganisation logic, and the volume-share intensity colouring — is JOAT-original and tuned together as a single system. No third-party code reused.
Open source
Published open-source under the default Mozilla Public License 2.0. The source is fully documented inline — every helper is sectioned, every input has a tooltip, and the structural layers are separable so you can learn from any specific piece. Forks welcome with credit.
Limitations
SR is structural context, not a signal generator. Smart SR Zones does not print buy / sell labels — it prints zones, ratings, and a single high-quality ZOI alert. On extremely illiquid instruments the volume-share rankings will be noisy and the ZOI rule will fire less often; that is the right behaviour. Zones beyond the Pivot Memory horizon are dropped to stay under TradingView's 500-object cap.
—
-made with passion by jackofalltrades
インジケーター

Visible Range Volume NodesVisible Range Volume Nodes is a visible-range volume profile indicator that shows how traded volume is distributed across price levels inside the currently visible chart area.
The script builds a horizontal volume profile from the candles visible on the chart. It divides the visible price range into rows and distributes each candle's volume across the price rows touched by that candle's high-low range. Rows with more accumulated volume are displayed wider. Rows with less accumulated volume are displayed narrower.
How volume is calculated
Each candle's volume is distributed proportionally across the price rows covered by that candle's high-low range. If a candle covers several rows, its volume is split between those rows based on the amount of price overlap.
Bullish and bearish volume are separated using candle direction:
* Candles closing above their open are counted as bullish volume;
* Candles closing below their open are counted as bearish volume;
* Neutral candles are split evenly.
Key Volume Areas
POC - Point of Control
POC is the price row with the highest volume inside the visible range. It marks the largest volume concentration in the selected chart area.
VAH - Value Area High
VAH is the upper boundary of the value area.
VAL - Value Area Low
VAL is the lower boundary of the value area.
The value area starts from the POC and expands through the highest-volume neighboring rows until the selected percentage of total visible-range volume is included. By default, this is commonly used as a 70% value area, but the percentage can be changed in the settings.
HVN - High Volume Node
HVN zones are high-volume areas detected from local peaks in the smoothed volume profile. These zones show where volume was concentrated compared with nearby price levels.
LVN - Low Volume Node
LVN zones are low-volume areas detected from local valleys in the smoothed volume profile. These zones show where volume was thinner compared with nearby price levels.
How to use it
The profile can help users compare current price action with previously traded volume areas inside the selected visible range:
* POC shows the main high-volume reference area of the visible range;
* VAH and VAL show the upper and lower limits of the main value area;
* HVN zones show areas where price previously spent more volume;
* LVN zones show areas where volume was thinner relative to nearby price levels;
* The histogram shows the full volume distribution across the selected price range.
A trader can use these areas as context when analyzing price location. For example, price trading near POC is trading near the main volume concentration of the visible range. Price trading near VAH or VAL is trading near the edge of the calculated value area. HVN and LVN zones can be used to compare current price behavior with areas of stronger or weaker previous volume participation.
These levels should be treated as structural references only. They are not automatic entries, exits, support, resistance, targets, or invalidation levels.
Main settings
* Profile Rows controls how many price rows are used to build the volume profile. More rows create a more detailed profile. Fewer rows create a smoother, broader profile;
* Value Area % controls how much of the visible-range volume is included inside the value area;
* Histogram Direction controls whether the profile is displayed to the left or right side of the visible chart area;
* Profile Distance controls the spacing between the visible candles and the profile panel;
* The script also includes settings for showing or hiding POC, VAH/VAL, HVN, LVN, labels, prices in labels, line style, line width, label size, and colors.
Limitations
*This indicator does not generate buy or sell signals;
*It does not predict future price direction;
*It does not define guaranteed support or resistance;
*It does not use exact bid/ask volume;
*It does not use footprint, delta, or order book data.
The displayed structure depends on the selected visible range, symbol, exchange, timeframe, and available volume data.
Because the profile is based on the currently visible chart range, moving or zooming the chart can change the calculated POC, value area, HVN zones, and LVN zones.
インジケーター

Liquidity Magnet ICT Liquidity & Sweeps [LunqFX]Liquidity Magnet is an ICT / Smart Money Concepts (SMC) liquidity indicator that maps buy-side and sell-side liquidity (BSL / SSL) and ranks every liquidity pool by how likely it is to be swept next. Instead of just drawing equal highs, equal lows and swing liquidity, it scores each resting pool of liquidity with a transparent 0–100 "Magnet Score" and highlights the single strongest draw on price as the NEXT TARGET — so you can anticipate the next liquidity sweep, stop hunt or liquidity grab before it happens.
If you trade ICT concepts, order flow, smart money, or supply and demand, this tool answers the one question every liquidity-based strategy needs: where is price most likely to go to take liquidity next?
WHAT IT DOES
• Detects liquidity pools automatically — swing highs / lows and equal highs / equal lows (EQH / EQL) where stop-losses cluster.
• Scores each pool 0–100 with the Magnet Score, a transparent weighted formula.
• Flags the strongest pool as the NEXT TARGET with a live arrow, price and probability.
• Marks pools as swept the moment price closes through them, then fades them.
• Shows a clean live dashboard: next target, probability, distance, bias and pool counts.
• Recolors the chart with neon gradient candles (turquoise bullish / violet bearish).
HOW THE MAGNET SCORE WORKS
The Magnet Score is fully transparent — no black box. Each unswept pool is graded on four weighted factors:
1. Proximity — how close the pool sits to current price (closer pulls harder).
2. Momentum — whether current momentum is moving toward the pool.
3. Age — how long the pool has rested untouched (older pools hold more liquidity).
4. Touches — how many times price has tagged the level (more taps = more stops stacked).
The four factors are combined into a single 0–100 score. The pool with the highest score, within a maximum distance from price, becomes the NEXT TARGET. If no pool is strong or close enough, the panel honestly reports "No clear magnet" instead of inventing a far-away target.
HOW TO USE IT
1. Read the BIAS in the panel — BUY-SIDE PULL means liquidity above is the draw (look for longs into the target); SELL-SIDE PULL means liquidity below is the draw (look for shorts).
2. Find the NEXT TARGET — the highlighted pool is where price is most likely to sweep liquidity next. Use it as a logical take-profit / objective.
3. Check the PROBABILITY bar — higher score = stronger magnet. Weak scores mean price is in a low-liquidity void; be patient.
4. Watch DISTANCE — how far the target is in %. Tight distance = an immediate objective; large distance = a swing objective.
5. Trade the sweep — as price reaches a pool and sweeps it, watch for the reaction. Swept pools fade automatically so the chart always shows live, unmitigated liquidity only.
Tip: combine the NEXT TARGET with your own entry model (FVG, order block, market structure). Liquidity Magnet tells you WHERE liquidity sits and which pool is the draw — you choose the entry.
THE DASHBOARD
• NEXT TARGET — price of the strongest liquidity pool and its probability.
• Probability bar — visual 0–100 strength of the current magnet.
• Distance — % distance from price to the target.
• Touches — how many times the target level was tested.
• Bias — overall liquidity pull (buy-side vs sell-side).
• Buy-side / Sell-side pools — count of active unmitigated pools on each side.
NON-REPAINTING
All liquidity pools are built from confirmed pivots (a fixed lookback of closed bars), and every sweep is confirmed on closed bars only — barstate.isconfirmed. Scores and visuals are display-side and never rewrite history. No request.security, no lookahead, no future leak. What you see is what actually happened.
SETTINGS
Liquidity Engine
• Swing length — pivot lookback; higher = only major swings become pools.
• Equal-level tolerance — how close two highs/lows must be (in ATR) to merge into one pool and count as a touch.
• Max pools per side — cap on active pools above and below.
• Max pool age — pools older than this are removed.
Magnet Score
• Proximity range, Momentum lookback / range — sensitivity of the score factors.
• Weights: proximity / age / touches / momentum — fully customizable scoring.
• Min score to flag target — hide weak magnets below this score.
• Max target distance % — a pool farther than this can never be the NEXT TARGET.
Neon Candles
• Neon gradient candles on/off, Glow halo on/off.
Panel
• Show panel, position, background / text / accent colors.
BEST USED ON
Forex, Gold (XAUUSD), indices, crypto and stocks. Works on all timeframes; intraday (15m–4H) is ideal for liquidity sweeps, higher timeframes for swing objectives.
Keywords: liquidity, liquidity sweep, liquidity pools, ICT, SMC, smart money concepts, buy-side liquidity, sell-side liquidity, BSL, SSL, equal highs, equal lows, EQH, EQL, stop hunt, liquidity grab, order flow, smart money, market structure.
This indicator is a decision-support tool, not financial advice. Always combine it with your own analysis and risk management.
インジケーター

FVG Retest Entry Engine [trade_w_samet]🎯 FVG Retest Entry Engine
FVG Retest Entry Engine is a structured Fair Value Gap retest analysis indicator designed to help traders study confirmed gap reactions, structure alignment, filtered entry conditions, and multi-target visual trade models directly on the price chart.
This script focuses on one main concept:
FVG retest-based entry visualization.
It is not designed to be a simple buy/sell signal generator.
It is not designed to show every possible Fair Value Gap.
It is not designed to create constant chart noise.
Instead, the goal of FVG Retest Entry Engine is to detect confirmed structure events, identify eligible Fair Value Gaps, monitor their retests, apply configurable quality checkpoints, and visualize accepted setups using one entry level, one protective stop, and three take-profit levels.
The indicator includes:
• Bullish and bearish market-structure detection
• BOS and CHoCH classification
• Three-candle Fair Value Gap detection
• Internal FVG memory and invalidation handling
• Structure-linked FVG candidate selection
• FVG quality scoring and setup grading
• Armed-zone retest monitoring
• Multiple retest confirmation models
• Volume, Directional Force, and confirmed HTF bias filters
• FVG Retest Passport
• Blocker Lens state reporting
• Confirmed-close signal commitment
• Optional Live Preview dashboard state
• Gap-protected and ATR-based stop-loss models
• TP1, TP2, and TP3 risk-multiple projections
• Optional breakeven movement after TP1
• Active and historical TP / SL areas
• Executed FVG retest zones
• One-active-trade-at-a-time logic
• Mobile chart layout
• Multiple visual themes
• Advanced entry and lifecycle alerts
• JSON webhook support
• Compact bottom-right dashboard
The purpose of this script is to help users visually study where a structure event and an eligible Fair Value Gap combine with a confirmed retest condition.
It should be treated as a chart-analysis and educational decision-support tool.
It is not financial advice.
It is not an automated trading system.
It does not guarantee profitable trades.
It does not execute broker orders.
It does not replace personal analysis, risk management, or trade validation.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, FVG Retest Entry Engine does the following:
• Detects confirmed bullish and bearish structure breaks.
• Classifies structure events as BOS or CHoCH.
• Detects bullish and bearish three-candle Fair Value Gaps.
• Stores valid FVG zones in internal memory.
• Tracks zone direction, boundaries, age, displacement, volume context, and prior interactions.
• Searches for an eligible FVG after a matching structure event.
• Scores and ranks available FVG candidates.
• Arms the best available zone for retest monitoring.
• Waits for the selected minimum retest delay.
• Detects the selected FVG retest pattern.
• Evaluates reaction quality and optional confluence filters.
• Assigns a setup grade such as A+, A, B, or FILTERED.
• Confirms final entry conditions only when the chart candle closes.
• Draws one Entry, one SL, and three TP levels.
• Tracks TP1, TP2, TP3, stop-loss, and breakeven events.
• Allows only one active trade projection at a time.
• Keeps completed trade areas when historical display is enabled.
• Marks completed models as bullish or bearish FVG Retest outcomes.
• Displays the current bias, engine state, and active levels in the dashboard.
• Provides entry, armed-zone, target, stop, breakeven, and webhook alert options.
The script is intentionally built as a structured process.
It does not include machine-learning prediction.
It does not include guaranteed performance claims.
It does not attempt to forecast every future market movement.
It provides a transparent way to study structure-linked FVG retests and their projected trade lifecycle.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind FVG Retest Entry Engine is based on the relationship between market structure and Fair Value Gap reactions.
A Fair Value Gap represents a three-candle price imbalance.
A bullish FVG is formed when the current candle’s low is above the high from two candles earlier.
A bearish FVG is formed when the current candle’s high is below the low from two candles earlier.
The script does not treat every FVG as an entry.
Instead, it waits for a confirmed structure event and then searches for an eligible FVG that matches that directional context.
The selected FVG becomes an armed zone.
Price must later return to that zone and satisfy the chosen retest condition.
The engine can then evaluate:
• gap size relative to ATR
• formation displacement
• formation volume context
• FVG age
• prior zone interactions
• structure-break quality
• retest depth
• reaction-candle quality
• volume participation
• DI / ADX directional force
• confirmed higher-timeframe bias
• minimum setup grade
The goal is not to show more signals.
The goal is to create a documented and understandable process from structure event to confirmed FVG retest model.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
FVG Retest Entry Engine is not intended to be used as a blind buy/sell system.
The script is structured as a visual review workflow:
Structure event is confirmed
→ matching FVG candidates are reviewed
→ one eligible FVG is selected
→ the FVG becomes armed
→ price returns to the armed zone
→ the retest pattern is checked
→ reaction quality is evaluated
→ enabled filters are checked
→ the setup receives a grade
→ the candle must close with all conditions still valid
→ Entry, SL, TP1, TP2, and TP3 are projected
→ the active model is monitored
→ the model closes at TP3, stop loss, targets complete, or breakeven
→ the completed FVG Retest model is archived visually
Each part has a specific purpose.
The structure system identifies a directional event.
The FVG memory system stores imbalance zones.
The candidate-ranking system selects a relevant gap instead of using every gap.
The armed-zone system separates observation from entry.
The retest logic defines what qualifies as a valid return.
The quality checkpoints reduce setups that fail enabled conditions.
The grading system summarizes internal setup quality.
The entry model provides visual planning levels.
The stop model creates a consistent risk reference.
The three-target model provides staged reward references.
The Blocker Lens explains the current engine state.
The Passport explains why an accepted setup qualified.
The alert system supports monitoring of confirmed events.
This makes the script a structured FVG retest analysis tool, not a guaranteed trade signal generator.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
The script operates through several connected stages.
First, it identifies confirmed swing highs and swing lows.
Price breaking a confirmed swing level can create a bullish or bearish structure event.
The break may be classified as BOS when it continues the current structure bias or CHoCH when it changes that bias.
The engine separately detects three-candle Fair Value Gaps and stores their contextual information.
bool tws_bullish_fvg = bar_index >= 2 and low > high
bool tws_bearish_fvg = bar_index >= 2 and high < low
float tws_bullish_fvg_top = low
float tws_bullish_fvg_bottom = high
float tws_bearish_fvg_top = low
float tws_bearish_fvg_bottom = high
float tws_bullish_fvg_size = tws_bullish_fvg_top - tws_bullish_fvg_bottom
float tws_bearish_fvg_size = tws_bearish_fvg_top - tws_bearish_fvg_bottom
When a structure event occurs, the engine reviews matching FVG candidates within the selected distance and timing limits.
The available candidates are compared using the active profile’s rules.
The selected zone becomes armed and remains under observation until:
• a confirmed retest creates an entry
• the setup expires
• the FVG is invalidated
• another structure search replaces it
Once price interacts with the armed zone, the selected retest model and reaction-quality conditions are checked.
Volume, DI / ADX, and higher-timeframe bias can also be required.
Only a setup that passes the active rules and remains valid at candle close can create a permanent entry model.
━━━━━━━━━━━━━━━━━━━━━━
🔵 BULLISH FVG RETEST LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A bullish FVG Retest setup begins with bullish structure context.
The script requires a confirmed bullish BOS or CHoCH event and then searches for a directionally matching FVG candidate.
The selected zone must remain valid while the engine waits for price to return.
Depending on the chosen profile and retest model, bullish confirmation may require:
• wick contact with the zone
• real-body contact
• a close inside the zone
• a bullish reaction reclaim
• directional recovery above the zone midpoint
• a close above the relevant FVG edge
• a bullish rejection wick
The engine may then check:
• reaction strength
• volume participation
• positive DI dominance
• minimum ADX strength
• confirmed bullish HTF alignment
• minimum accepted grade
When every enabled condition remains valid at candle close, the script creates:
• a bullish FVG RETEST label
• an executed FVG retest box
• an entry reference at the confirmation close
• a protective stop below the setup reference
• TP1, TP2, and TP3 above entry
• blue reward visualization
• red risk visualization
This does not mean price must continue upward.
It means the script detected a bullish FVG retest condition that satisfied the selected rules at the time of confirmation.
━━━━━━━━━━━━━━━━━━━━━━
🔴 BEARISH FVG RETEST LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A bearish FVG Retest setup begins with bearish structure context.
The script requires a confirmed bearish BOS or CHoCH event and then searches for a directionally matching FVG candidate.
The selected zone must remain valid while the engine waits for price to return.
Depending on the chosen profile and retest model, bearish confirmation may require:
• wick contact with the zone
• real-body contact
• a close inside the zone
• a bearish reaction reclaim
• directional recovery below the zone midpoint
• a close below the relevant FVG edge
• a bearish rejection wick
The engine may then check:
• reaction strength
• volume participation
• negative DI dominance
• minimum ADX strength
• confirmed bearish HTF alignment
• minimum accepted grade
When every enabled condition remains valid at candle close, the script creates:
• a bearish FVG RETEST label
• an executed FVG retest box
• an entry reference at the confirmation close
• a protective stop above the setup reference
• TP1, TP2, and TP3 below entry
• blue reward visualization
• red risk visualization
This does not mean price must continue downward.
It means the script detected a bearish FVG retest condition that satisfied the selected rules at the time of confirmation.
━━━━━━━━━━━━━━━━━━━━━━
💎 FVG QUALITY FILTER SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes a multi-layer FVG quality system to reduce unnecessary chart signals.
This is important because not every gap has the same context and not every retest should create an entry model.
The quality system may evaluate:
• minimum gap size relative to ATR
• displacement of the formation candle
• gap location inside the recent dealing range
• formation-volume context
• gap age
• previous interactions with the zone
• distance from the matching structure event
• structure-break strength
• reaction-candle strength
• volume participation on retest
• DI / ADX directional force
• confirmed HTF bias
• final setup grade
The exact behavior depends on the selected Engine Style.
Original Sync uses the first validated calibration and star-based acceptance logic.
Balanced Flow uses moderate filtering.
Precision Flow applies stricter FVG and retest requirements.
Fast Flow accepts more active conditions.
Position Flow uses wider structural and timing windows.
Custom Lab exposes the advanced thresholds for manual configuration.
The filter system does not guarantee better future outcomes.
It controls how selective the engine is before creating a confirmed visual model.
━━━━━━━━━━━━━━━━━━━━━━
📏 GAP / ATR FILTER
━━━━━━━━━━━━━━━━━━━━━━
The gap-width filter measures the detected FVG against ATR.
This helps the engine reject extremely small imbalance zones relative to current market volatility.
A higher minimum gap-width value makes FVG storage and candidate selection more selective.
A lower value allows smaller gaps to enter the internal memory.
The filter is volatility-adjusted because the same absolute price distance can have different meaning across symbols and timeframes.
The active threshold depends on the chosen profile or Custom Lab value.
A larger gap is not automatically a better setup.
Gap size is only one component of the complete selection and retest process.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ DISPLACEMENT QUALITY FILTER
━━━━━━━━━━━━━━━━━━━━━━
The displacement filter evaluates the directional body of the candle associated with FVG formation.
The formation body is compared with ATR and converted into a bounded internal score.
This helps the script distinguish a stronger directional imbalance from a gap created during weak or narrow price action.
When the Gap Impulse Check is enabled, an FVG must satisfy the selected displacement threshold before it is stored as a valid candidate.
A higher threshold reduces the number of eligible FVGs.
A lower threshold accepts more moderate formations.
The displacement score is an internal quality measurement.
It does not predict whether the zone will hold in the future.
━━━━━━━━━━━━━━━━━━━━━━
📊 REACTION STRENGTH FILTER
━━━━━━━━━━━━━━━━━━━━━━
The reaction-strength filter evaluates the candle that interacts with the armed FVG.
The score can include:
• close location inside the candle
• directional wick quality
• body size relative to ATR
• bullish or bearish candle direction
• penetration depth inside the FVG
The purpose is to separate a basic touch from a more structured directional response.
A higher minimum reaction-strength value requires a clearer response from the zone.
A lower value accepts more retest conditions.
Original Sync can use its original reaction logic without the same adaptive score requirement.
The reaction score is not a win probability.
It is a standardized way to evaluate whether the retest candle matches the selected profile’s quality requirements.
━━━━━━━━━━━━━━━━━━━━━━
🧼 CONFIRMED RETEST FILTER
━━━━━━━━━━━━━━━━━━━━━━
The confirmed-retest layer requires price to satisfy the active retest model and remain valid at candle close.
Available Original Sync reaction patterns include:
• Any Wick Contact
• Real Body Contact
• Close Within Gap
• Reaction Reclaim
Available adaptive reaction models include:
• First Contact
• Directional Recovery
• Edge Reclaim
• Rejection Wick
First Contact accepts basic interaction with the zone.
Directional Recovery requires directional behavior after the interaction.
Edge Reclaim requires price to close through the relevant boundary.
Rejection Wick applies a stricter wick-and-close response.
The script can also use an interaction margin to tolerate minor boundary differences.
A minimum delay prevents the engine from confirming a retest too soon after the structure event.
An expiry window prevents stale armed zones from producing entries too far from their original context.
Final entry commitment remains bar-close based.
━━━━━━━━━━━━━━━━━━━━━━
🎯 ENTRY MODEL
━━━━━━━━━━━━━━━━━━━━━━
When an armed FVG retest passes all enabled conditions, the script creates a visual entry model.
The entry reference is the close of the candle that confirms the retest.
Permanent entries, labels, boxes, and entry alerts are committed only after candle close.
tws_preview_ready := tws_eval_zone_touched and tws_eval_reaction_pass and tws_direction_filters_pass and tws_eval_grade_pass
bool tws_confirmed_entry = tws_preview_ready and barstate.isconfirmed
if tws_confirmed_entry
tws_long_signal := tws_armed_direction == 1
tws_short_signal := tws_armed_direction == -1
tws_entry_event := true
tws_trade_active := true
tws_trade_direction := tws_armed_direction
tws_trade_open_bar := bar_index
tws_trade_entry := close
Confirmed Close mode waits for the candle to finish before the dashboard treats the setup as an entry.
Live Preview can show that current conditions are ready while the realtime candle is still open.
The preview may change intrabar because the candle is unfinished.
It does not create a permanent historical entry model unless the setup remains valid when the candle closes.
The entry is a visual analysis reference.
It is not a broker order and does not require the user to enter a trade.
━━━━━━━━━━━━━━━━━━━━━━
🛑 ATR STOP-LOSS MODEL
━━━━━━━━━━━━━━━━━━━━━━
The script includes two stop-placement models.
Gap-Protected Stop uses the selected FVG boundary plus an ATR-based protective buffer.
For bullish setups, the stop is projected below the FVG.
For bearish setups, the stop is projected above the FVG.
Volatility Stop projects the stop at an ATR multiple from entry.
A minimum stop-distance percentage can prevent extremely narrow visual stops.
float tws_raw_stop =
tws_stop_mode == "Gap-Protected Stop" ?
(
tws_trade_direction == 1 ?
tws_armed_bottom - tws_atr * tws_fvg_stop_buffer_atr :
tws_armed_top + tws_atr * tws_fvg_stop_buffer_atr
) :
(
tws_trade_direction == 1 ?
tws_trade_entry - tws_atr * tws_atr_stop_multiplier :
tws_trade_entry + tws_atr * tws_atr_stop_multiplier
)
float tws_raw_stop_distance = math.abs(tws_trade_entry - tws_raw_stop)
float tws_guaranteed_distance = tws_trade_entry * tws_minimum_stop_percent / 100.0
float tws_final_stop_distance = math.max(tws_raw_stop_distance, tws_guaranteed_distance)
ATR is used because volatility changes across markets and timeframes.
A wider stop changes the projected risk distance and therefore also changes all three target levels.
The displayed SL is a visual planning level only.
It does not place or manage a real broker stop order.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TAKE-PROFIT RR MODEL
━━━━━━━━━━━━━━━━━━━━━━
The script uses three take-profit levels.
Each target is calculated from the distance between entry and the original stop.
float tws_trade_risk = math.abs(tws_trade_entry - tws_trade_original_stop)
tws_trade_tp1 := tws_trade_direction == 1 ? tws_trade_entry + tws_trade_risk * tws_tp1_r : tws_trade_entry - tws_trade_risk * tws_tp1_r
tws_trade_tp2 := tws_trade_direction == 1 ? tws_trade_entry + tws_trade_risk * tws_tp2_r : tws_trade_entry - tws_trade_risk * tws_tp2_r
tws_trade_tp3 := tws_trade_direction == 1 ? tws_trade_entry + tws_trade_risk * tws_tp3_r : tws_trade_entry - tws_trade_risk * tws_tp3_r
The default concept is:
TP1 = first risk-multiple target
TP2 = second risk-multiple target
TP3 = final risk-multiple target
The exact R values can be adjusted in Position Architecture.
The script also contains visual position-share percentages for TP1, TP2, and TP3.
These shares are used by the internal lifecycle model.
They do not represent a broker account, real position size, or verified financial performance.
The RR settings only control projected visual distances.
They should not be interpreted as recommendations or guaranteed objectives.
━━━━━━━━━━━━━━━━━━━━━━
📦 ACTIVE TP / SL BOX SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
When a confirmed FVG Retest entry appears, the script can draw a complete visual trade model.
The visual model includes:
• executed FVG retest zone
• entry line
• original stop line
• active stop line
• TP1 line
• TP2 line
• TP3 line
• red risk box
• blue reward box
• Entry price label
• SL price label
• TP1, TP2, and TP3 price labels
• bullish or bearish entry label
The active boxes extend to the right while the model is open.
When the model closes, the right edge is fixed at the closing candle.
If Keep Completed Trade Areas is enabled, completed boxes and lines remain visible for historical review.
The Completed Trade History Limit controls how many previous visual models are retained.
The TP area uses a blue-toned visual palette.
TP price labels use a different, darker background so they remain distinct from the reward box.
The SL area remains red for clearer risk separation.
━━━━━━━━━━━━━━━━━━━━━━
🚦 ONE ACTIVE TRADE AT A TIME
━━━━━━━━━━━━━━━━━━━━━━
The script includes one-active-trade-at-a-time logic.
If a trade model is active, the engine does not create another trade model until the current one closes.
The active model may close through:
• TP3
• targets complete
• stop loss
• breakeven exit
This design separates:
• FVG and structure detection
• trade-model creation permission
The engine can continue calculating market context while a model is active, but another entry model is not opened.
This helps prevent overlapping TP / SL areas and keeps the chart easier to interpret.
The one-active-model rule is a visual management decision.
It is not a restriction on the user’s personal trading activity.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE TP / SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If a target and the active stop are both touched on the same candle, standard OHLC data cannot reveal the true intrabar sequence.
The script therefore includes two selectable assumptions:
Protective First
Target First
Protective First assumes the stop is processed before target events.
Target First processes available target events before the stop check.
bool tws_conservative_mode =
tws_intrabar_priority == "Protective First"
if tws_conservative_mode and tws_stop_touched
tws_trade_remaining_percent := 0.0
tws_close_trade := true
tws_close_reason := tws_trade_active_stop == tws_trade_entry ? "BREAKEVEN" : "STOP LOSS"
tws_final_exit_price := tws_trade_active_stop
else
if not tws_tp1_reached and tws_tp1_touched
tws_tp1_reached := true
tws_tp1_event := true
Protective First is the more conservative bar-based assumption.
Target First is more optimistic.
Neither option reproduces exact tick-by-tick broker execution.
The model does not include spread, slippage, commissions, latency, or partial-fill behavior.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ FVG RETEST LABELS
━━━━━━━━━━━━━━━━━━━━━━
The script uses clear directional FVG Retest labels.
Bullish entry labels use:
🟢 FVG RETEST
📈 LONG
Bearish entry labels use:
🔴 FVG RETEST
📉 SHORT
Entry labels can also display:
• grade
• setup score
• FVG age
• retest depth
• Passport information
Completed-model labels emphasize that the closed model originated from an FVG retest.
A completed bullish model can display:
🟢 BULLISH FVG RETEST
🔒 MODEL CLOSED
🎯 close reason
⭐ grade
TP1 / TP2 / TP3 status
A completed bearish model uses the corresponding bearish wording and color.
The labels do not display USD profit or account-profit claims.
All chart labels use bold and italic text formatting.
The signal-label size can be adjusted from the settings.
━━━━━━━━━━━━━━━━━━━━━━
📍 FVG ZONE DISPLAY MODES
━━━━━━━━━━━━━━━━━━━━━━
The FVG display system includes three modes:
Hidden
Selected Gap
All Active Gaps
Hidden mode removes active FVG memory boxes from the chart while allowing the engine to continue calculating them internally.
Selected Gap shows only the FVG currently armed for retest monitoring.
All Active Gaps displays every currently stored and valid FVG zone.
Show Executed FVG Retests separately controls whether the FVG zone that created an entry remains highlighted as part of the trade model.
The selected display mode affects visual presentation only.
It does not change the underlying FVG calculations.
For the cleanest chart, Selected Gap is generally the most focused mode.
All Active Gaps can be useful for research but may create more chart density.
━━━━━━━━━━━━━━━━━━━━━━
🧹 FVG INVALIDATION
━━━━━━━━━━━━━━━━━━━━━━
The script can automatically remove invalidated FVG zones.
A bullish FVG may be invalidated when confirmed price action closes through the zone in the opposite direction.
A bearish FVG may be invalidated when confirmed price action closes through its opposite boundary.
An armed zone can also be cleared when:
• its retest window expires
• the zone exceeds the permitted lifetime
• the internal memory limit removes an older gap
• the active structure search is replaced
When an armed FVG becomes invalid, the Blocker Lens can display FVG INVALIDATED.
When the retest window expires, it can display SETUP EXPIRED.
Removing invalidated or stale zones helps prevent outdated FVGs from creating later entries outside their intended context.
Users can disable automatic invalidation removal if they prefer to retain more zones visually.
━━━━━━━━━━━━━━━━━━━━━━
📟 DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
The script includes a compact dashboard positioned in the bottom-right corner.
The dashboard displays:
• BIAS
• STATE
• ENTRY
• TP1
• TP2
• TP3
• SL
BIAS uses the confirmed higher-timeframe filter when that filter is enabled and valid.
Otherwise, it reflects the current internal structure bias.
STATE is powered by the Blocker Lens.
Possible states include:
• WAITING STRUCTURE
• SCANNING FVG
• NO ELIGIBLE FVG
• FVG ARMED
• RETEST DELAY
• WAITING RETEST
• VOLUME BLOCK
• DI BLOCK
• HTF BLOCK
• WEAK REACTION
• GRADE BLOCK
• LIVE PREVIEW READY
• WAITING BAR CLOSE
• TRADE ACTIVE
• COOLDOWN
• SETUP EXPIRED
• FVG INVALIDATED
The dashboard size can be set to Micro, Compact, or Standard.
The dashboard is designed to summarize engine state and current price references.
It is not a performance report.
It is not a replacement for TradingView Strategy Tester.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
FVG Retest Entry Engine includes advanced alert options for:
• FVG armed
• bullish FVG Retest entry
• bearish FVG Retest entry
• any FVG Retest entry
• TP1 reached
• TP2 reached
• TP3 reached
• breakeven activated
• stop loss
• breakeven exit
Alert packages include:
Off
Qualified Entries
Premium Entries
Full Lifecycle
Webhook JSON
Qualified Entries focuses on confirmed accepted entries.
Premium Entries applies stricter grade-based alert delivery.
Full Lifecycle includes entry and management events.
Webhook JSON sends structured event messages for external processing.
Alert Direction can be limited to Both Directions, Bullish Only, or Bearish Only.
Minimum Alert Grade can be set to All Qualified, A / A+, or A+ Only.
Alert filtering affects alert delivery only.
It does not change the chart’s signal calculations.
alertcondition(tws_armed_alert_event, title="trade_w_samet • FVG ARMED", message='trade_w_samet FVG ARMED | {{ticker}} | TF: {{interval}} | Score: {{plot("SIGNAL_SCORE")}}')
alertcondition(tws_entry_alert_event and tws_trade_direction == 1, title="trade_w_samet • BULLISH FVG RETEST", message='trade_w_samet BULLISH FVG RETEST | {{ticker}} | TF: {{interval}} | Score: {{plot("SIGNAL_SCORE")}} | Entry: {{plot("ENTRY")}} | SL: {{plot("SL")}} | TP1: {{plot("TP1")}} | TP2: {{plot("TP2")}} | TP3: {{plot("TP3")}}')
alertcondition(tws_entry_alert_event and tws_trade_direction == -1, title="trade_w_samet • BEARISH FVG RETEST", message='trade_w_samet BEARISH FVG RETEST | {{ticker}} | TF: {{interval}} | Score: {{plot("SIGNAL_SCORE")}} | Entry: {{plot("ENTRY")}} | SL: {{plot("SL")}} | TP1: {{plot("TP1")}} | TP2: {{plot("TP2")}} | TP3: {{plot("TP3")}}')
alertcondition(tws_tp1_alert_event, title="trade_w_samet • TP1 REACHED", message='trade_w_samet TP1 REACHED | {{ticker}} | TP1: {{plot("TP1")}}')
alertcondition(tws_stop_alert_event, title="trade_w_samet • STOP LOSS", message='trade_w_samet STOP LOSS | {{ticker}} | SL: {{plot("SL")}}')
Alerts are monitoring tools only.
They do not execute trades or place broker orders.
━━━━━━━━━━━━━━━━━━━━━━
🔔 HOW TO USE ALERTS
━━━━━━━━━━━━━━━━━━━━━━
A practical alert workflow:
1. Add FVG Retest Entry Engine to the chart.
2. Select the desired Engine Style and confirmation settings.
3. Open TradingView’s alert window.
4. Select the indicator as the alert condition.
5. Choose the desired entry or lifecycle condition.
6. Select the alert frequency appropriate for confirmed-candle monitoring.
7. Use the Alert Package, direction, and grade controls inside the indicator when needed.
8. Add a webhook URL only when using a compatible external workflow.
9. Test the alert configuration before depending on it.
10. Confirm every event with personal analysis and risk management.
For confirmed entry monitoring, users should avoid treating provisional realtime candle conditions as permanent signals.
Entry alerts are designed around the script’s confirmed event variables.
Alert delivery can still depend on TradingView servers, the user’s alert configuration, data availability, and any external webhook destination.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
1. Add FVG Retest Entry Engine to a standard candlestick chart.
2. Begin with Original Sync or Balanced Flow.
3. Keep Signal Timing on Confirmed Close for the clearest workflow.
4. Use Selected Gap to keep the chart focused.
5. Observe the dashboard STATE value.
6. Wait for a confirmed structure event and an armed FVG.
7. Review the FVG zone before the retest occurs.
8. When price returns, allow the selected retest model and filters to complete.
9. Review the FVG Retest Passport when an entry appears.
10. Use the displayed Entry, SL, TP1, TP2, and TP3 as visual references only.
11. Evaluate whether the setup fits personal structure, liquidity, session, and risk rules.
12. Use alerts for monitoring rather than blind execution.
13. Review completed FVG Retest labels to understand the model lifecycle.
14. Test settings on the exact markets and timeframes personally studied.
The indicator is best used as a structured FVG retest review tool.
It should not be used as an automatic decision-maker.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
⚡ Signal Blueprint
Engine Style
Controls the active configuration profile.
Available profiles:
Original Sync
Balanced Flow
Precision Flow
Fast Flow
Position Flow
Custom Lab
Allow Bullish Setups
Enables or disables bullish FVG Retest models.
Allow Bearish Setups
Enables or disables bearish FVG Retest models.
━━━━━━━━━━━━━━━━━━━━━━
🪪 Retest Experience
FVG Retest Passport
Controls whether Passport information is Off, Compact, or Detailed.
Show Blocker Lens
Shows or hides the engine STATE explanation in the dashboard.
Signal Timing
Selects Confirmed Close or Live Preview behavior.
Live Preview affects the dashboard’s provisional realtime state. Permanent entries remain candle-close confirmed.
━━━━━━━━━━━━━━━━━━━━━━
🧬 Original Sync Engine
Original Signal Calibration
Selects Manual Sync, Bitcoin Map, Ethereum Map, Solana Map, or Gold Map.
Structure Window
Controls pivot sensitivity in Manual Sync.
Minimum Gap Footprint — ATR
Controls the minimum FVG width.
Gap Lifetime
Controls how long stored FVGs remain eligible.
Gap Memory Capacity
Controls the number of stored zones.
Break-to-Gap Distance
Controls the maximum allowed distance between structure context and FVG eligibility.
After-Break Scan Window
Controls how long the engine continues searching after a break.
Reaction Pattern
Selects Any Wick Contact, Real Body Contact, Close Within Gap, or Reaction Reclaim.
Reaction Margin %
Adds tolerance around FVG boundaries.
Minimum Reaction Delay
Controls how many bars must pass before retest confirmation.
Reaction Expiry Bars
Controls how long the armed setup may wait.
Participation Multiplier
Controls the Original Sync volume requirement.
Minimum Directional Force
Controls the Original Sync ADX threshold.
Minimum Sync Rating
Controls the minimum accepted star rating.
Minimum Risk Distance %
Prevents extremely narrow stops.
━━━━━━━━━━━━━━━━━━━━━━
🧭 Structure Pulse
Structure Sensitivity
Controls pivot detection in Custom Lab.
Display Structure Tags
Shows or hides BOS / CHoCH labels.
Close-Lock Breaks
Requires a candle close beyond structure when enabled.
Break Momentum Check
Requires directional expansion on the break candle.
Break Body Threshold — ATR
Controls the required break-candle body size.
Break Clearance — ATR
Adds an ATR-based buffer beyond the structure level.
━━━━━━━━━━━━━━━━━━━━━━
🧱 Gap Intelligence
Minimum Gap Width — ATR
Controls the minimum stored FVG size.
Gap Impulse Check
Enables displacement filtering.
Minimum Gap Impulse
Controls the required formation displacement.
Minimum Gap Score
Controls the minimum candidate-quality score.
Allowed Prior Reactions
Controls how many previous zone interactions are accepted.
Gap Expiry Bars
Controls maximum FVG age.
Active Gap Capacity
Controls stored-zone capacity.
Maximum Structure Link
Controls the maximum structure-to-FVG distance.
Break Follow-Through Window
Controls post-break candidate scanning.
Delete Invalidated Gaps
Removes zones invalidated by confirmed opposite price action.
━━━━━━━━━━━━━━━━━━━━━━
🎯 Reaction Trigger
Reaction Model
Selects First Contact, Directional Recovery, Edge Reclaim, or Rejection Wick.
Gap Interaction Margin %
Adds tolerance around FVG boundaries.
Minimum Reaction Strength
Controls the required retest-candle score.
Reaction Delay Bars
Controls the minimum delay before retest confirmation.
Setup Expiry Bars
Controls how long the armed zone remains available.
Signal Cooldown Bars
Controls the delay after a completed model before another entry is permitted.
━━━━━━━━━━━━━━━━━━━━━━
🛂 Quality Checkpoints
Volume Participation Check
Enables or disables the retest-volume filter.
Volume Baseline Length
Controls the volume moving-average period.
Required Volume Expansion
Controls the required volume multiplier.
Directional Force Check
Enables or disables DI / ADX filtering.
Directional Force Length
Controls the DI period.
Trend Strength Smoothing
Controls ADX smoothing.
Minimum Trend Strength
Controls the required ADX value.
Higher-Timeframe Bias Check
Enables or disables HTF directional alignment.
Bias Timeframe
Selects the higher timeframe.
Bias Fast EMA
Controls the fast HTF EMA length.
Bias Slow EMA
Controls the slow HTF EMA length.
Minimum Setup Grade
Selects B Grade or Better, A Grade or Better, or A+ Only.
The HTF layer uses previous completed higher-timeframe values.
float tws_htf_close = request.security(
syminfo.tickerid,
tws_htf_timeframe,
close ,
barmerge.gaps_off,
barmerge.lookahead_on
)
float tws_htf_fast_ema = request.security(
syminfo.tickerid,
tws_htf_timeframe,
ta.ema(close, tws_htf_fast_length) ,
barmerge.gaps_off,
barmerge.lookahead_on
)
float tws_htf_slow_ema = request.security(
syminfo.tickerid,
tws_htf_timeframe,
ta.ema(close, tws_htf_slow_length) ,
barmerge.gaps_off,
barmerge.lookahead_on
)
━━━━━━━━━━━━━━━━━━━━━━
🛡️ Position Architecture
ATR Calculation Length
Controls ATR calculation.
Stop Placement Model
Selects Gap-Protected Stop or Volatility Stop.
Volatility Stop Multiplier
Controls ATR stop distance from entry.
Gap Stop Buffer — ATR
Controls the protective distance beyond the FVG.
Minimum Stop Distance %
Prevents extremely narrow risk zones.
TP1 Risk Multiple
Controls the first target distance.
TP2 Risk Multiple
Controls the second target distance.
TP3 Risk Multiple
Controls the final target distance.
TP1 Position Share %
Controls the internal visual share assigned to TP1.
TP2 Position Share %
Controls the internal visual share assigned to TP2.
TP3 Position Share %
Controls the internal visual share assigned to TP3.
Move Stop to Entry After TP1
Moves the active stop to entry after TP1 according to confirmed lifecycle rules.
Same-Candle Priority
Selects Protective First or Target First.
━━━━━━━━━━━━━━━━━━━━━━
🎨 Chart Design
Color System
Selects Obsidian Signal, Carbon Grid, Ivory Pulse, Neon Voltage, Acid Circuit, or Violet Flux.
Gap Display Mode
Selects Hidden, Selected Gap, or All Active Gaps.
Show Executed FVG Retests
Shows or hides the FVG zone used by a confirmed trade model.
Display TP / SL Areas
Shows or hides the reward and risk boxes.
Keep Completed Trade Areas
Keeps completed model boxes and lines.
Completed Trade History Limit
Controls the maximum historical visual models.
Active Area Projection
Controls the initial right-side projection length.
Chart Layout
Selects Desktop or Mobile.
Signal Label Size
Selects Micro, Compact, Standard, or Large.
Dashboard Size
Selects Micro, Compact, or Standard.
Display Bias EMA
Shows or hides the confirmed HTF fast EMA reference.
Display Setup Dashboard
Shows or hides the bottom-right dashboard.
━━━━━━━━━━━━━━━━━━━━━━
📡 Alert Center
Alert Package
Selects Off, Qualified Entries, Premium Entries, Full Lifecycle, or Webhook JSON.
Alert Direction
Selects Both Directions, Bullish Only, or Bearish Only.
Minimum Alert Grade
Selects All Qualified, A / A+, or A+ Only.
Alert When FVG Is Armed
Enables armed-zone alerts for compatible packages.
Alert When Stop Moves to Entry
Enables breakeven-activation alerts for compatible packages.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
FVG Retest Entry Engine uses familiar analytical concepts such as:
• Fair Value Gaps
• swing-point structure
• BOS and CHoCH
• ATR
• volume analysis
• DI / ADX
• higher-timeframe EMA bias
• risk/reward projection
• staged targets
• breakeven management
These concepts are not unique by themselves.
The originality of this script lies in how they are organized into a transparent FVG retest workflow:
Structure confirmation
→ directional FVG memory
→ contextual candidate comparison
→ selected armed zone
→ configurable retest validation
→ reaction-quality evaluation
→ optional volume, DI, and HTF checkpoints
→ setup grading
→ confirmed-close entry commitment
→ three-target visual management
→ optional breakeven movement
→ completed FVG Retest archiving
→ Blocker Lens state reporting
→ Passport explanation
→ lifecycle alerts
Distinctive implementation features include:
• structure-linked FVG selection instead of signaling every gap
• multiple Engine Style profiles
• Original Sync market calibrations
• an armed-zone state before entry
• candidate ranking using several FVG characteristics
• multiple retest models
• a visible reason when an entry is waiting or blocked
• a Passport explaining accepted setup context
• confirmed-close permanent signal commitment
• previous-completed HTF values
• executed FVG zone preservation
• three-stage target management
• Desktop and Mobile display modes
• alert filtering separated from chart calculations
This structure is designed to provide a focused and explainable review process without relying on hidden prediction claims.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings and market conditions.
Signal frequency and visual output may change based on:
• Engine Style
• structure sensitivity
• close-based or wick-based breaks
• break momentum requirements
• minimum FVG width
• displacement filtering
• candidate-score threshold
• previous zone interactions
• FVG lifetime
• retest model
• reaction-strength threshold
• retest delay
• setup expiry
• volume filter settings
• DI / ADX settings
• HTF timeframe and EMA lengths
• minimum setup grade
• stop model
• target multiples
• signal cooldown
• timeframe
• symbol volatility
• market session
• available historical bars
A setting that appears clean on one market may behave differently on another.
A profile that produces suitable frequency on one timeframe may be too strict or too active on another.
Volume behavior can differ across asset classes and data providers.
Higher-timeframe filtering only operates as intended when the selected bias timeframe is genuinely higher than the chart timeframe.
Users should test the exact symbol, timeframe, profile, and session they personally study.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
It does not guarantee profitable trades.
It does not predict future price movement.
It does not replace risk management.
It does not execute trades.
It does not place broker orders.
It does not include broker slippage.
It does not include commissions.
It does not include spreads.
It does not include execution delay.
It does not include partial-fill behavior.
It uses bar-based chart data.
Same-candle TP / SL order cannot be known from standard OHLC data.
Same-Candle Priority is a modeling assumption.
Live Preview can change intrabar because the realtime candle is unfinished.
Permanent entry models are committed only after bar close.
Confirmed pivots require future bars before becoming available as confirmed swing points.
The dashboard is not TradingView Strategy Tester.
The internal target-share model is not account-performance reporting.
Historical boxes and completed labels do not guarantee similar future behavior.
Setup grades are internal classifications, not win probabilities.
Filter settings do not guarantee improved future results.
Higher-timeframe values depend on selected timeframe and available data.
Data-feed revisions or chart-history differences can affect historical calculations.
Alert delivery depends on TradingView and the user’s alert configuration.
Webhook delivery also depends on the external destination.
One-active-trade logic is a visual management rule, not broker execution logic.
For these reasons, FVG Retest Entry Engine should be used as an educational decision-support and chart-analysis tool, not as a standalone automated trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
• study Fair Value Gap retests
• use BOS and CHoCH context
• prefer selected FVGs instead of every raw gap
• want a visible armed-zone workflow
• want to understand why a setup is waiting or blocked
• prefer confirmed-close entries
• want a setup-grade framework
• want Entry, SL, TP1, TP2, and TP3 visualization
• want optional breakeven behavior
• want completed FVG Retest models preserved visually
• use higher-timeframe directional context
• want mobile-friendly chart presentation
• use lifecycle alerts for monitoring
• want a structured educational analysis framework
It may be less suitable for users who:
• want guaranteed buy/sell signals
• want a fully automated trading bot
• want every raw FVG to create an entry
• expect one profile to work on every market
• expect grades to represent guaranteed probability
• require exact tick-level execution simulation
• expect visual projections to match broker fills
• expect alerts to execute trades automatically
• want an indicator to replace independent decision-making
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
• Start with Original Sync or Balanced Flow.
• Keep Signal Timing on Confirmed Close.
• Use Selected Gap to reduce chart clutter.
• Enable Blocker Lens while learning the engine workflow.
• Use Compact Passport for concise context.
• Use Detailed Passport when reviewing why a setup qualified.
• Review the armed FVG before the entry appears.
• Check whether the FVG retest agrees with personal market-structure analysis.
• Evaluate the displayed stop against nearby structure and volatility.
• Treat TP1, TP2, and TP3 as planning references only.
• Keep Protective First when a conservative same-candle assumption is preferred.
• Use Precision Flow when fewer, stricter setups are preferred.
• Use Fast Flow only after understanding its higher signal frequency.
• Use Custom Lab only after learning how each threshold affects the engine.
• Use Mobile layout on smaller screens.
• Use alerts for monitoring, not blind execution.
• Always apply independent analysis, risk management, and position sizing.
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
FVG Retest Entry Engine is published as an educational and visual market-analysis tool.
The purpose of this description is to explain:
• what the script does
• how structure events are confirmed
• how three-candle FVGs are detected
• how FVGs are stored and invalidated
• how structure and FVG candidates are linked
• how an FVG becomes armed
• how retest models work
• how reaction quality is evaluated
• how volume, DI / ADX, and HTF checkpoints operate
• how setup grades are assigned
• how Confirmed Close and Live Preview differ
• how Entry and stop levels are calculated
• how TP1, TP2, and TP3 are projected
• how breakeven and same-candle assumptions work
• how active and completed trade areas behave
• what the Passport and Blocker Lens show
• what the dashboard displays
• what the alert packages do
• what the limitations are
• how the indicator should and should not be used
The script is designed to support structured analysis.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing structure-linked FVG retests and projected risk/reward behavior.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
FVG Retest Entry Engine is provided for educational and informational purposes only.
It does not constitute financial, investment, trading, legal, or tax advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, alert configuration, trading decisions, and broker execution.
The structure labels, FVG zones, armed-zone states, Passport values, Blocker Lens messages, grades, scores, entry references, stop-loss levels, take-profit levels, TP / SL boxes, dashboard values, completed-model labels, and alerts are visual analysis tools only.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability or a substitute for independent judgment.
インジケーター
