Indicator

AG Pro Premium Discount Zone Engine [AGPro Series]AG Pro Premium Discount Zone Engine
Overview / What it does
AG Pro Premium Discount Zone Engine is a dealing-range and retracement context overlay built to map relative value inside a selected swing. Instead of treating price as a sequence of isolated candles, the script frames current price location against an active high-low range and highlights where price is trading relative to equilibrium, premium, discount, and the OTE area.
The core purpose of this tool is organizational. It is designed to help traders read where price is positioned inside a live swing and how price reacts when it moves into higher-value or lower-value retracement zones. This is especially useful when a chart is moving inside a pullback, when trend continuation is being evaluated, or when users want to distinguish between shallow retracements and deeper repricing within an existing range.
The script supports multiple ways to define the active range. Users can work with an automatically detected swing, a higher-timeframe dealing range, or a manual-lite anchor mode based on bar offsets. Once a valid range is identified, the script projects premium and discount territory, marks the 50% equilibrium, and highlights the OTE area using the 61.8, 70.5, and 78.6 retracement levels.
The output is intentionally visual, structured, and restrained. Premium and discount zones are shown as clean value blocks. The OTE area is treated as the main focus zone rather than a minor detail. The panel summarizes the active bias, current location, zone state, equilibrium level, and OTE boundaries so that users can read the chart quickly without relying on aggressive signal language.
Unique Edge
What makes this script different is that it is not built as a market-structure detector, imbalance mapper, liquidity event scanner, or order-block locator. Its job is narrower and more specific: it organizes relative price location inside a defined dealing range.
That distinction matters. Many overlays attempt to explain everything on the chart at once. This script does not. It does not try to label breaks of structure, detect fair value gaps, mark liquidity sweeps, or classify institutional zones. Instead, it answers a more focused question: where is price trading inside the current swing, and how is it behaving as it enters or leaves important retracement territory?
This also separates the script from other AG Pro tools. Some AG Pro overlays are built around structure transitions, some around imbalance behavior, some around reaction quality, and some around event detection. AG Pro Premium Discount Zone Engine is built around valuation context. It does not compete with those tools directly. It complements them by adding a relative-value map around a selected range.
Another difference is the zone-state logic. The script does not stop at drawing premium and discount blocks. It also tracks how price interacts with the OTE area and classifies that interaction using a simple state model such as Fresh, First tap, Retested, Rejected, Accepted, and Invalidated. This creates a more contextual read than a static retracement overlay.
Methodology
The script begins by identifying an active swing range. In Auto Swing mode, it uses pivot-based range detection. In HTF Swing mode, it builds the range from a higher-timeframe high-low window. In Manual-Lite Swing mode, it uses bar-offset anchors to let the user define a practical swing reference without requiring manual drawing tools.
Once the active range is available, the script calculates the internal value map:
- Swing High
- Swing Low
- 50% Equilibrium
- Premium territory above equilibrium
- Discount territory below equilibrium
- OTE zone using 61.8, 70.5, and 78.6 retracement levels
The script then monitors how price behaves around those levels. This produces context states rather than directional promises. For example, price entering the OTE area is not treated the same as price rejecting from it, accepting beyond it, or invalidating the active range. These are intentionally different events because they describe different chart conditions.
The equilibrium level is included as a centerline reference, while the OTE band is given stronger visual emphasis. This helps distinguish broad valuation territory from the narrower retracement pocket that many users monitor more closely.
Signals & Alerts
The signals in this script are event-based and deterministic. They are not designed as standalone trade instructions. They are designed to describe interaction with the active range.
Available event logic includes:
- OTE Test
- OTE Reject
- OTE Accept
- Discount Reaction
- Premium Rejection
- Equilibrium Cross
- Range Invalidated
- OTE Failure
These events are intended to provide chart context. For example, an OTE Test simply means price entered the active OTE zone. A Premium Rejection means price traded into the premium side and closed back below the local premium threshold used by the script. A Discount Reaction means price interacted with the discount side and responded upward under the script's rules. These are context events, not guarantees of continuation.
Alerts follow the same philosophy. They are defined in a rules-based way so users can monitor range interaction without needing to watch the chart continuously. The alert layer is most useful when the script is used as a location filter inside a broader workflow.
Key Inputs
Swing mode
Lets the user choose between Auto Swing, HTF Swing, and Manual-Lite Swing depending on whether the goal is reactive automation, higher-timeframe framing, or a more controlled local range definition.
Auto pivot length
Controls how sensitive the pivot-based swing detection is in Auto mode.
HTF timeframe and HTF lookback
Used to define the broader dealing range in higher-timeframe mode.
Manual high bars back / manual low bars back
Used to create a manual-lite range by referencing earlier bars as anchors.
Render bars back / render bars forward
Controls how far the active range projection extends on the chart.
Zone opacity and theme
Used to refine the visual balance between premium, discount, and OTE areas.
Label controls
Used to reduce visual noise by controlling label cooldown, label render window, and maximum visible labels.
Panel controls
Allow the user to reposition the panel and adjust its text size to fit different chart layouts.
Limitations & Transparency
This script does not predict direction. It does not forecast reversals. It does not decide whether a chart should trend, break, or fail. It maps relative value inside a selected range and reports interaction events inside that framework.
The quality of the output depends on the quality of the active swing. If the selected or detected range is not meaningful for the user's workflow, the valuation map will also be less meaningful. This is especially important in highly compressed, extremely noisy, or structurally unclear conditions.
Auto Swing mode is practical, but like any automated swing model, it depends on pivot confirmation and may update as newer pivots become available. HTF mode provides broader context but may feel less reactive on smaller charts. Manual-Lite mode gives more control but still depends on the user choosing sensible anchor distances.
OTE logic is range-relative. It does not incorporate unrelated concepts such as order blocks, liquidity pools, fair value gaps, session models, or external structure classifications unless the user combines those ideas manually in a separate workflow.
This script is best understood as a valuation-context overlay. It is not a complete strategy, not a full decision engine, and not a substitute for risk management.
How this differs from other AG Pro scripts
AG Pro Premium Discount Zone Engine is intentionally not a structure-break tool, not a CHoCH/BOS detector, not a liquidity sweep scanner, not an FVG engine, and not an order-block mapper.
Its role inside the AG Pro family is to answer a different question:
Where is price trading inside the active dealing range, and what is the quality of its interaction with that value map?
That makes it particularly useful for users who already understand direction from another process and want cleaner execution context. In other words, some tools focus on structural change, some focus on imbalance, and some focus on reaction events. This one focuses on valuation location.
Risk Disclosure
This script is for chart analysis and educational use only. It does not provide financial advice, investment advice, or guaranteed trade signals. Any use of this tool should be combined with independent analysis, risk controls, position management, and market-specific judgment.
The presence of an alert, label, premium zone, discount zone, or OTE interaction does not imply that price must react in a specific way. Markets can continue, reverse, compress, or invalidate a range without warning. Users should treat this script as a context tool, not as a promise of outcome.
Indicator

AG Pro Fair Value Gap Engine [AGPro Series]AG Pro Fair Value Gap Engine
OVERVIEW / WHAT IT DOES
AG Pro Fair Value Gap Engine is a rules-based overlay built to detect 3-bar fair value gap structures and organize them as a living imbalance map on the chart.
The script identifies bullish fair value gaps when the current low is above the high from two bars earlier, and bearish fair value gaps when the current high is below the low from two bars earlier. Once detected, each zone is stored, rendered, tracked through time, and updated as price interacts with it.
Instead of stopping at basic FVG detection, this script continues to follow the structure after creation. It monitors whether the gap remains active, whether price returns into it, whether mitigation occurs, how old the structure has become, and how strong or weak that mitigation event appears relative to the gap itself.
The result is not just a visual list of imbalances. It is an FVG lifecycle model designed to help traders distinguish between fresh gaps, aging gaps, mitigated gaps, and higher-quality mitigation events.
UNIQUE EDGE
Many fair value gap tools simply highlight every detected gap and leave the user to interpret the rest.
This script is built around a different idea:
not all FVGs deserve the same attention, and not every mitigation event carries the same informational value.
AG Pro Fair Value Gap Engine separates itself by combining detection, aging, prioritization, mitigation tracking, and scoring in a single structured workflow. Gaps are not treated as static rectangles. They are treated as evolving chart objects with a lifecycle.
Within the AG Pro Series, this script is also distinct from breakout-quality, reclaim, rotation, pressure, or acceptance-style overlays. Those models focus on trend behavior, reclaim behavior, structural confirmation, momentum pressure, or price acceptance around a reference. This one is centered on imbalance structure itself: where the 3-bar gap formed, how long it stayed relevant, whether price returned, and how credible that mitigation looked once interaction happened.
In practical terms, the script is designed to answer questions such as:
Which FVGs are still active?
Which ones are becoming stale?
Which mitigation events happened with better quality?
Which visible zones are worth keeping in focus, and which are just legacy context?
That is the core difference. This is not a generic FVG highlighter. It is an imbalance-ranking and mitigation-quality engine.
METHODOLOGY
1) Detection Logic
The script scans for standard 3-bar fair value gap structures.
Bullish FVG:
current low > high from two bars back
Bearish FVG:
current high < low from two bars back
A minimum size filter relative to ATR is applied so that very small gaps can be ignored when desired.
2) Structure Tracking
After detection, each FVG is stored and tracked over time. The script keeps the zone on the chart, extends active zones forward when enabled, and updates their visual state as the market evolves.
This allows the chart to preserve the structural memory of imbalance zones instead of treating every new gap as an isolated event.
3) Aging and Visual Decay
Older gaps gradually lose visual priority through fade logic. This helps newer or more relevant structures stay readable while old zones move into the background.
Optional controls can also suppress distant legacy zones when they become both old and far from current price.
4) Mitigation Logic
The script monitors how deeply price returns into each gap. When the user-defined mitigation threshold is reached, the FVG is marked as mitigated.
Mitigated zones can remain visible as context or be hidden for a cleaner chart, depending on preference.
5) Quality Scoring
Mitigation is not treated as a simple yes/no event. The script evaluates mitigation quality using a weighted model that includes:
- Gap size relative to ATR
- Speed of return into the zone
- Relative volume during the mitigation event
- Return strength after contact with the gap
This produces a normalized score intended to help separate weaker fills from stronger, better-formed mitigation behavior.
6) Focus and Prioritization
To reduce chart noise, the script includes focused labeling, active-zone prioritization, top-zone filtering, and legacy suppression logic.
This means the visual output can be tuned away from “show everything” and toward “show what matters most.”
SIGNALS & ALERTS
This script provides alert conditions for:
- Newly detected bullish fair value gaps
- Newly detected bearish fair value gaps
- Bullish fair value gaps reaching mitigation
- Bearish fair value gaps reaching mitigation
These alerts are event-based and rules-based. They are not forecasts, predictions, or trade instructions.
The labels and panel are designed to summarize state, not to replace the user’s broader market process.
KEY INPUTS
Core Settings
- Minimum FVG Size (ATR)
- Mitigation Threshold (%)
- Maximum Tracked FVG Count
- Age Fade Length
- Extend Active FVG Boxes
Scoring Engine
- Speed Score Reference
- Volume Score SMA Length
- Volume Score Max Ratio
- Size Score Max ATR
Visual Settings
- Show FVG Labels
- Focused Label Mode
- Focused Label Minimum Score
- Active / Mitigated Label Age Limits
- Highlight Score Threshold
- Theme Preset
- Show Mitigated Zones
- Show Mitigated Zone Labels
- Label Horizontal Offset
- Hide Distant Legacy FVGs
- Legacy Hide Age
- Legacy Hide Distance
- Show Only Top Active Zones
- Top Active Zones Count
- Label Stack Spacing
Panel Settings
- Show Panel
- Panel Position
- Panel Font Size
These controls allow the same logic to be used in a more information-dense mode or in a much cleaner presentation mode, depending on the charting style of the user.
LIMITATIONS & TRANSPARENCY
This script detects and organizes 3-bar imbalance structures. It does not claim to identify every meaningful liquidity event, order-flow shift, or broader smart money context factor on its own.
A fair value gap can remain open for a long time, fail quickly, or be revisited multiple times. A high score does not guarantee a directional outcome. A low score does not automatically invalidate the zone as context.
The mitigation score is a structured ranking model, not an objective truth about future price behavior. It is designed to help compare events inside the framework of this script.
Because chart structure, volatility, timeframe, and instrument behavior vary, users should expect different FVG densities and different score distributions across markets.
This tool is best used as a market-organization layer for imbalance analysis, not as a standalone execution system.
RISK DISCLOSURE
AG Pro Fair Value Gap Engine is an analytical charting tool for educational and informational use.
It does not provide financial advice, does not promise outcomes, and should not be interpreted as a standalone buy or sell system. Fair value gaps, mitigation events, and score readings should be evaluated together with market structure, volatility, timeframe context, liquidity conditions, and the user’s own risk framework.
Trading involves risk. Past chart behavior does not guarantee future results.
Indicator

Volume Profile█ VOLUME PROFILE
Volume-at-Price Analysis with POC, VAH & VAL
A powerful volume-at-price analysis overlay that calculates and visualizes the Point of Control (POC) , Value Area High (VAH) , and Value Area Low (VAL) directly on your chart. It reveals where the most trading activity occurred and provides real-time price position analysis — helping you identify high-probability support/resistance levels and mean-reversion zones.
Free and Open Source.
█ THE CONCEPT: WHY VOLUME PROFILE MATTERS
Price charts show when trading happened. Volume Profile shows where it happened. The distribution of volume across price levels reveals the market's true valuation zones:
Point of Control (POC) — The price with the highest accumulated volume. Acts as a magnet for price and the strongest single S/R level.
Value Area (70%) — The range containing 70% of all traded volume. Defines what the market considers "fair value."
Above/Below VA — Price outside the value area signals potential overextension or breakout.
Institutional traders, market makers, and algorithmic systems all reference volume profile levels.
█ CORE FEATURES
1. Volume Profile Engine
Distributes each bar's volume proportionally across the price rows it spans, building a precise volume-at-price histogram:
POC — Highest volume row = strongest support/resistance
VAH — Upper boundary of the 70% value area = resistance
VAL — Lower boundary of the 70% value area = support
Row count is configurable (10-50 levels).
2. Profile Anchoring
Three anchor modes control how the profile is built:
Rolling — Continuously recalculated over the last N bars. Best for real-time analysis.
Session — Resets every new trading day. Best for intraday context.
Week — Resets every new trading week. Best for swing context.
3. Price Position Analysis
Real-time classification of price relative to the value area:
ABOVE VA — Potential overextension or breakout
BELOW VA — Potential undervaluation or breakdown
AT POC — High-probability mean-reversion zone
IN VA — Normal trading range
4. Bounce & Rejection Signals
Automatic detection of price interaction with key volume levels:
POC Bounce Up/Down — Price touches POC and reverses
VAL Rejection — Price tests VAL and bounces up (bullish)
VAH Rejection — Price tests VAH and bounces down (bearish)
5. Volume Histogram Visualization
A horizontal bar chart displayed directly on the price chart showing the volume distribution. POC row highlighted with a distinct color.
█ AUTO-TIMEFRAME ADAPTATION
All parameters automatically adjust based on the chart timeframe:
1-5 min → Lookback 30, 18 Rows, Histogram Width 8
15-30 min → Lookback 40, 20 Rows, Histogram Width 10
1 Hour → Lookback 50, 24 Rows, Histogram Width 15
4 Hour → Lookback 70, 28 Rows, Histogram Width 18
Daily → Lookback 100, 32 Rows, Histogram Width 22
Weekly+ → Lookback 150, 40 Rows, Histogram Width 30
█ DASHBOARD
A compact, dark-themed info panel displaying:
POC — Current Point of Control price level
VAH / VAL — Value Area boundaries
Position — Current price position (ABOVE VA / BELOW VA / AT POC / IN VA)
To POC — Distance from current price to POC in percent
Anchor — Active profile anchor mode
VA Range — Width of the value area in price units
█ ALERTS (4 CONDITIONS)
POC Bounce Up — Bullish bounce off the Point of Control
POC Bounce Down — Bearish bounce off the Point of Control
VAL Rejection — Bullish rejection at Value Area Low
VAH Rejection — Bearish rejection at Value Area High
█ NON-REPAINTING
The volume profile is calculated from confirmed bar data only. Rolling mode recalculates the full lookback window on each bar using historical high/low/volume — no future data is used. Session and Week modes accumulate incrementally within the anchor period. No repainting.
█ WORKS ON
Crypto, Forex, Stocks, Futures, Indices — any timeframe from 1 minute to Monthly.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss.
Indicator

Indicator

AG Pro Volume Profile Acceptance Ladder [AGPro Series]AG Pro Volume Profile Acceptance Ladder
Overview / What it does
AG Pro Volume Profile Acceptance Ladder is a volume-structure indicator designed to monitor whether price is building acceptance, holding acceptance, or losing acceptance inside a rolling volume-defined band. Instead of treating volume profile as a static reference snapshot, this script tracks acceptance as a progressive process. The goal is not to predict where price must go next, but to help the user read whether the market is spending enough time and participation inside a value zone to justify calling that area accepted.
The script builds a rolling profile window, estimates the active acceptance band, and then classifies current behavior into states such as Probe, Build, Accept, Shift Watch, Shift Confirmed, and Fail. This creates a ladder-style framework for reading when the market is stabilizing within one value region and when that acceptance may be migrating toward another region. In practice, that makes it useful for users who want a structured way to distinguish temporary interaction from more durable volume-based acceptance.
A key design goal of this script is to separate acceptance progression from simple attraction-to-level logic. Some tools are built around whether price is pulled back toward a reference such as a POC or another central level. This script focuses on a different question: is the market actually building and holding acceptance inside a rolling value zone, and is that acceptance stable enough to be treated as an active auction area rather than a temporary touch.
Because of that framing, the indicator is best read as a market-structure context tool. It maps an evolving acceptance zone, estimates a directional ladder bias, and provides state transitions that can be used to organize chart reading, scenario planning, or alert workflows. It is not an execution engine, not a broker-grade order book product, and not a substitute for independent trade management.
Unique Edge
The distinguishing feature of this script is that it treats acceptance as a staged process rather than a single level event. The output is not limited to a profile center or a value-area drawing. Instead, the script evaluates how price behaves relative to a rolling volume-defined band and converts that behavior into a progression model.
That matters because a market can interact with a value area in very different ways. It can briefly probe it, begin building around it, hold it in a more stable manner, shift acceptance upward or downward, or fail to maintain acceptance altogether. By organizing those conditions into a ladder of states, the script attempts to make the auction process easier to read in real time.
This also makes the indicator materially different from a standard POC-centered interpretation. The emphasis here is not on magnetic pull toward one volume reference. The emphasis is on whether acceptance is forming, strengthening, or migrating. In that sense, the script is better understood as an acceptance progression map than as a simple volume anchor display.
Methodology
The script uses a rolling lookback window and distributes bar-based volume across a defined number of bins in order to approximate a local volume profile. From that rolling profile it derives the active central reference, the current acceptance band, and the relative participation of that band within the profile window.
Using those profile components, the script calculates several internal measures. These include how often price remains inside the band over a recent hold window, how often price re-enters the band after leaving it, how stable the band center is relative to recent values, and whether the active center appears to be migrating in a meaningful way. These measures are then blended into an aggregate acceptance score and a ladder bias.
The state engine uses those components to classify behavior into the following progression states:
- Reject
- Probe
- Build
- Accept
- Shift Watch
- Shift Confirmed
- Fail
These states should not be read as guarantees of continuation or reversal. They are condition labels describing how the script currently interprets interaction with the active acceptance band.
Signals & Alerts
The script includes deterministic state-based alerts so users can build workflows around changes in acceptance conditions.
Available alert events:
- Acceptance Building
- Acceptance Confirmed
- Upward Ladder Migration Confirmed
- Downward Ladder Migration Confirmed
- Acceptance Failed
- Acceptance Lost
These alerts are designed to reflect state transitions inside the indicator logic. They do not imply expected profitability, win rate, or directional certainty.
Key Inputs
- Profile Window: Defines the rolling lookback used for the local profile estimate.
- Bin Count: Controls the profile resolution.
- Value Area %: Defines how much of the rolling profile volume is used to construct the active acceptance band.
- Migration Sensitivity: Controls how easily the script classifies center shifts as migration activity.
- Probe Band Multiplier: Expands the outer interaction zone around the active acceptance band.
- Hold Lookback: Defines the window used for hold and re-entry style calculations.
- Theme / Panel Location / Panel Font Size / Label Font Size: Presentation controls for chart readability.
- Show Previous Acceptance Band / Show State Markers / Forward Extension Bars: Visual controls for context and labeling.
Limitations & Transparency
This script does not use exchange-native tick-by-tick volume profile data. It uses a bar-based approximation built from the information available to Pine Script on the chart. As a result, the acceptance band and profile structure shown by the indicator should be interpreted as a model of local volume distribution, not as a perfect reconstruction of exchange-level auction detail.
The ladder states are also model outputs, not objective market facts. Small changes in lookback, resolution, or volatility regime can influence how the script classifies the same area. Users should therefore treat the states as structured analytical context rather than as standalone instructions.
The indicator is also not intended to replace broader market analysis. Trend structure, liquidity conditions, volatility regime, higher-timeframe context, and instrument-specific behavior can all affect how useful an acceptance reading is in practice.
Risk Disclosure
This script is for chart analysis and educational use only. It does not provide financial advice, investment advice, or trade recommendations. All markets involve risk, and no indicator can guarantee outcome, timing, or future performance. Users should apply independent judgment, test settings carefully, and use risk management appropriate to their own methodology.
What this script is not
- It is not a promise of continuation or reversal.
- It is not a broker-grade volume profile engine.
- It is not a substitute for execution planning or risk control.
- It is not a claim that acceptance automatically leads to trend persistence. Indicator

AG Pro Volume Profile POC Magnet Map [AGPro Series]AG Pro Volume Profile POC Magnet Map
Overview
AG Pro Volume Profile POC Magnet Map is a chart-overlay indicator built around one practical question: how strongly is the current Point of Control attracting, holding, or losing price?
Instead of trying to replicate a full volume-profile workstation, this script focuses on the behavior of the active POC and the surrounding value area. The goal is to turn a familiar volume-profile concept into a cleaner decision-support map that helps users judge whether price is still interacting with the current fair-value center, rejecting it, reclaiming it, or beginning to establish value elsewhere.
The script is designed for users who want a visual framework around POC behavior without covering the chart with heavy histogram structures or overly complex dashboards. It highlights the active POC, the current Value Area High (VAH), the current Value Area Low (VAL), a compact magnet band around the POC, and a small set of reaction labels that describe how price is interacting with that area.
In short, this indicator is not trying to tell users what to buy or sell. It is trying to make one specific market reference more readable: the relationship between price and the current POC region.
What the script does
At a high level, the script does five things:
1) It builds a fixed-lookback volume-distribution map from recent chart data.
2) It derives the active POC, VAH, and VAL from that distribution.
3) It measures how close price is to the current POC and how often price revisits or accepts that region.
4) It converts those observations into a compact Magnet Score and state readout.
5) It marks a small set of price/POC interaction events such as Tag, Reject, and Reclaim.
The result is a visual tool that combines reference levels and contextual interpretation in one overlay.
Unique edge
Many indicators can show a POC. This script is built to answer a more specific question: what is the quality of the current POC as a magnet for price?
That difference matters. A raw POC line can be useful, but by itself it does not explain whether price is repeatedly returning to it, drifting away from it, rejecting it, or stabilizing around it. This script adds that missing context by combining the active POC with a behavior layer.
The design goal is not “more features.” The design goal is clearer interpretation:
- Is price still accepting the current value center?
- Is the POC functioning as a pullback magnet?
- Is price rejecting the area instead of accepting it?
- Is value beginning to migrate?
That is the role of the score, the state engine, and the reaction labels.
Methodology
The script uses a fixed lookback window and divides the recent price range into user-defined bins. It then allocates each bar’s volume to one price bin using the selected bar source, which can be Close or HLC3. From that distribution it identifies:
- POC: the highest-volume bin in the lookback window
- VAH: the upper boundary of the selected value area percentage
- VAL: the lower boundary of the selected value area percentage
After the levels are derived, the script evaluates how price is behaving relative to the active POC region.
The Magnet Score is built from multiple components:
- Distance: how far current price is from the POC, normalized by ATR
- Revisit behavior: how often price has returned to the POC region
- Acceptance behavior: how often price has closed near the POC region
- Stability: whether the POC is relatively stable or drifting quickly
- Rejection pressure: whether interactions with the POC region are ending in rejection rather than acceptance
These components are combined into a bounded 0-100 score. Higher readings suggest that the current POC remains a stronger center of attraction. Lower readings suggest weaker pull, weaker acceptance, or a market beginning to operate away from the current value center.
The script then classifies context into states such as:
- Magnet Strong
- Magnet Active
- POC Tagged
- POC Rejected
- Accepted Away
- Magnet Weakening
This state layer is designed to summarize the current context rather than generate automatic trading instructions.
How to read the chart
POC
The POC is the main reference line. It marks the highest-volume price zone inside the selected lookback distribution. If price repeatedly returns to it, reacts from it, or consolidates around it, that line is functioning as an active center of interest.
VAH and VAL
VAH and VAL define the current value-area boundaries. These help users judge whether price is still operating inside value or beginning to establish acceptance above or below it.
Magnet band
The magnet band is a narrow region around the POC. It exists to make POC interaction easier to read visually. It is not a claim that every touch is meaningful. It is simply a compact visual tolerance zone around the active POC.
Reaction labels
The script can display a small set of event labels:
- Tag: price reached the current POC region
- Reject: price interacted with the area and moved away
- Reclaim: price crossed back through the active POC after being on the other side
These labels are meant to help describe interaction, not to replace confirmation logic, risk management, or broader market context.
Panel
The panel summarizes:
- Magnet Score
- POC Distance
- POC Drift
- Value Context
- Last Reaction
- Current POC / VAH / VAL values
This gives users a quick status view without needing to inspect every line manually.
Typical use cases
This indicator may be useful when users want to:
- monitor whether pullbacks are still returning to the active POC
- judge whether price is still auctioning inside value or beginning to accept away from value
- compare different symbols for how “sticky” the current POC region appears to be
- add context to an existing structure, trend, or mean-reversion workflow
- keep a cleaner chart while still tracking basic volume-profile behavior
The script is intended as a context and interpretation layer. It is not a complete trading plan on its own.
Key inputs
Lookback Bars
Controls the size of the historical window used for the profile calculation. A larger value creates a broader context. A smaller value makes the profile more reactive.
Rows / Bin Count
Controls profile granularity. Higher values create more detailed binning. Lower values produce a smoother, simpler map.
Value Area %
Defines how much of total lookback volume is included inside the value area used to derive VAH and VAL.
Price Source For Bin Allocation
Lets users choose whether each bar’s volume is allocated using Close or HLC3. This changes how the profile is distributed across bins.
ATR Length
Used in normalization and spacing calculations, including the distance component and label positioning.
Magnet Band Width (ATR)
Controls the thickness of the tolerance zone around the active POC.
Distance Ceiling (ATR)
Caps how far price can be from the POC before the distance component is treated as maximally weak.
Revisit Window and Acceptance Window
These affect how the script measures repeated interaction and acceptance around the active POC region.
POC Drift Lookback
Used to estimate whether the active POC is relatively stable or shifting.
Label controls
Users can adjust label visibility, density, cooldown behavior, and right-edge line labels to keep the chart cleaner or more descriptive depending on preference.
Alerts
The script includes alert conditions for:
- POC Tag
- POC Reject
- POC Reclaim
- Magnet Strong
- Magnet Active
- Magnet Weakening
- Accepted Away
These alerts are event-based notifications tied to the script’s contextual logic. They are not performance claims and they should not be interpreted as guaranteed entry or exit signals.
Limitations and transparency
This script uses a fixed-lookback, bar-based approximation of volume distribution. It does not reconstruct native exchange-level order flow, bid/ask delta, or true tick-by-tick auction detail.
Volume is allocated to bins using a selected bar source rather than full intrabar volume-at-price reconstruction. That means the profile is intentionally simplified so it can remain lightweight and readable inside a standard Pine overlay.
Because the script uses a rolling lookback window, the active POC, VAH, and VAL can change as older bars leave the window and newer bars enter it. That is normal behavior for this design.
The reaction labels are descriptive, not predictive. A Tag does not imply reversal. A Reject does not guarantee continuation. A Reclaim does not guarantee trend resumption. They are context markers showing how price interacted with the current POC area according to the script’s definitions.
This tool should be read in conjunction with price structure, volatility, liquidity conditions, and user-defined execution rules.
What this script is not
This script is not:
- a full session volume-profile suite
- an order-flow or footprint tool
- a prediction engine
- a guaranteed reversal detector
- a stand-alone trade system
It is a focused overlay for interpreting how price is behaving around the current Point of Control and value-area structure.
Practical interpretation notes
In many markets, the POC acts like a reference area rather than a directional signal. The more often price returns to it and the more often price stabilizes near it, the more useful that region can become as a working fair-value reference.
By contrast, when price begins to hold above VAH or below VAL and stops interacting meaningfully with the POC region, the script may shift toward weaker magnet states or accepted-away context. That does not automatically imply trend continuation, but it does suggest that the current value center may be losing influence.
Users may find this especially useful when comparing:
- balanced conditions vs. directional conditions
- shallow pullbacks vs. deeper value retests
- symbols that keep rotating through value vs. symbols that are clearly accepting away from it
Risk disclosure
This indicator is for chart analysis and market context only. It does not provide investment advice, trading advice, or guaranteed outcomes.
All indicators simplify market behavior. This script is no exception. Markets can ignore previously important value references, react differently across symbols and timeframes, and change behavior as volatility regimes shift.
Users are responsible for their own confirmation process, execution decisions, and risk management. Indicator

NQ Swing Command Intraday NQ Swing Command – Intraday (15m/30m/1h)
A structured intraday trading system built for the Nasdaq-100 Index (NQ), designed to capture clean swing moves using multi-timeframe confluence. This script aligns 15m execution with 30m confirmation and 1H directional bias, giving traders a clear framework for timing entries within the broader market structure.
The strategy focuses on identifying trend continuation and reversal zones, combining price action, momentum, and key levels to deliver high-probability setups. Whether you're trading pullbacks, breakouts, or intraday swings, this system helps filter noise and keep you trading in sync with market flow.
Built for consistency and discipline, NQ Swing Command is ideal for traders looking to:
*Follow structured, rule-based setups
*Improve entry timing across multiple timeframes
*Capture intraday swings with confidence
*Stay aligned with overall market direction
A clean, no-fluff approach to mastering intraday movement on NQ. Indicator

Moon Boys BTC Production Cost Daily137
═════════════════════════════════════════════════════════════
Moon Boys BTC PRODUCTION COST DAILY
═════════════════════════════════════════════════════════════
Track Bitcoin's real-time production cost using comprehensive electricity consumption data and mining economics to identify macro support/resistance zones.
═══ OVERVIEW ═══
This indicator calculates Bitcoin's actual cost of production by combining Cambridge Bitcoin Electricity Consumption Index (CBECI) data with electricity pricing models across different mining eras. It reveals where miners are profitable or underwater, providing crucial macro-level support zones that have historically acted as psychological and economic floors.
Perfect for:
• Identifying long-term accumulation zones
• Understanding miner profitability and capitulation risk
• Spotting macro support levels during bear markets
• Gauging healthy vs. overheated price levels
• Planning dollar-cost averaging strategies
═══ KEY FEATURES ═══
📊 COMPREHENSIVE HISTORICAL DATA
└─ 378 data points spanning 2011-2026
└─ Complete CBECI electricity consumption dataset
└─ Verified accuracy: all dates and values cross-checked
└─ Updates every ~14 days with new CBECI releases
⚡ ELECTRICITY COST MODELING
└─ Pre-June 2019: $0.05/kWh (Early mining era)
└─ Pre-April 2021: $0.04/kWh (China dominance period)
└─ Post-May 2021: $0.05/kWh (China exodus, Western migration)
└─ Post-April 2024: $0.05/kWh (Post-4th halving era)
└─ Fully customizable for scenario analysis
🎯 DUAL COST CURVES
└─ Red line: Pure electricity cost per BTC
└─ Purple line: Total production cost (electricity + operations)
└─ Green line: Miner price (spot + transaction fee revenue)
└─ Pink fill: Zones where miners are losing money
📈 AUTOMATIC HALVING ADJUSTMENTS
└─ Integrates all Bitcoin halvings (2012, 2016, 2020, 2024)
└─ Block reward automatically adjusts: 50 → 25 → 12.5 → 6.25 → 3.125
└─ Accurate per-day BTC production calculations
💰 PROFIT MARGIN TRACKING
└─ Annual profit margin labels (optional)
└─ Shows miner profitability percentage
└─ Appears on chart at electricity cost level
└─ Calculated using 365-day moving average
═══ HOW TO READ IT ═══
┌─────────────────────────────────────────────────────────┐
│ INDICATOR │ MEANING │
├─────────────────────────────────────────────────────────┤
│ 🟢 Green Line │ Miner Price (BTC price + fee revenue)│
│ (above purple) │ → Miners profitable, healthy market │
├─────────────────────────────────────────────────────────┤
│ 🟢 Green Line │ Price below production cost │
│ (below purple) │ → Miner capitulation zone │
│ │ → Strong historical buy signal │
├─────────────────────────────────────────────────────────┤
│ 🔴 Red Line │ Pure electricity cost per BTC │
│ │ → Absolute minimum mining cost │
├─────────────────────────────────────────────────────────┤
│ 🟣 Purple Line │ Total production cost │
│ │ → Break-even for miners (60% elec) │
├─────────────────────────────────────────────────────────┤
│ 🌸 Pink Fill │ Below-cost territory │
│ │ → Miners selling at a loss │
│ │ → Historical accumulation zone │
└─────────────────────────────────────────────────────────┘
═══ TRADING APPLICATIONS ═══
🐻 BEAR MARKET BOTTOMS
→ Price touching or breaking below production cost = high probability bottom
→ Extended periods below cost = miner capitulation
→ Historical bottoms: Nov 2011, Jan 2015, Dec 2018, Nov 2022
→ Strongest buy signal in macro Bitcoin investing
📈 BULL MARKET HEALTH CHECKS
→ Distance above production cost = market heat level
→ 100-200% above cost = healthy bull market
→ 500%+ above cost = euphoric/bubble territory
→ Use as take-profit reference points
💎 ACCUMULATION STRATEGY
→ DCA when price approaches production cost
→ Increase buy size when price drops below cost
→ Maximum allocation when 10-20% below cost
→ Layer entry as margin shows negative percentages
⚖️ SUPPORT/RESISTANCE ZONES
→ Production cost acts as macro support in downtrends
→ Often becomes resistance after prolonged bear markets
→ Price reclaiming cost = bullish structural shift
→ Failed reclaims = continued weakness
🔄 HALVING CYCLE ANALYSIS
→ Cost doubles after each halving (supply cut)
→ Price typically consolidates near new cost basis
→ Historic pattern: break above cost = new bull cycle
→ Track 6-12 months post-halving for trend confirmation
═══ SETTINGS GUIDE ═══
⚡ ELECTRICITY COST ASSUMPTIONS (USD/kWh)
├─ Pre-June 2019 (0.05): Early mining era, hobby miners
├─ Pre-China Exodus 2021 (0.04): Cheap Chinese hydropower
├─ Post-May 2021 (0.05): Western migration, higher costs
└─ Post-April 2024 (0.05): Current era post-4th halving
💡 Adjust these for "what if" scenarios or local costs
💰 ELECTRICITY PERCENTAGE (Default: 60%)
└─ Electricity as % of total mining costs
└─ Remaining 40% = hardware, labor, rent, maintenance
└─ Lower % = higher total cost (more conservative)
└─ Typical range: 50-70%
🎨 VISUAL TOGGLES
├─ Plot BTC Miner Price: Show/hide green line
│ └─ Includes transaction fee revenue per BTC
├─ Plot Production Cost Curves: Show/hide red & purple lines
└─ Plot Annual Profit Margin Labels: Show/hide margin %
└─ Appears annually (Jan 1st) and on last bar
═══ HOW IT WORKS ═══
1. ELECTRICITY CONSUMPTION DATA
• Cambridge Bitcoin Electricity Consumption Index (CBECI)
• Actual network-wide energy usage in TWh (terawatt-hours)
• Updated bi-weekly with real hash rate data
• 378 historical data points (Aug 2011 - Jan 2026)
2. COST CALCULATION FORMULA
Electricity Cost per BTC =
(TWh per year / 365.25 days) ×
(10^9 to convert to kWh) /
(BTC mined per day) ×
(Electricity price per kWh)
Total Cost per BTC =
Electricity Cost / (Electricity % of total costs)
3. BTC MINED PER DAY
Blocks per day (144) × Block reward
• 2009-2012: 50 BTC/block = 7,200 BTC/day
• 2012-2016: 25 BTC/block = 3,600 BTC/day
• 2016-2020: 12.5 BTC/block = 1,800 BTC/day
• 2020-2024: 6.25 BTC/block = 900 BTC/day
• 2024+: 3.125 BTC/block = 450 BTC/day
4. MINER PRICE METRIC
Spot close price + (Transaction fees per day / BTC mined per day)
• Currently simplified with fees = 0
• Shows true revenue per BTC for miners
5. PROFIT MARGIN CALCULATION
((Miner Price / Total Cost) - 1) × 100
• Smoothed with 365-day SMA
• Shows sustainable annual profitability
═══ BEST PRACTICES ═══
✅ DO:
• Use on DAILY timeframe for accuracy (designed for daily data)
• Combine with on-chain metrics (SOPR, MVRV, Puell Multiple)
• Layer with traditional TA for entry/exit timing
• Understand this is AVERAGE global cost (varies by miner)
• Use as macro filter, not short-term trading signal
• Check profit margins during capitulation events
❌ DON'T:
• Use as sole indicator for short-term trades
• Ignore that efficient miners have much lower costs
• Forget that cost is constantly rising (hash rate + difficulty)
• Assume price can't go below cost (it can temporarily)
• Trade based only on cost - liquidity events can wick lower
• Expect instant reversals at cost levels
═══ HISTORICAL PERFORMANCE ═══
Major Bitcoin bottoms near/below production cost:
📅 November 2011
Price: ~$2 | Cost: ~$5
→ 60% below cost, -95% drawdown
→ Bottom signal ✓
📅 January 2015
Price: ~$150 | Cost: ~$180
→ 17% below cost, -85% drawdown
→ Bottom signal ✓
📅 December 2018
Price: ~$3,200 | Cost: ~$3,500
→ 9% below cost, -84% drawdown
→ Bottom signal ✓
📅 November 2022
Price: ~$15,500 | Cost: ~$17,000
→ 9% below cost, -77% drawdown
→ Bottom signal ✓
Pattern: When price trades below production cost, accumulation zone.
═══ TECHNICAL NOTES ═══
• Built with Pine Script v5
• Data source: Cambridge Centre for Alternative Finance (CBECI) Updated Quaterly by Request
• All dates/values verified against official CSV dataset
• Electricity price adjusts based on major mining regime shifts
• Uses series variables for proper historical calculation
• Forward-fills data between CBECI update periods
• Accounts for all 4 halvings in BTC history
═══ DATA PERIODS EXPLAINED ═══
🏭 PRE-JUNE 2019 ($0.05/kWh)
Early mining era, distributed hobby miners, average global cost
🇨🇳 JUNE 2019 - APRIL 2021 ($0.04/kWh)
China dominance period, cheap hydropower in Sichuan/Yunnan
🌍 MAY 2021 - APRIL 2024 ($0.05/kWh)
China ban, Western migration, renewable energy transition
🔮 POST-APRIL 2024 ($0.05/kWh)
4th halving, institutional mining, current era
═══ UNDERSTANDING MINING ECONOMICS ═══
⚡ ELECTRICITY = 60% OF COST (Default)
└─ Largest variable expense for miners
└─ Directly tied to hash rate and difficulty
🔧 OTHER COSTS = 40%
├─ ASIC hardware (depreciation)
├─ Facility rent and cooling
├─ Labor and maintenance
├─ Internet and infrastructure
└─ Insurance and legal
💰 REVENUE SOURCES
├─ Block subsidy (newly minted BTC)
└─ Transaction fees (variable, usually 2-10% of revenue)
📉 MINER BEHAVIOR
• Profitable: Accumulate BTC, expand operations
• Break-even: Hold BTC, maintain operations
• Unprofitable: Forced selling, potential capitulation
═══ ADVANCED USE CASES ═══
🔬 SCENARIO ANALYSIS
→ Adjust electricity costs to model different regions
→ US miners: $0.05-0.07/kWh
→ Nordic miners: $0.02-0.04/kWh
→ Middle East: $0.01-0.03/kWh
📊 COMBINE WITH ON-CHAIN DATA
→ Miner Net Position Change (selling pressure)
→ Hash Ribbons (miner capitulation indicator)
→ Difficulty Ribbon (hash rate compression)
→ Puell Multiple (miner revenue extremes)
🎯 MULTI-TIMEFRAME CONFLUENCE
→ Weekly chart: macro trend and cost support
→ Daily chart: precise entry/exit near cost
→ 4H chart: short-term reactions at cost levels
🌐 CORRELATION TRADING
→ Miner stocks (MARA, RIOT, CLSK) vs BTC cost
→ When BTC < cost, miner stocks typically -30-50%
→ Energy prices (oil, nat gas) affect mining costs
═══ LIMITATIONS & CONSIDERATIONS ═══
⚠️ AVERAGE COST, NOT ACTUAL
• Large miners with PPAs have costs as low as $0.02-0.03/kWh
• Inefficient miners may have costs 2-3x the average
• This shows network-wide average for reference
⚠️ ELECTRICITY PRICE ASSUMPTIONS
• Static periods vs. dynamic energy markets
• Renewable energy % growing = lower average cost over time
• Geographic distribution matters (Texas vs. Kazakhstan)
⚠️ DOESN'T INCLUDE
• ASIC efficiency improvements (more hash/watt)
• Stranded energy and flare gas mining
• Government subsidies or penalties
• Seasonal variations (wet/dry seasons)
⚠️ LAGGING INDICATOR
• CBECI data updates every ~14 days
• Historical data, not forward-looking
• Cost always rises, but at variable rate
═══ DISCLAIMER ═══
This indicator visualizes Bitcoin's estimated global average production cost based on publicly available electricity consumption data and modeled pricing assumptions. It does NOT:
• Guarantee future price movements or bottoms
• Account for individual miner profitability variations
• Include all operational costs (simplified to electricity %)
• Predict miner capitulation or selling pressure
• Constitute financial advice or buy/sell signals
Production cost is A REFERENCE POINT, not a hard floor. Price can and has traded below cost during extreme capitulation events. Market liquidity, macro conditions, and sentiment often override cost-basis logic in the short term.
Always conduct your own research and use proper risk management.
📚 EDUCATIONAL USE ONLY | NOT FINANCIAL ADVICE
═══ RESOURCES ═══
Cambridge Bitcoin Electricity Consumption Index (CBECI)
→ ccaf.io/cbnsi/cbeci
Bitcoin Mining Economics
→ insights.braiins.com/en/
Block Reward Halving Schedule
→ bitcoinblockhalf.com/
Difficulty & Hash Rate Charts
→ blockchain.com/charts/difficulty
Understanding ASIC Mining
→ academy.binance.com/en/articles/what-is-an-asic-miner
Mining Profitability Calculator
→ coinwarz.com/mining/bitcoin/calculator
On-Chain Miner Metrics
→ cryptoquant.com/
Energy & Mining Data
→ hashrateindex.com/
═══════════════════════════════════════════════════════════
Built for the Bitcoin community 🚀
Because understanding the cost of production is fundamental analysis 💎
═══════════════════════════════════════════════════════════ Indicator

Esco Theory v4Esco Theory maps the hidden geometry of price action. It identifies swing structure, plots geometric rails between pivots, detects supply and demand zones, fair value gaps, liquidity pools, compression patterns, and confluence clusters.
All signals are synthesized into a real-time dashboard so traders can read market structure and volatility conditions at a glance.
Built for traders who study displacement, structure shifts, and the expansion–compression cycles that drive price.
Features
Market Structure (BOS / MSS)
Automatically detects Break of Structure (BOS) and Market Structure Shifts (MSS) using configurable swing lookback. Bullish and bearish shifts are labeled directly on the chart with color-coded markers.
Displacement candles (body greater than 1.5× ATR) are highlighted to confirm impulsive moves.
Geometric Rails
Trendlines (“rails”) are drawn between consecutive swing highs and swing lows and extended forward.
Two tiers are available:
Minor Rails
Short-term pivots for intraday and swing geometry.
Major Cycle Rails
Higher-timeframe pivots that reveal broader structural channels.
Cross-rails connect swing highs to swing lows using dotted diagonals, revealing convergence and divergence patterns.
Cycle Fan
A fan of rays projects from the deepest major swing low through each major swing high (and vice versa), mapping the angular geometry of the current market cycle.
These angles often highlight reaction zones where time and price intersect.
Supply & Demand Zones
Zones are created at pivot candles confirmed by displacement on the following bar.
Each zone tracks retests and gradually fades in transparency as it is touched.
Mitigated zones are automatically removed to keep charts clean.
Fair Value Gaps (FVG) & Inverted FVGs
Three-candle imbalance gaps are detected and drawn as shaded boxes.
When a gap fills to its midpoint it converts into an inverted FVG, which can act as a continuation or re-entry zone.
Both gap types have independent color settings and optional auto-expiration.
Premium / Discount Zones
Using the most recent major swing high and low, price is divided into:
Premium (upper 25%)
Discount (lower 25%)
Equilibrium (midpoint)
A dotted equilibrium line marks fair value and helps filter entries.
Support & Resistance Clustering
All pivot prices are grouped by proximity.
Levels with multiple touches are drawn as dashed horizontal lines labeled with touch count:
S (3)
R (4)
Stronger clusters appear as thicker lines.
Confluence Zones
When three or more levels from different sources cluster together (pivots, S/R levels, supply and demand), a shaded confluence zone is drawn.
These areas often produce the strongest market reactions.
Liquidity — Equal Highs / Equal Lows
Swing highs and lows within a defined tolerance are identified as EQH and EQL liquidity pools.
These levels extend forward and often attract price before reversals or breakouts.
Liquidity Sweeps
When price wicks through an equal high or low and closes back inside the level, a sweep marker (✕) appears.
Sweeps often signal liquidity grabs before reversals.
Compression & Squeeze Detection
Two compression signals identify volatility contraction.
ATR Compression
Occurs when fast ATR drops below 60% of slow ATR.
Bollinger / Keltner Squeeze
When Bollinger Bands contract inside Keltner Channels.
When the squeeze releases, a triangle marker signals expansion.
A wedge overlay connects compression pivots to visualize tightening ranges.
Real-Time Dashboard
A compact panel displays current market conditions.
Bias
Current structure trend (Bullish / Bearish / Neutral)
Zone
Premium, Discount, or Equilibrium
Volatility
Squeeze, Compression, or Expansion
ATR Ratio
Fast ATR vs Slow ATR
BBW
Bollinger Band Width percentage
Wedge
Active compression wedge detection
FVG
Active gap count
Sweeps
Recent liquidity sweep count
Inputs & Customization
Every module can be toggled independently.
Key settings include:
Swing Lookback (minor and major)
Rail Extension length
Max Cross-Rails
Supply / Demand Pivot Length
FVG Minimum Size and Max Age
Support / Resistance Tolerance and Minimum Touches
Confluence Width and Minimum Levels
Equal High / Low Tolerance
All colors are fully customizable.
How to Use
Identify bias
Check the dashboard for current structure direction and premium/discount location.
Find confluence
Look for areas where rails, zones, gaps, and support/resistance overlap.
Watch compression
Squeeze diamonds and wedges signal volatility building.
Trade displacement
Highlighted candles confirm impulsive moves through key levels.
Monitor liquidity sweeps
EQH/EQL sweeps often precede reversals or expansions.
Notes
Overlay indicator designed for use directly on price charts.
Compatible with all markets and timeframes.
Lower timeframes with large bar counts may increase drawing load. Adjust lookback settings if needed.
Best used alongside discretionary price action and market context. Indicator

SMC Core Lite - Signals█ OVERVIEW
SMC Core Lite is a lightweight, performance-optimized Smart Money Concepts (SMC) indicator designed to help traders identify institutional trading patterns and generate high-probability trade signals.
This indicator combines the most essential SMC elements - Fair Value Gaps (FVG), Order Blocks (OB), and Break of Structure (BOS) - into a single, easy-to-use tool with automatic LONG/SHORT signal generation.
█ CONCEPTS
The indicator is built on the foundation of Smart Money Concepts, a trading methodology that focuses on understanding how institutional traders (banks, hedge funds, market makers) move the markets.
🔹 Break of Structure (BOS)
When price breaks above a swing high or below a swing low, it signals a potential continuation of the trend. This confirms the market's directional bias.
🔹 Change of Character (CHoCH)
When BOS occurs against the prevailing trend, it signals a potential trend reversal. This is a powerful early warning sign of shifting market sentiment.
🔹 Fair Value Gaps (FVG)
Also known as imbalances, FVGs are areas on the chart where price moved so quickly that it left a "gap" in the price action. These zones often act as magnets for price to return and fill.
🔹 Order Blocks (OB)
Order blocks represent the last opposing candle before a strong impulsive move. These zones mark areas where institutional orders were placed and often act as strong support/resistance levels.
█ FEATURES
• ✅ Break of Structure (BOS) Detection
• ✅ Change of Character (CHoCH) Detection
• ✅ Fair Value Gap (FVG) Identification
• ✅ Order Block (OB) Detection
• ✅ Automatic LONG/SHORT Signals
• ✅ Auto Stop Loss & Take Profit Levels
• ✅ Market Bias Dashboard
• ✅ Customizable Risk:Reward Ratio
• ✅ Signal Cooldown Filter
• ✅ Alert Conditions for All Events
• ✅ Lightweight & Fast Loading
█ HOW IT WORKS
The signal generation follows a confluence-based approach:
🟢 LONG SIGNAL CONDITIONS:
1. Price pulls back into a bullish zone (Bullish FVG or Bullish OB)
2. Recent Bullish BOS/CHoCH confirmed OR Market Bias is Bullish
3. Current candle closes bullish (confirmation)
4. Signal cooldown period has passed
🔴 SHORT SIGNAL CONDITIONS:
1. Price pulls back into a bearish zone (Bearish FVG or Bearish OB)
2. Recent Bearish BOS/CHoCH confirmed OR Market Bias is Bearish
3. Current candle closes bearish (confirmation)
4. Signal cooldown period has passed
█ HOW TO USE
1. Add the indicator to your chart
2. Wait for market structure to develop (BOS/CHoCH labels)
3. Observe the Market Bias in the dashboard (BULL 🐂 or BEAR 🐻)
4. Look for LONG signals in bullish bias, SHORT signals in bearish bias
5. Use the auto-generated SL/TP levels for trade management
6. Set alerts to get notified of new signals
█ SETTINGS
═══ SIGNALS ═══
• Show LONG/SHORT Signals → Enable/disable signal labels
• Show SL/TP Lines → Display stop loss and take profit levels
• Risk:Reward → Set your desired R:R ratio (1:1 to 1:5)
• Signal Cooldown → Minimum bars between signals (reduces noise)
═══ STRUCTURE ═══
• Show BOS/CHoCH → Display structure break labels
• Swing Length → Lookback period for swing point detection
═══ ZONES ═══
• Show FVG → Display Fair Value Gap boxes
• Show Order Blocks → Display Order Block boxes
• Zone Lookback → Historical bars to analyze
• OB Strength → ATR multiplier for impulse move detection
█ ALERTS
The indicator includes 4 alert conditions:
1. 🟢 LONG Signal → Triggered when a buy signal appears
2. 🔴 SHORT Signal → Triggered when a sell signal appears
3. 🟢 Bullish BOS → Triggered on bullish break of structure
4. 🔴 Bearish BOS → Triggered on bearish break of structure
To set alerts: Right-click on chart → Add Alert → Select this indicator → Choose condition
█ IMPORTANT NOTES
⚠️ This indicator is optimized for speed and performance. It stores only the most recent 10 FVGs and 10 Order Blocks to ensure fast loading times.
⚠️ Works best on higher timeframes (15m, 1H, 4H, Daily) where market structure is cleaner.
⚠️ Always use proper risk management. No indicator is 100% accurate.
█ BEST PRACTICES
✅ Trade in the direction of the higher timeframe bias
✅ Wait for price to pull back to zones before entering
✅ Use the 50% level of zones for optimal entries
✅ Combine with your own analysis for best results
✅ Backtest before using with real capital
█ DISCLAIMER
This indicator is for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always do your own research and consider your financial situation before making any trading decisions.
█ CREDITS
Inspired by the Smart Money Concepts trading methodology and ICT (Inner Circle Trader) concepts.
If you find this indicator helpful, please consider giving it a boost 🚀 and following for more trading tools!
█ VERSION HISTORY
v1.0 - Initial Release
• BOS/CHoCH Detection
• FVG & Order Block Identification
• LONG/SHORT Signal Generation
• Auto SL/TP Calculation
• Market Bias Dashboard
• Alert Conditions Indicator

Smart Confluence█ SMART CONFLUENCE (SC)
Multi-Factor SMC Trading System
Smart Confluence combines multiple market structure signals into a single confluence score . When enough signals align, it generates BUY/SELL setups with precise Entry Zones, Stop Loss, and 3 Take Profit levels — all fully automated.
Free and Open Source.
█ THE CONCEPT: WHY CONFLUENCE MATTERS
No single indicator is reliable on its own. A CHOCH can fail. An Order Block can break. A sweep can be a fakeout. But when 4-6 different signals all agree at the same time — that's when the probability is in your favor.
Smart Confluence requires a core trigger (CHOCH, Sweep, or EQ-Grab) PLUS enough confirmations to reach the minimum confluence threshold before any signal fires. This eliminates most false signals.
█ CORE FEATURES
1. Market Structure Detection
Automatic Swing High/Low identification with Change of Character (CHOCH) — the moment a downtrend breaks above the last swing high (bullish) or an uptrend breaks below the last swing low (bearish). CHOCH is worth 2 confluence points.
2. Liquidity Sweeps
Detects stop-hunt patterns where price sweeps below recent lows (or above recent highs) and reverses. These sweeps indicate smart money collecting liquidity before the real move. Worth 2 confluence points.
3. EQH/EQL (Equal Highs/Lows)
Identifies liquidity pools where multiple swing points cluster at the same price level. When price sweeps through these clusters (EQ-Grab), it signals institutional order flow. Worth 3 confluence points (configurable).
4. Order Blocks & Fair Value Gaps
Order Blocks — The last opposing candle before a strong move — institutional supply/demand zones. +1 point when price is inside.
FVGs — Price imbalances (gaps between candles) that act as magnets. +1 point when price is inside.
5. Premium/Discount Zones
Calculates where price is relative to the current range. Buy in discount (<50%), sell in premium (>50%). OTE (Optimal Trade Entry) bonus for the 62-79% retracement zone. Up to +3 confluence points.
6. Confirmation Filters
Volume — High volume confirms institutional activity (+1-2 points)
RSI Divergence — Momentum exhaustion = strong reversal signal (+2 points)
EMA Trend Filter — Price vs EMA21/50/200 alignment (+1-2 points)
ATR Volatility — High volatility confirms market activity (+1 point)
HTF Trend — Higher timeframe trend agreement (+1 point)
Candlestick Patterns — Engulfing, Hammer, Shooting Star (+1 point)
█ AUTO-TIMEFRAME ADAPTATION
All parameters auto-adjust to your chart timeframe: Swing Length, Cooldown, OB Lookback, Min Confluence, HTF selection, SL Buffer, Min R:R, EQ Tolerance, EQ Age, Setup duration, S/R Cluster. Supports 1m to Monthly.
█ S/R ZONE DETECTION
Automatic Support/Resistance zones built from clustering multiple sources: Swing points, Order Blocks, FVGs, EQH/EQL levels, HTF levels. Each zone gets a strength score (1-5). Only shows the strongest zones.
█ ENTRY / SL / TP SYSTEM
Entry Zone — Based on active Order Block or FVG. Falls back to current candle range.
Stop Loss — 4 modes: Entry-Based, Swing, ATR, or SMC (below OB/FVG). R:R filter ensures minimum reward.
Take Profit — 4 modes: Structure (next swing), Fixed R:R, ATR-based, or Hybrid (structure if available, else R:R).
Partial TP — Configurable distribution (50/30/20, 33/33/34, 40/40/20, 60/30/10).
█ DASHBOARD
Compact dark-themed info panel showing: Mode (Auto/Manual + TF), Trend direction, HTF confirmation, Premium/Discount zone, S/R levels with strength, Bull/Bear confluence scores, Active setup details (direction, R:R, SL, Entry, TP1-3), SL/TP mode, Partial distribution.
█ ALERTS (8 CONDITIONS)
BUY Signal — Full confluence with valid R:R
SELL Signal — Full confluence with valid R:R
Bullish CHOCH — Trend reversal detected
Bearish CHOCH — Trend reversal detected
EQH Grab — Liquidity pool swept (bearish)
EQL Grab — Liquidity pool swept (bullish)
Bullish Sweep — Stop hunt detected
Bearish Sweep — Stop hunt detected
█ PRO VERSION
The PRO version (Smart Confluence Pro) adds:
Signal Profile Presets — Scalping, Intraday, Swing, Position, Aggressive, Conservative, SMC Pure
Asset Auto-Detection — Crypto, Forex, Stock, Futures with 8 scaling factors
A/B/C Signal Grading — Quality scoring based on Zone, HTF, Volume, Session, Divergence
Risk Management — Account size, risk %, position sizing, custom partial distributions
Session Filter — London, New York, Asia sessions with overlap detection
Funding Rate — Crypto perpetual funding rate as contrarian confluence
Trailing Stop Loss — Break-Even + Trail TP modes
Trade Management Alerts — TP1/TP2/TP3 hit, SL hit, Trailing updates, Setup expiry
14+ Alert Types — Including A-Grade only alerts
█ NON-REPAINTING
All signals require confirmed bars (barstate.isconfirmed for EQH/EQL). Signal confirmation waits for the next candle. HTF data uses lookahead=barmerge.lookahead_off. No future data leakage. No repainting.
█ WORKS ON
Crypto, Forex, Stocks, Futures, Indices — any timeframe from 1 minute to Monthly.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss.
Indicator

Indicator

Indicator

Indicator

Value Area Levels [crlmx]Calculated from native volume-at-price data vaLevels shows Value Area
levels (VAH, POC, VAL) across three independently configurable timeframes.
Requires PulseWire Premium or above plan for Footprint data access,
Short of that refere to Lite version (coming soon).
Key Features
- Three independent VA slots with on/off toggles
- Timeframe selection: D, W, M, 30min, 1H, 4H, 8H, 12H
- Session-based VA on slot 3: NYC, London, Asia, Custom
- Custom session with user-defined time window and label prefix
- Auto-calculated row resolution per instrument type
- Manual ticks-per-row override for fine-tuning
- Configurable Value Area percentage (default 68%)
- Individual VAH, POC, VAL toggles per slot
- Optional price display in labels
- Requires PulseWire Premium or Ultimate plan
- Streamlined input / UI brought to you by crlmx
Trading Applications
- Map previous day area against weekly and session VAs to identify confluence zones
- Track VAH/VAL as breakout triggers when price moves outside the prior value area
- Compare session VA (NYC/LDN) against daily VA to for reactions
- When daily and weekly VAs overlap, expect stronger reactions at the shared boundary
- Combine with prLevels for a complete prior-level picture (price levels + volume levels)
- Recommended Settings
Intraday S/R: D + W + NYC | Chart: 1-15 min
Session Trading: D + 4H + LDN | Chart: 1-5 min
Swing Reference: D + W + M | Chart: 30 min - 4H
Version History
- v0.10: Initial release
Indicator

Indicator

VWAP [crlmx] Flexible Volume Weighted Average Price (VWAP) for clean
volume-weighted fair value benchmark and trend direction.
Key Features
- Adjustable VWAP Anchor
- 30min, 1H, 2H, 4H, 8H, 12H, D, W, M, Q, Y
- Sessions New York, London, Asia, with adjustable time
- Clean session breaks, no skews in VWAP line
- Period limit fearure (default 3) hides older periods
- Streamlined inputs/UI brought to you by crlmx
Trading Applications
- Intraday anchors (30min-12H): scalping and day trading
- Daily anchor: traditional intraday analysis
- Weekly/Monthly/Quarterly: swing trading context
- Yearly: long-term fair value
- Configuration examples:
Scalping: 30min-1H anchor | Limit: 5-10 | Bands: On | Multiplier: 1.0-1.5
Intraday: Day anchor | Limit: 3-5 | Bands: On | Multiplier: 1.0-2.0
Swing: Week-Month | Limit: 3-5 | Bands: Off | VWAP line only
Position: Quarter-Year | Limit: 3 | Bands: Off | Fair value reference
Version History
v1.56 (Latest - 22 Feb 2026)
- VWAP display limit feature: shows set amount of periods
- Added Market Sessions
- Streamlined input panel organisation
Indicator

Indicator

Indicator

Liquidity Radar# Liquidity Radar
## Overview
Liquidity Radar is a Smart Money Concepts (SMC) indicator that visualizes where institutional liquidity rests in the market. It combines automatic market structure detection (BOS & CHoCH), a thermal liquidity heatmap, dynamic order blocks, and fair value gaps into a single, performance-optimized overlay.
**Free & Open Source** — no invite-only access, no paywall. Full source code, fully transparent.
## The Concept: Why Liquidity Matters
In institutional trading, **liquidity pools** form above swing highs and below swing lows — these are clusters of stop-loss orders from retail traders. Smart money targets these pools to fill large positions. Understanding where liquidity rests gives you an edge in anticipating price movements:
- **Swing High Liquidity** — Stop-losses from short sellers sit above swing highs
- **Swing Low Liquidity** — Stop-losses from long buyers sit below swing lows
- **Liquidity Sweeps** — When price takes out a swing level to grab these stops, it often reverses
The indicator automates the detection and visualization of these key levels.
## Core Features
### 1. Thermal Liquidity Heatmap
The signature feature. Liquidity zones appear at every confirmed swing high and swing low with a thermal color gradient:
- **Fresh zones** — Warm colors (orange/yellow) indicate high relevance
- **Aging zones** — Cool colors (purple/blue) indicate decreasing relevance as time passes
- **Volume-weighted intensity** — Zones formed on high-volume bars appear more intense
- **Auto-cleanup** — Zones fade out over a configurable decay period and are removed when price sweeps through them
### 2. Market Structure Detection (BOS & CHoCH)
Automatic swing high/low detection using pivot-based logic:
- **BOS (Break of Structure)** — Price breaks a prior swing level in the trend direction (continuation). Shown as dashed lines.
- **CHoCH (Change of Character)** — Price breaks a prior swing level against the trend (potential reversal). Shown as solid lines with thicker width.
- Color-coded: Cyan/Teal = bullish, Magenta/Pink = bearish
### 3. Dynamic Order Blocks
Institutional supply and demand zones rendered as semi-transparent boxes:
- **Bullish OB** — The last bearish candle before a strong bullish move (at swing lows)
- **Bearish OB** — The last bullish candle before a strong bearish move (at swing highs)
- Configurable mitigation threshold — controls how much price must penetrate the block before it is considered mitigated
- Auto-removed when price closes through the block
### 4. Fair Value Gaps (FVG)
Three-candle inefficiency detection:
- Bullish FVG: Gap between candle 1's low and candle 3's high
- Bearish FVG: Gap between candle 1's high and candle 3's low
- ATR-based noise filter removes insignificant gaps
- Auto-removed when price fills the gap
- Default: OFF (toggle on in settings)
### 5. Premium / Discount Zones
Based on the current swing range:
- **Premium Zone** (upper half) — Light red background
- **Discount Zone** (lower half) — Light green background
- **Equilibrium Line** (50%) — Dashed amber line
- Default: OFF (toggle on in settings)
## Dashboard
A compact, dark-themed info panel displaying:
- **Trend** — Current market direction (Bullish / Bearish / Neutral)
- **Structure** — Last detected structure signal (BOS or CHoCH)
- **Liq. Heat** — How many liquidity zones are near the current price (High / Medium / Low)
- **Volume** — Above or below 20-period average
- **Momentum** — RSI(14) status (Overbought / Neutral / Oversold)
- **Next Zone** — Nearest liquidity zone with price level and distance in percent
## Auto-Timeframe Adaptation
All parameters automatically adjust to your chart timeframe:
| Timeframe | Swing Lookback | Heatmap Decay |
|-----------|---------------|---------------|
| 1-5 min | 6 | 100 bars |
| 15 min | 10 | 80 bars |
| 30 min | 12 | 80 bars |
| 1 Hour | 15 | 60 bars |
| 4 Hour | 22 | 50 bars |
| Daily | 35 | 40 bars |
| Weekly+ | 50 | 30 bars |
You can switch to manual mode for full control.
## Alert Types (7)
1. Bullish BOS — Break of Structure confirmed (continuation up)
2. Bearish BOS — Break of Structure confirmed (continuation down)
3. Bullish CHoCH — Change of Character detected (potential reversal up)
4. Bearish CHoCH — Change of Character detected (potential reversal down)
5. Bullish Liquidity Sweep — Swing high liquidity taken
6. Bearish Liquidity Sweep — Swing low liquidity taken
7. Price Entering Order Block — Price enters a bullish or bearish OB zone
## Settings
**Market Structure:**
- Show BOS / CHoCH (on/off)
- Auto Swing Lookback (on/off)
- Manual Swing Lookback (3-100)
- BOS / CHoCH line styles and width
**Liquidity Heatmap:**
- Show Heatmap (on/off)
- Auto Decay Period (on/off)
- Manual Decay (10-500 bars)
- Zone Width (ATR multiplier)
- Volume-Weighted Intensity (on/off)
- Max Active Zones (4-20)
**Order Blocks:**
- Show Order Blocks (on/off)
- Max OBs per Side (1-6)
- Mitigation Threshold (0.0-1.0)
**Fair Value Gaps:**
- Show FVGs (on/off, default OFF)
- Min FVG Size (ATR multiplier)
- Max Active FVGs (2-15)
- FVG Extend (bars)
**Premium / Discount:**
- Show Zones (on/off, default OFF)
- Zone Transparency
**Dashboard:**
- Show Dashboard (on/off)
- Position (Top Right / Top Left / Bottom Right / Bottom Left)
- Size (Tiny / Small / Normal)
**Visual Settings:**
- All 5 colors fully customizable
- Watermark (on/off)
## Non-Repainting
All signals are calculated on confirmed (closed) bars only. Pivot detection inherently requires N bars of confirmation on each side. BOS/CHoCH signals fire on the bar where the break occurs, after the swing point is already confirmed. What you see is what happened — no hindsight bias.
## Works On
- Crypto (BTC, ETH, SOL, ...)
- Forex (EUR/USD, GBP/JPY, ...)
- Stocks (AAPL, TSLA, NVDA, ...)
- Futures & Indices (NQ, ES, SPX, ...)
- Any timeframe from 1 minute to Monthly
## Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss. Indicator

Indicator

Fair Interest Rate Ladder (Auto + Info)Description:
The Fair Interest Rate Ladder indicator is designed to visualize the "fair value" of interest rate instruments (bond futures, rate swaps, etc.), accounting for accrued interest or carry costs. It plots a step-line that converges toward a target base point as the expiration date approaches.
Key Features:
Auto-Spread Detection: The indicator automatically detects if you are using a spread formula (e.g., ZN1!-100). If detected, the anchor point automatically shifts from 100 to 0.
Adjustable Rate & Direction: Easily set the annual percentage rate and choose the price convergence direction (upward or downward toward expiration).
Leap Year Accuracy: Mathematically precise calculations based on the actual number of days in the current year (365 or 366).
Dashboard: A real-time table in the top-right corner displays the exact Fair Value and the countdown of days remaining until expiration.
Expiration Tracking: A distinct red "zero line" and a visual label marking the contract's end date.
How to use:
Input the start and expiration dates of your contract, set the current interest rate, and the indicator will show where the price should theoretically be trading today.
Russian (Русский)
Описание:
Индикатор Fair Interest Rate Ladder предназначен для визуализации «справедливой стоимости» процентных инструментов (фьючерсов на облигации, ставки) с учетом накопленного купона или процентного дохода. Он строит ступенчатую линию, которая стремится к целевой точке (базе) по мере приближения даты экспирации.
Основные возможности:
Автоматика для спредов: Индикатор автоматически определяет, используете ли вы формулу спреда (например, ZN1!-100). В этом случае точка нуля автоматически смещается со 100 на 0.
Гибкая настройка ставки: Возможность задать годовую процентную ставку и направление движения цены (вверх или вниз к экспирации).
Учет високосных лет: Математически точный расчет на базе количества дней в текущем году (365 или 366).
Инфо-панель: В правом верхнем углу отображается таблица с текущим расчетным значением Fair Value и счетчиком дней до экспирации.
Визуализация экспирации: Четкая красная линия «горизонта» и метка даты окончания контракта.
Как использовать:
Введите дату начала и дату экспирации вашего контракта, укажите актуальную ставку, и индикатор покажет, где должна находиться цена сегодня относительно её теоретического идеала. Indicator
