Risk calculatorScript Name
Risk Calculator
Purpose
A trading tool that calculates position size (lot/coin quantity) based on a fixed percentage risk of the account balance. The script visualizes entry, stop-loss, and take-profit levels on the chart and displays detailed trade statistics in a table.
Core Workflow
User Input: balance, maximum risk percentage, entry/stop/take prices (manually confirmed on the chart).
Direction Detection: analyzes price positions to determine if the trade is LONG (take > stop) or SHORT (take < stop). Invalid combinations trigger "SETUP ERROR".
Key Metrics Calculation:
Maximum loss in dollars (max_loss_usd)
Distance from entry to stop and take in points and percentages
Position Sizing (two scenarios):
If stop percentage < max risk: volume = balance / entry price (entire balance at risk, but stop triggers earlier)
Otherwise: volume = max loss / distance to stop (risk strictly limited to the set percentage)
Profit/Loss Calculation in dollars and risk/reward ratio (RR).
Visual Elements Rendering on the last confirmed or real-time bar:
Green profit zone (between entry and take)
Red loss zone (between stop and entry)
Horizontal level lines with labels
Information table in the bottom-right corner
Technologies / Libraries Used
Pine Script v6 — TradingView's native scripting language
Built-in functions:
input.float(), input.price() — data input
math.round_to_mintick() — rounding to minimum tick size
math.abs() — absolute value
table.new(), table.cell() — table creation
box.new() — rectangular areas
line.new() — trend lines
label.new() — text labels
Input Data
Balance ($) — account balance in USD (default: 1000)
Max Risk (%) — maximum risk per trade as percentage of balance (preset options: 0.25, 0.5, 0.75, 1, 2, 3, 5)
ENTRY — entry price (confirmed by clicking on the chart)
STOP — stop-loss price (confirmed by clicking on the chart)
TAKE — take-profit price (confirmed by clicking on the chart)
Output Data
Chart Visuals:
Colored profit (green) and loss (red) zones
Horizontal lines with price labels
Information Table (bottom-right corner):
Balance
Maximum risk in % and $
Trade amount in $
Volume in coins
Stop in % and $ (loss)
Take in % and $ (profit)
Risk/Reward ratio (1:X)
Key Features
Automatic position sizing with strict risk limitation
Level visualization directly on the chart for clear analysis
Flexible setup via manual price input on the chart
Risk/Reward ratio display (RR) for trade efficiency assessment
Support for both directions (LONG and SHORT) with automatic detection
Error protection: handles invalid price combinations (displays "ERROR" in the table)
Error Handling & Exceptions
Invalid price layouts (e.g., LONG with take < stop or entry outside the range) display "ERROR" in all table cells instead of numbers.
The direction variable is set to "SETUP ERROR", which blocks calculations and shows errors across all table fields.
The err flag checks for errors and replaces all numeric values with "ERROR" strings.
Dependencies & Environment Requirements
Platform: TradingView (web or desktop application)
Pine Script Version: v6
Timeframe: any (script is timeframe-independent)
Ticker: any (cryptocurrencies, stocks, forex, etc.)
No additional installations required — the script runs natively within TradingView
Implementation Details
Objects (lines, boxes, table) are created once on the last bar using barstate.islastconfirmedhistory and the objects_created flag to prevent redrawing on chart updates.
Visual elements are drawn with a 30-bar horizontal offset to the right for convenient label placement.
All calculations are performed in real-time as input parameters change. مؤشر

Market Structure + Swing Levels [AFD]Market Structure + Swing Levels organizes confirmed swing highs and
swing lows into configurable price Zones. Its default ATR mode sizes each
individual Zone from volatility at the Swing origin Bar; Tick, Point, and
Currency modes provide fixed-distance alternatives. It then describes
confirmed continuation Breaks, direction-changing Shifts, and the initial
direction assignment without trade instructions or predictive claims.
## Publication and license
- Publication type: Open-source.
- Pine version: 6.
- License: Mozilla Public License 2.0 (MPL 2.0).
- The open-source publication setting, this description, and the MPL 2.0
notice in the Pine source header must remain aligned.
The source is available for inspection and modification under MPL 2.0. This
summary identifies the applicable license; the notice in the Pine source
header remains the authoritative license reference.
## Capabilities
- Confirms Swing Highs and Swing Lows using the same selected strength on both
sides of the candidate Bar.
- Shows classifications by default: `H`, `HH`, `EH`, and `LH` for highs, and
`L`, `HL`, `EL`, and `LL` for lows.
- Builds ATR-, Tick-, Point-, or Currency-width Zones around confirmed Swings.
- Merges transitively overlapping same-side Zones into exact-union clusters.
- Evaluates Structure on confirmed Bars using selectable Close or Body
clearance.
- Lets Zone breaks use that Structure rule or an inclusive High/Low Touch of
the far edge.
- Retains broken Zones by default with configurable memory and color.
- Reports current direction, latest Structure event, active Zones, and
nearest-Zone distance in the Dashboard.
- Provides four fixed Structure alert conditions plus an optional combined
dynamic alert that can include Zone breaks.
## How to use it
1. Select a Preset Profile or choose Custom and set Swing Strength. The default
Swing profile uses a strength of 7 Bars on each side.
2. Choose the Zone Width Mode and width appropriate for the chart.
3. Choose how Structure confirms a clearance. Close is the default; Body
requires both the Open and Close to clear the reference.
4. Zone Break Basis follows the Structure rule by default. Touch (High/Low)
instead breaks a Zone when the wick reaches or passes its far edge.
5. Swing High and Swing Low Zone labels start at the oldest Swing Origin
represented by each Zone. Select Right Edge when current-Bar alignment is
preferred.
6. Swing High and Swing Low text have separate color controls. Both default to
white and also color the matching Swing classification labels. Zone Age,
Break, Shift, and Dashboard text also start white.
7. The Dashboard starts with all five rows visible. Disable nearest-Zone
distance when only Direction, Last Event, and Zone counts are needed.
8. Show Broken Zones starts on with a 20-Bar memory. Turn it off for an
active-Zones-only chart.
9. Zone Age starts off. When enabled, its unit starts in Days.
## How to interpret Zone cluster counts
The `×N` suffix is a cluster membership count. `Swing High ×3` means three
confirmed Swing High Zones are represented by that merged cluster.
It does not mean price tested one exact price three times. Zones merge when
their price bands overlap or meet at an edge. Merging is transitive, so one
connected Zone can bridge two other Zones even when those outer Zones do not
directly overlap each other. The displayed cluster preserves the full union of
those connected bands, and `×N` reports how many confirmed Swing Zones
contributed to it.
## Broken Zones
Show Broken Zones is the explicit on/off control:
- On by default — the Zone freezes at its break-confirmation Bar, changes to
Broken Zone Color, and remains visible for the selected Broken Zone Memory.
- Off — a Zone is deleted as soon as it breaks.
- Up to 20 broken Zones are retained. If more accumulate before their memory
expires, the oldest retained Zone is removed first.
This display choice does not change how Zone breaks are detected and does not
change alert behavior.
## Limitations and evidence
- Swings require the selected number of Bars on both sides, so confirmation
occurs after the origin Bar.
- ATR Zone width uses volatility from the Swing origin Bar.
- Currency-width mode creates no Zone when the symbol does not provide a valid
Point Value.
- Active Zones are capped at 40 per side. When the cap is reached, the oldest
active Zone on that side is removed first.
- Hours and Days shown for Zone Age are timeframe-based approximations and do
not correct for session gaps.
- Cluster membership describes connected Zone bands, not repeated reactions at
one exact price.
- Repository checks pass for the working source. TradingView compilation and
runtime verification of the latest working source have not yet been
recorded.
- This indicator is educational chart context and does not provide trade
instructions. مؤشر

Untested Levels - PD Highs, Lows & GapsUntested Levels automatically maps the session prices futures traders commonly mark by hand: previous regular-session highs and lows, current and prior overnight highs and lows, previous closes and unfilled gap levels, plus the all-time high.
The purpose is simple: spend less time redrawing levels every morning and keep important price context visible as the market develops. Each line begins where its high, low, or close was established and is labeled with both its name and exact price.
The indicator is designed around the session structure of CME equity index futures, particularly Nasdaq futures (NQ/MNQ) and S&P 500 futures (ES/MES). Its session times are fully configurable, so the same framework can be used with other futures markets whose trading sessions are defined appropriately.
WHY IT IS DIFFERENT
Many session-level tools either show only the most recent day or remove a level as soon as price reaches it. This indicator maintains a structured history and treats a level's first breach separately from its display timing.
By default, a prior level that is breached during the current trading day remains visible until the day rolls over. This preserves the line for the rest of the session, allowing you to see whether a former high or low is subsequently respected, rejected, or used as support or resistance. If you prefer immediate removal, the "Hide breached levels immediately" setting is available.
Regular-session highs and lows, overnight highs and lows, and prior closes each have their own lookback setting. You can retain more history for one class of level without overcrowding the chart with every other class.
The calculations are session-defined rather than chart-defined. They are built from the symbol's extended-hours feed, so switching the chart between Regular Trading Hours and Electronic Trading Hours does not change the underlying levels. An RTH chart can therefore remain visually clean while still displaying the overnight high and low.
LEVEL NAMES
The numbering follows trading days, not calendar dates. The overnight session belongs to the same trading day as the regular session that follows it.
YD High / YD Low
Yesterday's regular-session high and low.
PD 2 High / PD 2 Low
The regular-session high and low from two trading days ago.
PD 3, PD 4, and later numbers continue in the same way.
YD is effectively the first prior trading day, so there is no separate
"PD 1 High" or "PD 1 Low" label.
ON High / ON Low
The current trading day's overnight-session high and low.
These update while the overnight session is forming.
ETH 1 High / ETH 1 Low
The overnight high and low associated with yesterday's regular session.
ETH 1 therefore pairs with YD.
ETH 2 High / ETH 2 Low
The overnight high and low from two trading days ago.
ETH 2 pairs with PD 2, ETH 3 pairs with PD 3, and so on.
YD Close
The most recent configured session close. This level always displays when
previous-close levels are enabled.
PD 2 Close, PD 3 Close, etc.
Older configured closes that remain unfilled by a later regular session.
These levels identify still-open historical gaps within the selected
gap lookback.
ATH
The all-time high. If a displayed high is also the all-time high, its
normal label receives an ATH prefix. If the all-time high is not one of
the displayed session levels, a separate ATH line is drawn.
SESSION CALCULATIONS
Each configured trading day is divided into three parts:
Overnight session:
Trading-day start to the regular-session open.
This produces ON and ETH highs and lows.
Regular session:
Regular-session open to regular-session close.
This produces YD and PD highs and lows.
Post-close tail:
Regular-session close to the next trading-day start.
This does not create a new session high or low, but its price action can
breach an existing level.
The default times are expressed in Pacific Time:
Trading day starts: 15:00
Regular session opens: 06:30
Regular session closes: 13:15
Close candle opens: 13:55
The time zone and all session boundaries can be changed in the settings. The "Close candle" input identifies the opening time of the candle whose closing price will be stored. If that exact candle is unavailable, the script uses the last available candle before the selected time.
WHAT COUNTS AS UNTESTED
A prior regular-session high remains unbreached until later price trades above it. A prior regular-session low remains unbreached until later price trades below it. The calculation considers price action after the level's own regular session, including that day's post-close tail, later overnight sessions, and later regular sessions.
An overnight high or low is evaluated only against price action after that overnight session ends. This prevents the price action that created the level from also invalidating it.
By default, an exact touch does not count as a breach; price must trade through the level. Enable "Exact touch counts as a breach" if you want a touch to invalidate it.
YD High, YD Low, ON High, ON Low, and YD Close remain available as current reference levels even when tested. Older PD and ETH levels are filtered according to their breach status and your selected display timing.
PREVIOUS CLOSES AND GAPS
YD Close always shows when enabled. Older closes appear as PD n Close only while their gap remains unfilled.
Gap status is based on later regular-session price action. Overnight and post-close-tail activity do not fill a close gap. This keeps the gap logic aligned with the cash-session context rather than allowing overnight movement alone to remove the level.
An alert condition is included for price touching or crossing YD Close during the regular session.
ALL-TIME HIGH
The ATH calculation combines available chart history, extended-hours intraday history, and extended daily history. If the ATH matches a displayed high, that label is prefixed with ATH and emphasized. Otherwise, the indicator creates a standalone ATH level so the price remains marked even when it falls outside the selected session lookbacks.
LOOKBACKS AND DISPLAY CONTROLS
The indicator provides independent controls for:
• Regular-session high/low lookback
• Overnight high/low lookback
• Prior-close and gap lookback
• YD, PD, ON, ETH, close, ATH, and label visibility
• Immediate or end-of-day removal of breached levels
• Exact-touch breach behavior
• Session times and time zone
• Colors, line style, line width, label size, and label offset
Separating the lookbacks makes it possible to retain a broad history of untested highs and lows while using a shorter window for overnight levels or gaps.
RTH AND ETH CHART BEHAVIOR
All session values are requested from extended-hours data, so the same calculated levels appear whether the chart is displaying RTH or ETH candles.
TradingView scripts only execute when the chart receives a bar. An RTH chart therefore cannot update live while its chart session is closed. To handle this, "Roll levels at the regular session close" is enabled by default. It advances the labels and removes levels breached during the completed day on the final regular-session bar, leaving a frozen RTH chart in the correct end-of-session state. The extended-hours feed completes the normal rollover when the next chart session begins.
For live overnight development of ON High and ON Low, use an ETH chart.
HOW TO USE THE LEVELS
These lines identify historically significant prices; they do not predict which level price will visit or how price will react when it gets there. Traders may use them as context for targets, breakouts, failed breakouts, support/resistance flips, gap fills, and confluence with their own trade setups.
The retained-line behavior is especially useful after a breach: instead of losing the reference immediately, you can observe whether price returns to the level and changes its behavior around it later in the same session.
LIMITATIONS
This indicator is intended for intraday charts. Its session calculations use an extended-hours intraday feed, set to five minutes by default. Available lookback depth depends on the amount of intraday history TradingView provides for the symbol and the user's plan.
Session defaults are designed for the stated CME equity index futures workflow. Confirm and adjust the time zone, trading-day start, regular-session boundaries, and close-candle time before using the indicator on another market.
Holiday schedules, shortened sessions, missing bars, exchange data differences, and delayed feeds can affect the levels. Use standard price charts and verify the settings for the instrument being traded.
Untested Levels is a charting and market-context tool, not a trading system. It does not provide entries, exits, profit targets, or guarantees of future support or resistance. مؤشر

FVG Confluence [AFD]This Pine Script v6 overlay documents confirmed fair-value gaps (FVGs), optional order blocks (OBs), and overlap evidence from two selected higher timeframes. Its main output is a confluence band whose label identifies the two source timeframes and zone types when two same-direction zones overlap by a configurable amount.
This is a descriptive chart tool. It records what the source zones have done, how they overlap, and how price has interacted with them. It does not provide trade instructions, manage positions, or forecast an outcome.
────────── 1. Overview ──────────
The script has three related layers:
- Chart FVGs: three-candle fair-value gaps detected on the chart timeframe.
- Optional Order Blocks: the last opposite candle identified before a confirmed swing break.
- MTF Confluence: an overlap between source zones from Compare timeframe 1 and Compare timeframe 2.
By default, MTF confluence bands and labels showing their source timeframes and zone types are visible. Raw higher-timeframe source boxes are hidden by default and can be shown per timeframe with a choice of FVGs, Order Blocks, or both. Standalone chart FVG boxes and chart OB boxes are off by default; each appears when its respective Enable FVGs or Enable Order Blocks setting is turned on.
────────── 2. How FVGs are detected ──────────
A bullish chart FVG is recorded when the current confirmed bar's low is above the high from two bars earlier. A bearish FVG is the inverse. The Minimum gap filter removes gaps smaller than the selected ATR multiple or tick distance. The default filter is 0.05 ATR.
The same gap test is evaluated in each selected higher-timeframe context. Higher-timeframe events are admitted once per source origin time, which prevents the same source event from producing duplicate records on the chart.
────────── 3. FVG lifecycle ──────────
Each FVG keeps its original boundaries and tracks penetration using the selected Mitigation / fill rule:
- FRESH - price has not touched or entered the gap.
- TESTED - price has touched or entered the gap but has not reached its 50% midpoint.
- MITIGATED - price has reached the 50% midpoint but has not fully traversed the gap.
- FILLED - price has fully traversed the gap. Filled chart FVGs are removed unless Keep filled FVGs is enabled.
Wick mode uses the candle range for penetration and state changes. Close mode requires the candle close to reach the relevant boundary. The rule is applied consistently to chart FVGs, chart order blocks, and higher-timeframe FVG source zones. Higher-timeframe OB sources track penetration with the same FRESH → TESTED → MITIGATED lifecycle as chart OBs, so raw HTF OB labels show state and fill percentage. A higher-timeframe zone (FVG or OB) that is fully traversed becomes FILLED: it stays tracked internally, is hidden by default, can be revealed per timeframe with the Show 100% filled zones settings, and never feeds confluence.
A boundary touch counts as TESTED, while the fill percentage measures penetration through the original zone. A boundary-only test can therefore still display 0% Filled until price advances farther into the zone.
Shrink on partial fill changes only the displayed near edge of a chart FVG. The original boundaries and 50% midpoint remain available for fill measurement and lifecycle identity. Order Blocks have their own OB partial fill setting (off by default) that shrinks OB boxes the same way. Breaker blocks restart measurement from the near edge in the new direction.
The FVG Labels settings can show the percentage filled and, optionally, the FVG lifecycle state. Labels can be placed inside the box or to its right, with user-selected offset, size, and text color.
────────── 4. Order blocks ──────────
When enabled, the script confirms swing points using Swing strength and searches the configured OB candle lookback for the last opposite candle before a confirmed break. It records bullish and bearish blocks separately and limits the retained count per side.
OBs use the same Wick or Close interaction basis as FVGs. They can move from FRESH to TESTED and MITIGATED. If Show breakers is enabled, a block that is crossed changes direction and becomes a BREAKER with a new penetration measurement. If breakers are disabled, the crossed block is removed. When OB partial fill is enabled, OB boxes shrink their near edge inward as confirmed penetration advances, and breaker blocks restart measurement from the near edge in the new direction.
Chart OB detection, retention, and drawing are controlled together in the Order Blocks settings and are off by default.
────────── 5. MTF confluence ──────────
Confluence uses only the two selected comparison timeframes. The chart timeframe is not a confluence source. Both comparison timeframes must be strictly higher than the chart timeframe and must be different from each other. If either timeframe is invalid, or either source is disabled, the corresponding confluence path is not active.
The script compares source zones by:
1. Direction - bullish zones pair only with bullish zones, and bearish zones pair only with bearish zones.
2. Original geometry - qualification uses the original source boundaries, not a partially shrunk display edge.
3. Minimum overlap - the positive overlap must meet the configured threshold, measured as a multiple of the confirmed TF1 timeframe ATR and subject to a minimum tick. Using a fixed-timeframe ATR keeps band qualification stable when the chart timeframe changes.
4. Source details - a band retains both source origins, source timeframes, source types, and its own formation time.
The source HTF calculation uses shifted, completed higher-timeframe values and confirms pivot-based events before admission. This avoids using a developing higher-timeframe event, but it introduces confirmation delay. A source zone may therefore appear after the originating higher-timeframe movement rather than during it.
Raw HTF FVGs / OBs can be shown separately for inspection, with a per-timeframe choice of FVGs, Order Blocks, or both. The type selection is display-only; all raw zones still feed confluence. Each timeframe has its own raw partial fill setting (TF1 raw partial fill and TF2 raw partial fill) that shrinks the near edge of that timeframe's raw zone boxes (both FVGs and OBs) as penetration advances, and its own Show 100% filled zones setting (off by default) that keeps fully traversed raw zones visible. Raw HTF labels show state and fill percentage for all zone kinds. Confluence is FVG-only by default. If Include Order Blocks in confluence is enabled, same-direction FVG/OB, OB/FVG, and OB/OB overlaps can also qualify. Any band containing an OB is labeled STATIC because it does not have the pure FVG/FVG fill cycle.
────────── 6. Reading confluence bands ──────────
The band color describes overlap density, not a rating:
- One active overlap - the single-overlap color.
- Two active overlaps - the two-overlap color.
- Three or more active overlaps - the dense-overlap color.
Density counts active same-direction confluence records that share positive price overlap and are currently visible under the state and filled-band filters. Changing those visibility filters can therefore change a displayed band's density color. Density does not measure historical performance, reliability, or the future behavior of a level.
For pure FVG/FVG bands, Confluence partial fill can shrink the displayed band as confirmed penetration advances. Confluence fill % label reports penetration through the original overlap. The fill percentage is descriptive and is not a forecast.
Confluence labels can show:
- Source timeframes and source types.
- The number of overlapping active bands.
- Fill percentage for pure FVG/FVG bands on its own label line.
- FRESH, TESTED, PARTIAL, FILLED, or STATIC state, shown together with age on one horizontal metadata line.
- Age in chart bars or HH:MM:SS.
- Visits and breaks in the tooltip.
Fresh, Tested, Partial, and Filled visibility can be controlled independently. Filled confluence bands are hidden by default. Nearby labels are grouped onto a shared horizontal row and spaced by a configurable number of chart bars; this changes label placement only and does not change the bands.
────────── 7. Alerts ──────────
The script exposes two confirmed-bar alert conditions for chart-timeframe detections:
- FVG formed - a new confirmed chart-timeframe FVG.
- Order Block formed - a new confirmed chart-timeframe order block.
There are no built-in alerts for confluence formation, fills, mitigation, state changes, or position management. You can create TradingView alerts from the two available conditions.
────────── 8. Settings and defaults ──────────
FVG Drawings controls chart FVG detection, drawing, per-side retention, Wick or Close measurement, ATR or tick filtering, partial display shrink, filled-zone retention, lifecycle display, and bullish/bearish colors.
FVG Labels controls fill percentage, position, right-side offset, text size, and label color.
Order Blocks controls OB detection, drawing, per-side retention, swing strength, candle lookback, breaker behavior, partial fill, and colors.
MTF Confluence controls the MTF master enable, the two comparison timeframes, source inclusion, raw HTF visibility, and — independently per timeframe — raw zone types (FVGs, Order Blocks, or both), raw partial fill, filled-zone visibility, and source color. It also controls HTF retention, HTF lookback days, and raw labels. The default comparison pair is 30 minutes and 60 minutes.
Confluence Evidence controls partial fill, fill labels, OB-containing overlap inclusion, minimum overlap, maximum retained bands, source-detail labels, filled-band visibility, overlap colors, state and age display, label collision spacing, age format, and state filters.
Visuals controls the confluence label size.
────────── 9. How to use ──────────
1. Start on a time-based chart timeframe below both comparison timeframes. The default 30-minute and 60-minute pair is intended to be used from a lower chart timeframe such as 15 minutes.
2. Leave both comparison source checkboxes enabled when you want TF1 × TF2 confluence. Selecting the same comparison timeframe twice does not create a valid pair.
3. Use the default FVG-only mode when you want all bands to have the FVG lifecycle and fill measurement. Enable OB inclusion only when STATIC FVG/OB, OB/FVG, or OB/OB overlap evidence is useful to your analysis.
4. Use Wick or Close consistently with how you want penetration measured. Close mode ignores wick-only penetration for state and fill progression.
5. Turn on raw HTF zones, or enable chart FVGs/OBs in their own settings sections, only when you need to inspect those layers. They are intentionally hidden in the default chart view.
6. Use the state, age, fill, density, and source details to understand what produced a band and how price has interacted with it. Do not treat color density as a score.
────────── 10. What this script does not do ──────────
- It is not a strategy and does not provide backtests, win rates, performance statistics, or position sizing.
- It does not place orders, manage risk, or generate trade instructions.
- It does not use the chart timeframe as a confluence source.
- It does not create confluence from opposite-direction zones.
- It does not guarantee that every historical FVG or OB remains visible. Source retention, HTF lookback, state filters, filled-band visibility, and TradingView drawing limits can remove or hide records.
- It does not eliminate higher-timeframe confirmation delay. A valid setting can show no band when no recent confirmed source pair qualifies.
- It does not claim that every chart, symbol, session, or timeframe will produce the same number of zones. ATR, tick size, available history, market hours, and price behavior affect detection.
────────── 11. Limitations and developing values ──────────
Lifecycle mutations, HTF source admission, confluence identity, fill measurement, and state changes are gated on confirmed bars. Boxes and labels are redrawn on the last chart bar so their right edge, text, colors, and collision layout reflect the current view. This means the display can update while the underlying lifecycle remains confirmation-gated.
Changing the chart timeframe or either comparison timeframe clears the prior MTF context and rebuilds it from confirmed source history. The selected comparison timeframes must be higher than the new chart timeframe. If the new context has no retained qualifying source pair, the confluence view can be empty until confirmed source events are available. Band qualification uses the confirmed TF1 timeframe ATR, so the same source pairs qualify regardless of the chart timeframe. In the Wick basis, fill percentages and lifecycle states are chart-timeframe independent; in the Close basis, penetration follows chart-bar closes, so fill percentages and states can legitimately differ between chart timeframes.
The script is capped by TradingView drawing limits and by its own retention settings. Chart and higher-timeframe zone arrays prune older records according to their configured limits. The confluence maximum is a retained-record capacity: when a new qualifying pair arrives beyond the cap, the oldest record is removed first. A crowded chart can therefore show fewer drawings than the underlying detection logic considered. Higher-timeframe records are also limited by the HTF lookback-days and max-zones-per-HTF/type settings.
The implementation is confirmation-gated, but this description does not make an absolute non-repainting claim. Verify the current publication on TradingView with the intended symbols, timeframes, input changes, reload behavior, and Bar Replay before relying on its historical appearance.
────────── 12. Originality ──────────
FVGs, order blocks, pivots, ATR filters, and multi-timeframe analysis are established market-analysis concepts. The implementation focus here is showing which two source zones created each overlap and tracking its lifecycle: each confluence band preserves the source records that formed it, keeps immutable original overlap geometry, separates display-only partial fill from band identity, and exposes state, age, fill, visit, break, source, and overlap-density information instead of hiding them inside an unexplained composite value.
The source is open for inspection under the MPL 2.0 license. The calculations and visual labels are intended to be read as a record of price interaction, not as a promise about what happens next.
────────── 13. Disclaimer ──────────
For educational and informational purposes only. Not financial advice. Past chart behavior does not predict future results. مؤشر

ATK/DEF HIGH LOW Fibonacci Battlefield ATK/DEF HIGH LOW Fibonacci Battlefield is a multi-factor market structure analysis framework designed to evalua the quality and behavior characte of swing highs and swing lows through the combination of Fibonacci positio, pric behavior, liquidity activity, and market pressure analysis.
Unlike traditional swing high and swing low identification tools that only mark histori tur poin based on pric locatn, this indicator focuses on stu the internal characts behind each detec high and low area.
The purpose of this framework is to provide additional structural context by evalua ho price interact with important swing locatio and how market activity changes around those areas.
The indicator combines three major analytical components into a unified battlefield evalua model:
1. Fibonacci Battlefield Structure
The Fibonacci Battlefield module evalua the position of pric within the current histori rang and analyzes the relationship between swing points and Fibonacci-based pric areas.
This component studies:
• Current pric location within the measured range
• Fibonacci retracement positionin Distance between pric and important Fibonacci lev
• Structural reaction areas around previous highs and lows
Instead of treati Fibonacci leve as isolated horizontal lines, this module uses Fibonacci positioning as a framework to analyze the relative location and condition of pric within a market structure.
The module provides a structural perspecti of whether historical swing areas are located near important Fibonacci zo and how these areas relae to current pric behavior.
2. Whirlpool Pressure Index
The Whirlpool Pressure Index evalua candle behavior and internal pric pressure by analyzing the relationship between bu pressure and se pressure.
This component examines:
• Candle rang distribution
• Closing position within the candle range
• Bu and se pressure balance
• Current pressure intensity around pric areas
The purpose of this calcula is to measure the behavioral characteristics of pric movement and understand the strength of interacti occurring near detec swing highs and swing lows.
It does not attempt to predfuture movement. Instead, it provides a quantimeasurement of current pric behavior based on historical candle information.
3. Liquidity Accelerator / Decelerator
The Liquidity Accelerator / Decelerator module evaluat changes in activity by analyzing volume behavior relative to its historic average.
This component focuses on:
• Relative volume activity
• Changes in market participation
• Liquidity expansion and contrac conditions
• Volume activity intensity around pric movement
The volume calcula is used as a market activity measurement and control reference, helping evalua whether a swing area is formed during stronger or weaker participation conditions.
This module represents volume activity analysis and is not a volume distribution profile or volume profile visualization.
High / Low Behavior Evaluation
The indicator identif swing highs and swing lows and attach multiple analytical measurements to each structural point.
Each detected high and low area can be evaluated through:
• Fibonacci structural position
• Price reaction characteristics
• Pressure condition
• Liquidity activity
• Market behavior context
This allows historical swing locatio to be stubeyond simple pric levels.
The framework focuses on the quality and characteristics of swing points rather than only identifyi where previous highs and lows occurred.
Integrated Battlefield Dashboard
The dashboard combines multiple analytical measurements into a compact information panel.
Displayed information includes:
• Fibonacci structural condition
• Pressure balance measurement
• Liquidity activity condition
• Flow balance characteristics
• Current market environment status
The dashboard is designed to provide a structured overview of market behavior and pric conditions from multiple perspectives.
Market Condition Analysis
The market condition module evaluat the current relationship between pric exten, momentum characteristics, and recent pric range behavior.
It analyzes:
• RSI positioning
• Recent pric extremes
• Momentum condition
• Pric and oscillator relationship
This component is designed to describe the current market environment and highlight changes in pric behavior characteristics.
It is a condition measurement tool based on historical market data rather than a prediction system.
Core Features
• Swing High and Swing Low structural analysis
• Fibonacci-based battlefield framework
• Pric behavior evaluati
• Candle pressure measurement
• Volume activity analysis
• Liquidity condition tracking
• Multi-factor market structure dashboard
• Historical swing point contextual analysis
• Quantitative evaluat of pric areas
• Integrat structural and behavioral analysis framework
Concept
ATK/DEF HIGH LOW Fibonacci Battlefield is designed to stu the relationship between pric structure, market participation, and behavioral characteristics.
Traditional swing tools mainy focus on identifying previous highs and lows. This framework expas the analysis by combining structural position, candle behavior, and volume activity to evalua the characteris behind each swing location.
All calculat are derived from historical market data and are intended for market research, technical analysis, and structural observation purposes.
The displayed values represent analytical measurements of pric behavior, liquidity conditions, and market structure characteristics. مؤشر

ATK/DEF High Low Flow Engine ATK/DEF High Low Flow Engine is a market structure analysis tool designed to evaluate the effectives of swing highs and swing lows through the combination of price structure, volume activity, and flow behavior.
Unlike traditional swing high and swing low tools that only display historical turning points, this indicator focuses on analyzing the internal behavior behind each structural high and low area.
The objective is not simply to locate previous price extremes, but to evaluate the quality and characteristics of those points by examining how volume participation and flow conditions developed during the formation of each swing structure.
The engine combines swing point analysis with (CMF) based volume flow evaluation to provide a deeper view of historical price behavior.
Core Analysis Components
1. Swing High / Swing Low Structure Analysis
The indicator processes historical swing points based on pivot structure calculati.
Each detec high and low represents a previous area where price created a local structural extreme.
Instead of treating all swing points equally, the indicator attaches additional behavioral information to each structural point by evaluati the market activity that occurred during its formation.
This allows users to stu the difference between simple pri extremes and pri extremes supported by stronger market participation.
2. CMF Flow Behavior Analysis
The Chaikin Flow (CMF) component evaluates the relationship between clo position, pric range, and volume activity.
By combining price location within the candle range with traded volume, CMF provides a measurement of flow characteristics around the selected period.
This module analyzes whether volume activity around structural highs and lows was associa with stronger inflow conditions, weaker flow conditions, neutral behavior, or declinin participation.
The purpose is to evaluate the internal volume behavior surrounding price structures rather than relying only on the visible price level.
3. Volume Activity Evaluation
The volume analysis component measures current volume participation relative to its historical average.
It provides context regarding whether market activity around price structures is relatively elevated, normal, or reduced.
This evaluation helps distinguish between swing points formed under different lev of market participation.
The volume component is used as a structural measurement factor and does not represent a volume distribution model or market profile visualization.
Structural Effectiveness Evaluation
Traditional swing high and swing low concepts mainly answer:
"Where did price previously create an extreme?"
This indicator expands that concept by analyzing:
"How did volume and money flow behave when that extreme was formed?"
By combining swing structure with CMF-based flow analysis, the indicator provides additional information about the characteristics behind historical highs and lows.
The displayed measurements represent analytical observations of price structure, volume conditions, and money flow behavior.
Dashboard Information
The integrated dashboard provides multiple analytical measurements including:
• CMF flow condition
• CMF moving average relationship
• Volume activity lev
• flow strength classification
• Price location relative to calculated flow reference
• Structural zone activity measurement
These vals are designed to provide a compact overvi of market behavior surrounding the current chart environment.
Key Features
• Swing high and swing low structural analysis
• Volume-based behavior evaluation
• CMF money flow measurement
• Historical high and low quality assessment
• Price structure combined with volume characteristics
• Liquidity activity observation
• Structural behavior dashboard
• Multi-factor market activity analysis
• Historical price extreme evaluation
• Quantitative observation of volume participation
ATK/DEF High Low Flow Engine is designed as a technical analysis and market structure research tool.
The calculat focus on stu the relationship between pric extremes, volume participation, and flow characteristics.
Rather than displaying simple historical highs and lows, this framework provides additional context regarding the behavioral conditions surrounding those structural points.
All displayed values are analytical measurements derived from historical market data and are intended for research and technical analysis purposes. مؤشر

Opening Range & Key Levels [AFD]Opening Range & Key Levels is an open-source Pine Script version 6
indicator for studying how price behaves around configurable opening ranges
and reference levels. It tracks up to five opening-range windows, optional key
levels, optional volume-weighted average price (VWAP) and volume-weighted
moving average (VWMA) context, and an optional dashboard.
The script is descriptive. It reports confirmed break/retest events and state
changes; it does not provide trade instructions, performance claims, or
probability estimates. Break/retest events use confirmed chart bars. The
developing range updates while its window is open, including the live forming
bar, and locks on the first confirmed bar at or after the configured window
end. The script uses current chart data only and contains no request.security()
calls.
Quick start
Default — Starts with the 60-minute Opening Range (OR) #4 selected, plus the default day/session levels.
Minimal — Starts with the 60-minute OR only; the preset suppresses key-level rows.
Full — Forces all five OR slots on. Key-level and VWAP visibility remains controlled by those inputs.
Custom — Uses the individual OR, key-level, VWAP, and other inputs for a custom layout.
The OR slot checkboxes remain usable with the Default and Minimal presets.
Switch to Custom when you want a preset-independent configuration.
Opening-range lifecycle
FORMING — The high and low update while the window is open, including the live forming bar, from the exchange-session open until the configured window ends.
LOCKED — The range freezes on the first confirmed bar at or after its window ends. Extension levels use the frozen range width.
BROKE UP or BROKE DOWN — A confirmed close must cross the OR high or low. A wick alone does not establish a break. Each direction is tracked once per session.
RETEST — Price entering the selected tolerance band is TESTING. HELD means a confirmed close returns beyond the broken level in the breakout direction. FAILED means a confirmed close returns inside the range.
EXTENSION — Optional 0.5x, 1.0x, 1.5x, and 2.0x measured-move projections are drawn from the locked longest enabled opening range. The 1.0x reached state is touch-based rather than close-based.
After a failed retest, the opposite breakout direction can be evaluated later
in the same session. The range engine records what happened; it does not turn
the state into a recommendation.
Theory labels and Auction Market Theory (AMT) context
A duration of exactly 15 minutes receives the Toby label, regardless of which OR slot contains it.
A duration of exactly 60 minutes receives the AMT Initial Balance (IB) label, regardless of which OR slot contains it.
The 60-minute row can add day-type context when the range is locked and valid: TREND up, TREND down, NEUTRAL DAY, or NORMAL DAY.
The AMT hover text explains the first hour as the Initial Balance. Inside the IB is described as Balance/Rotation, while one-side or both-side extensions provide the related day-type context.
Key levels
The script provides 17 standard key-level references plus an optional gap-fill
level. The abbreviations are grouped by the context they describe. Overnight
High (ONH) and Overnight Low (ONL) track the overnight session. Prior-day
references are Prior Day Open (PDO), Prior Day High (PDH), Prior Day Low (PDL),
and Prior Day Close (PDC). Current Session Open (OPEN) marks the current
session's open. Pre-Market High (PMH) and Pre-Market Low (PML) track the
pre-market extremes.
Prior Week High (PWH) and Prior Week Low (PWL), together with Current Week High
(CWH) and Current Week Low (CWL), provide weekly references. Prior Month High
(PMoH) and Prior Month Low (PMoL), together with Current Month High (CMoH) and
Current Month Low (CMoL), provide monthly references. GAP is the Price Gap /
Gap Fill level.
The GAP level appears only when the opening gap meets the configured minimum
percentage. It can be shown as a line or zone, with fill tracking.
Key levels support individual enable, color, style, width, label, and price
controls. Static key levels use the same confirmed-close break and average
true range (ATR)-based retest tolerance concepts as the opening ranges.
Current week/month extremes and GAP have their own data-state handling.
ONH, ONL, PMH, and PML need extended-hours (ETH) data. If overnight data is
unavailable, those levels are hidden. The dashboard specifically reports
missing ONH/ONL data when that condition is detected. Weekly and monthly
references are calendar-period trackers built from chart data; they are not
imported with request.security().
Dashboard
The dashboard is off by default. When enabled, its normal layout reads from
top to bottom as OR rows, BIAS (the range-position read), and broken key-level
rows.
OR rows separate BREAK, RETEST, TREND, and price/details cells so each status can use the correct color.
In Directional mode, a break up or TREND up is green, a break down or TREND down is red, RETEST HELD is green, RETEST FAILED is red, and RETEST TESTING is yellow.
Individual key-level rows show TREND as N/A because trend classification applies to the 60-minute AMT context, not to a single key level.
The BIAS row compares the current close with the longest enabled OR. Above OR is an imbalance above the range, below OR is an imbalance below the range, and INSIDE OR means Balance/Rotation.
The BIAS row can also include the opening-gap read, GAP fill information when GAP is enabled, and the intraday VWAP when it is enabled.
Neutral mode changes status text to neutral white or gray tones instead of directional colors.
Default visual settings
OR #4 is selected by default and is set to 60 minutes. OR #1, OR #2, OR #3, and the seconds OR are off by default.
All opening-range extensions are off by default.
The mid line, OR break/retest event labels, right-edge status tag, and dashboard are off by default.
Range boxes, OR/extension tags, and prices in OR tags are on by default.
Key-level break/retest event labels are off by default. The dashboard's broken key-level rows are a separate display option.
Breakout and retest controls
Retest tolerance supports Daily ATR, Intraday ATR, and Fixed Ticks. The default mode is Daily ATR with a 0.1 multiplier; Daily ATR uses a fixed 14-session RMA. Intraday ATR uses the configurable ATR length, defaulting to 14 bars.
The optional killzone filter suppresses breakout and retest processing inside a user-defined exchange-time window.
The optional OR width filter suppresses OR events when a locked range is outside configured multiples of daily ATR and marks it WIDTH FILTERED.
The optional volume confirmation compares breakout volume with a configurable multiple of the 20-bar average and can drive its own alert.
VWAP and VWMA
Intraday VWAP resets at the exchange-session open.
Overnight VWAP resets at the prior session close.
Continuous VWMA does not reset and uses a configurable length, defaulting to 20.
All three are optional and off by default.
Alerts
The script provides six Opening Range (OR) alert conditions and four key-level
(KL) alert conditions. All break and retest conditions describe confirmed
crossings or confirmed retest outcomes.
OR Break Up
OR Break Down
OR Retest Held
OR Retest Failed
OR Extension 1.0x Reached
OR Break Volume-Confirmed
KL Break Up
KL Break Down
KL Retest Held
KL Retest Failed
Dynamic alert text can include the symbol, OR duration, event, and price. To
receive dynamic messages, create an alert on this indicator and select Any
alert() function call. The fixed-text alert conditions remain available in
TradingView's alert dialog.
How to use
Add Opening Range & Key Levels to a standard time-based chart and allow enough history for the selected session and reference levels.
Start with the Default preset, or switch to Minimal, Full, or Custom.
Choose the OR windows and key levels that match the session you are studying.
Select the retest tolerance that fits the instrument and timeframe.
Enable the dashboard, extensions, event labels, VWAPs, or key-level events only when those additional views are useful.
Create alerts from the indicator's fixed conditions or select Any alert() function call for dynamic alert text.
Limitations and disclosures
The script is single-timeframe. It does not import higher-timeframe values with request.security(). A 60-minute OR can still be built from smaller chart bars; the chart timeframe must be appropriate for the selected window.
The seconds OR slot requires a seconds chart, such as 30S or lower for a 30-second window. Larger timeframes show a timeframe warning instead of producing a false precision.
ONH, ONL, PMH, and PML depend on an extended-hours data feed. Twenty-four-hour markets without an exchange-session boundary may not provide the intended overnight segmentation.
The current-day close is not plotted during the session because it does not exist yet.
Drawing history and object counts are bounded by Pine limits. The source declares maximum budgets of 200 lines, 100 labels, and 50 boxes.
This is an informational chart tool. It does not provide entries, exits, stops, targets, or performance guarantees.
Originality and license
The script combines configurable multi-window opening ranges, confirmed-close
break/retest tracking for both opening ranges and key levels, AMT Initial
Balance context, and a dashboard with separate break, retest, trend, and bias
readouts in one single-timeframe indicator. The source is open and available
for inspection under the Mozilla Public License 2.0. مؤشر

Order Block Engine [JOAT]═══ ORDER BLOCK ENGINE ═══
Most order-block tools paint a fresh box on every candle and bury the chart. This one does the opposite. It only marks the last opposing-close candle that appears just before a genuine displacement leg — a move that closes through a confirmed swing by more than a volatility-scaled threshold, backed by a volume expansion. The result: only a handful of clean, unmitigated, high-grade zones survive on screen at once.
▎ WHAT IT DOES
It maps institutional-style order blocks, grades each one from 0 to 10 by ★ quality, extends the surviving zones to the right until price mitigates them, and fires a single clean BUY / SELL pill on a valid retest + reaction — complete with an R-multiple TP/SL zone construct. A grey/white and blue-chrome dashboard keeps the running read of structure, bias and zone quality in one corner.
▎ HOW IT WORKS
— Confirmed swing structure. Pivot highs and lows are tracked with a configurable lookback. Each swing stays "unbroken" until price genuinely closes through it.
— Displacement break. A bullish break needs an up-close candle that closes above the last swing high by more than Displacement × ATR ; a bearish break mirrors it below the swing low. ATR scaling means the threshold self-adjusts to any asset or timeframe.
— Volume confirmation. The breaking candle's volume must exceed its own moving-average baseline by the chosen multiplier. On symbols with no volume feed, this filter auto-skips.
— Order-block selection. Once a break is confirmed, the engine walks back through recent bars to find the last opposing-close candle — the down-close before a bullish break, or the up-close before a bearish break. That candle's high/low becomes the zone.
— ★ Grade (0-10). Each block is scored on three factors: how far the break displaced (in ATR), how strong the volume expansion was, and the body-to-range ratio of the origin candle. The composite maps to a 0-10 grade and a tier (WEAK → FAIR → SOLID → STRONG → ELITE).
— Mitigation & signals. Live zones extend right on each bar. If price closes fully through a zone, it is mitigated — frozen and greyed (or deleted). If instead price wicks back into the zone and the bar reacts back out with a close in the right direction, and the block's grade clears your minimum, a BUY / SELL signal fires. One signal per bar, longs take priority.
— Trade construct. On a signal the engine builds an entry line at close, a stop a buffer beyond the zone edge (× ATR), and TP1 / TP2 at your chosen R multiples — drawn as green TARGET and red RISK zone boxes that extend, then freeze when SL or TP2 is touched.
▎ HOW TO USE IT
— Treat the surviving zones as decision areas , not guarantees. A blue zone is a bullish order block; a slate zone is bearish. The ★ tag shows its grade at a glance.
— Wait for price to return into a zone. The engine only signals on a retest + reaction , so you are not chasing the initial impulse.
— Use the BUY / SELL pill's grade (e.g. ★★★★ 7.8/10) as a confidence read — higher grades reflect stronger displacement, volume and candle body.
— The TARGET ZONE and RISK ZONE boxes frame reward against risk before you commit. Entry, SL, TP1 and TP2 are all labelled with their R multiples.
— Grey zones are spent — they have already been mitigated and are kept only as context for prior structure.
— Combine with your own higher-timeframe bias; order blocks aligned with trend tend to be the cleaner reactions.
▎ KEY SETTINGS
— Engine: ATR length, structure pivot width, displacement break multiple, OB candle search depth, and bull/bear toggles.
— Filters: volume expansion on/off with baseline length and multiplier, minimum grade required to signal, and confirm-on-close to avoid intrabar repaint.
— Zones: show zones, max zones kept (4-6 recommended), extension length, fill transparency, ★ grade labels, keep-mitigated-grey toggle, and bull/bear colours.
— Signals & Risk: show BUY/SELL pills, draw TP/SL zone, stop buffer (× ATR), TP1 and TP2 R multiples, projection length, and max trade sets kept.
— Extras: optional zone-reader candle tinting and an optional VWAP + σ band.
▎ DASHBOARD
A compact panel (five positions, three text sizes) reports: current Bias , count of live Bullish and Bearish OBs, the Nearest zone level and its distance in %, the Strongest zone's grade and tier, the Last Mitigated zone, the Active Signal state, and running Signal and Trade W/L tallies. The W/L count is an illustrative record of how the historical construct resolved — not a performance promise.
▎ ALERTS
— OB Bullish Signal — fires on a bullish order-block retest + reaction.
— OB Bearish Signal — fires on a bearish order-block retest + reaction.
Both include ticker and interval in the message.
▎ NOTES
— Works on all timeframes and all assets ; ATR and volume baselines adapt automatically.
— Confirm On Bar Close evaluates detection, mitigation and signals on closed bars only, so confirmed signals do not repaint.
— Everything is toggleable — zones, grades, pills, trade boxes, candles, VWAP and dashboard — for a chart as clean or as detailed as you like.
— The volume filter self-disables on feeds without volume, so nothing breaks on those symbols.
For research and education only. This is not financial advice. No indicator can predict the future, and past behaviour never guarantees future results. Always do your own analysis and manage your own risk.
Made with passion by JackOfAllTrades ⚡ مؤشر

مؤشر

Market Structure Shift [JOAT]═══ MARKET STRUCTURE SHIFT ═══
A complete Smart Money Concepts structure engine that reads the market the way institutional flow moves it — mapping every swing and internal shift, tagging each break as BOS (continuation) or CHoCH (reversal), then layering liquidity, premium/discount context, and a structure-anchored risk plan on top. It turns raw price action into a clean, labelled map of who is in control and where the shift happens.
▎ WHAT IT DOES
MSS tracks confirmed pivots and runs them through a two-layer structure state machine. When price closes (or wicks) beyond a protective swing, it draws the break line, labels it BOS or CHoCH, and updates the live trend state. Around that skeleton it adds equal-high/low liquidity marks, a premium/discount/equilibrium range map, an optional structure-anchored SL and Reward:Risk target zone, session VWAP with deviation bands, and a live dashboard summarising the whole picture.
▎ HOW IT WORKS
• Confirmed pivots — swing highs/lows are detected with a symmetric pivot length (bars each side), so a pivot only prints once fully confirmed. A separate, shorter internal pivot length tracks a faster inner structure layer.
• BOS vs CHoCH logic — each layer holds a trend state (bull / bear / range). A bullish break of the last swing high while the state is already bullish is a BOS (continuation); a bullish break while the state was bearish is a CHoCH (change of character / first reversal). The mirror logic applies to bearish breaks.
• Break confirmation — you choose whether a candle must close beyond the level (cleaner) or whether any wick penetration counts.
• Sequence read — every new pivot is classified HH / LH / HL / LL (or EQ) so you can see the higher-high / lower-low rhythm at a glance.
• Liquidity (EQH/EQL) — two consecutive pivots landing within an ATR-scaled tolerance are marked as Equal Highs or Equal Lows — resting liquidity pools where stops cluster.
• Premium / Discount — the active swing range is split into a Premium (upper) zone, a neutral Equilibrium band around the midpoint, and a Discount (lower) zone, so you always know which half of the range price is trading in.
• Structure-anchored risk — on a fresh signal the stop is placed just beyond the swing that would invalidate the shift (plus an ATR buffer), or by a fixed ATR distance. Risk is floored and capped by ATR, and the target is projected at your Reward:Risk multiple.
• VWAP magnet — session-anchored VWAP with inner and outer standard-deviation bands acts as the fair-value reference the structure tends to rotate around.
• ATR normalisation — label spacing, liquidity tolerance and stop distances all scale with ATR, so the tool behaves consistently across assets and timeframes.
▎ HOW TO USE IT
• Read the trend state first: a CHoCH warns the prevailing structure has broken; a following BOS confirms the new leg. Trade with the higher-conviction swing layer and use internal breaks for earlier, finer entries.
• BUY / SELL labels fire on the events you enable (CHoCH, BOS, or both) from your chosen layer — treat them as a structure trigger, not a blind entry.
• Favour longs from the Discount zone and shorts from the Premium zone; the Equilibrium band is neutral / no-man's-land.
• EQH/EQL marks show where liquidity rests — price often sweeps these before a genuine shift, so use them as targets and as traps to avoid.
• When a signal prints, the RISK ZONE (entry→stop, red) and TARGET ZONE (entry→TP, green) boxes project the plan; the SL and TP lines carry exact price and R labels. The zones extend live, then freeze once TP, SL, or the time-out is reached.
• Use VWAP and its bands as confluence — a shift back through VWAP into the opposite σ band is a common rotation target.
▎ KEY SETTINGS
• Structure Engine — swing pivot length, optional internal layer + its length, close/wick break confirmation, ATR length.
• Signals — signal source (Swing / Internal / both) and whether labels fire on CHoCH, BOS, or both.
• Liquidity & Zones — toggle EQH/EQL, equal-level tolerance, premium/discount zones, equilibrium band width, and the floating price-zone tag.
• Risk Model — stop basis (Structure+Buffer or ATR Multiple), buffer/ATR distance, Reward:Risk multiple, min/max risk floors and caps, projection length, max drawn setups.
• VWAP — show VWAP, inner/outer σ multiples, deviation lookback.
• Visuals — swing/internal break display, pivot markers, zone candle colouring, draw limits, and the blue/violet colour scheme.
▎ DASHBOARD
A compact blue/violet panel reports live: overall Trend , the Last Event (Bull/Bear BOS or CHoCH), the current Swing Sequence (e.g. HH · HL), the Internal structure state, the active Price Zone , running BOS and CHoCH counts, Liquidity (EQH/EQL) count, the current Signal , and the symbol/timeframe. Position and text size are adjustable.
▎ ALERTS
Six alertconditions are provided: Bullish BOS, Bearish BOS, Bullish CHoCH, Bearish CHoCH, BUY Signal, and SELL Signal — each with a ready message carrying ticker and interval.
▎ NOTES
• Works on all timeframes and all assets — everything scales with ATR.
• Pivots are confirmed (they need bars to close each side), so structure marks are non-repainting once printed; the price-zone label and dashboard update live on the last bar as expected.
• Every visual layer has a toggle — turn off what you don't need for a clean chart.
• Signals never fire both directions on the same bar; a conflicting wide-range bar is dropped.
For research and education only. This is not financial advice. No indicator can predict the future, and past behaviour does not guarantee future results. Any labels, zones, or counts describe historical price action only. Always do your own analysis and manage your own risk.
Made with passion by JackOfAllTrades ⚡ مؤشر

ORB Opening Range I EonMetrics ORB - Opening Range
ORB marks the opening range — the high and low of the first minutes of a session — and tracks what price does with it for the rest of the day: breakouts by closing price, failed breakouts that snap back inside, and extension levels projected from the range height. The last few days stay on the chart so you can judge at a glance how your instrument actually behaves around its open.
🔶 HOW IT WORKS
From the session open (New York 09:30 by default) the script records the high and low of the first X minutes — 5 to 60, you choose. When the window closes, the range is frozen: a box marks the window, and the high/low lines extend forward until the next session begins. The first candle that CLOSES outside the range tags the breakout; a close back inside within your chosen number of bars tags it as FAILED and re-arms the day.
🔶 WHY THE OPENING RANGE MATTERS
The first minutes of a session concentrate the reactions to everything that accumulated while the market was closed or quiet: overnight news, opening auctions, the first institutional orders of the day. The range those minutes carve out is the day's first agreed-upon value area. That is the reasoning behind the concept, and it is why the tool also tags a move that closes back inside the range rather than only tagging the escape — the two outcomes describe different sessions.
Worth stating plainly: this is the rationale for the concept, not evidence that it works. Whether your instrument respects its opening range is an empirical question about that instrument, and the History setting exists so you can answer it with your own eyes before relying on anything here.
🔶 WHAT IT DOES
Opening range — box over the window (5/15/30/45/60 min), frozen high/low lines extended through the session. Session presets: New York 09:30, London 08:00, Tokyo 09:00, or a fully custom open time with its own timezone (DST handled by the timezone database, not by fixed offsets).
Extension levels — optional lines at ±0.5×, ±1×, ±1.5× and ±2× the range height, projected above the high and below the low. These are reference levels for reading how far a move has traveled relative to the range — the script does not call them targets, because they are not.
Breakout status — evaluated on closing prices only, never on wicks. First close above the high tags ORB ▲, first close below the low tags ORB ▼. A close back inside the range within K bars tags FAIL and re-arms the day, so a later genuine breakout can still be tagged.
History — the last D days of ranges stay on the chart (configurable). Scrolling back through a week of your own instrument is the fastest way to see whether its opening range is worth watching at all.
🔶 ALERTS
Four alert conditions: opening range set, breakout above, breakout below, failed breakout.
🔶 HOW TO USE
1. Pick the session that matches your market — NY 09:30 for US indices and metals, London 08:00 for European hours, or a custom time.
2. Pick the window length. 15 and 30 minutes are the classic choices; shorter = earlier levels, noisier range.
3. Watch the first close outside the range — and read a quick close back inside (the FAIL tag) as a description of that session, not as noise to ignore.
4. Set the four alerts and stop watching the open candle by candle.
🔶 SETTINGS
Session (preset / custom time + timezone, range length) · Levels & Breakout (extension multiples, failed-breakout window, days of history) · Style (colors, box fill).
🔶 HONEST LIMITATIONS
The opening-range concept assumes a session with a real open — indices, metals, forex sessions. On 24/7 crypto a "session open" is a convention: the tool works there mechanically, but the premise behind it is weaker, and you should know that before trading around it. The chart timeframe must be at or below the window length (a 30-minute range cannot be built from hourly bars — the indicator stays empty rather than guessing). This tool draws levels and states facts about closes; it does not generate signals or targets.
Part of the EonMetrics toolset.
مؤشر

Previous Day Levels & Stats - High and Low, Wicks, Gaps👀OVERVIEW
Previous Day Levels & Stats (PDH/PDL) draws yesterday's open, high, low and close on today's chart and pairs them with a statistics table showing how this symbol has historically behaved at those levels and split both by whether yesterday closed red or green, and by where today opened.
Most previous-day indicators tell you where yesterday's high and low sit. This one also tells you what price has historically done at those levels including:
⚪ How often the previous day level broke
⚪ How often a break held
⚪ How often price traded into yesterday's wick zone and got rejected
⚪ How far a real break typically ran which is then calculated in today's dollars and added to the chart as an option.
Stats tables like this exist already, but this one splits every statistic two ways at once. First by whether yesterday closed red or green, and then by where today opened. A three-way open classification decides which numbers apply to today.
⚡ CONCEPT
Previous Day. The previous day is the most recently completed regular trading session. At the 4:00 pm close, the levels, candle, projection, and table all flip to the day that just finished and these new levels hold through post-market and the next morning's pre-market. This allows you to prepare for the next day ahead of time.
Conditioning on yesterday's color. The data for red days and green days are kept in two separate sets. The table header tells you which condition applies right now ("AFTER A RED DAY" / "AFTER A GREEN DAY"), and you only ever see the set that matters today.
Conditioning on today's open. Each day is classified three ways against yesterday's range: ⚪Opened inside the range
⚪Gapped above the previous day's high
⚪Gapped below the previous day's low
These are all different situations, a PDH break on an inside day and a gap that opened above PDH are not the same event, so they get separate data and are shown in separate rows.
When trading opens on each new day, the table reduces to only show the section that applies for today. The full table returns at the close so you can study both possibilities while preparing for the next day. If you prefer to always see both sections, a setting turns this off and the non-applicable section dims instead.
Inside-day rows. For days that opened inside yesterday's range.
🔴A: Wick rejected: The day opened inside yesterday's range and traded up into yesterday's upper wick, reaching at least the top of yesterday's body. It never touched yesterday's high, and it ultimately closed back below the top of the body (below the wick). If the day so much as touched yesterday's high, it counts in the break rows instead of in wick rejected row. The percentage is out of all days that opened inside yesterday's range after the same color day. This is showing when we open inside the previous day how often price traded both up into the wick and then got rejected. The PDL column is the mirror image using the lower wick and yesterday's low.
🔵B: Broke but failed: The day opened inside yesterday's range and traded up to or above yesterday's high then ultimately closed at or under yesterday's high. This includes closes just under the high, inside the wick, inside the body and through to the other side of the previous day. This is showing when we open inside the previous day how often price traded both up above the previous day and then got rejected. The PDL column is the mirror image using yesterday's low.
🟡C: Broke & held: The day opened inside yesterday's range and traded up to and above yesterday's high then ended up closing the day above it. This does not track anything that happens in between the break and the close, simply the final outcome. The PDL column is the mirror image using the low of yesterday.
🟢D: Typical run past level: On inside opening days where a break beyond PDH or PDL held, the indicator measures how far price historically ran beyond the level. A run measured in dollars from years ago is not comparable to one from last week. So each historical run is first measured against what a normal daily range was at that time, the median value of all those runs is taken, and that value is converted back to dollars using what a normal daily range is now. The result reads like this: when a break like this held, price typically ran about this far past the level. The median average is used instead of mean average so a single giant day cannot distort the number. In addition to the median distance of the run, a second, farther distance is also available: about 1 in 4 of those runs went beyond this level. This does not include days that closed back inside, these are all from days that broke and held. This also is the furthest distance of the day, not how far the final close of the day was.
Each row is a separate outcome from the same set of days. A day lands in at most one of the three rows per column. The rows do not add up to 100 because some inside days never reach some of the levels at all. The only row that is connected is the Typical run past level row which is based on days that broke and closed past the high or low.
Gap-day rows. For days that opened either above PDH or below PDL.
🔴A: Gap Fill: Opened beyond either PDH or PDL and price came back to at least touch the respective PDH or PDL during the day. This is specifically for the high or low of the previous day, not the previous days close. A day can fill the gap to the level and still close back beyond it, so this row overlaps the rows below it.
🔵B: Wick rejected: Opened beyond either PDH or PDL, traded back into only the wick of the previous day (did not trade back into the body of the candle) and then closed back beyond respective high or low. This is showing when we opened above or below previous day, how often we both traded into the respective high or low wick and back out beyond it. If price at any time during the day traded into the body of the previous candle, it no longer counts in this row.
🟡C: Body rejected: Opened beyond either PDH or PDL, traded back into the body of the previous day candle and then closed the day all the way back beyond respective high or low.
🟢D: Closed back inside: Opened beyond either PDH or PDL and by the end of the day closed back inside the previous day range (wick or body).
🟠E: Closed through: Opened beyond PDH or PDL and ultimately closed the day on the opposite side of the previous day candle than where it opened.
🟣F: Gap held: Opened above PDH and closed the day still above PDH, or opened below PDL and closed the day still below PDL, regardless of what happened in between. This row includes days that never pulled back and days that pulled back and recovered. So price could have never even touched the previous days candle, traded clear through to the other side and back again or anything in between, but closed the day on the same side as the open gap.
Wick rejected and Body rejected are subsets of Gap held. Gap held, Closed back inside, Closed through partition all gap days and sum to 100%.
⭐Doji days. If yesterday closed exactly where it opened, it has no color, so no condition applies. The indicator carries the most recent non-doji color forward for the table, and the header reads "AFTER A DOJI DAY*" on a neutral background so you know a substitution happened. Days that follow a doji are not counted into either condition's statistics, they're displayed under the carried color, never counted under it. So the previous day open, high, low and close are based on the actual previous day (the doji), but the stats are filtered through the most recent colored day before it. There are not enough doji days to have a realistic amount of data to work from. So the levels are used but the data is from the color of the bar before the doji day.
💥FEATURES
• The statistics table: conditioned as described above, with preset color themes (including one designed for light charts). Cell color intensity shows decisiveness, not direction. The further a percentage sits from a coin flip (50/50) in either direction, the stronger the cell glows. Sample sizes appear in hover tooltips on every row.
• Previous-day OHLC lines: with span, style, width, and label options.
• Previous-day candle: a large rendering of yesterday's candle beside today's action, with different placement options.
• Projection overlay: yesterday's candle projected across today's session, so you watch today on top of yesterday's shape.
• Typical-run levels: optional lines shown on the chart from inside days only.
❓HOW TO USE
1. Open an intraday chart of a stock before the market opens. The levels and/or projection already show the most recently completed day and the table shows the data based on what color the previous day was for both if today opens inside previous day and if today opens with a gap in either direction.
2. At 9:30 AM ET, the table will classify the day and the section matching today's open highlights. That shows context, what this symbol has historically done from this starting situation in the past.
3. Use the OHLC lines and wick zones as the map, and the table as the stats at each level. Hover any row for its exact definition and sample size.
4. On inside-open days, turn on the typical-run levels if you want the median-run distances drawn on the chart.
The table describes what this symbol has done, not what it will do. Treat every number as context, not a prediction.
❗ LIMITATIONS
• Session logic is built around US stocks (9:30–4:00 ET regular session). The indicator loads on other symbols, but the open classification, the flip at the close, and the projection presets assume US stock sessions; on 24-hour markets without distinct pre/post sessions the close-flip does not engage.
• Statistics are historical frequencies on your symbol's data. They are not predictions, carry no performance implication, and small samples (newer tickers, rare conditions) mean wider uncertainty so check the sample sizes in the tooltips.
• Days following a doji are excluded from both condition samples (see Concepts), so condition totals will be slightly smaller than the symbol's full day count.
• Absence of typical-run lines on a gap open is intentional, the typical run lines are based on a break out of the prior day. In an attempt to keep the indicator simple and user friendly, the lines are only applied for break outs of the range.
• During post-market, the projection covers the just-completed session behind price; the pre-market view is the designed preparation window.
• Different data feeds disagree by cents on some historical days, so counts can differ slightly between feeds.
• This indicator is for educational purposes and is not intended to be used alone for decision making. Make sure that you properly backtest with any data before using it.
📋NOTES
All statistics are computed from the symbol's complete daily history, so the numbers are the same on every chart timeframe and don't depend on how many bars your chart happens to have loaded. Everything is computed on confirmed bars only and states move forward-only so nothing is retroactively relabeled, and what you see live is what remains on the chart in history and in replay.
مؤشر

Weis Wave Renko - Effort vs ResultABOUT THIS SCRIPT
Weis Wave Renko – Effort vs Result indicator combines Renko price structure with Weis Wave volume analysis to help assess the relationship between market effort and price result.
This script is a fork and substantial extension of the original “Weis Wave Volume” script published by modhelius . Full credit is given to modhelius for the original Weis Wave calculation, Renko assignment methodology and histogram on which this version is based.
PURPOSE
The script was developed to support the following workflow:
Use VSA/Wyckoff analysis to identify the market background and possible exhaustion, absorption or testing activity.
Use Weis Wave volume to compare the effort behind successive buying and selling waves.
Use Renko structure to confirm changes of direction, higher lows, lower highs and sustained reversals.
Use the developing relationship between effort and result to assess whether supply or demand is strengthening, weakening or being absorbed.
Where appropriate, use a confirmed Renko reversal as part of an entry, stop-placement or trade-management process.
The script is intended to support a discretionary Wyckoff/VSA-style analysis of Renko charts.
It does not treat every Renko colour change as a trading signal. Instead, it is designed to help answer questions such as:
Is demand expanding or contracting?
Is supply expanding or contracting?
Is price rising with less apparent selling resistance?
Is price falling because support beneath the market is weak?
Is increased volume producing less price progress?
Does a high-volume wave represent a possible buying or selling climax?
Has a later lower-volume test supported or rejected that interpretation?
The underlying concept is effort versus result:
Effort = cumulative wave volume.
Result = the price movement achieved by the Renko wave.
PIVOT STATISTICS
At each completed Renko peak or trough, the script displays:
Weis Wave volume.
Number of Renko boxes contained in the wave.
The statistics box refers to the completed wave that formed that peak or trough.
The current uncompleted wave can also display a live statistics box. Live statistics remain provisional until the wave is completed by a confirmed change of direction.
WAVE COMMENTS
Each completed wave can receive a separate comment box connected to the centre of the relevant Renko leg.
The comment box may contain three distinct sections:
Structural conclusion.
Primary wave classification from the Scenario Key.
Explanation based on later price and volume behaviour.
For example:
Buying climax confirmed
Demand expanding
Next up-wave retest failed below the climax high on lower volume
The primary wave classification describes the completed wave relative to the previous wave in the same direction.
The structural conclusion may update later as additional waves complete reflecting the dynamic nature of the indicator.
PRIMARY WAVE CLASSIFICATIONS
Up-waves are compared with the preceding completed up-wave:
Demand expanding - More volume accompanied by a longer rise.
Demand contracting - Less volume accompanied by a shorter rise.
Less effort needed to rise - Similar or lower volume produced the same or greater upward progress.
Buying effort absorbed - More volume produced a shorter rise, suggesting that buying effort encountered supply.
Down-waves are compared with the preceding completed down-wave:
Supply expanding - More volume accompanied by a longer decline.
Supply contracting - Less volume accompanied by a shorter decline.
Less support beneath price - Similar or lower volume produced the same or greater downward progress.
Selling effort absorbed - More volume produced a shorter decline, suggesting that selling effort encountered demand.
No material change - Neither volume nor price result changed sufficiently to exceed the selected Material Change Threshold.
CLIMAX ANALYSIS
A large wave is not classified as a confirmed climax merely because it has high volume. The script uses a staged process:
Possible buying climax:
An up-wave becomes a buying-climax candidate.
The next down-wave must produce the selected Renko reversal confirmation, which defaults to three boxes.
The immediately following up-wave is treated as the retest.
The buying climax is confirmed only when that next up-wave: has lower volume than the original climax up-wave; produces a shorter rise; and fails below the climax high. The comment can then state:
Buying climax confirmed -
Next up-wave retest failed below the climax high on lower volume - Possible selling climax
A down-wave becomes a selling-climax candidate. The next up-wave must produce the selected Renko reversal confirmation. The immediately following down-wave is treated as the test. The selling climax is confirmed only when that next down-wave: has lower volume than the original climax down-wave; produces a shorter decline; and holds above the climax low.
The comment can then state:
Selling climax confirmed -
Next down-wave test held above the climax low on lower volume
Only the immediate next corresponding up-wave or down-wave is used for the test. The script does not search through later waves to find a result that retrospectively fits the climax interpretation.
NO SUPPLY AND NO DEMAND
Possible no supply requires a down-wave that:
has lower volume than the previous down-wave;
produces a shorter decline; and
forms a higher low.
The following up-wave must then sustain the selected number of reversal boxes.
Possible no demand requires an up-wave that:
has lower volume than the previous up-wave;
produces a shorter rise; and
forms a lower high.
The following down-wave must then sustain the selected number of reversal boxes.
These are rule-based interpretations of wave behaviour. They are not substitutes for a full Wyckoff or VSA analysis of background, location and market structure.
DEVELOPING WAVES
The current wave comment can update dynamically as volume and Renko-box count accumulate.
Developing comments use provisional wording such as:
Demand currently expanding.
Supply currently contracting.
Buying effort currently absorbed.
Possible no supply.
Possible no demand.
A developing classification can change before the wave completes.
PROJECTION BOXES/BRICKS
TradingView can display projection boxes/bricks while the source-timeframe bar remains open.
Projection does not mean that the script is forecasting future bricks. It means that current price before the time period close has already moved far enough to meet one or more Renko thresholds during the still-open source bar.
For example, on a Daily Renko chart:
intraday price movement can produce provisional Renko bricks;
those bricks can appear before the Daily bar closes;
they can change or disappear before the close;
they become part of the confirmed historical Renko structure only after the source bar is confirmed.
The same principle applies to Weekly and other source intervals.
Live statistics and developing comments should therefore be treated as provisional.
RENKO ASSIGNMENT METHODS
Traditional: Traditional uses a fixed price-unit assignment value.
If the TradingView chart is set to: Traditional box size = 3, the indicator should normally also be set to the same Renko Assignment Method = Traditional Value = 3
The script cannot automatically read the Renko box-size setting from the TradingView chart.
ATR: ATR derives the assignment value from Average True Range. The Value input represents the ATR lookback period rather than a fixed number of price points. ATR adapts to volatility, but changing box/brick size make historical box-count comparisons less directly uniform than Traditional sizing.
Part of Price: The inherited Part of Price method calculates close ÷ Value
For example: Value 20 = approximately 5% of price. This is not identical to TradingView’s Percentage LTP Renko setting.
DISPLAY AND POSITIONING
The script includes adjustable controls for:
up-wave and down-wave histogram colours;
histogram transparency;
pivot statistics placement;
statistics font size;
statistics connector lines;
adjacent statistics-label stacking;
wave-comment font size and line wrapping;
wave-comment vertical and horizontal offsets;
adjacent wave-comment stacking;
comment connector lines;
Permanent Note position and dimensions;
Scenario Key position and dimensions.
Adjacent label and chart leg comment box stacking is optional. Because Pine cannot measure the rendered pixel width or height of labels, collision avoidance is based on bar distance and price-coordinate separation rather than exact screen-pixel boundaries. The user may need to adjust these settings in the user interface panel to avoid overlapping of labels and comment boxes.
SCENARIO KEY
The Scenario Key translates observable effort-and-result combinations into the primary wave comments used by the script.
The table also explains the structural sequences used for:
climax candidates;
confirmed buying and selling climaxes;
possible no supply;
possible no demand;
failed follow-through;
provisional current-wave conclusions.
TIMEFRAME CONSIDERATIONS
Changing the TradingView chart timeframe changes the source data used to construct the Renko chart.
A Daily Renko structure and a Weekly Renko structure are therefore separate reconstructions, not merely different zoom levels of the same sequence.
Weekly charts may be useful for broad structural background.
Daily charts may provide more responsive directional changes.
Lower source intervals generally provide greater granularity but also produce more noise and more frequent projection box/brick changes.
LIMITATIONS
Renko charts use synthetic price construction.
The apparent Renko box/brick price is not always a directly tradable execution price.
Projection boxes/bricks can repaint while the source bar is open.
Historical calculations can change when:
the chart timeframe changes;
Renko settings change;
indicator assignment settings change;
additional lower-timeframe data becomes available;
TradingView reconstructs the Renko history.
This indicator should not be used to assume fills at ideal Renko box/brick prices.
Any strategy testing should use confirmed signals and actual market OHLC prices, with appropriate allowance for spread, slippage and execution delay.
The script provides analytical context. It does not provide financial advice or guarantee that any identified climax, test, no-supply condition, no-demand condition or Renko reversal will lead to a profitable trade.
CREDITS
Original Weis Wave Volume script and core calculation: modhelius
This version is an amended and extended fork incorporating:
Renko peak and trough statistics;
wave box counts;
dynamic wave comments;
effort-versus-result classifications;
climax and test sequencing;
no-supply and no-demand analysis;
projection-brick context;
configurable display, positioning and overlap-management controls.
DEVELOPMENT CONTEXT
The extended analytical concept implemented in this fork was developed following James Knox ’s presentation to the "To The Tick" trading group on 20/7/26 combining:
TradeGuider VSA observations;
Wyckoff concepts of effort versus result, climaxes, tests, springs, no supply and no demand;
Weis Wave volume;
Renko changes of direction and structural pivots.
The script’s classifications and dynamic comments were developed to make those relationships more easily visible directly on the Renko chart.
مؤشر

Weis Wave Renko - Effort vs ResultABOUT THIS SCRIPT
Weis Wave Renko – Effort vs Result indicator combines Renko price structure with Weis Wave volume analysis to help assess the relationship between market effort and price result.
This script is a fork and substantial extension of the original “Weis Wave Volume” script published by modhelius . Full credit is given to modhelius for the original Weis Wave calculation, Renko assignment methodology and histogram on which this version is based.
PURPOSE
The script was developed to support the following workflow:
Use VSA/Wyckoff analysis to identify the market background and possible exhaustion, absorption or testing activity.
Use Weis Wave volume to compare the effort behind successive buying and selling waves.
Use Renko structure to confirm changes of direction, higher lows, lower highs and sustained reversals.
Use the developing relationship between effort and result to assess whether supply or demand is strengthening, weakening or being absorbed.
Where appropriate, use a confirmed Renko reversal as part of an entry, stop-placement or trade-management process.
The script is intended to support a discretionary Wyckoff/VSA-style analysis of Renko charts.
It does not treat every Renko colour change as a trading signal. Instead, it is designed to help answer questions such as:
Is demand expanding or contracting?
Is supply expanding or contracting?
Is price rising with less apparent selling resistance?
Is price falling because support beneath the market is weak?
Is increased volume producing less price progress?
Does a high-volume wave represent a possible buying or selling climax?
Has a later lower-volume test supported or rejected that interpretation?
The underlying concept is effort versus result:
Effort = cumulative wave volume.
Result = the price movement achieved by the Renko wave.
PIVOT STATISTICS
At each completed Renko peak or trough, the script displays:
Weis Wave volume.
Number of Renko boxes contained in the wave.
The statistics box refers to the completed wave that formed that peak or trough.
The current uncompleted wave can also display a live statistics box. Live statistics remain provisional until the wave is completed by a confirmed change of direction.
WAVE COMMENTS
Each completed wave can receive a separate comment box connected to the centre of the relevant Renko leg.
The comment box may contain three distinct sections:
Structural conclusion.
Primary wave classification from the Scenario Key.
Explanation based on later price and volume behaviour.
For example:
Buying climax confirmed
Demand expanding
Next up-wave retest failed below the climax high on lower volume
The primary wave classification describes the completed wave relative to the previous wave in the same direction.
The structural conclusion may update later as additional waves complete reflecting the dynamic nature of the indicator.
PRIMARY WAVE CLASSIFICATIONS
Up-waves are compared with the preceding completed up-wave:
Demand expanding - More volume accompanied by a longer rise.
Demand contracting - Less volume accompanied by a shorter rise.
Less effort needed to rise - Similar or lower volume produced the same or greater upward progress.
Buying effort absorbed - More volume produced a shorter rise, suggesting that buying effort encountered supply.
Down-waves are compared with the preceding completed down-wave:
Supply expanding - More volume accompanied by a longer decline.
Supply contracting - Less volume accompanied by a shorter decline.
Less support beneath price - Similar or lower volume produced the same or greater downward progress.
Selling effort absorbed - More volume produced a shorter decline, suggesting that selling effort encountered demand.
No material change - Neither volume nor price result changed sufficiently to exceed the selected Material Change Threshold.
CLIMAX ANALYSIS
A large wave is not classified as a confirmed climax merely because it has high volume. The script uses a staged process:
Possible buying climax:
An up-wave becomes a buying-climax candidate.
The next down-wave must produce the selected Renko reversal confirmation, which defaults to three boxes.
The immediately following up-wave is treated as the retest.
The buying climax is confirmed only when that next up-wave: has lower volume than the original climax up-wave; produces a shorter rise; and fails below the climax high. The comment can then state:
Buying climax confirmed -
Next up-wave retest failed below the climax high on lower volume - Possible selling climax
A down-wave becomes a selling-climax candidate. The next up-wave must produce the selected Renko reversal confirmation. The immediately following down-wave is treated as the test. The selling climax is confirmed only when that next down-wave: has lower volume than the original climax down-wave; produces a shorter decline; and holds above the climax low.
The comment can then state:
Selling climax confirmed -
Next down-wave test held above the climax low on lower volume
Only the immediate next corresponding up-wave or down-wave is used for the test. The script does not search through later waves to find a result that retrospectively fits the climax interpretation.
NO SUPPLY AND NO DEMAND
Possible no supply requires a down-wave that:
has lower volume than the previous down-wave;
produces a shorter decline; and
forms a higher low.
The following up-wave must then sustain the selected number of reversal boxes.
Possible no demand requires an up-wave that:
has lower volume than the previous up-wave;
produces a shorter rise; and
forms a lower high.
The following down-wave must then sustain the selected number of reversal boxes.
These are rule-based interpretations of wave behaviour. They are not substitutes for a full Wyckoff or VSA analysis of background, location and market structure.
DEVELOPING WAVES
The current wave comment can update dynamically as volume and Renko-box count accumulate.
Developing comments use provisional wording such as:
Demand currently expanding.
Supply currently contracting.
Buying effort currently absorbed.
Possible no supply.
Possible no demand.
A developing classification can change before the wave completes.
PROJECTION BOXES/BRICKS
TradingView can display projection boxes/bricks while the source-timeframe bar remains open.
Projection does not mean that the script is forecasting future bricks. It means that current price before the time period close has already moved far enough to meet one or more Renko thresholds during the still-open source bar.
For example, on a Daily Renko chart:
intraday price movement can produce provisional Renko bricks;
those bricks can appear before the Daily bar closes;
they can change or disappear before the close;
they become part of the confirmed historical Renko structure only after the source bar is confirmed.
The same principle applies to Weekly and other source intervals.
Live statistics and developing comments should therefore be treated as provisional.
b]RENKO ASSIGNMENT METHODS
Traditional: Traditional uses a fixed price-unit assignment value.
If the TradingView chart is set to: Traditional box size = 3, the indicator should normally also be set to the same Renko Assignment Method = Traditional Value = 3
The script cannot automatically read the Renko box-size setting from the TradingView chart.
ATR: ATR derives the assignment value from Average True Range. The Value input represents the ATR lookback period rather than a fixed number of price points. ATR adapts to volatility, but changing box/brick size make historical box-count comparisons less directly uniform than Traditional sizing.
Part of Price: The inherited Part of Price method calculates close ÷ Value
For example: Value 20 = approximately 5% of price. This is not identical to TradingView’s Percentage LTP Renko setting.
DISPLAY AND POSITIONING
The script includes adjustable controls for:
up-wave and down-wave histogram colours;
histogram transparency;
pivot statistics placement;
statistics font size;
statistics connector lines;
adjacent statistics-label stacking;
wave-comment font size and line wrapping;
wave-comment vertical and horizontal offsets;
adjacent wave-comment stacking;
comment connector lines;
Permanent Note position and dimensions;
Scenario Key position and dimensions.
Adjacent label and chart leg comment box stacking is optional. Because Pine cannot measure the rendered pixel width or height of labels, collision avoidance is based on bar distance and price-coordinate separation rather than exact screen-pixel boundaries. The user may need to adjust these settings in the user interface panel to avoid overlapping of labels and comment boxes.
SCENARIO KEY
The Scenario Key translates observable effort-and-result combinations into the primary wave comments used by the script.
The table also explains the structural sequences used for:
climax candidates;
confirmed buying and selling climaxes;
possible no supply;
possible no demand;
failed follow-through;
provisional current-wave conclusions.
TIMEFRAME CONSIDERATIONS
Changing the TradingView chart timeframe changes the source data used to construct the Renko chart.
A Daily Renko structure and a Weekly Renko structure are therefore separate reconstructions, not merely different zoom levels of the same sequence.
Weekly charts may be useful for broad structural background.
Daily charts may provide more responsive directional changes.
Lower source intervals generally provide greater granularity but also produce more noise and more frequent projection box/brick changes.
LIMITATIONS
Renko charts use synthetic price construction.
The apparent Renko box/brick price is not always a directly tradable execution price.
Projection boxes/bricks can repaint while the source bar is open.
Historical calculations can change when:
the chart timeframe changes;
Renko settings change;
indicator assignment settings change;
additional lower-timeframe data becomes available;
TradingView reconstructs the Renko history.
This indicator should not be used to assume fills at ideal Renko box/brick prices.
Any strategy testing should use confirmed signals and actual market OHLC prices, with appropriate allowance for spread, slippage and execution delay.
The script provides analytical context. It does not provide financial advice or guarantee that any identified climax, test, no-supply condition, no-demand condition or Renko reversal will lead to a profitable trade.
CREDITS
Original Weis Wave Volume script and core calculation: modhelius
This version is an amended and extended fork incorporating:
Renko peak and trough statistics;
wave box counts;
dynamic wave comments;
effort-versus-result classifications;
climax and test sequencing;
no-supply and no-demand analysis;
projection-brick context;
configurable display, positioning and overlap-management controls.
DEVELOPMENT CONTEXT
The extended analytical concept implemented in this fork was developed following James Knox ’s presentation to the "To The Tick" trading group on 20/7/26 combining:
TradeGuider VSA observations;
Wyckoff concepts of effort versus result, climaxes, tests, springs, no supply and no demand;
Weis Wave volume;
Renko changes of direction and structural pivots.
The script’s classifications and dynamic comments were developed to make those relationships more easily visible directly on the Renko chart. مؤشر

ATK/DEF Support Resistance S/R Channel Rating EngineATK/DEF Support Resistance S/R Channel Rating Engine is a mu-factor support and resistance evaluat framework designed to analyze historl pric behavior and structural market reactions.
Unlike traditional support and resistance tools that mainly focus on previous reaction leve, this indicator focuses on evaluating the quality, strength, and structural condition of pric-based support and resistance areas through multiple analytical factors.
The engine combines three independent evaluat components into a unified structural rating model:
1. Historical Power Analysis
The Historical Power module evalua the histor significance of swing-based pric areas by analyzing pric movement intensity, volatility conditions, volume relationship, and histor market activity.
This component measures how strongly the market previously interacted with a specific pric area and provides a calcula power measurement based on histor characteristics.
2. Attenuation Index
The Attenuation Index evalua the gradual reduction of historl influence over time.
Pric structures can change as market conditions develop. This module evalua the effect of time distance and price displacement from the original formation area to describe the evolving structural condition of historical support and resistance zones.
3. Swirl Index
The Swirl Index evaluates surrounding market activity and volatility characteristics.
By analyzing recent pric range behavior and volatility changes, this component provides additional context regarding market activity around identified structural areas.
The three components are combined into a comprehensive rating framework that evalua support and resistance quality from mult dimensions instead of relying on a single histo reaction point.
The indicator processes swing-based structural areas, stores historical pric information, evaluates repeated interactions, and displays channel structures based on calculated structural measurements.
Key features:
• Multi-factor support and resistance evalua
• Histori pric reaction analysis
• Swing structure based channel visualization
• Power measurement based on pric and volume characteristics
• Structural weaken evaluati through attenuation analysis
• Market activity measurement through volatility analysis
• Mult-leve rating classification system
• Support and resistance behavior analysis
• Channel condition monitoring
• Detailed analytical table displaying calcula metrics
This indicator is designed as a market structure analysis tool for stud the relationship between histori pric behavior, structural strength, and chang market conditions.
The calcula focus on quantitative evalua of pric areas and structural characteristics rather than simple horizontal leve detection.
All displayed values represent analytical measurements derived from histor market dat and are intended for resea and technical analysis purposes. مؤشر

مؤشر

ICT Kill Zone Sniper [JOAT]═══ ICT KILL ZONE SNIPER ⚡ ═══
A session-aware sniper tool that paints every candle by its active kill zone, tracks the liquidity pool each session leaves behind, and fires a single clean BUY or SELL only after price sweeps the prior pool and reverses back inside the current kill zone. Built for traders who wait for the liquidity grab, not the breakout.
▎ WHAT IT DOES
It splits the trading day into four classic kill zones — Asia , London , NY-AM and NY-PM — colors the candles inside each one, and records the high and low that every finished session builds. Those prior highs/lows become the liquidity pools hunted in the next window. When the current kill zone reaches into one of those pools and then closes back through it, the tool marks the sweep and projects a full trade: entry, ATR stop, and an R-based target zone.
▎ HOW IT WORKS
• Kill-zone clock — each session window is evaluated in a chosen wall-clock timezone (New York by default). Membership is na-guarded, so it behaves correctly on any intraday timeframe and simply idles on higher timeframes.
• Session state machine — while a kill zone is live, the tool expands that session's running high and low. When the session ends, that high/low is frozen as the prior liquidity pool and drawn as dashed projection lines carried into the next window.
• Sweep + reversal detection — a high sweep needs price to trade above the prior pool high yet close back below it; a low sweep needs a dip below the prior pool low with a close back above. A Min Sweep Depth (× ATR) filter rejects micro-penetrations caused by spread and tick noise.
• Confirmation — sweeps can be evaluated on confirmed bar close only, so signals do not repaint intrabar. At most one long and one short can print per kill-zone occurrence when the one-per-side lock is on.
• Optional HTF bias — a higher-timeframe EMA (requested with lookahead off) can gate direction: longs only above it, shorts only below it.
• Trade projection — on a valid signal the stop is placed beyond the swept extreme plus an ATR buffer, risk is measured from entry to stop, and the target is set at your chosen R multiple. Reward and risk are drawn as tinted zone boxes with entry/SL/TP lines and level labels.
• Optional VWAP — a session-anchored VWAP with a ±σ band is available as extra context.
▎ HOW TO USE IT
• Wait for a BUY or SELL pill to print inside a colored kill zone — it means the prior pool was swept and price reversed back through it.
• The green zone box is the reward leg toward the R-target; the red zone box is the risk leg to the stop. The label pill shows the session and the R multiple.
• Use the dashed prior high/low lines as the liquidity being hunted this session — signals cluster around them.
• Treat the HTF bias as a directional filter and the sweep tags as confirmation that liquidity was actually taken before you commit.
• Combine with your own structure read; the tool marks the setup, you manage the trade.
▎ KEY SETTINGS
• Kill Zones — timezone plus editable session windows for Asia, London, NY-AM and NY-PM.
• Signal Engine — ATR length, confirm-on-close, one-signal-per-side lock, and minimum sweep depth.
• HTF Bias — toggle, higher timeframe, and EMA length.
• Trade Model — stop buffer beyond the sweep, risk/reward target in R, projection length, and how many past signals to keep.
• Visuals — candle tinting and transparency, session boxes, pools, sweep tags, signal labels, SL/TP lines and zone boxes, VWAP bands, and label size.
• Dashboard — show/hide, position, and text size.
▎ DASHBOARD
A cyberpunk chrome-gradient panel reporting the active session , current session high/low , a countdown to the next kill zone , the HTF bias state, the last liquidity grab side, the active signal with bars-since, the last entry , its stop / target , the current ATR , and a running long / short signal tally .
▎ ALERTS
• KZ Sniper Long — prior-pool low sweep plus bullish reversal inside a kill zone.
• KZ Sniper Short — prior-pool high sweep plus bearish reversal inside a kill zone.
▎ NOTES
• Works across assets; the session logic is intended for intraday timeframes and idles on higher ones.
• Confirm-on-close keeps signals non-repainting; the HTF EMA is requested with lookahead off.
• Nearly every visual has a toggle, so you can strip it down to just the candles and signals for a clean chart.
• Any on-chart tallies reflect historical signals only.
For research and education only. This is not financial advice. No indicator can predict the future, and past behavior does not guarantee future results. Always manage your own risk.
Made with passion by JackOfAllTrades ⚡ مؤشر

مؤشر

ATK/DEF Support Resistance SR Force MatrixS/R Force Matrix is a custom support and resistance analysis framework designed to stud the strength, behavior, and historic significance of pric reactio areas through a combination of volatility adjustment, swing struc analysis, liquidity measurement, and candle pressure evaluati.
Traditional support and resistance methods usually treat pric lev as fixed horizontal areas created from previous hig and lo. However, market conditions are constantly changing, and the importance of a pric lev can vary depending on volatility, histor interaction, participation intensity, and current market behavior.
S/R Force Matrix introduces a dynamic calculat approach by combining multiple independent market measurements to evalu the relative strength characteristics of support and resistance zo.
The core concept of this indicator is that a pric lev should not only be observed by its location, but also by the market inform surroud its formation and histor behavior.
ATR-Based Dynamic Power Calculation
The foundation of S/R Force Matrix is an ATR-based normalization system.
Instead of using fixed distance measurements, the indicator adapts its calcula according to current volatility conditions. ATR is used as a volatility reference to evalua the relative size and significance of historical pric movements across different market environments.
This allows the indicator to analyze pric lev with a dynamic perspective rather than treating every historical swing point equally.
Historical Swing Structure Analysis
The indicator identifies histo swing highs and swing lows as potential resistance and support areas.
Each detected pric area is evalua through historical data characteristics, including:
previous pric formation
historical interaction frequency
distance from current price
volatility-adjusted movement size
The purpose is to create a structured representation of how important pric areas develop over time.
Price Reaction Strength Matrix
S/R Force Matrix combines several measurements into a unified strength evaluati model.
The Power calcula integrates:
histori volatility conditions
volume participation
swing importance
timeframe adjustment
historical interaction behavior
This creates a matrix-based view of pricarea strength instead of displaying simple support and resistance lines.
Market Pressure Analysis
The indicator includes candle pressure analysis to observe the internal balan between upward and downward pric movement.
By analyzing candle position within the tra range, the system measures the relationship between:
closing location
candle range distribution
current pressure balance
This provides additional context about current pric behavior around important lev.
Liquidity Flow Observation
Volume activity is incorporated to analyze changes in market participation.
The Liquidity Flow component observes:
relative volume expansion
volume contraction
prie position compared with VWAP
participation intensity
The purpose is to visualize how market activity changes around pri areas rather than relying only on price levs.
Timeframe Adaptive Framework
S/R Force Matrix automa adjusts calcula based on different timeframe environments.
Different chart intervals contain different volatility characteristics and market structures. The timeframe multiplier helps maintain a more consistent analytical framework when observing various market conditions.
Difference From Traditional Support & Resistance Tools
Unlike traditional support and resistance indicators that mainly mark previous highs and lows, S/R Force Matrix focuses on the strength characteristics behind each pric area.
Traditional approaches generally answer:
"Where did price previously react?"
S/R Force Matrix focuses on:
"How significant was the histori reaction area based on multiple calculated market factors?"
By combining ATR volatility analysis, historical swing behavior, liquidity information, and candle pressure measurements, the indicator creates a broader market structure visualization.
Design Philosophy
S/R Force Matrix is created as a quantitative market behavior analysis.
The objective is to provide a structured way to observe:
dynamic support and resistance characteristics
historical pric area importance
volatility-adjusted strength
liquidity participation changes
current market pressure conditions
The indicator does not provide tra instructions, or financial advice.
It is designed to help users analyze and price behavior through a multi-factor calculat framework. مؤشر

Day Trade Setup - CRT Session Range ModelDay Trade Setup - CRT Session Range Model
Day Trade Setup - CRT Session Range Model is a session-based market framework designed to identify important intraday reference ranges and combine them with liquidity sweeps, M15 imbalance gaps, market structure levels, and supply or demand zones.
The script is designed to help traders organize intraday price action around selected H1 session ranges. Instead of displaying isolated signals, it creates a structured map of the current setup, including the range high, range low, 50% midpoint, nearby liquidity events, and relevant M15 reference areas.
Core Concept
The indicator analyses predefined H1 trading periods and selects the most significant candle within each session window using a weighted candle score.
The score considers:
Candle body size
Upper and lower wick size
User-defined body weighting
User-defined wick weighting
The selected candle becomes the active session range. Its high, low, and 50% midpoint are then projected across the chart as reference levels.
The most recent valid session setup automatically becomes the active model.
Session Range Models
The indicator supports three session groups:
Dawn Range
The Dawn Range evaluates the H1 candles formed between 1:00 AM and 5:00 AM.
The script compares the five candles and selects the candle with the highest weighted body-and-wick score as the active range.
Morning Range
The Morning Range compares the 8:00 AM and 9:00 AM H1 candles.
The candle with the stronger weighted score becomes the active range.
Evening Range
The Evening Range compares the 8:00 PM and 9:00 PM H1 candles.
The stronger candle is selected as the active range.
Users can display one session model individually or enable all available sessions.
Active Range Display
When a new setup is selected, the indicator displays:
Session Range High
Session Range Low
50% midpoint
Session and hour label
Continuously extending reference lines
The 50% level helps divide the selected range into upper and lower halves, providing a visual reference for premium and discount areas within the setup.
The script replaces the previous active range when a newer valid session setup is confirmed.
Liquidity Sweep Detection
The indicator includes an optional liquidity sweep module that monitors price interaction with the active range high and low.
A potential bearish liquidity sweep may be identified when price:
Trades above the active range high
Returns and closes below the range high
Meets the selected volatility, body, and upper-wick requirements
A potential bullish liquidity sweep may be identified when price:
Trades below the active range low
Returns and closes above the range low
Meets the selected volatility, body, and lower-wick requirements
The liquidity sweep filter also includes a cooldown period to reduce repeated labels appearing within a short number of bars.
These markers represent potential liquidity-rejection events and are not automatic entry signals.
M15 Imbalance Gap
The script can locate a recent bullish or bearish M15 imbalance gap that formed before the active session setup.
The imbalance module:
Searches the latest M15 gaps
Considers only gaps formed before the active setup
Supports bullish, bearish, or both gap types
Filters gaps using ATR-based minimum size
Can restrict results to gaps near the session range
Locks the selected gap when a new setup appears
Displays the gap boundaries and midpoint
Only a qualifying gap whose midpoint is outside the active session range is displayed.
This helps traders identify nearby price imbalances that may act as reaction areas or potential liquidity objectives.
M15 Structure Levels
The indicator identifies previously confirmed M15 swing highs and swing lows using pivot-based market structure.
For each new session setup, the script searches for:
A confirmed structure high above the session range
A confirmed structure low below the session range
Only structure points that formed before the active setup are considered.
The selected levels are extended across the chart and labelled as:
STRUCT-HIGH
STRUCT-LOW
These levels may be used as external liquidity references, breakout levels, or potential price objectives.
M15 Supply and Demand Zones
The indicator also includes a simplified M15 supply and demand zone module.
A potential demand zone is identified from a bearish candle followed by a bullish displacement above that candle’s high.
A potential supply zone is identified from a bullish candle followed by a bearish displacement below that candle’s low.
The script applies body-strength and optional ATR range filters before accepting a zone.
For a bullish session setup, the script searches for a qualifying demand zone positioned above the session range.
For a bearish session setup, the script searches for a qualifying supply zone positioned below the session range.
Only zones formed before the active setup are considered.
The selected zone is displayed with:
Zone boundaries
50% midpoint
M15 zone label
Automatic right-side extension
Multi-Timeframe Structure
The model combines information from multiple timeframes:
H1 for session-range selection
M15 for imbalance gaps
M15 for structure highs and lows
M15 for supply and demand zones
Current chart timeframe for liquidity-sweep confirmation and display
The M15 modules are intended for charts between 1 minute and 15 minutes. Their drawings are hidden automatically on timeframes above 15 minutes.
Alerts
The indicator includes alerts for:
A newly selected session setup
A qualifying M15 structure high
A qualifying M15 structure low
A selected demand zone
A selected supply zone
The new setup alert identifies the symbol, selected model, and setup hour.
Suggested Workflow
A possible workflow is:
Identify the active H1 session range.
Observe whether price is trading above or below the 50% midpoint.
Wait for price to interact with the session high or low.
Look for a qualifying liquidity sweep.
Review nearby M15 imbalance gaps.
Check external M15 structure levels.
Use the selected supply or demand zone as additional context.
Apply independent entry confirmation and risk management.
The script is intended to organize market context. It does not automatically calculate an entry price, Stop Loss, Take Profit, position size, or trade outcome.
Customization
Users can adjust:
Light or dark visual theme
Active session model
Candle body and wick weighting
Line width and label size
Range projection length
Liquidity-sweep quality filters
Sweep cooldown period
Gap direction and ATR filter
Gap proximity to the setup
Structure pivot length
Supply and demand zone strength
Zone distance from the setup
These settings allow the model to be adapted to different symbols, volatility conditions, and trading styles.
Limitations
The session model uses fixed H1 time windows based on the symbol’s exchange or chart time context. Users should verify that the displayed hours match their intended trading session.
Pivot-based structure levels require candles on both sides of the pivot before confirmation. As a result, structure levels appear after the turning point has already formed.
Liquidity sweeps, imbalance gaps, and supply or demand zones do not guarantee a price reversal or continuation.
The script displays selected technical reference areas only. It does not account for spread, commission, slippage, economic news, liquidity conditions, or broker execution.
Because the script uses multiple timeframe calculations, some elements may update only after the relevant H1 or M15 candle has completed.
Disclaimer
Day Trade Setup - CRT Session Range Model is provided for technical analysis and educational purposes only.
It does not constitute financial advice, investment advice, trade recommendations, or guaranteed trading results. The displayed ranges, sweeps, gaps, structure levels, and zones are technical reference areas and should not be used as standalone entry signals.
Users are responsible for independently evaluating market conditions and applying appropriate risk management before trading with real funds. مؤشر

Fair Value Gap Detector | AlphaScript⚡ Fair Value Gap Detector
Most fair value gap indicators mark every three-candle gap on the chart — including the weak, meaningless ones. This tool only marks FVGs created by genuine displacement: a strong-bodied move that signals real institutional participation. Fewer gaps, but the ones that matter.
💡 What a fair value gap is
A fair value gap (FVG) is a three-candle imbalance where price moved so quickly that it left an unfilled gap. In a bullish FVG, the low of the third candle sits above the high of the first — the middle candle's move was so strong it skipped a price range where little trading occurred. Price often returns to "fill" these gaps before continuing, which is why traders watch them as potential entry and reaction zones.
🎯 Why displacement matters
A gap alone is not significant, gaps form constantly, most from weak or random price action. What makes an FVG worth trading is displacement: the middle candle being a large, decisive move that leaves the gap behind. This tool measures the middle candle's body against ATR and only registers the FVG when that body is large enough to qualify as real displacement, and when it moved in the gap's direction. The result is a chart showing institutional-grade gaps instead of noise.
🔍 How detection works
On each confirmed three-candle sequence the tool checks:
A valid gap exists (third candle's low above first candle's high for bullish; third's high below first's low for bearish).
The gap is at least a minimum size, measured as a multiple of ATR, so it is instrument-independent.
The middle candle's body is a genuine displacement — at least a configurable multiple of ATR — and pushed in the gap's direction.
Only sequences passing all three become FVG zones. The displacement requirement can be turned off if you prefer the classic "any gap" behavior.
🟩 Mitigation tracking
Each FVG zone stays active until price fills it. You choose how a fill is counted:
Touch — the gap is mitigated when price reaches its midpoint (the 50% level, where FVGs often react).
Close — the gap is mitigated only when price closes fully through it.
A midline marks the 50% level of every zone.
🎨 Customization
Bullish and bearish fill colors and opacity, midline display, and how far zones extend to the right (a configurable number of bars, so zones don't run infinitely across the chart, or fully infinite if you prefer). Separate toggles for bullish and bearish zones.
📈 How to use it
Treat an active bullish FVG below price as a potential demand zone and an active bearish FVG above price as potential supply. Watch for price returning to a zone — especially the 50% midline — as a possible reaction point, in the direction of the displacement that created it. Because only displacement gaps are shown, each zone represents a move with real momentum behind it rather than a random imbalance. Combine with your own structure and bias — the tool marks the zones, you make the decisions.
🔔 Alerts
Bullish FVG formed, bearish FVG formed, and mitigation alerts when a zone is filled.
⚙️ Settings
ATR length and minimum gap size, displacement requirement and strength, mitigation mode, zone extension length, colors, opacity, midline, and per-direction display toggles.
📌 Notes
FVGs are detected on confirmed bars only and do not repaint intrabar. Detection strictness depends on the gap-size and displacement settings — tune them to your instrument and timeframe. A fair value gap marks an area of potential interest, not a guaranteed reaction — always combine with your own analysis and risk management.
مؤشر

Crypto Intraday Engine Crypto Intraday Engine is a market-structure indicator designed specifically for the continuous, 24-hour nature of cryptocurrency markets.
The script organizes intraday market information and answers three clear questions:
• What is the current market context?
• Where is price located relative to the nearest structural zones?
• What structural event is currently being observed?
The answers are displayed in a compact dashboard:
CONTEXT
LOCATION
STATUS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ ORIGINALITY AND PURPOSE
Crypto Intraday Engine combines four market concepts:
• UTC Daily VWAP;
• UTC Opening Range;
• ATR-adjusted zones based on confirmed pivots;
• closed-bar price-reaction observation.
These elements are not simply placed together on one chart as separate indicators. They operate as one connected analytical sequence.
VWAP defines the direction of the current market context.
Opening Range shows whether that context has gained additional intraday strength.
Confirmed pivot zones define the nearest structural location of price.
The reaction-observation mechanism describes what happens after price interacts with that zone.
The dashboard translates the entire sequence into three intuitive layers:
Context → Location → Status
The purpose of this combination is to help users analyze intraday structure through one consistent framework instead of interpreting several unrelated tools independently.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟡 UTC DAILY VWAP
The script calculates a volume-weighted average price from the beginning of each UTC day.
The calculation uses cumulative values of:
• HLC3 price;
• trading volume;
• time elapsed since 00:00 UTC.
Daily VWAP acts as the central reference for determining market context.
Cryptocurrency markets operate continuously and do not have one universal exchange session. Using 00:00 UTC provides a consistent daily reset that can be applied across different cryptocurrency instruments and exchanges.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌡 ATR-BASED NEUTRAL AREA
Price is not classified as Bullish or Bearish immediately after crossing VWAP.
The indicator creates a neutral area around Daily VWAP using a configurable multiple of Average True Range.
Default value: 0.20 ATR
This area adjusts to current volatility and reduces frequent context changes when price fluctuates close to VWAP.
The dashboard can display the following context states:
• Strong Bullish;
• Bullish;
• Neutral;
• Bearish;
• Strong Bearish.
Bullish context means that the closing price is above Daily VWAP and outside the ATR-based neutral area.
Bearish context means that the closing price is below Daily VWAP and outside the ATR-based neutral area.
Neutral context means that price remains within the volatility-adjusted area surrounding VWAP.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟧 UTC OPENING RANGE
The Opening Range is calculated from the first part of each UTC day.
Available periods:
• 15 minutes;
• 30 minutes;
• 60 minutes.
Default value: 30 minutes
Opening Range adds a second layer of information to the context defined by VWAP.
After the Opening Range is complete:
• Bullish context becomes Strong Bullish when price closes above the Opening Range high;
• Bearish context becomes Strong Bearish when price closes below the Opening Range low.
This makes it possible to distinguish a standard directional context from a situation in which price has also moved beyond the initial range of the UTC day.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 SUPPORT AND 🔴 RESISTANCE ZONES
Support and Resistance zones are created from confirmed pivot lows and pivot highs.
A pivot is confirmed only after the required number of candles has formed on both sides of the pivot point.
Support zones extend upward from confirmed pivot lows.
Resistance zones extend downward from confirmed pivot highs.
The vertical depth of each zone is calculated using ATR rather than a fixed number of price points.
Default zone depth: 0.60 ATR
This allows the zone dimensions to adapt to:
• different cryptocurrency prices;
• changes in market volatility;
• different intraday timeframes.
The script stores recent confirmed zones and displays:
• the nearest valid Support zone at or below the current price;
• the nearest valid Resistance zone at or above the current price.
A zone is removed when a candle closes beyond its outer boundary by more than the configured ATR buffer.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 PRICE LOCATION
The Location row shows where the current candle is positioned relative to the nearest valid structural zones.
Possible values:
• At Support;
• At Resistance;
• Between Zones;
• Compressed Area;
• No Zone.
This row helps users understand where price is located within the current market structure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
↔️ COMPRESSED AREAS
The indicator measures the distance between the nearest Support and Resistance zones.
When this distance is below the configured ATR threshold, the area is classified as compressed.
Default minimum distance: 0.25 ATR
Overlapping zones are also classified as a compressed area.
The dashboard displays:
Location: Compressed Area
Status: Zones Close Together
This status indicates that the nearest structural boundaries are located within a relatively narrow range adjusted for current volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔎 CLOSED-BAR REACTION OBSERVATION
The script contains a sequential mechanism for observing price behavior after price reaches a structural zone.
Support observation
Observation of a Support zone can begin when:
• the market context is Bullish;
• price reaches the nearest Support zone;
• Support and Resistance are not in a compressed area;
• the zone has not already been evaluated by the algorithm.
A Support Reaction is detected when a subsequent closed candle returns above:
• the upper boundary of the Support zone;
• UTC Daily VWAP.
Resistance observation
The opposite conditions are applied to Resistance zones.
Observation can begin when:
• the market context is Bearish;
• price reaches the nearest Resistance zone;
• Support and Resistance are not in a compressed area;
• the zone has not already been evaluated by the algorithm.
A Resistance Reaction is detected when a subsequent closed candle returns below:
• the lower boundary of the Resistance zone;
• UTC Daily VWAP.
The number of candles available for observation is controlled by the Reaction Observation Window parameter.
Default value: 3 closed candles
Each zone is evaluated once. This prevents the same structural area from repeatedly generating identical states.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 INDICATOR DASHBOARD
The dashboard is designed to be read from top to bottom.
🧭 CONTEXT
Shows the directional relationship between:
• closing price;
• UTC Daily VWAP;
• the ATR-based neutral area;
• the completed Opening Range.
Possible values:
• Strong Bullish;
• Bullish;
• Neutral;
• Bearish;
• Strong Bearish.
📍 LOCATION
Shows the position of price relative to the nearest valid zones.
Possible values:
• At Support;
• At Resistance;
• Between Zones;
• Compressed Area;
• No Zone.
🔎 STATUS
Describes the current structural condition or observation stage.
Possible states include:
• Monitoring Market;
• Monitoring Support;
• Monitoring Resistance;
• Observing Support Reaction;
• Observing Resistance Reaction;
• Support Reaction Detected;
• Resistance Reaction Detected;
• Bullish Context at Resistance;
• Bearish Context at Support;
• Zones Close Together;
• Context Changed;
• Zone Invalidated;
• Reaction Window Expired;
• Support Already Evaluated;
• Resistance Already Evaluated.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 COLOR LOGIC
Dashboard colors are used to visually separate different types of information:
• Green identifies Bullish context or Support;
• Red identifies Bearish context or Resistance;
• Blue identifies active observation or a detected reaction;
• Orange identifies a change, compression, or structural warning;
• Gray identifies a neutral monitoring state.
The color system helps users read the dashboard more quickly and distinguish between different categories of information.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛠 HOW TO USE THE INDICATOR
Crypto Intraday Engine is designed for standard candlestick charts of cryptocurrency pairs.
Recommended timeframe range: 3 to 15 minutes
A 5-minute chart is a practical starting point for observing the complete indicator workflow.
Read the dashboard in the following order:
1. Context shows the broader intraday environment.
2. Location shows where price is positioned relative to the nearest structure.
3. Status describes the structural event currently being observed or already detected.
The chart displays:
• UTC Daily VWAP;
• UTC Opening Range;
• the nearest Support zone;
• the nearest Resistance zone;
• a compact informational dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ INPUTS
OPENING RANGE, MINUTES
Defines the duration of the Opening Range calculated from 00:00 UTC.
Available values:
• 15;
• 30;
• 60.
ATR LENGTH
Defines the Average True Range period used to calculate volatility-adjusted distances and zone dimensions.
PIVOT LEFT AND PIVOT RIGHT
Define how many candles must form to the left and right of a pivot before it is confirmed.
Higher values generally create fewer zones while making them broader and more structurally significant.
Lower values generally create more frequent local zones.
ZONE DEPTH, ATR
Defines the vertical depth of Support and Resistance zones.
ZONE INVALIDATION BUFFER, ATR
Defines how far a candle must close beyond a zone boundary before that zone is removed.
MINIMUM GAP BETWEEN ZONES, ATR
Defines the distance at which the nearest Support and Resistance zones are classified as a compressed area.
VWAP NEUTRAL DISTANCE, ATR
Defines the size of the neutral area surrounding UTC Daily VWAP.
REACTION OBSERVATION WINDOW
Defines the number of closed candles during which a reaction is observed after price reaches a structural zone.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏱ CONFIRMATION AND REAL-TIME BEHAVIOR
Dashboard values and reaction events are updated using closed candles.
Pivot zones require confirmation.
A zone appears only after the configured number of Pivot Right candles has completed.
The zone is visually anchored to the original pivot candle, but in real time it becomes available only after confirmation.
This is important to consider when reviewing historical charts.
Daily VWAP and Opening Range reset at 00:00 UTC.
Support and Resistance zones do not automatically reset at the beginning of a new UTC day.
They remain available until:
• price invalidates the zone;
• the zone is removed because of the internal zone-storage limit.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS
Crypto Intraday Engine uses mechanical definitions of:
• market context;
• confirmed pivots;
• Support and Resistance zones;
• zone-removal conditions;
• structural reactions.
These definitions may differ from a user’s discretionary interpretation of market structure.
A detected reaction means that the predefined closed-bar conditions have been met.
Subsequent price behavior may differ depending on the instrument, timeframe, liquidity, exchange, and current market volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 INFORMATIONAL ALERTS
Available alerts correspond to structural events:
• price reached a Support zone;
• price reached a Resistance zone;
• Support Reaction Detected;
• Resistance Reaction Detected;
• Context Changed;
• Zone Invalidated;
• Reaction Window Expired;
• Zones Close Together.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📘 SUMMARY
Crypto Intraday Engine brings intraday context, structural price location, and closed-bar reactions together in one consistent, sequential, and visually intuitive framework for analyzing cryptocurrency markets. مؤشر

Opening Range Formation Trace - ORB & Initial BalanceOpening Range Formation Trace is an intraday research indicator that records a configurable opening range, preserves the chronology of its formation, and tracks neutral post-range evidence after the range is complete.
It is intended for users who want to study more than the final opening-range high and low. The script focuses on how the range was built, when its extremes formed, how efficiently price traveled during the opening window, and what occurred after the range locked.
The default opening-range duration is 15 minutes. Setting Range duration to 60 minutes provides an Initial Balance-style workflow.
Session configuration
The script includes reference presets for:
- US equities open
- Tokyo cash open
- London cash open
- CME equity regular trading hours
- Exchange-time opening
- Custom IANA timezone and opening time
The opening time, duration, active weekdays, projection period, and sampling resolution are configurable.
Session presets are editable reference anchors. They are not an exchange holiday or early-close calendar. Users should confirm that the selected opening time and chart session match the instrument being studied.
What makes this implementation distinct
Cumulative formation trace
A conventional opening-range display normally shows only the completed high and low. This script also preserves cumulative high-low envelopes at configurable elapsed-time checkpoints during the opening window.
Each trace slice shows the range that had been reached by that point in time. The slices are cumulative and are not treated as independent mini-ranges.
The trace colors distinguish whether a checkpoint added:
- Upper-side expansion
- Lower-side expansion
- Expansion on both sides
- No new final extreme
This makes it possible to inspect whether the opening range developed through an early directional move, alternating expansion, late acceleration, or rotation.
Independent research checkpoints
The visual trace can use between two and eight time slices. Formation classification does not depend on the selected number of visual slices.
Classification uses separate fixed research checkpoints:
- The halfway point of the opening-range duration
- A user-configurable early checkpoint
This separation allows users to change visual detail without unintentionally changing the definition of the formation classification.
Opening-range measurements
The script calculates the following transparent measurements:
Opening-range width
The completed high-low distance. It is available in native price units and as a percentage of the sampled opening price.
Width percentile
The current width is compared with prior complete opening ranges calculated from the same current configuration.
At least five prior complete observations are required before a percentile is displayed. Equal values receive a midpoint rank. The current observation is ranked before it is added to the comparison history.
The percentile is a relative description of recent opening-range width. It is not a probability of a breakout, target, or profitable result.
Sampled path efficiency
Path efficiency compares the absolute distance from the opening sample to the final sampled close with the cumulative sampled closing-price path traveled during the opening window.
A higher value indicates a more direct sampled path. A lower value indicates more back-and-forth movement.
Path efficiency is descriptive. It is not a confidence score or prediction.
Close location
Close location expresses where the final sampled close sits inside the completed range.
A value near zero is close to the range low. A value near one is close to the range high.
Expansion skew
Expansion skew compares the distance expanded above the opening price with the distance expanded below it.
Positive values indicate more upper-side expansion. Negative values indicate more lower-side expansion. Values near zero indicate more balanced expansion.
Late expansion share
Late expansion share measures how much of the final opening-range width was added after the halfway checkpoint.
This value describes when the range expanded. It does not forecast the next move.
Early checkpoint width share
This measures how much of the final width had already formed at the independent early checkpoint.
Final extreme order
The script records whether the final high or final low was first established earlier in the sampled sequence. When both final extremes are first observed in the same sampled interval, the order is reported as simultaneous rather than inventing a more precise sequence.
Formation classifications
Completed and non-partial opening ranges are assigned to one of eight descriptive formation states:
- Upper-led drive
- Lower-led drive
- Late upper expansion
- Late lower expansion
- Late two-sided expansion
- Rotational formation
- Two-sided formation
- Mixed formation
The classifications are derived from path efficiency, close location, expansion skew, late expansion share, and early checkpoint width share.
All classification thresholds are exposed as user inputs. The classifications are descriptive research labels and are not buy or sell signals.
Research equilibrium
The script can display one of four opening-range equilibrium references:
- Volume-weighted sampled HLC3
- Arithmetic mean of sampled HLC3
- Opening-range midpoint
- Sampled opening price
When usable volume is unavailable, the volume-weighted method falls back to the arithmetic mean of sampled HLC3.
Post-range evidence
After a complete opening range locks, the script can track a neutral sequence of observable events.
Accepted departure
The first accepted departure can occur above or below the completed range.
Users can define acceptance using:
- Sample close
- Sample wick
- A buffer measured as a fraction of the completed range
- A required number of consecutive samples
The word accepted refers only to this configurable operational definition. It does not claim institutional participation or predict continuation.
Re-entry
After the first accepted departure, the script records whether price returns through the departed range boundary.
Opposite-edge traverse
After re-entry, the script records whether a later sample reaches the opposite opening-range edge.
Re-entry and opposite-edge traversal are not credited from the same sampled interval. The opposite edge is evaluated only from a later sample so the script does not invent an intrabar order that the available data cannot prove.
Additional post-range observations include:
- Upper-edge test count
- Lower-edge test count
- Closing-sample dwell inside, above, and below the range
- Maximum upper reach measured in completed-range units
- Maximum lower reach measured in completed-range units
Visual research panel
The fixed research panel summarizes the rightmost relevant opening range in the current chart view.
It can display:
- Formation classification
- Width percentile
- Path efficiency
- Late expansion share
- Current post-range state
- Accepted-departure, re-entry, and traverse progression
- Upper and lower edge-test counts
- Maximum reach above and below the range
- Sampling or fallback resolution
The panel is a research summary. Its colors and state labels do not constitute trade instructions.
Realtime and historical behavior
The script is designed for standard intraday candlestick charts.
It intentionally disables processing on synthetic chart types and daily-or-higher charts because their price construction or session assumptions can make opening-range chronology ambiguous.
Lower-timeframe sampling can be selected from 1, 3, 5, or 15 minutes. When the selected sampling timeframe is higher than the chart timeframe, the chart timeframe is used instead.
During a live opening window, the developing high, low, trace, equilibrium, and panel can update as new completed samples become available. Developing values should therefore be treated as provisional until the configured range has ended.
The script does not request future data and does not use lookahead.
Historical lower-timeframe bars contain finalized OHLC values. They do not reproduce every update that occurred while those bars were live.
Visible chart adaptive mode
In Visible chart adaptive mode, the script uses the current chart viewport to prioritize opening-range sessions that intersect the displayed period. Scrolling or zooming causes the visual layer to be recalculated for the newly visible history.
Most recent sessions mode is also available for users who prefer a rolling, live-first display.
Confirmed chart-bar fallback
The amount of available lower-timeframe history depends on the symbol, chart history, and TradingView plan.
When lower-timeframe arrays are unavailable on older confirmed bars, the optional fallback can continue the study with confirmed chart-timeframe bars if the chart timeframe can fit inside the configured opening-range duration.
Fallback sessions are identified as coarse-resolution observations in the research panel. They should not be interpreted as having the same chronological precision as lower-timeframe sessions.
If the first available sample begins after the configured session open, the session is marked as partial. Formation classification, width-history inclusion, and post-range evidence are intentionally disabled for that incomplete session.
Alerts and Data Window outputs
Neutral alert conditions are available for:
- Opening range locked
- Accepted departure above
- Accepted departure below
- Range re-entry
- Opposite-edge traverse
The alert conditions describe observable events and are exposed on confirmed chart bars.
Research measurements are also available in the Data Window without adding values to the chart status line.
Suggested workflow
1. Use a standard intraday candlestick chart.
2. Select the session preset or custom timezone and opening time that match the intended research window.
3. Set the opening-range duration. Use 60 minutes for an Initial Balance-style study.
4. Select the finest practical sampling resolution available for the chart and instrument.
5. Review the formation trace before interpreting the completed classification.
6. Use the panel to compare width, path efficiency, late expansion, and the post-range event sequence.
7. Treat all readings as market-context observations and combine them with independent analysis and risk controls.
Limitations
The script does not maintain an official exchange calendar and does not automatically adjust for holidays or early closes.
Results depend on the selected session, duration, sampling timeframe, chart session, and classification thresholds.
Historical lower-timeframe availability varies by symbol and TradingView plan.
Coarse chart-bar fallback has lower chronological resolution than lower-timeframe sampling.
Volume-weighted equilibrium depends on the quality and meaning of the volume data supplied for the instrument.
Width percentile describes the script's available comparison sample and is not a probability of future behavior.
Formation classifications and post-range evidence describe observed price behavior. They do not guarantee continuation, reversal, support, resistance, or profitability.
The script does not place orders, calculate position size, generate targets or stops, produce a strategy backtest, or provide financial advice.
日本語説明
Opening Range Formation Traceは、設定した寄り付きレンジを記録し、そのレンジがどのような順序と速度で形成されたか、完成後に価格がどのように推移したかを研究するための日中足インジケーターです。
完成した高値と安値だけでなく、形成途中の累積高安、最終極値の記録順序、経路効率、上下拡張の偏り、後半拡張比率などを表示します。
既定の形成時間は15分です。形成時間を60分に設定すると、Initial Balance型の研究に使用できます。
セッション設定
以下の基準時刻プリセットを備えています。
- 米国株式市場
- 東京現物市場
- ロンドン現物市場
- CME株価指数RTH
- 取引所時間
- IANA時間帯と開始時刻を指定するカスタム設定
これらは編集可能な基準時刻です。取引所の祝日や短縮取引日を自動判定する公式カレンダーではありません。
累積形成トレース
形成時間を2から8個の経過時間区間に分け、各時点までに到達していた累積高値と累積安値を保存します。
各区間は独立した小レンジではありません。
色によって、上側拡張、下側拡張、両側拡張、新しい最終極値なしを区別します。
形成分類で使用する50%地点と初動チェックポイントは、表示トレースの分割数から独立しています。そのため、表示の細かさを変更しても分類定義が意図せず変化しません。
主な研究値
レンジ幅
完成した高値と安値の差です。価格単位と始値比率で確認できます。
幅パーセンタイル
現在の設定で計算された過去の完全なレンジ幅と比較します。
表示には最低5件の過去観測が必要です。同値は中間順位として扱い、現在値を履歴へ追加する前に順位を計算します。
この順位は過去レンジ幅に対する相対位置であり、ブレイクや利益の確率ではありません。
経路効率
寄り付きサンプルからレンジ内最終終値までの純移動距離を、形成中に終値が移動した累積経路で割った値です。
高い値は比較的直接的な経路、低い値は往復の多い経路を示します。予測の信頼度ではありません。
終値位置
完成レンジ内での最終終値位置を0から1で表します。
拡張偏り
始値より上へ拡張した距離と、始値より下へ拡張した距離を比較します。
後半拡張比率
形成時間の50%地点以降に追加された最終レンジ幅の比率です。
初動幅比率
ユーザー指定の初動チェックポイント時点で、最終レンジ幅の何割が既に形成されていたかを示します。
形成分類
完全なレンジを以下の8状態へ分類します。
- 上側主導ドライブ
- 下側主導ドライブ
- 後半上側拡張
- 後半下側拡張
- 後半両側拡張
- 回転型形成
- 両側形成
- 混合形成
分類は経路効率、終値位置、拡張偏り、後半拡張比率、初動幅比率から判定します。
すべての基準値をユーザーが変更できます。分類は研究用の記述であり、売買シグナルではありません。
レンジ後の検証
レンジ完成後は、以下の順序を中立的に記録します。
受容離脱
完成レンジの上側または下側への最初の受容離脱です。
終値またはヒゲ、レンジ幅に対する余白、必要な連続サンプル数を設定できます。
受容という言葉は、この設定による操作的な判定だけを意味します。機関投資家の参加や継続を保証するものではありません。
再侵入
最初の受容離脱後に、価格が離脱したレンジ境界を通って戻ったかを記録します。
反対端到達
再侵入後の、より後のサンプルで反対側のレンジ端へ到達したかを記録します。
再侵入と反対端到達を同一サンプルから同時に認定せず、利用可能なデータから証明できない時系列を作らない設計です。
上端と下端のテスト回数、レンジ内外の終値滞在比率、レンジ幅を1Rとした上下最大到達量も記録します。
リアルタイムと過去表示
標準の日中足ローソク足チャートを対象としています。
合成足および日足以上では、セッション時系列が曖昧になるため処理を停止します。
サンプリング足は1分、3分、5分、15分から選択できます。
リアルタイムのレンジ形成中は、新しい確定サンプルに応じて高値、安値、トレース、均衡値、研究パネルが更新されます。形成終了までは発展中の値として扱ってください。
将来データやlookaheadは使用しません。
表示中チャート適応モードでは、スクロールまたはズームした期間と交差する過去セッションを優先して再描画します。
古い履歴で下位足を取得できない場合、条件を満たす確定チャート足を使うフォールバックを選択できます。フォールバックを使用したセッションは、研究パネルで粗い解像度として明示します。
開始前半のデータがないセッションは不完全レンジとして表示し、形成分類、幅履歴への追加、レンジ後検証を停止します。
制限事項
取引所の祝日や短縮取引日を自動判定しません。
結果はセッション、形成時間、サンプリング足、チャートセッション、分類しきい値によって変わります。
利用できる下位足履歴は、銘柄、履歴量、TradingViewプランによって異なります。
チャート足フォールバックは、下位足処理よりも時系列解像度が低くなります。
出来高加重均衡値は、銘柄から提供される出来高データの品質に依存します。
幅パーセンタイルは利用可能な過去標本内の順位であり、将来の確率ではありません。
形成分類とレンジ後イベントは観測された値動きを記述するものであり、継続、反転、支持、抵抗、利益を保証しません。
このインジケーターは注文、ポジションサイズ、利益目標、損切り、ストラテジーバックテストを提供せず、金融助言を行うものではありません。 مؤشر
