Volatility Regime Classifier [AFD]
**What it does**
It answers one question: *is this symbol moving more, or less, than it usually does?*
It measures how far this symbol's own bars have been travelling, ranks that against its recent history, and states the answer as a percentile from 0 to 100 plus a named tier — **QUIET**, **NORMAL**, **ELEVATED** or **EXTREME**. Alongside it you get how the recent stretch compares with the longer one, whether the reading is rising or falling, and a plain-English line saying what that amounts to.
Everything comes from the chart you have open. No VIX, no options data, no implied volatility, no other symbol, and no `request.*()` call of any kind — so it behaves the same on a currency pair, a small-cap, a future or a crypto chart, none of which have an index volatility proxy to borrow.
**How it works**
Realized volatility is measured over three rolling windows — short, mid and long — and one **Sensitivity** setting picks them: Fast 5/15/30, Normal 10/30/60, Slow 20/60/120. Fast is the default.
Four estimators, and this choice matters more than any other setting:
- **Parkinson** (default) — reads the bar's high-low range.
- **Garman-Klass** — reads the range and the open-to-close move.
- **Close-to-close** — reads the dispersion of returns.
- **ATR** — a plain N-bar average of true range. **Not Wilder's smoothing**, so it will
not match PulseWire's built-in ATR at the same length. Deliberate, not a bug.
Parkinson is the default because of a specific failure of the close-to-close default it replaced. Close-to-close measures how *scattered* returns are; a chart reader measures how *far* price went. A clean one-way slide has every return pointing the same way, so its dispersion is genuinely low — and a choppy bounce covering the same ground scores higher than the slide did. Range-based estimators read what the eye reads.
The short-window reading is ranked against the last **400 bars** to give the percentile, and the tier follows from that rank with a **band around each boundary**, so a reading parked on a threshold does not flip back and forth on sampling noise. The panel tells you when the band is holding a tier back.
There is a second route into EXTREME, and it exists because a percentile is self-normalising: roughly a tenth of all bars sit in the top tier however quiet the year has actually been. So a bar is also called EXTREME when the short window reaches a set multiple of the long one, whatever its rank. The multiple differs per estimator, because the four do not put that ratio on the same scale.
On intraday charts the **session-gap return is excluded**. It spans a close and the next open, so it is not a return over one bar of trading, and leaving it in made every session open read as a volatility event that never happened. It is dropped, not zeroed.
**How to use it**
Add it and read the dashboard. It starts compact at four rows; switch **Compact dashboard** off for the full nine, which name every window, bound and setting actually in force rather than the defaults. Hover the marker at the end of the line for a glossary of every number, also built from your current settings.
- **The percentile line** in the lower pane, tier zones shaded behind it.
- **Price-chart markers** — the bar column painted when a tier you have chosen is reached, or a box spanning the whole episode. EXTREME is marked by default; QUIET, NORMAL, ELEVATED and RISING are all available, and a marked tier always beats RISING so an overlapping bar's colour is never an accident of ordering.
- **The market context box** on the price chart, at the corner you pick or off. A headline names the character of the tape — `RANGE EXPANDING`, `RANGE COMPRESSING`, `WIDE AND HOLDING` and eight others — over a line naming what to re-check, a line stating what the short-to-long ratio amounts to in words, and a standing line reading **`Size only - this says nothing about direction.`**
That last line has no off switch, and the vocabulary above it never uses the words "up or "down". `EXPANDING` is equally what a hard rally and a hard sell-off look like.
**Three alerts**, all evaluated on confirmed bars only: the regime tier changed, the short-vs-baseline state changed, and the EXTREME tier was entered.
**Repainting**
The script reads nothing but the current chart's own bars. There are no `request.*()` calls, no higher-timeframe data and no `barmerge.lookahead_on` anywhere in it, so there is no future data for it to borrow. Once a bar closes, its reading is settled and does not change afterwards.
The bar still forming is the ordinary exception, and it is worth being explicit about: its high, low and close are still moving, so the reading on it moves too, and the tier on the live bar can change before the bar is done. The three alert conditions are gated to confirmed bars for that reason. Drawn elements — the panel, the context box, the episode box — are drawn at the last bar and update with it.
**Why it is original**
It is built for the **Pine Screener**, which is unusual in this category. The first ten plots are the contract — percentile, tier code, ratio, short-vs-baseline code, acceleration tier, regime-changed flag, the two raw RV levels, the percentile's sample count, and a flag saying whether the outputs are fully defined — so you can rank or filter a whole watchlist by volatility regime instead of reading one chart at a time. Zero `request.*()` calls, and the warmup is sized to fit the Screener's 500-bar window.
The other difference is that **the regime is a number, not a colour.** The visual layer is drawn *from* the percentile and never replaces it; every tinted panel row still states its value in words, and the whole visual layer switches off without a single reported number changing.
**Limitations**
- **It says nothing about direction, and it is not a signal.** No entries, no exits, no targets, no probability, win-rate or expectancy language anywhere in the script. It describes what has already happened on the chart in front of you.
- **It needs history.** At the default Fast preset the percentile is undefined until bar 404 and shows blank until then. The size-based EXTREME route is defined from bar 30, so **a bar can legitimately show an EXTREME tier beside a blank percentile row** — the panel says which is which, and the `Outputs fully defined` plot flags it.
- **A percentile is relative to this symbol's own recent history.** QUIET on one instrument and QUIET on another are not the same absolute amount of movement. The panel carries the absolute RV level next to the rank for exactly this reason.
- **ATR here is a simple average, not Wilder's**, as above.
**Licence:** Mozilla Public License 2.0. Indicator

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.
Indicator

Body Close Break Planner [AGPro Series]TITLE
Body Close Break Planner
🧠 Core Idea
Did price break structure with real body-close acceptance, or was the move only a wick event with weak commitment?
📌 Overview / What it does
Body Close Break Planner is built to evaluate whether a structure break is being accepted with real candle-body commitment. Instead of reacting to every wick beyond a prior high or low, the script focuses on closes that actually establish acceptance beyond the rail.
The script maps the body break rail, an acceptance pocket, a retest shelf, a failure rail, and a first target-room reference. It also adds event labels, right-side tags, and a compact AG Pro panel that summarizes the quality of the active break with a 0-100 Body Break Score.
This script does not predict trend continuation, automate entries, or treat every breakout as valid. It is a rule-based analytical and visualization tool that helps users separate real body-close structure acceptance from weaker noise-driven break attempts.
🎯 Purpose & Design Philosophy
This script was built to solve a very common structural problem: many breakout candles look convincing in the moment, but the move fails because the market never achieved real closing acceptance beyond the level.
The tool was designed for traders who want to evaluate whether a break has genuine body-based commitment, whether the first retest is constructive, and where the structure fails if acceptance is lost.
The mindset behind the script is selective, disciplined, and evidence-based. It supports traders who want to read acceptance quality rather than react to every temporary excursion beyond a level.
⚡ Why This Script Is Different
Most breakout tools focus on level crossing, wick penetration, or generic break-and-retest behavior.
This script does NOT treat every breach of structure as a meaningful breakout.
Instead, it asks whether the move closed through structure with enough body commitment, whether price is still being accepted beyond the rail, whether the retest shelf improves the setup, and whether the move still has room before it becomes extended or fails.
⚙️ Methodology
1. Context Detection
The script maps recent structure highs and lows, then checks whether price closes beyond them with enough candle-body commitment and range expansion.
2. Reference Mapping
Once a valid body-close break is confirmed, the script locks the broken rail, builds an acceptance pocket, marks a retest shelf, and defines a failure line plus a first target-room reference.
3. Reaction Evaluation
Price is then reviewed against the body-break rail and the retest shelf. The script checks whether the move is still accepted, whether the retest improves the structure, or whether the breakout falls back through the failure boundary.
4. Visual Output
The final output includes the acceptance pocket, body-break rail, retest shelf, failure rail, room line, event labels, right-side tags, and dashboard panel.
🗺️ How to Read the Chart
Zones:
The acceptance pocket represents the active post-break area where structure acceptance is being judged.
Labels:
Labels identify new bullish or bearish body-close breaks, accepted structure, retest-ready behavior, target review, and failed breaks.
Colors:
Teal represents stronger constructive break behavior.
Pink represents bearish or failed context.
Gold represents review areas such as target-room interaction.
Indigo represents the main body-break rail.
Panel:
The panel summarizes the active break type, the Body Break Score, current acceptance quality, available room, and the current action state.
🚦 Signals & States
• Bull Break → A bullish body-close structure break has been detected.
• Bear Break → A bearish body-close structure break has been detected.
• Body Accepted → Price is still being accepted beyond the broken structure rail.
• Retest Ready → Price interacted with the retest shelf constructively and the setup quality improved.
• Target Review → The first projected room reference has been reached and context should be reassessed.
• Failed → Price moved back through the failure boundary and the break is no longer structurally clean.
• Wait Break → No valid active body-close break exists.
• Expired → The break is too old to remain active within the current framework.
🔔 Alerts Logic
Alerts can trigger when a new bullish or bearish body-close break is detected, when structure remains accepted, when a retest shelf strengthens the setup, when target room is reached, or when the break fails.
Alerts are attention markers only. They highlight structural events inside the script logic. They are not trade instructions, automated entries, or guarantees of follow-through.
🧩 Confluence Logic
The context becomes stronger when multiple conditions align together.
For example, a structure break with a strong body ratio, clean range expansion, stable hold beyond the break rail, and a constructive retest shelf interaction is much stronger than a shallow close that immediately falls back into the old range.
When body commitment, breakout range, retest quality, and available room align together, the context becomes structurally more reliable.
📊 When to Use
• Breakout or breakdown environments where close quality matters
• Markets with clean price structure and readable swing levels
• Crypto, forex, indices, and liquid stocks
• 1H, 4H, and 1D chart review
• Situations where wick-only breaks create repeated false positives
⚠️ When NOT to Use
• Illiquid markets with distorted price prints
• Extremely noisy sessions with poor candle quality
• Very low-range environments where closes carry little structural information
• Symbols dominated by gaps or erratic price jumps
• Conditions where the market repeatedly overshoots levels without clean follow-through
🎛️ Key Inputs
• Structure Lookback → Controls how recent highs and lows are mapped
• Minimum Range Ratio → Controls how much expansion is required before a break qualifies
• Minimum Body / Range → Filters out weak closes and wick-dominant candles
• Close Buffer ATR → Controls how far beyond structure the close must finish
• Acceptance Pocket ATR → Controls the depth of the post-break pocket
• Retest Shelf Buffer → Controls how shelf interactions are interpreted
• Failure Buffer ATR → Controls where the active break becomes invalid
• Visual Settings → Control labels, panel location, theme, font size, and optional chart styling
🖥️ Interface & Visual Design
The interface is designed to answer one question quickly: is this break actually being accepted?
The panel creates a clean information hierarchy so the user can understand break state, score, room, and current action without reading every chart element manually. The chart layer keeps the acceptance pocket, body-break rail, failure line, and room reference readable without overwhelming candles.
The visual intent is professional, premium, and publication-friendly rather than decorative.
🧪 Practical Usage Workflow
1. Read the panel to confirm whether a valid body-close break is active
2. Check the body-break rail and acceptance pocket
3. Evaluate whether price is simply holding or whether the retest shelf improved the structure
4. Review room to the target reference and distance to failure
5. Use labels and tags as context markers, not as direct commands
🔍 Interpretation Guidelines
A stronger score suggests better body commitment, healthier range expansion, and more reliable post-break structure.
A Body Accepted state means price is still holding beyond the broken rail, but it does not automatically mean the move is early or low-risk.
A Retest Ready state suggests the market pulled back in a controlled way and defended the structure more convincingly.
A Target Review state suggests that the first projected room objective has already been reached and the context should be reassessed rather than assumed to continue indefinitely.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an automated trading system.
This script does not place orders.
This script does not guarantee continuation, retest success, target reach, or profitability.
⚠️ Limitations & Transparency
This script is rule-based and depends on the quality of the underlying market structure.
Different timeframes can produce very different break quality profiles. In high-volatility or low-liquidity conditions, candle closes may appear meaningful while still failing quickly. In some markets, wick behavior may remain important even when the body-close break model is intentionally strict.
Outputs should always be interpreted within broader market context rather than in isolation.
🧠 Market Context Notes
Body-close acceptance often matters most around obvious swing highs, swing lows, range edges, and post-compression expansion points.
A wick beyond structure can attract attention, but a true close beyond structure often tells a more reliable story about commitment. Even so, not every accepted break becomes a trend. Some become retest traps, and some run directly into higher-timeframe resistance or support.
🧾 Use Case Examples
Example 1:
Price closes above a well-defined swing high with a strong body and good expansion. The script marks a bull break, builds the acceptance pocket, and later upgrades the context when the retest shelf holds.
Example 2:
Price breaks below a swing low with body commitment, but then quickly closes back through the failure boundary. The script marks the break as failed, signaling that the downside acceptance did not hold.
Example 3:
A strong body-close break remains accepted and quickly reaches the first target-room line. The script marks target review, reminding the user to reassess efficiency and extension.
🧱 System Philosophy
AGPro Series tools are built as decision-support frameworks, not generic signal generators.
The philosophy here is to reward quality over noise: stronger closes, cleaner acceptance, clearer structure, and more readable post-break behavior.
🔐 Non-Promise Statement
This script does not promise certainty.
It does not promise that a body-close break will continue, hold, retest cleanly, or reach its projected room. It only organizes the structure so the user can evaluate the break with more discipline and clarity.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and any analytical tool can become less reliable under shifting volatility, liquidity, or structural conditions. Users remain fully responsible for their own decisions, execution, and risk management.
This script is for educational and analytical purposes only. It does not provide financial advice.
📚 Educational Note
This tool is most effective when combined with broader market structure, liquidity awareness, and disciplined trade management.
It is designed to improve interpretation quality, not to replace critical thinking.
Indicator

Prior Close Reclaim Planner [AGPro Series]Prior Close Reclaim Planner
🧠 Core Idea
Is the prior close being reclaimed, rejected, or treated as a live magnet by the current market?
📌 Overview / What it does
Prior Close Reclaim Planner maps the completed prior close as a live support/resistance reference and evaluates how price reacts around that level.
The script displays a prior-close rail, an ATR-based reclaim pocket, reclaim labels, rejection labels, magnet-zone labels, right-side reference tags, and a compact AG Pro dashboard with a 0-100 reclaim score.
It does not predict where price will go next. It helps organize the reaction around the previous close: reclaim quality, rejection pressure, magnet risk, rail state, and action context.
🎯 Purpose & Design Philosophy
The previous close is one of the simplest reference levels on a chart, but it is often read too casually.
This script was built to turn that reference into a structured planning map. It helps traders see whether the prior close is acting as support, resistance, a magnet, or a failed reclaim zone.
The design supports a patient decision-support mindset: read the rail, evaluate the reaction, check the score, and place the output inside broader market context.
⚡ Why This Script Is Different
Most tools draw a prior close line and stop there.
This script does NOT treat the prior close as a passive horizontal level.
Instead, it builds an active reclaim planner with a pocket, reaction labels, magnet context, relative-volume support, volatility fit, a readiness score, and a clear action state.
⚙️ Methodology
1. Prior Close Detection
The script sources the completed prior close from the selected reference timeframe. Daily is the default setting for previous-session analysis.
2. Reclaim Pocket Mapping
An ATR-based pocket is created above and below the prior close. This pocket is used to avoid overreacting to tiny ticks around the rail.
3. Reaction Evaluation
The script evaluates close location, wick response, relative volume, distance from the rail, and volatility fit.
4. Visual Output
The chart receives the rail, pocket, labels, right-side tags, bar coloring if enabled, and a dashboard panel summarizing the current state.
🗺️ How to Read the Chart
The central rail shows the completed prior close.
The pocket around the rail shows where reclaim and rejection behavior is evaluated.
Labels highlight bullish reclaim, bearish reclaim, rail defense, rail rejection, magnet-zone entries, and failed reclaim behavior.
Colors represent context:
• Teal → bullish reclaim or defense
• Pink → bearish reclaim or rejection
• Gold → neutral or waiting context
• Indigo → magnet or monitoring context
The panel summarizes:
• Prior Close
• Reclaim Score
• Magnet Risk
• Rail State
• Action
🚦 Signals & States
• Bull Prior Close Reclaim → price closed above the reclaim pocket
• Bear Prior Close Reclaim → price closed below the reclaim pocket
• Rail Defense → price tested the pocket and closed back above it
• Rail Rejection → price tested the pocket and closed back below it
• Magnet Zone → price is close enough to the prior close to treat the rail as active
• Invalidated → a reclaim attempt failed back through the prior-close rail
• READY → reclaim/rejection quality is strong enough to monitor
• MONITOR → price is near the rail, but conditions are not fully ready
• WAIT → no strong prior-close reaction is active
🔔 Alerts Logic
Alerts can trigger when price reclaims the prior close pocket, rejects the pocket, enters the magnet zone, reaches READY conditions, or invalidates a reclaim attempt.
Alerts are attention markers only. They are not trade instructions.
🧩 Confluence Logic
The prior-close context becomes stronger when close location, wick response, relative volume, volatility fit, and distance from the rail align.
For example, a reclaim with strong close quality, acceptable volume, and controlled distance from the rail is more structured than a weak close far from the reference.
📊 When to Use
• Intraday trading around the previous session close
• Session reclaim or rejection analysis
• Support/resistance reaction planning
• Trending markets that retest the prior close
• Range conditions where the prior close acts as a magnet
• Liquid symbols with readable candles and stable spreads
⚠️ When NOT to Use
• Very low-liquidity markets
• Symbols with unreliable session structure
• Extremely noisy chop around the rail
• News candles with unstable spreads
• Markets where the selected reference timeframe is not meaningful
🎛️ Key Inputs
• Reference Timeframe → controls where the completed prior close comes from
• Reclaim Pocket ATR → controls the width of the reaction pocket around the rail
• Magnet Distance ATR → controls when price is treated as close enough to the rail
• Minimum Ready Score → controls the score required for READY state
• Relative Volume Length → controls participation comparison
• Confirmation Mode → controls how strict reclaim/rejection evaluation should be
• Visual settings → control rails, pockets, labels, tags, bar colors, and dashboard behavior
🖥️ Interface & Visual Design
The interface is built for fast chart reading.
The prior close rail creates the main reference, the pocket defines the active reaction area, labels mark important events, and the panel compresses the state into a clean decision-support dashboard.
The goal is a premium, readable chart without turning the prior close into a cluttered signal board.
🧪 Practical Usage Workflow
1. Read the panel action state
2. Check whether price is above, below, or inside the prior-close pocket
3. Evaluate reclaim or rejection labels
4. Compare score quality with magnet risk
5. Confirm the context with broader structure, volume, and timeframe alignment
🔍 Interpretation Guidelines
A READY state means the prior-close reaction has enough structure to monitor.
Magnet risk means price is still close enough to the rail for the prior close to matter.
A reclaim label means the market crossed beyond the pocket, not that continuation is guaranteed.
A rejection or defense label means price reacted at the rail, but the broader trend and volatility context still matter.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a guaranteed prior-close trading system.
It is not an automated trading tool.
It does not provide financial advice.
It does not guarantee continuation, reversal, profit, or a specific target.
⚠️ Limitations & Transparency
Prior-close behavior depends on market structure, volatility, liquidity, session design, and timeframe.
Different symbols may treat the previous close differently.
Very noisy markets can trigger frequent pocket interactions.
The score is a rule-based context score, not a certainty model.
🧠 Market Context Notes
The prior close often acts as a memory level.
When price reclaims it with participation, the rail may become a useful support/resistance reference.
When price repeatedly returns to it without follow-through, the rail may behave more like a magnet than a directional level.
🧾 Use Case Examples
When price opens below the prior close and later reclaims the pocket, the script marks the reclaim and scores the quality of the reaction.
When price tests the prior close from above and closes back above the pocket, the script can mark rail defense.
When price stays close to the rail without clean displacement, the panel can shift toward MONITOR instead of forcing a directional read.
🧱 System Philosophy
This script follows the AGPro Series approach: turn a familiar chart reference into a structured decision-support map.
The focus is not prediction. The focus is context, quality, invalidation awareness, and visual clarity.
🔐 Non-Promise Statement
No script can remove uncertainty from markets.
This tool does not promise accuracy, profitability, or future price movement.
Its purpose is to organize prior-close context so the user can interpret the chart more clearly.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and any analytical output can fail.
Users are responsible for their own decisions, risk management, and trade execution.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use the prior close as a reference, not as an automatic decision.
The best reads usually come when the rail reaction aligns with structure, liquidity, volume, and the broader market environment.
Indicator

Reference Price Operating Map [AGPro Series]Reference Price Operating Map
🔹 OVERVIEW
Reference Price Operating Map is a focused overlay that consolidates the four most universally watched reference prices — Daily Open, Weekly Open, Monthly Open, and Previous Close — into a single operating map. It tracks how price interacts with each level in real time, attributes control to the reference currently leading price action, groups overlapping references into confluence clusters, and fades distant context so the active map stays clean.
The chart answers one direct question at a glance: which reference is controlling the session right now.
Built for intraday operators, swing traders, and position traders who anchor their bias to session and period opens. Works on any symbol and any intraday or daily timeframe.
🔸 WHAT MAKES IT DIFFERENT
Most open-line indicators simply draw horizontal lines for Daily, Weekly, Monthly, and Previous Close and stop there. This script goes further by adding four layers on top of those lines:
• State tracking — each reference is classified as Untouched, 1st Touch, Tested, Held, Reclaimed, or Rejected, and the state updates bar by bar as price interacts with the level.
• Control attribution — a proximity-weighted scoring system selects one reference as the current "controller" of price action, highlighted with a dominant-row background in the panel and a thicker line on the chart.
• Confluence grouping — when two or more references sit within 0.5 ATR of each other, they collapse into a single cluster label (for example "D-Open + W-Open + PClose") instead of stacking separate labels on top of each other.
• Distance-aware rendering — references far from current price are demoted to a thin gray zone with a dotted line, keeping them visible as structural context without crowding the active map.
The engine also includes a far-aware state machine: references that price has not meaningfully engaged stay in the Untouched state instead of being forced into misleading classifications.
🔷 METHODOLOGY
Reference levels are pulled directly from the higher timeframe open (Daily, Weekly, Monthly) and the previous daily close using lookahead-safe security calls on confirmed bars.
Distance classification uses ATR(14) as a volatility scale. A reference is considered "near" when price is within a configurable ATR multiple and "far" when it exceeds the far-distance threshold. This adapts the map to both low-volatility ranges and high-volatility expansions without manual tuning.
State transitions are driven by a finite state machine with six states. Key transitions:
• Untouched → 1st Touch when price enters the touch zone (default 0.25 ATR) or wicks through it.
• 1st Touch / Tested → Held when price moves cleanly away from the level on the same side.
• 1st Touch / Tested → Reclaimed when price closes on the opposite side (optionally requiring multi-bar confirmation).
• Any engaged state → Rejected when a large wick rebounds from the level with more than 60 percent wick ratio.
• Held / Rejected → Reclaimed on a confirmed cross.
The control score combines proximity (how close price is to the reference relative to ATR) with a state weight (Reclaimed and 1st Touch score highest, Held scores lowest). The reference with the highest score is tagged as controller; if no reference has meaningful engagement the panel reports No Active Control.
🔶 SIGNALS AND ALERTS
Three alert conditions are exposed:
• Reference Touched — fires the first time any reference is touched in its period.
• Reference Reclaimed — fires when any reference transitions into the Reclaimed state.
• Reference Rejected — fires when a large-wick rejection bar is registered at any reference.
On-chart, first-touch diamond markers are placed on recent bars to make period engagement easy to spot in screenshots and reviews. The panel footer reports the current controller and updates in real time.
🔹 KEY INPUTS
Reference Lines — independent toggles for Daily Open, Weekly Open, Monthly Open, and Previous Close.
Display — Show Active References Only (hide untouched references for a cleaner map), Strict Reclaim Confirmation (require multiple confirmation bars for Reclaim), Label Density (Minimal shows only the dominant reference, Normal shows all active, Detailed appends state names to labels), Show Reaction Bands, Mark First Touches.
Panel — position (four corners), font size, label font size. All default to Normal per AG Pro Series visual standards.
Sensitivity — Touch Threshold (ATR multiple defining a touch), Reclaim Confirm Bars (strict-mode confirmation count), Band Width (reaction band width in ATR), Far Distance (ATR multiple beyond which references are faded to context).
All parameters are ATR-scaled so defaults transfer cleanly across instruments and timeframes.
🔸 HOW TO USE
1. Open the panel and read the controller. If the footer shows "D-Open Controls" with a Bull bias, intraday operators treat Daily Open as the session pivot and trade with that bias until the state changes.
2. Watch the confluence label. A grouped label such as "D-Open + W-Open + PClose" means three references are stacked — a cluster of this kind is typically a higher-conviction zone than a single isolated reference.
3. Use state transitions as triggers. A Rejected state at Monthly Open during a rally is a different signal than a Reclaimed state at the same level. The state tells you what just happened at the level, not just where the level is.
4. Use the far zone as context. A Monthly Open plotted as a gray zone five ATR away from price is not an execution level — it is orientation. When price approaches it, the zone transitions into an active band and the state engine re-engages.
5. Combine with your own structure work. This map is designed to sit underneath price action analysis, order flow, or trend tools, not replace them.
🔷 LIMITATIONS AND TRANSPARENCY
• This is an indicator, not a strategy. No entries, exits, position sizing, or backtesting is performed.
• Reference prices are sourced from higher timeframe candles using confirmed lookahead. Results on intraday charts should match the official Daily, Weekly, and Monthly opens of the exchange the chart is connected to.
• State classifications are heuristic. They describe observed behavior at each level in historical terms and should not be read as forecasts. A Reclaimed state is a description of what just happened, not a prediction of what comes next.
• ATR-based thresholds mean the map adapts to volatility but can feel different on very low-volume or very thinly traded instruments. Adjust the touch threshold and far distance inputs if defaults feel too loose or too tight.
• Confluence grouping uses a 0.5 ATR window. On very wide-range days this window can become large; on very narrow ranges it can feel tight.
🔶 RISK DISCLOSURE
This indicator is provided for informational and educational purposes only. It does not constitute financial advice, investment advice, trading advice, or any other form of advice. Past performance of any level, state, or methodology shown on the chart does not guarantee future results. Trading and investing involve substantial risk of loss. You alone are responsible for your decisions, for managing your risk, and for complying with the laws and regulations that apply to you. Test any tool on a demo account or in paper trading before using it with real capital. Indicator

MTF Candle Bias TableMTF Candle Bias Table
Brought to my attention by Max Algo — credit and appreciation to them for sharing this.
A clean, at-a-glance multi-timeframe dashboard that tells you where price is biased across up to 7 timeframes simultaneously — no more flipping between charts.
What it shows:
For each timeframe you choose, the table displays:
Candle — whether the current candle is bullish or bearish (close vs. open)
Bias — directional bias based on whether price has breached the prior bar's high or low
Trend — whether price is trading above or below a configurable EMA (default 50)
Hold/Fade — whether price is holding the bias level or fading it
Score — a confluence score (0–3) combining candle, trend, and hold alignment
Accuracy % — a rolling back-tested accuracy rate showing how often the bias predicted the next candle's direction correctly, over a selectable lookback period (1 day to 1 month)
A Bias Score row at the bottom gives you an instant bull vs. bear count across all visible timeframes, color-coded green or red based on overall market lean.
A session label (NY Open, Midday, PM Close, Globex, Overnight) keeps you oriented in the trading day at all times.
Customization:
Enable/disable any of the 7 timeframes individually
Toggle columns on/off (Trend, Hold, Score, Accuracy)
Vertical or Horizontal table layout
Symbols-only mode for a more compact view
Full color and position control
Great for confluence-based trading — use it to quickly confirm whether multiple timeframes agree before entering a trade.
Here's a breakdown of each feature straight from the logic in the code:
TREND
The trend column compares the current closing price to an EMA (default 50, but you can change the length). If close is above the EMA, it shows "↑ ABOVE" (bullish). If close is below the EMA, it shows "↓ BELOW" (bearish). This is calculated on each timeframe independently, so your 1m and 1D can show completely different trend readings. It's essentially asking: is price on the right side of the moving average on this timeframe?
HOLD vs. FADE
This column is tied directly to the Bias. Once a bias is established (bull or bear), Hold/Fade tells you whether price is respecting that bias level or failing it.
If the bias is bullish (price broke the prior bar's high), Hold checks whether the current close is still above that prior bar's high. If yes → ✓ HOLD. If not → ✗ FADE.
If the bias is bearish (price broke the prior bar's low), it checks whether the current close is still below that prior bar's low. If yes → ✓ HOLD. If not → ✗ FADE.
If there's no bias (neutral), it just shows a dash.
Think of it as a confidence check — a bias that's holding is stronger than one that's already fading.
SCORE (0–3)
The score is a simple confluence counter that adds up how many things are aligned with the bias. It scores a point for each of the following:
Candle agrees with bias — the current candle is bullish and bias is bullish, or both bearish
Trend agrees with bias — price is on the correct side of the EMA relative to the bias direction
Hold is active — price is holding the bias level (not fading)
So a score of 3/3 means everything is aligned: the bias is set, the candle confirms it, the trend supports it, and price is holding the level. A score of 0 or a dash means the bias exists but nothing else is confirming it. Neutral biases always show a dash regardless.
ACCURACY %
This is the most unique feature. It tracks, historically, how often the bias on each timeframe correctly predicted the direction of the next completed candle. Here's how it works:
Each time a new bar closes on a given timeframe, the indicator looks back at what the bias signal was on the previous completed bar
It then checks whether that bias was correct — did a bullish bias lead to a bullish close? Did a bearish bias lead to a bearish close?
It keeps a rolling log of those results (1 = correct, 0 = wrong) and calculates the percentage of correct predictions
The lookback window is controlled by your Accuracy Period setting (1 Day, 3 Days, 1 Week, 2 Weeks, or 1 Month), and it automatically scales the number of bars based on the timeframe
The color coding gives you a quick read:
🟢 Green (60%+) — the bias signal has been reliably predictive
🟡 Yellow (50–59%) — marginally better than a coin flip
🔴 Red (below 50%) — the signal has been more wrong than right recently
This helps you know which timeframes are currently giving trustworthy signals and which ones to treat with skepticism. Indicator

AG Pro Kill Zone Session Engine [AGPro Series]AG Pro Kill Zone Session Engine
Overview / What it does
AG Pro Kill Zone Session Engine is a session-based overlay designed to map the internal range behavior of selected intraday kill zones and preserve the most relevant reference levels after each zone has ended.
Instead of treating London, New York, Asia, and London Close as simple background highlights, this script organizes each enabled zone as a structured session event. During an active zone, it tracks the developing high, low, and optional midpoint. After the zone closes, it can carry those levels forward as clean horizontal references so traders can study how price interacts with prior session liquidity.
The script is built for users who want more context than a basic session coloring tool. It helps visualize where a session range formed, how wide it was relative to recent history, whether the session expanded or stayed narrow, and whether later price action interacted with that session through sweep-style behavior.
This is not a prediction engine and it does not attempt to forecast the next directional move. Its purpose is to structure session information into a cleaner analytical framework so traders can evaluate intraday context with more consistency.
Unique Edge
What makes this script different from a standard session indicator is that it does not stop at showing when a session is active.
Its core focus is session range formation plus post-session interaction. Each enabled kill zone can build a live range while active, then leave behind reference levels that remain usable after the session ends. This allows the chart to show not only where a session occurred, but also how later price responded to that session.
The script also adds session-width context. A zone can be classified relative to recent comparable zones so traders can quickly see whether the session was narrow, balanced, or expanded. That extra layer helps separate passive session activity from zones that created a more meaningful range.
Another important distinction is the sweep engine. Rather than only drawing static levels, the script can evaluate whether later price action interacts with prior session highs or lows in a sweep-oriented manner. This makes the tool more useful for traders who study liquidity behavior around specific intraday windows.
In short, this script is intended to function as a session behavior map, not as a simple background painter.
Methodology
The script works in four main steps.
1) Session detection
The user can enable or disable the supported kill zones individually and define session windows using a UTC offset and custom time settings. This keeps the script flexible across instruments, broker feeds, and local chart preferences.
2) Range construction
While a kill zone is active, the script updates the developing session high and low. Optional midpoint logic can also be shown. These values form the core session range for that specific zone.
3) Post-session reference mapping
When the zone ends, the completed high and low can remain on the chart as forward reference levels. This allows later price interaction to be evaluated against a completed session range rather than only during the active zone itself.
4) Sweep and width analysis
The script can evaluate reference-level interactions using its sweep logic and can also classify the completed width of a zone relative to prior zones of the same type. This helps the user distinguish between narrow, balanced, and expanded sessions.
Signals & Alerts
This script is primarily an analytical overlay, but it also supports alertable events around session activity and sweep behavior.
Depending on the enabled options, the script can be used to monitor:
- when a new kill zone becomes active,
- when price interacts with a prior session high,
- when price interacts with a prior session low,
- when sweep-oriented behavior is detected relative to a carried-forward reference range.
These events are designed to describe chart conditions, not to deliver standalone trade calls.
The visual outputs can include:
- session background shading,
- current and completed session high/low levels,
- optional midpoint levels,
- compact session summary labels,
- sweep markers,
- an information panel showing active zone status, width context, reference zone, and sweep status.
Key Inputs
The script includes a focused but flexible input set so users can adapt it without overcomplicating the chart.
Core controls include:
- UTC offset and custom session timing,
- individual enable/disable controls for Asia, London, New York, and London Close,
- high/low visibility,
- midpoint visibility,
- projection length for completed session levels,
- label density and summary behavior,
- panel visibility, placement, and text sizing,
- sweep mode and alert controls,
- visible session memory so the chart can stay cleaner on higher timeframes.
These controls allow the tool to be used in a more detailed mode on lower intraday charts or in a more compressed mode on higher timeframes.
Limitations & Transparency
This script is designed as a context tool. It does not define trade entries, stop placement, or risk management for the user.
Session behavior can vary across instruments and feeds, so identical settings may not produce equally meaningful output on every market. Some assets respond more clearly to session-based reference levels than others.
Sweep logic is also a chart-interpretation aid, not a certainty model. A detected sweep does not imply immediate reversal, continuation, or trade validity on its own. It simply highlights a specific type of interaction with a prior session reference.
The script is best suited to intraday analysis. While it can still display useful information on higher timeframes, the underlying logic is rooted in session behavior, so lower intraday charts will usually provide more direct visual relevance.
As with any visual overlay, increasing history depth or label density may add chart clutter. For that reason, the script includes controls to compress memory and reduce label load when needed.
Risk Disclosure
This script is provided for educational and analytical use only.
It is not financial advice, not a signal service, and not a promise of outcome. It does not guarantee reversals, breakouts, continuations, or profitable execution. Any trading decision should be made within the user's own process, risk model, and market understanding.
The intended use of this script is to help organize session structure, liquidity references, and post-session interaction on the chart so that traders can make more informed observations with a clearer visual framework.
Indicator

Indicator

Indicator

Indicator

Session Anchored OIWAP [Arjo]The Session Anchored OIWAP (Open Interest Weighted Average Price) indicator shows you a weighted average price that uses Open Interest (OI) changes during different trading sessions . It divides the day into four clear sessions: Opening Hour , Morning Session , Mid-Day Session , and Closing Session .
For each session , it calculates a weighted average price using both market price and open interest data from futures . This line updates as the session progresses and resets when a new session starts .
You can also see optional deviation bands that you visually compare to how far the market price is moving away from the session’s weighted average. This indicator also helps you watch how Open Interest changes connect with price movements during specific market hours.
Concepts
This tool works on a few simple ideas:
Session anchoring
Each session starts fresh. The indicator resets and begins a new calculation when a new time block begins. This allows users to visually study each session independently.
Open-interest weighting
Instead of treating all price moves equally, price changes linked to higher open-interest activity have more influence on the OIWAP. This gives a weighted reflection of where the market has been trading during the session.
Averaging and smoothing
The OIWAP line blends many price data points into one smooth curve, making it easier to follow than raw price movement.
Volatility display with bands
The upper and lower bands are placed at ±0.5 standard deviation from the OIWAP line. These bands simply help you see when price stretches further away than usual from the session average.
Features
Four Independent Session Calculations: Shows separate OIWAP lines for Opening Hour (default: 09:15-10:15), Morning (10:15-11:30), Mid-Day (11:30-14:00), and Closing (14:00-15:30) sessions
Open Interest Weighting: Uses absolute OI change as the weight instead of traditional volume
Customizable Session Times: You can change the time ranges for each session to match your market or what you need
Optional Deviation Bands: You can turn ±0.5 standard deviation bands on or off around each OIWAP line
Color-Coded Sessions: Each session has its own color so you can tell them apart easily
Selective Display: You can turn individual sessions and bands on or off
Data Availability Check: Shows you a notification when Open Interest data isn't available for your symbol
Adjustable Position Timeframe: You can calculate OI changes on different timeframes (Chart, Daily, 15min, 30min, 60min, 120min)
How to use
Add this indicator to a chart of any symbol that has Open Interest data ( from futures or derivatives contracts). Once you add it, you'll see colored lines showing the OIWAP for each session you enable, along with optional deviation bands.
Adjusting Settings:
Turn individual sessions on or off using the checkboxes in the " Sessions " section
Change session colors to match your chart or what looks good to you
Turn deviation bands on or off using the " Show Bands " option in the Display settings
Change session time ranges in the " Session Times " section to match your market hours or what you want to analyze
Change the Position Timeframe if you want to see OI changes calculated on a different time period
Visual Interpretation:
Each OIWAP line shows you the OI-weighted average price for that session
The deviation bands show you how much prices spread out, weighted by OI changes
You can watch how price interacts with these levels to see where significant OI activity happened
Different sessions may show different OIWAP levels, showing you how the OI-price relationship changes throughout the trading day
Note:
This indicator needs Open Interest data to work. If OI data isn't available for your symbol, you'll see a message in the center of your chart. This indicator works only with derivatives markets like futures and options in the Indian Market where OI data is publicly available.
Conclusion
The Session Anchored OIWAP indicator is designed to support structured market observation by combining price, open interest, and session anchoring into a clear visual format. It helps users study market behavior during different parts of the day without generating trading instructions or outcomes.
Disclaimer
This indicator is for educational and visual-analysis purposes only. It does not provide trading signals , financial advice, or guaranteed outcomes . You should perform your own research and consult a licensed financial professional when needed. All trading decisions are solely the responsibility of the user.
Happy Trading
Indicator

Indicator

Indicator

Daily O/C Span (Real Values & SMA Comparison)This Pine Script indicator helps you visualize and track the "momentum" or "strength" of each trading day, and compares it to a recent average. It essentially measures the net movement of the price from when the market opens to when it closes.
What the Script Does
The script performs the following actions:
Calculates Daily Movement: For every single trading day, it calculates the difference between the closing price and the opening price (Close - Open).
Plots the "Span": These daily differences are plotted as vertical bars (a histogram) in a separate window below your main price chart.
-Green bars mean the stock closed higher than it opened (a strong day).
-Red bars mean the stock closed lower than it opened (a weak day).
Calculates the Average: It calculates the Simple Moving Average (SMA) of these daily spans over an adjustable period (default is 30 days).
Plots the Average Line: A blue line is plotted over the green/red bars, showing the typical magnitude of daily movement.
Displays Comparison: A table in the top-right corner provides a quick, real-time numerical comparison of today's span versus the 30-day average span.
How It Can Improve Trading
This indicator helps you understand the character and conviction of price action, offering several trading insights:
Gauging Momentum: It clarifies whether the stock's moves are generally strong and sustained within a day (large spans) or hesitant (small spans).
Identifying Trends: During an uptrend, you might expect the average span line to be consistently positive (above zero), and vice versa for a downtrend. A positive average span indicates buyers are consistently closing the day stronger than where they started it.
Spotting Reversals: If a stock is in a strong uptrend but you suddenly see a series of large red bars (large negative spans), it could signal a shift in momentum and potential upcoming reversal.
Volatility Context: By comparing the current day's bar to the blue average line, you can quickly determine if today is an unusually strong/weak day relative to recent history.
In short, it helps you see the underlying buyer/seller conviction within each day, making it easier to gauge the overall market sentiment and anticipate potential shifts. Indicator

Indicator

Smart % Levels📈 Smart % Levels – Visualize Significant Percentage Moves
What it does:
This indicator plots horizontal levels based on a percentage change from the previous day's close (or open, if selected). It allows traders to visualize price movements relative to meaningful thresholds like ±1%, ±2%, etc.
What makes it different:
Unlike other level indicators, Smart % Levels only displays the relevant levels based on current price action. This avoids clutter by showing only the levels that are being approached or crossed by the current price. It's a clean and dynamic way to visualize key price zones for intraday analysis.
How it works:
- Select between using the previous day's Close or Open as the reference
- Choose the percentage spacing between levels (e.g., 1%, 0.5%, etc.)
- Enable optional labels to see the exact percentage of each level
- Automatically filters levels to only show those between yesterday's price and today's current price
- Includes customization for colors, line styles, widths, and opacity
Best for:
Day traders and scalpers who want a quick, clean view of how far the current price has moved from yesterday’s reference, without being overwhelmed by unnecessary lines.
Extra notes:
- The levels are recalculated each day at the market open
- All graphics reset at the start of each session to maintain clarity
- This script avoids repainting by only plotting levels relative to available historical data (no lookahead)
This tool is for informational purposes only and should not be considered as financial advice. Always do your own research before making trading decisions.
Indicator

JL - DWM OHLCThis indicator plots the following price levels on your chart automatically AND will not show up if you are using a timeframe bigger than 60 minutes, 1 day, or 1 week.
Here are the price levels that are automatically plotted for you, and so you know the styling is different for Daily, Weekly, Monthly levels so you can easily distinguish between them:
- Prior Day: High / Low / Close
- Current Day: Open
- Prior Week: High / Low / Close
- Current Week: Open
- Prior Month: High / Low / Close
- Current Month: Open
These plots are timeframe dependent and will not plot on subsequently higher timeframes, here is how they work:
Daily Price Levels are only shown on timeframes that are smaller than 60 minutes.
Weekly Price Levels are only shown on timeframes smaller than 1 Day.
Monthly Price Levels are only shown on timeframes smaller than 1 Week.
This way, you can turn on the indicator and not have to think about turning off certain price levels if you switch to a larger / longer timeframe than what you typically use.
For example, Daily OHLC price levels will quickly clutter the 60 minute chart, and likely you don't need to know the HLC of the Prior Day if you are looking at the 60 minute chart. Therefor it may be helpful to automatically hide the Daily price level plots, and only show the Weekly and Monthly plots on the 60 minute timeframe.
I hope you find this indicator helpful, thanks for reading.
Indicator

Strategy

Candle % Close with Bullish/Bearish EvaluationI created the indicator to more quickly define the polarity of candles. For a large number of candles, it is straightforward to determine whether a candle is bullish or bearish. However, candles with long wicks often appear, making it uncertain whether the candle is bullish or bearish from a price action perspective. It is not a rule that a red candle is bearish and a green candle is bullish.
From a more advanced price action standpoint, how these candles close is important. Therefore, I created the 'Percent range' input. By default, it is set to 50% (high-low)/2. This way, the indicator precisely determines 50% of the candle's entire range. This allows us to determine whether a bearish candle truly closed below 50% of its range. If not, such a candle is considered bullish, even if it is a negative candle. The same applies to bullish candles, but conversely. If a positive candle closes below 50% of its range, from a price action perspective, it is considered a bearish candle.
Since in price action it is common for the price to return to 50% of the previous candle and, after filling, to continue in the established trend, I added the line extension option. Whatever high value you enter, the line extension follows the current candle. This option works only when the stop line checkbox is enabled. This way, you can plot 50% of the candle's range that the market has historically not returned to due to a strong trend. Often, this line is plotted on a candle where there is also an FVG, which can help you more easily find a point of interest.
Stop line extension : Ensures the interruption of line plotting when the candle is touched by the body or wick.
Indicator

Previous Highs + Lows by HAZED📈 Introducing: Previous Highs + Lows by H A Z E D 📉
✨ Overview
Get a clear view of market levels with Previous Highs + Lows v1.0! This indicator lets you track critical previous highs and lows across multiple timeframes, marking them directly on your chart for an intuitive view of support and resistance zones. Whether you’re analyzing breakouts or looking for reversal levels, these indicators provide essential context to refine your trades.
🛠️ Key Features
Multiple Timeframes Supported
Toggle on previous highs and lows for daily, weekly, monthly, 4-hour, and 1-hour charts to match your analysis style.
Customizable Labels
Choose label sizes from “tiny” to “huge,” adjust the opacity to blend seamlessly with your chart, and customize text color for optimal readability.
Label Position Control
Avoid overlap with a flexible label offset feature, allowing for 10 adjustable increments to fit your preference and chart layout.
Clear Visual Cues
Labels use icons to differentiate high (⬆️) and low (⬇️) levels at a glance, providing a straightforward way to interpret key price areas.
Instant Alerts for Key Levels
Receive alerts when the price crosses over previous high levels, keeping you informed about potential breakout zones without constant chart-watching.
🚀 How to Use
Identify Key Levels: Quickly locate significant highs and lows from previous periods to define your support and resistance zones.
Set Alerts: Stay updated on market moves with built-in alerts when prices cross these critical levels.
Customize Your View: Use the various options to make this indicator uniquely yours – adjust label size, color, opacity, and position.
🔔 Why Use Previous Highs + Lows v1.0?
Enhanced visibility of critical levels saves you time by giving you a structured view of price action.
Customization features let you adapt the indicator to your personal style and chart setup.
Flexible alerts mean you can focus on other tasks without missing important price movements.
🔗 License: Mozilla Public License 2.0
© H A Z E D, 11/4/2024
Indicator

Indicator

[TTI] High Volume Close (HVC) Setup📜 ––––HISTORY & CREDITS––––
The High Volume Close (HVC) Setup is a specialised indicator designed for the PulseWire platform used to identify specific bar. This tool was developed with the objective of identifying a technical pattern that trades have claimed is significant trading opportunities through a unique blend of volume analysis and price action strategies. It is based on the premise that high-volume bars, when combined with specific price action criteria, can signal key market movements.
The HVC is applicable both for swing and longer term trading and as a technical tool it can be used by traders of any asset type (stocks, ETF, crypto, forex etc).
🦄 –––UNIQUENESS–––
The uniqueness of the HVC Setup lies in its flexibility to determine an important price level based on historically important bar. The idea is to identify significant bars (e.g. those who have created the HIGHEST VOLUME: Ever, Yearly, Quarterly and meet additional criteria from the settings) and plot on the chart the close on that day as a significant level as well as theoretical stop loss and target levels. This approach allows traders to discern high volume bars that are contextually significant — a method not commonly found in standard trading tools.
🎯 ––––WHAT IT DOES––––
The HVC Setup indicator performs a series of calculations to identify high volume close bars/bar (HVC bars) based on the user requirements.
These bars are determined based on the highest volume recorded within a user-inputs:
👉 Period (Ever, Yearly, Quarterly) and must meet additional criteria such as:
👉 a minimum percentage Price Change (change is calculated based on a close/close) and
👉 specific Closing Range requirements for the HVC da.
The theory is that this is a significant bar that is important to know where it is on the chart.
The script includes a comparative analysis of the HVC bar's price against historical price highs (all-time, yearly, quarterly), which provides further context and significance to the identified bars. All of these USER input requirement are then taken into account as a condition to identity the High Volume Close Bar (HVC).
The visual representation includes color-coded bar (default is yellow) and lines to delineate these key trading signals. It then draws a blue line for the place where the close ofthe bar is, a red line that would signify a stop loss and 2 target profit levels equal to 2R and 3R of the risked level (close-stop loss). Additional lines can be turned on/off with their coresponding checkboxes in the settings.
If the user chooses "Ever" for Period - the script will look at the first available bar ever in Tradingview - this is generally the IPO bar;
If the users chooses "Yearly" - the script would look at the highest available bar for a completed year;
If the users chooses "Quarterly" - it would do the same for the quarter. (works on daily timeframe only);
While we have not backtested the performance of the script, this methodology has been widely publicised.
🛠️ ––––HOW TO USE IT––––
To utilize the HVC Setup effectively:
👉Customize Input Settings: Choose the HVC period, percentage change threshold, closing range, stop loss distance, and target multiples according to your trading strategy. Use the tick boxes to enable and disable if a given condition is used within the calculation.
👉Identify HVC Bars: The script highlights HVC bars, indicating potential opportunities based on volume and price action analysis.
👉Interpret Targets and Stop Losses: Use the color-coded lines (green for targets, red for stop losses) to guide your trade entries and exits.
👉Contextual Analysis: Always consider the HVC bar signals in conjunction with overall market trends and additional technical indicators for comprehensive trading decisions.
This script is designed to assist traders in identifying high-potential trading setups by using a combination of volume and price analysis, enhancing traditional methods with a unique, algorithmically driven approach. Indicator

Key Levels SetKey Levels Set allows to set key levels as comma separated values, and to detect breaks to the downside and/or upside, taking into account potential gaps between bars.
This indicator can be very handy if you, like me, rely on some key levels that you identified as potential support/resistance from some technical analysis.
Features
+ It allows for key levels to be set as comma separated values.
+ It draws key levels on chart.
+ On close, it identifies highest key level that has been broken to the upside, if any.
+ On close, it identifies lowest key level that has been broken to the downside, if any.
+ In Cross mode, as bar is printing, it also detects highest/lowest key levels being broken to the upside/downside between bar high and low, if any.
+ It plots and labels breaks with current level and next level information.
+ It includes alerts from breaks on close.
+ It includes turn on/off functionality.
Settings
+ {Prices} checkbox: turns on/off entire functionality
+ {Prices} text field: comma separated values for key levels
+ {Breaks on} checkbox: turns on/off breaks detection functionality
+ {Breaks on} options: selects Close or Cross mode Indicator
