Prev Day/Week VP Levels MADE BY ADAM
Previous Day & Week Volume Profile Levels (POC / VAH / VAL)
This indicator automatically plots the previous day's and previous week's volume profile levels — Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL) — as clean horizontal levels extended to the right of the chart, replicating the look of manually drawn key levels.
How it works
Sessions are defined by a custom reset hour in a chosen timezone rather than midnight exchange time. The default is 19:00 New York (crypto perpetual sessions); set it to 18:00 for CME futures like MNQ/NQ to match the Globex daily open. Weeks run from the Sunday-evening session open through the Friday close.
All profiles are calculated on a separate, configurable calculation timeframe (default 5-minute) through request.security, independent of the chart timeframe. This means the levels are identical on every chart resolution and remain visible even on a 1-minute chart, where the chart itself doesn't hold enough history to cover a full week. Each period's profile distributes bar volume across price rows (default 100), locates the POC as the highest-volume row, and expands the value area around it until it contains the configured share of total volume (default 70%).
Once a day or week completes, its levels are drawn across the current period and stay fixed until the next rollover — the exact levels a trader would mark by hand at the start of each session.
Features
Previous day and previous week POC, VAH, VAL (each toggleable)
Custom session reset hour and timezone (DST-safe)
Configurable calculation timeframe, row count, and value area percentage
Minimalist styling: line color, width, style (solid/dashed/dotted), plain text labels (pdaypoc, pweekvah, etc.) with adjustable offset and size
No repainting: only completed periods are plotted
Intended use
Built for intraday traders who anchor their execution around prior-session value: value area rotations, POC retests, acceptance/rejection outside prior value, and confluence with order flow or options-derived levels. Indicator

CandelaCharts - MTF FVG Alignment📝 Overview
The CandelaCharts - MTF FVG Alignment indicator detects Fair Value Gaps (FVGs) across up to four customizable timeframes and visualises them directly on the chart. A Fair Value Gap is a three-candle pattern where price moved so rapidly that an unfilled area remains between the high of the first candle and the low of the third candle, representing a price imbalance the market often returns to fill.
The core strength of this indicator is Confluence . An alignment signal is generated only when every enabled timeframe shows FVGs in the same direction (all Bullish or all Bearish), giving traders a powerful multi-timeframe confirmation before taking a position.
📦 Features
Four-Timeframe Analysis : Track up to four independent timeframes simultaneously with per-TF toggle and FVG count.
Confluence Alignment : Automatic detection of Bullish or Bearish alignment across all enabled timeframes.
Bias Filter : Filter displayed FVGs to show only Bullish, only Bearish, or both (Neutral).
FVG Mitigation : FVGs are automatically invalidated and removed from the chart once they are fully filled by price action.
Hide Overlapped : Clean up chart clutter by automatically hiding lower-timeframe or older FVGs that overlap with others.
Fibonacci Levels : Optional Fibonacci retracement levels (0.236, 0.382, 0.5, 0.618, 0.65, 0.705, 0.786) drawn inside each FVG with a highlighted Golden Pocket zone (0.705–0.786).
FVG Visuals : Semi-transparent boxes showing active FVGs for each timeframe, with configurable borders and midlines.
Status Dashboard : A clean table showing the current directional status (Bullish / Bearish / None) for each enabled timeframe.
⚙️ Settings
Timeframes
TF 1–4: Each timeframe row has a toggle (show/hide), a timeframe selector, and an FVG count (1–10) controlling how many recent FVGs are displayed for that timeframe. Defaults are 1D, 4H, 1H, and 15m.
Settings
Bias Filter: Filter displayed FVGs by direction — Neutral (show all), Bullish (show only bullish FVGs), or Bearish (show only bearish FVGs).
Bull / Bear Colors: Customise the colours used for bullish and bearish FVG zones.
Border: Toggle the FVG box border and configure its style (Solid, Dotted, Dashed) and width (1–5).
Midline: Toggle the Consequent Encroachment midline inside each FVG and configure its style and width. When enabled, the timeframe label moves outside the box.
Fibonacci: Toggle the drawing of Fibonacci retracement levels inside each FVG, including the highlighted Golden Pocket (0.705–0.786).
Hide Overlapped: Toggle whether to hide overlapping FVGs across different timeframes to keep the chart clean (prioritising higher timeframes).
Dashboard
Show: Toggle the multi-timeframe status dashboard.
Position: Choose the dashboard corner — Top Right, Top Left, Bottom Right, or Bottom Left.
⚡️ Showcase
Multi-Timeframe FVG Boxes
Fibonacci Levels & Golden Pocket
Status Dashboard
🔎 Usage
Trend Identification : Glance at the dashboard to see the current bias of each higher timeframe at a glance.
Confluence : When all enabled timeframes align in the same direction, it provides strong multi-timeframe confluence for a directional trade.
Fibonacci Entries : Use the Fibonacci levels inside each FVG — particularly the Golden Pocket (0.705–0.786) — for precise entries when price retraces into the gap.
Bias Filtering : Set the Bias Filter to Bullish or Bearish to remove counter-trend FVGs and keep the chart focused on your directional thesis.
Execution : Use the alignment as confirmation for your existing strategy. Bullish alignment suggests upward momentum; Bearish alignment suggests downward momentum.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Indicator

Balanced Price Range (BPR) [TakingProphets]OVERVIEW
The Balanced Price Range (BPR) study identifies areas where two opposing fair value gaps overlap in price. It marks the shared region between an inverted fair value gap and the newly formed gap that caused the inversion, tracking these zones forward in time until they are invalidated.
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
This study is intended for analytical and educational use. It automates the visual identification of overlapping gap regions so that a chart reader does not need to manually measure where two opposing fair value gaps intersect.
The study does not generate trade signals, recommendations, or forecasts. All markings are analytical references only.
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
The study first identifies standard fair value gaps.
When an existing fair value gap is inverted by a confirmed candle close through it, the study checks whether the move responsible for that inversion also formed a new fair value gap in the opposing direction.
If it did, the study calculates the overlapping price region shared by the original gap and the newly formed opposing gap. That shared region is the Balanced Price Range.
If the two gaps do not share any overlapping price, no zone is drawn.
A bullish gap inverted downward by a bearish gap produces a bearish Balanced Price Range. A bearish gap inverted upward by a bullish gap produces a bullish Balanced Price Range.
A zone is invalidated when price closes back through it against its direction. A bearish zone is invalidated on a confirmed close above the zone high. A bullish zone is invalidated on a confirmed close below the zone low. Invalidated zones are removed from the chart and are not restored.
All state transitions require a confirmed bar close. Wicks and intrabar movement do not trigger detection or invalidation.
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
Balanced Price Range zones are drawn as boxes spanning the overlapping price region and extended forward in time.
Bullish and bearish zones are styled independently.
An optional gradient renders each zone in graded bands at the zero, twenty five, fifty, seventy five, and one hundred percent levels of the zone, each with independent color, style, and thickness settings.
Optional labels identify each zone as a Balanced Price Range, positioned outside the lower right of the zone, with selectable label sizes.
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General settings control detection sensitivity, minimum zone sizing, and how many zones are displayed on the chart.
Style settings control zone colors, gradient bands, label visibility, and label sizing for bullish and bearish zones independently.
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
This study is intended as a contextual reference for observing how price interacts with regions where opposing gaps overlap.
Zones may be used as study markers for observation and journaling. They are not entries, exits, or targets.
The study is designed for use alongside a reader's own analysis rather than in isolation.
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
Because the overlapping region is by definition smaller than either source gap, zones can be narrow on lower timeframes. The minimum sizing filter is provided to manage this.
Detection depends on confirmed closes, so zones appear only after the relevant candle has closed.
Historical and real time behavior may differ in appearance as bars confirm.
Past chart behavior does not indicate future behavior. This study describes structure that has already formed.
ORIGINALITY AND ATTRIBUTION
-----------------------------------------------------------------------------------------------
This implementation is original code. The underlying concepts of fair value gaps, gap inversion, and balanced price ranges are widely discussed within the trading education community and are not claimed as proprietary.
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This study is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any instrument.
Trading involves substantial risk of loss. Any decisions made are the sole responsibility of the user. Indicator

Break & Re-Test Zones v5.2 Outcome AuditHere's the full description of the indicator — what it is, what it draws, and how it thinks.
What it is
It's a PulseWire indicator that automates the Break & Re-Test strategy on 15-minute Gold and NQ futures. It finds support/resistance zones by itself, watches for one to break, waits for price to come back and confirm the flip, and only then fires a buy or sell signal — with entry, stop, and targets pre-calculated. Two versions exist: the indicator (v5.1) for live trading and chart-reading, and a strategy sibling that runs the identical logic through PulseWire's backtester.
What it draws — the five layers
1. Support & resistance zones. Built automatically from swing pivots, drawn as bands (not lines), and colour-coded by where price sits right now: green below price = support, red above = resistance, gray = price inside it ("IN TEST"). Each zone is also classified PRIMARY (solid thick border, likely to hold — earned by having 2 of: multiple touches, overlap with a higher-timeframe level, or a round number inside it) or SECONDARY (dashed, likely to break). White labels show the price and touch count. This is the map.
2. The armed state. When a candle body closes through a zone, that zone turns orange with a "RETEST? / ARMED" label — meaning a break happened and the indicator is now watching for the pullback. It's a watch notice, never an entry, and it lives only while the setup is genuinely armed.
3. The signal / trade package. When price returns and a confirmation candle closes back on the breakout side, the entry fires: a coloured arrow at the candle, a banner with direction and confluence grade ("LONG @ …"), plus dotted rails to the entry, a hollow-circle stop, and blue-square TP1/TP2 targets. Stop goes beyond the zone; targets sit at 1.5R and 2R.
4. The outcome audit. Every fired trade tracks itself: stopped out, the whole package erases; reaches TP1, it's immortalised as a yellow-bordered rectangle spanning the winning run. Only the last couple of winners stay — a pattern library of what worked (winners-only by design, so it's study material, not a scoreboard).
5. Reference levels & tables. Stepped lines mark the previous day's and previous hour's high/low (the walls and fences other traders watch). A dashboard shows session, HTF bias, and zone counts; a pre-entry runsheet grades the nearest armed setup live against every rule (session, touches, gap, room, confluence, confirmation) and gives a GO / NO-TRADE verdict.
How it thinks — the engine
Under the hood it runs a per-zone state machine: each level independently moves live → broken → retested/failed/expired, so many setups can be tracked at once without interfering. Three principles govern everything: a break requires a body close through the zone (wick pokes are ignored); a retest needs a gap of at least one candle so the breakout candle can't be its own retest; and — critically — all decisions are made only at candle close, so signals, stops, and targets never drift intrabar or repaint.
Layered on top is a confluence grader (A/B/C) scoring each setup on higher-timeframe level overlap, breakout volume, and a quiet pullback — with an optional filter to trade only A or B+ setups. Session filters restrict signals to the high-volume London and New York windows (Asia is for marking levels, not trading them).
What it's for
Three jobs, in order of how you'd use them: it draws the map (which levels matter, which will hold vs break, for zone-to-zone planning), it triggers the trade (arms on break, fires on confirmed retest, with risk pre-set), and it keeps you honest (the audit shows real outcomes; the backtest sibling reports win rate and average R per grade so you tune on evidence, not vibes).
The one thing it deliberately doesn't do is pretend the strategy is a money printer — the audit only shows winners by design, and your first raw backtest came back at 25% win rate, which is exactly why the tuned strategy version and its per-grade stats exist: to find where the real edge lives before you risk anything. Indicator

Sector SweeperRanks the 11 sectors and 12 key industries by performance — strongest at the top — so you know where to hunt before you pick a stock.
Strong stocks tend to come from strong groups. Sector Sweeper shows which sectors and industries are leading the market right now, ranked top to bottom on one clean board — so you start your search in the right place instead of guessing.
It works on its own — nothing else required.
How it measures — no black box
Each row pulls that ETF's closing prices and computes its percent change over your lookback window; the lists are then sorted strongest to weakest. No smoothing, no proprietary formula — the value is having all 23 groups measured by the same yardstick, on one board, updated every bar, instead of flipping through 23 charts to build the same picture by hand.
What it shows — two tables
•SECTORS — the 11 S&P sector ETFs (Technology, Financials, Energy, Health Care, …), ranked by performance over your lookback.
•SUB-INDUSTRIES — 12 sharper themes (Semiconductors, Software, Biotech, Oil Services, Gold Miners, Airlines, …), ranked the same way.
Each row shows the ETF and its % move over the lookback. Green = up, red = down, and the #1 in each list is highlighted in gold
How to read it
• Top of the list = where money is flowing. Bottom = what's lagging.
• Use it **top-down**: spot the strongest sector or industry here, then go find the leading stocks inside that group.
• Watch it over time — a group climbing the board is rotating into favor; one sliding down is falling out of it.
Settings — defaults work out of the box
• Lookback (bars ) — the performance window (20 by default ≈ about a month on a daily chart).
• Each table has its own position (default: Sectors = Middle Left, Sub-Industries = Middle Right) plus table size , dark/light theme, and colors.
⚠ Educational tool for market context and planning. It ranks performance — it does not give buy/sell signals or predict price. Not financial advice.
Indicator

Fibonacci Extension BreakoutFibonacci Extension Breakout
This indicator automatically draws Fibonacci extension zones on higher-timeframe (HTF) breakouts. Instead of manually drawing Fibonacci retracements after every swing, the script detects when price closes beyond the previous HTF bar's high or low, and then plots seven colored zones (boxes) extending from that breakout range using the 0, 1, 1.272, 1.786, and 2.272 Fibonacci ratios (and their negative-side equivalents).
How it works?
On each new HTF period (default: Daily), the script checks whether the current HTF close has broken above the prior HTF high (bullish) or below the prior HTF low (bearish).
If a breakout occurred, it takes the new period's high/low as the base range and calculates Fibonacci extension levels outward from that range using a custom scaling function.
Each level pair (e.g., 1–1.272, 1.272–1.786, etc.) is rendered as a colored box, updated live as the HTF period develops, and closed off once the period ends.
A configurable history limit (Box History) controls how many past breakout zones remain visible on the chart.
HTF data is requested with lookahead=off (the safe default) to avoid look-ahead / repainting bias, so historical results reflect only data that was actually available at that time.
Inputs
Timeframe: the higher timeframe used for breakout detection (default: Daily)
Box History: number of past breakout zones kept on the chart
Border Color: box border color
How to use it?
Add the indicator to any chart. When a breakout box appears, the mid-zone (0–1) represents the breakout range itself; zones above/below represent potential extension targets or reaction areas traders commonly watch after a breakout.
This tool visualizes potential price targets after a range breakout — it does not generate buy/sell signals and should be combined with your own risk management and trade plan. Indicator

Prop Firm Risk Guard I EonMetrics Prop Firm Risk Guard
Prop Firm Risk Guard is a risk dashboard and position size calculator for prop firm challenge and funded-account traders. It keeps the numbers that decide whether your account survives — the Daily Loss Limit, the Max Drawdown floor and the size of your next trade — on one screen, derived from one shared account state.
Stated plainly up front: PulseWire cannot see your broker account. Your balance and today's P&L are MANUAL inputs — you type them in, the script does the limit math and the sizing math. Entry, Stop and Take Profit are also yours: the script never calculates or suggests any of them, it only draws the levels you decided on and does the arithmetic. The only live, price-driven element is the Entry/SL/TP lines and their cross alerts. No signals, no trade suggestions.
🔶 WHY ONE SCRIPT
A challenge usually fails through one compounding mistake: a trade sized without checking how much of today's loss allowance is actually left, so a routine stop-out becomes a daily breach. That check only works when the daily limit, the drawdown floor and the position size are computed from the same account state at the same moment — which is why they are one dashboard instead of separate tools you would have to cross-reference by hand. The last sizing row makes the link explicit: it compares one full stop-out against your remaining daily room and turns red BEFORE the trade if it doesn't fit.
🔶 WHAT IT DOES
Daily Loss Limit — enter your firm's daily loss % and its basis (starting or current balance). Today's P&L is a NET number, wins offset losses. Because firms word this rule two ways, both models are supported: Floor (the day has a fixed equity floor, so intraday profit adds room before it — the common model) and Hard Cap (the allowed loss is fixed, profit does not extend it). The table shows the remaining allowance in money and a status ladder: OK → CAUTION (50% used) → DANGER (80%) → BREACHED.
Max Drawdown — Static (floor fixed below the starting balance) or Trailing (floor follows the equity high-water mark). Shows the floor as an actual money level and the buffer above it, with the same status ladder.
Position sizing — risk per trade as % of balance or a fixed amount, planned entry (or live price) and stop. Returns the size in units, the forex conversion to 100k lots and the notional value. A Contract Multiplier input keeps the math correct on futures (e.g. ES = 50, GC = 100) as well as stocks, crypto and forex.
Take Profit (optional) — add your own TP price to see the R:R ratio and the money gain if it hits, using the same calculated size. If the TP sits on the wrong side of entry for your direction, the cell flags it instead of showing a meaningless ratio.
Entry / SL / TP lines — your levels drawn on the chart, with three alert conditions that fire when price crosses any of them.
🔶 HOW TO USE
1. Settings → Account: starting balance, current balance; high-water mark for trailing-drawdown firms (0 = auto).
2. Prop Firm Rules: copy the exact numbers and models from your firm's dashboard.
3. During the session, keep Today's P&L updated — the daily section only knows what you tell it.
4. Before a trade: set risk, entry and stop; read the size; make sure the last row is not red.
5. Optional: add a TP for R:R, and set alerts on the three price-cross conditions.
🔶 SETTINGS
Account (balances, high-water mark) · Prop Firm Rules (daily loss % + basis + Floor/Hard Cap, max drawdown % + Static/Trailing, profit target) · Today's P&L · Position Sizing (risk mode, entry/stop/TP, contract multiplier, lines toggle) · Table (position, text size).
This tool does the arithmetic of your firm's rules and your own trade plan. It does not know your account, does not predict anything and does not tell you what to trade.
Part of the EonMetrics toolset.
Indicator

Indicator

The Z impact Market Sessions (Auto GMT)The Z Impact Market Sessions (Auto GMT)
OVERVIEW
This indicator highlights the four major Forex trading sessions —
London, New York, Tokyo and Sydney — directly on the chart as colored
boxes. Each box tracks the high and low reached during that session, so
you can see each session's range as it forms and where price sits
relative to it.
WHAT MAKES IT PRACTICAL
The main focus is a single GMT offset input. Instead of editing four
separate session time ranges by hand every time your broker's server
time or daylight saving changes, you adjust one value and all four
sessions shift together. Session times are defined internally on a fixed
base and recalculated from that one offset, including correct handling of
sessions that cross midnight (such as Tokyo and Sydney).
HOW IT WORKS
- Each session has a fixed base open/close time. A single offset input
shifts all of them, with hours wrapping correctly across the 0-24
boundary.
- A box is opened when a session starts and is extended bar by bar until
the session ends, continuously updating its high and low.
- A label marks each session by name, centered over its box.
- Sessions that span midnight are detected with an OR-based time check so
the box stays continuous.
INPUTS
- GMT offset: one value to align all sessions to your chart/broker time.
- Show toggles for London, New York, Tokyo and Sydney.
- A color per session and a background transparency control.
HOW TO USE
- If the sessions do not line up with your chart, adjust the GMT offset
until London (or any session you can verify) sits where you expect.
- Use the session boxes to see range highs and lows, session overlaps,
and where the current price is within the active session.
- Sydney is off by default; enable it if you trade that session.
NOTES
- Times are based on standard session hours; during daylight saving
transitions you may need to adjust the offset by half or one hour.
- This is a visual session tool. It does not generate buy or sell
signals. Indicator

Geometry Academy# geometry academy — projection, levels and market timing
geometry academy is an educational indicator dedicated to market geometry, price levels, projections and timing.
it combines several classical methods inside a single interface:
* fibonacci retracements and extensions
* golden pocket
* ab=cd projection
* double top and double bottom
* ichimoku system
* andrews pitchfork
* session vwap
* anchored vwap
* approximate volume profile
* poc, vah and val
* linear regression channel
* cycle interval estimation
* relative strength against a benchmark
* confluence scanner
* educational lessons
* reference curriculum
* built-in glossary
the objective is not to generate automatic entries or promise a result. the indicator is designed to explain where important zones are located, why they exist and how several independent methods can converge around the same area.
a single line represents one piece of information. several independent levels grouped in the same area form a confluence zone worth studying.
---
## general operation
geometry academy uses confirmed pivots to build its geometry.
a pivot high or pivot low becomes available only after the number of bars defined in the “swing · right bars” setting has closed.
this means a swing is never known exactly when it forms. it is confirmed several bars later and then displayed on its original bar.
this behavior prevents an unfinished high or low from being treated as a definitive pivot.
rolling tools such as vwap, volume profile, regression and relative strength naturally continue to update as new bars are added.
---
# indicator modules
## fibonacci retracement
the fibonacci module measures the retracement depth of the latest confirmed leg.
the available levels are:
* 0.0
* 0.236
* 0.382
* 0.5
* 0.618
* 0.786
* 1.0
on a bullish leg, the levels help study pullback zones below the latest high.
on a bearish leg, they help study rebound zones above the latest low.
the levels are not buy or sell signals. they only identify areas where a reaction may become relevant.
## golden pocket
the golden pocket is the zone between the 0.618 and 0.65 retracement levels.
it is displayed as a zone rather than a precise line because market reactions do not always occur at one exact price.
a trade should not be decided only because price touches this area. price reaction, structure and other nearby levels must also be studied.
## fibonacci extensions
the 1.272, 1.618 and 2.0 extensions project targets beyond the reference leg.
they are mainly intended for studying potential objectives after the original movement resumes.
an extension is generally more useful when it aligns with:
* a previous high or low
* a vah or val
* a poc
* a pitchfork median
* an ab=cd projection
* a regression band
## ab=cd projection
the ab=cd model studies symmetry between two price legs.
the distance from a to b is projected from point c to estimate a potential point d.
point d is a mathematical completion zone. it does not guarantee a reversal.
a projection becomes more relevant when:
* bc is a coherent retracement of ab
* cd moves in the same direction as ab
* point d aligns with another important zone
* the duration of cd remains close to the duration of ab
* price shows a confirmed reaction around d
## double top and double bottom
the module looks for structures such as:
* high, low, high for a double top
* low, high, low for a double bottom
the tolerance between the two highs or two lows is calculated with atr.
the second high or low only creates the initial structure.
a double top is confirmed when price closes below the neckline.
a double bottom is confirmed when price closes above the neckline.
before the neckline breaks, the pattern remains a possibility rather than a confirmed setup.
## ichimoku kinko hyo
the ichimoku system is displayed with:
* tenkan-sen
* kijun-sen
* senkou span a
* senkou span b
* kumo
* chikou span
simplified interpretation:
* price above the kumo: bullish regime
* price below the kumo: bearish regime
* price inside the kumo: neutral or uncertain regime
* tenkan above kijun: positive short-term momentum
* tenkan below kijun: negative short-term momentum
the cloud is intentionally projected forward. chikou is intentionally shifted backward. these displacements are part of the standard ichimoku construction.
a tenkan and kijun cross must always be interpreted within context. a bullish cross below a bearish cloud does not carry the same meaning as a bullish cross above a bullish cloud.
## andrews pitchfork
the pitchfork is built from three alternating confirmed pivots.
the median line begins at the first pivot and passes through the midpoint of the next two pivots.
the two outer lines are parallel to the median.
the pitchfork helps study:
* the geometric direction of the swing
* returns toward the median
* acceleration toward an outer line
* structural weakness after a breakout
* areas where the median aligns with another level
the pitchfork depends directly on the quality of the three selected pivots. when a new significant swing is confirmed, the geometry may be recalculated.
## session vwap
vwap represents the session’s volume-weighted average price.
simplified interpretation:
* price above a rising vwap: intraday advantage for buyers
* price below a falling vwap: intraday advantage for sellers
* return toward vwap: return toward the session’s weighted average
* loss and reclaim of vwap: potential intraday control change
vwap is especially useful on markets with meaningful volume data.
## anchored vwap
anchored vwap begins its calculation from the selected date.
it can be used to study the volume-weighted average price since a specific event:
* origin of a movement
* breakout
* important high or low
* monthly open
* asset launch
* fundamental event
* regime change
anchored vwap does not reveal the exact price paid by every market participant. it represents a weighted average from the selected anchor.
the quality of the level therefore depends directly on the relevance of the selected date.
## volume profile
the volume profile distributes the lookback volume across several price zones.
it provides:
* poc
* vah
* val
* an optional horizontal histogram
the poc represents the profile row that received the largest allocated volume.
the vah is the upper boundary of the value area.
the val is the lower boundary of the value area.
simplified interpretation:
* price near poc: potential high-acceptance zone
* price between vah and val: price located inside the value area
* price above vah: price above the studied value zone
* price below val: price below the studied value zone
this profile is an approximation calculated from the ohlcv data available on the chart. it does not replace a native profile built from more detailed intrabar data.
## linear regression channel
the center line represents the best-fit linear trend over the selected period.
the bands are calculated using the dispersion of residuals around that line.
the module helps study:
* the statistical direction of price
* the distance between price and its central trend
* periods of extension
* returns toward the mean
* slope changes
a band touch is not automatically a reversal signal.
in a strong trend, price may remain close to an outer band for several bars.
## cycle projection
the cycle module measures the intervals between several confirmed swing lows.
it uses their average spacing to project a potential future time window.
this projection represents an area of attention rather than a guaranteed reversal date.
cycles may contract, expand or disappear during a regime change.
price level must always be studied separately from timing.
## relative strength
relative strength compares the chart symbol with a benchmark.
it is calculated using the ratio:
asset divided by benchmark
simplified interpretation:
* rising ratio: the asset is outperforming the benchmark
* falling ratio: the asset is underperforming the benchmark
* bullish turn in the ratio: improving relative performance
* bearish turn in the ratio: weakening relative performance
this relative strength measure is not the rsi oscillator.
for an altcoin, btc may be used as the benchmark. for a stock, a sector index or broad market index may be more appropriate.
---
# explanation of every input
## anchors
### swing · left bars
defines the number of bars located to the left of the pivot.
a higher value selects more significant swings and reduces the number of detected pivots.
a lower value detects more minor movements.
### swing · right bars
defines the number of bars required after the pivot before it becomes confirmed.
a higher value produces more stable geometry but increases confirmation delay.
a lower value reacts faster but includes more market noise.
---
## fibonacci
### auto-fibonacci on the active leg
enables or disables the automatic fibonacci drawn on the latest confirmed leg.
### extension targets
enables the 1.272, 1.618 and 2.0 projections.
### highlight the golden pocket
displays the area between 0.618 and 0.65.
### 0.0
displays the reference end of the movement.
### 0.236
displays a shallow retracement, mainly useful in strong trends.
### 0.382
displays a moderate retracement.
### 0.5
displays the midpoint of the movement. this is not a pure fibonacci ratio, but it is widely used.
### 0.618
displays the retracement related to the inverse golden ratio.
### 0.786
displays a deep retracement near the full invalidation of the leg.
---
## ab=cd symmetry
### project the ab=cd completion
enables or disables the point d projection based on the latest compatible pivots.
---
## chart patterns
### detect double top / double bottom
enables the search for double top and double bottom structures.
### twin-peak tolerance
defines the maximum allowed distance between the two highs or two lows.
the tolerance is expressed as an atr multiple.
example:
* 0.3 atr: strict detection
* 0.6 atr: balanced setting
* 1.0 atr: more permissive detection
---
## ichimoku kinko hyo
### ichimoku cloud
enables the ichimoku system.
### tenkan-sen
defines the period of the fast conversion line.
the classical setting is 9.
### kijun-sen
defines the period of the base line.
the classical setting is 26.
### senkou span b
defines the period used for the second cloud boundary.
the classical setting is 52.
### cloud displacement
defines how far the cloud is projected into the future.
the classical setting is 26.
### chikou span
enables the current close displayed backward according to the ichimoku displacement.
---
## andrews pitchfork
### andrews pitchfork from last 3 anchors
enables the pitchfork built from the latest three confirmed alternating pivots.
---
## vwap
### session / rolling vwap
enables the standard session vwap.
### anchored vwap
enables the vwap calculated from a specific date.
### anchor date
defines the starting point of the anchored vwap.
it is better to choose a date linked to an event that had real importance on the chart.
---
## volume profile
### volume profile
enables the profile, poc, vah and val.
### profile lookback
defines the number of bars included in the calculation.
a short lookback follows recent structure.
a long lookback describes a broader market area but reacts more slowly.
### number of price bins
defines the vertical resolution of the profile.
fewer bins:
* simpler profile
* wider levels
* lighter calculation
more bins:
* more detailed profile
* more precise levels
* greater sensitivity to noise
### value area %
defines the percentage of allocated volume included around the poc.
the classical setting is 70%.
### draw the profile histogram
shows or hides the horizontal profile bars while keeping the main levels.
---
## regression channel
### linear regression channel
enables the regression channel.
### regression length
defines the number of bars used to calculate the linear trend.
a small value follows price quickly.
a large value represents a slower and more structural trend.
### channel width
multiplies the dispersion of residuals around the center line.
a low value produces a narrow channel.
a high value produces a wider channel.
---
## market cycles
### project the next cycle low
enables the projection of the next time window based on the average spacing between confirmed swing lows.
---
## relative strength
### benchmark symbol
selects the asset used as the reference.
examples:
* btc to compare an altcoin
* a broad market index to compare a stock
* a sector index to compare a company with its industry
* another currency pair to study relative rotation
### rs lookback
defines the period used to measure the change in the asset-to-benchmark ratio.
a low value reacts quickly.
a high value measures a more persistent relative trend.
---
## education ui
### panel · geometry dashboard
displays the main dashboard.
it summarizes:
* ichimoku regime
* tenkan and kijun relationship
* nearest fibonacci level
* poc
* vah and val
* price position inside the value area
* pitchfork median
* anchored vwap
* regression position
* ab=cd target
* relative strength
### dashboard position
defines the position of the main dashboard.
### panel · level-confluence scanner
enables the scanner that compares current price with the calculated levels.
### confluence position
defines the position of the confluence scanner.
### confluence cluster tolerance
defines the maximum distance between current price and a level for that level to be considered nearby.
the distance is expressed in atr.
example:
* 0.25 atr: very tight confluence
* 0.5 atr: precise confluence
* 0.75 atr: balanced setting
* 1.0 atr or more: wide zone
a tolerance that is too large may classify too many levels as nearby.
### panel · deep lesson
enables the panel containing a detailed educational lesson.
### lesson topic
allows the selection of one of twelve subjects:
1. fibonacci retracement
2. fibonacci extension
3. ab=cd and harmonic patterns
4. chart patterns
5. elliott wave
6. ichimoku
7. andrews pitchfork
8. vwap and anchored vwap
9. volume profile
10. regression channels
11. market cycles
12. relative strength
### panel · source curriculum
displays the main historical and methodological references associated with the modules.
### panel · glossary
displays quick definitions of the terms used in the indicator.
---
## style
### bull / support
defines the color used for bullish information and support areas.
### bear / resistance
defines the color used for bearish information and resistance areas.
### accent / value
defines the color used for value levels, poc, medians and important elements.
### geometry accent
defines the main color of the geometry tools and panel titles.
### secondary text
defines the color of secondary text and neutral information.
### panel background
defines the background color of the panels and selected labels.
---
# mini tutorial
## step 1 — begin with the default settings
keep the following values for a first use:
* swing left: 8
* swing right: 8
* fibonacci enabled
* ichimoku enabled
* pitchfork enabled
* vwap enabled
* volume profile enabled
* regression length: 120
* confluence tolerance: 0.75 atr
these settings provide a balanced view of structure, levels and context.
## step 2 — identify the regime
begin by observing the kumo:
* above the cloud: mainly bullish context
* below the cloud: mainly bearish context
* inside the cloud: uncertain context
then check tenkan and kijun.
a bullish projection should not be interpreted the same way in a bearish regime.
## step 3 — locate price
observe:
* the active fibonacci retracement
* the golden pocket
* vah and val
* poc
* vwap
* anchored vwap
* pitchfork median
* regression bands
the objective is to determine whether price is:
* inside a value zone
* inside an extension zone
* near a potential reaction level
* in the middle of an area with no clear advantage
## step 4 — check confluence
open the confluence scanner.
several tools located near the same price may identify an area worth monitoring.
example:
* 0.618 fibonacci
* val
* anchored vwap
* lower regression band
this combination does not guarantee a bounce, but it describes a technically more important zone than a single isolated level.
## step 5 — wait for the reaction
then observe actual price behavior:
* wick rejection
* close above or below the level
* vwap reclaim
* neckline break
* structure change
* volatility expansion
* improvement or deterioration in relative strength
geometry provides the area. price provides the confirmation.
---
# use cases
## example 1 — pullback in a bullish trend
context:
* price above the kumo
* tenkan above kijun
* latest confirmed movement is bullish
* price is retracing
procedure:
1. identify the 0.382, 0.5, 0.618 and 0.786 levels
2. check whether the golden pocket aligns with val or anchored vwap
3. check the pitchfork median
4. consult the confluence scanner
5. wait for a bullish close or reaction around the zone
an entry in the middle of the movement generally provides less structure than an entry studied around a pullback into confluence.
## example 2 — range market
context:
* price inside the kumo
* nearly flat regression
* price between vah and val
* frequent returns toward poc
procedure:
1. treat poc as the center of rotation
2. observe vah as the upper value boundary
3. observe val as the lower value boundary
4. avoid interpreting every internal move as a new trend
5. wait for a close and acceptance outside the value area before considering a breakout
in this context, fibonacci extensions are often less useful than volume profile and regression.
## example 3 — double top
context:
* first confirmed high
* pullback toward a pivot low
* second high close to the first one
procedure:
1. confirm that both highs respect the atr tolerance
2. identify the neckline at the intermediate pivot low
3. do not treat the pattern as confirmed at the second high
4. wait for a close below the neckline
5. use the height of the structure as a theoretical projection
6. check whether the target aligns with val, an extension or previous support
## example 4 — studying an altcoin against btc
context:
* chart symbol: an altcoin
* benchmark: binance:btcusdt
procedure:
1. study the normal trend of the asset
2. study its relative strength against btc
3. favor assets that are also gaining against the benchmark
4. remain cautious when the asset rises in usd but underperforms btc
5. combine relative strength with structure, volume profile and ichimoku
## example 5 — projection target
context:
* valid ab=cd structure
* point d close to a 1.618 extension
* vah or a previous high in the same area
* upper regression band nearby
procedure:
1. treat the area as a potential objective
2. do not automatically assume a reversal
3. observe price reaction on arrival
4. distinguish a simple pause from a real structure break
5. use confluence to organize the analysis
---
# available alerts
## price entered bullish regime
triggers when price closes above the ichimoku cloud.
## price entered bearish regime
triggers when price closes below the ichimoku cloud.
## tenkan/kijun bullish cross
triggers when tenkan crosses above kijun.
## tenkan/kijun bearish cross
triggers when tenkan crosses below kijun.
## avwap reclaimed
triggers when price reclaims anchored vwap.
## avwap lost
triggers when price loses anchored vwap.
## relative strength turned up
triggers when relative strength begins rising again.
## relative strength turned down
triggers when relative strength begins falling again.
to reduce intrabar alerts, use a bar-close frequency in the pulsewire alert settings.
---
# multi-timeframe use
a simple method is to separate context from execution.
swing example:
* daily chart: ichimoku regime, volume profile and relative strength
* 4-hour chart: fibonacci, pitchfork and regression
* 1-hour chart: price reaction and confirmation
intraday example:
* 1-hour chart: general structure
* 15-minute chart: value area, vwap and fibonacci levels
* 5-minute chart: reaction around the zone
pivot settings should be adapted to the timeframe.
on a low timeframe, slightly increasing the pivot values may reduce noise.
on a high timeframe, pivot settings that are too large may produce very few new structures.
---
# data behavior
pivots are confirmed only after several bars.
a pivot may therefore appear on an earlier bar only after its confirmation.
fibonacci levels, pitchfork and ab=cd projection change when a new confirmed pivot updates the active geometry.
volume profile, vwap, regression, cycles and relative strength are rolling calculations. their values change as each new bar is added.
no projection tool should be interpreted as certainty about the future.
---
# good practices
* begin with only a few visible modules
* add tools gradually
* do not use one line as a complete signal
* identify the regime before looking for an entry
* separate projection from confirmation
* adapt pivot settings to the timeframe
* choose a meaningful anchored vwap date
* choose a coherent benchmark
* keep a reasonable confluence tolerance
* study price reaction before making a decision
* use the lessons and glossary to understand each tool
geometry academy is designed as an educational and analytical environment. it helps connect structure, value, geometry, timing and relative strength inside an organized market-reading process.
Indicator

AI K-Means Clustering [TradingFinder] Machine Learning Zones🔵 Introduction
K-Means clustering is an unsupervised machine learning algorithm that groups similar data points around repeatedly updated cluster centers. Each observation is assigned to its nearest center, the centers are recalculated, and the process continues until the clusters converge. In financial market analysis, this structure can separate recurring patterns in price movement, trend direction, volume pressure, and volatility without depending entirely on fixed thresholds. As a result, the same candle may be interpreted differently in a quiet market, a directional trend, or a volatility shock, because its meaning is evaluated in relation to the surrounding market data.
This PulseWire indicator applies K-Means machine learning through several connected analysis modules. The Market State engine studies trend bias, price slope, and relative volume pressure to classify the current market regime as an active bullish trend, active bearish trend, soft bullish trend, soft bearish trend, neutral range, or low-volume range. It also compares the current cluster with the dominant cluster across recent candles, helping the trend classification remain more stable when a single large candle, temporary spike, or short-lived price reversal appears.
The Price Zones engine clusters pivot points, historical highs, and historical lows to create dynamic K-Means support and resistance zones. Traders can display all price cluster centers, the nearest K-Means zone, or separate support and resistance lines. Raw, Smooth, and Locked Steps modes control how quickly the zones respond to new price data, while the nearest line changes color according to the detected bullish, bearish, or ranging market state. A Stochastic moving average heatmap is also plotted between the outer zones, adding a visual layer for momentum, overbought and oversold conditions, trend strength, and changing market pressure.
The indicator also combines volatility analysis, price action recognition, cluster quality scoring, and alert conditions. The volatility engine uses normalized ATR, candle range, and return volatility to identify low-volatility compression, normal volatility, high volatility, and volatility shock. The Price Action module evaluates the latest closed candle for bullish and bearish zone breakouts, rejection patterns, momentum candles, and indecision near a clustered price level. A dedicated Quality and Reliability section then measures zone strength, cluster fit, zone width, price distance, and RMSE, helping traders understand whether the current machine learning calculations are strong enough for practical analysis or should be treated only as additional market context.
🔵 How to Use
The easiest way to read this indicator is not to search for one isolated green or red message. Its main value comes from combining several layers of market information: K-Means market state classification, adaptive price zones, price action, volatility conditions, and calculation quality. Each module answers a different question, and the strongest setups usually appear when several modules point in the same direction.
Start with the Market State row in the analysis table. This module applies multidimensional K-Means clustering to trend bias, trend slope, and relative volume pressure. The current cluster shows where the latest market data has been assigned, while the dominant cluster represents the most frequent cluster across the selected state window. The Strength value shows how dominant that cluster is within the recent sample.
The Market State analysis can return the following conditions :
Active Bullish Trend : Positive trend structure supported by stronger relative volume.
Soft Bullish Trend : Positive directional structure, but with weaker participation or less convincing momentum.
Active Bearish Trend : Negative trend structure supported by stronger relative volume.
Soft Bearish Trend : Bearish directional structure that still requires confirmation.
Neutral Range : Trend bias and slope are not strong enough to define a clear direction.
Low-Volume Range : Sideways structure accompanied by relatively weak volume participation.
The distinction between the current and dominant cluster is important. A single large candle can move the current data point into another cluster, but the dominant state may remain unchanged if the broader recent structure still belongs to the previous market regime. This can help prevent every temporary spike, pullback, or abnormal candle from being interpreted as a complete trend reversal.
The next section is Price Zones. Here, K-Means clustering is applied to historical pivot levels, sampled highs, and sampled lows. Instead of drawing a level from only one swing point, the algorithm groups similar historical prices and calculates a center for each price cluster. These cluster centers become adaptive K-Means price zones that may act as support, resistance, breakout references, or reaction areas.
The table displays :
Near : The cluster currently closest to price.
Strength : The percentage of sampled price levels assigned to the nearest cluster.
Nearest : The closest stabilized K-Means zone.
Support : The nearest valid cluster center below the market.
Resistance : The nearest valid cluster center above the market.
A higher Zone Strength means a larger share of the sampled levels belongs to that cluster. However, this should not be interpreted as a guaranteed support or resistance level. It simply shows that more historical observations were grouped around the same price area.
On the chart, users can choose between three visual approaches. Show All K-Means Zone Centers plots the complete set of clustered price levels. Show Nearest Zone displays only the closest stabilized level, while Show K-Means Support/Resistance plots the nearest support and resistance separately.
The nearest line changes color with the detected market state :
Green indicates a bullish market state.
Red indicates a bearish market state.
Blue indicates a neutral or ranging market state.
The zone lines can also be displayed in Raw, Smooth, or Locked Steps mode. Raw mode follows newly calculated cluster centers directly. Smooth mode gradually moves the plotted level toward the new center, creating a more stable visual structure. Locked Steps mode keeps the previous level in place until the new cluster center has moved by a meaningful ATR-based distance.
Between the outer K-Means zones, the indicator draws a Stochastic Moving Average Heatmap. This heatmap is based on a 100-period Stochastic value smoothed with a 50-period exponential moving average. Lower smoothed Stochastic values appear toward the blue and purple side of the color range, middle values move through cyan and green, and higher values progress toward yellow, orange, and red. The heatmap should be read as a visual momentum layer rather than as a standalone buy or sell signal.
The Price Action row studies candle structure in relation to the nearest K-Means zone and recent price behavior. It uses the candle body, upper wick, lower wick, previous high, previous low, and the location of the nearest zone to identify several possible conditions:
Bullish or bearish zone breakout.
Bullish or bearish rejection from a zone.
Bullish or bearish momentum candle.
Indecision at a K-Means zone.
General indecision.
No clear price action.
The Body, Upper Wick Ratio, and Lower Wick Ratio values represent the relative size of the candle body, upper wick, and lower wick compared with the candle’s total range. These values help explain why the indicator classified a candle as momentum, rejection, or indecision. Price Action should always be read together with Market State and Volatility. For example, a bullish momentum candle inside a bearish market state does not automatically create a bullish setup.
The Volatility module runs a separate K-Means model using normalized ATR, candle range percentage, and return volatility. The clustered volatility data is then used to identify four practical market conditions:
Low Volatility Compression : Market movement has contracted and a future expansion may develop;
Normal Volatility : Current movement is close to its recent reference level;
High Volatility : Price movement is elevated and may require smaller position size or wider risk parameters;
Volatility Shock : Abnormal expansion is present, making immediate entries more sensitive to slippage, unstable movement, and rapid reversals.
Volatility acts as a risk filter for the rest of the analysis. Even when Market State and Price Action point in the same direction, a High Volatility or Volatility Shock reading should reduce the confidence placed on an immediate entry.
Finally, review the Quality row. This section provides an internal assessment of how compact, representative, and consistent the current K-Means calculations are. It does not measure future profitability or win rate. Instead, it evaluates the statistical structure of the active price clusters.
The main values include :
Price Q : A combined score based on zone strength, width, fit, and price distance;
Trust : A weighted score combining price-zone quality, market-state dominance, and volatility-cluster dominance;
Fit RMSE : The normalized root mean squared error of the price clusters;
Width : The average dispersion of the nearest cluster around its center;
Reliability : A descriptive grade derived from the internal Trust score.
A narrow cluster with reasonable strength and lower fitting error will usually receive a better score than a wide, weak, or poorly fitted cluster. Use this section to decide how much weight should be given to the current analysis. A weak Quality score does not make the chart unusable, but it suggests that the levels and classifications should be treated as secondary context.
🟣 Bullish Market Reading
A bullish setup becomes more meaningful when the market state, K-Means zones, candle behavior, volatility, and quality readings support the same interpretation.
Check the Market State first : An Active Bullish Trend indicates stronger bullish structure and relative participation. A Soft Bullish Trend still favors the upside, but entries should normally wait for additional confirmation.
Locate price relative to the nearest zone : When price is above the nearest K-Means zone, that level may become an adaptive support reference. A pullback toward the green nearest-zone line can be watched for continuation or rejection behavior.
Look for bullish price action : A Bullish Rejection From Zone suggests that price tested a clustered level and closed with a stronger lower-wick reaction. A Bullish Zone Breakout shows that the candle crossed above the zone with a sufficiently large body. A Bullish Momentum Candle confirms upward pressure, but it is more useful when the Market State is already bullish.
Use the support line as a reference, not an automatic entry : The K-Means support level can help define the area where bullish structure remains valid. A decisive move below it may weaken the long scenario, especially if the Market State also changes.
Confirm volatility conditions : Normal Volatility is generally easier to manage than High Volatility or Volatility Shock. During compression, traders may wait for a confirmed breakout rather than entering before expansion begins.
Review Quality and Reliability : Stronger Quality, Trust, and Zone Strength readings increase the internal consistency of the analysis. Weak scores suggest that the zone may be broad, poorly fitted, or based on a less concentrated cluster.
A practical bullish sequence may therefore look like this: the table shows a Soft or Active Bullish Trend, price remains above or retests a green K-Means zone, a bullish rejection or breakout appears, volatility is not classified as a shock, and Quality remains acceptable. None of these elements guarantees continuation, but their alignment creates a clearer bullish context than any single reading alone.
🟣 Bearish Market Reading
Bearish analysis follows the same process in reverse. The objective is to identify whether downward market structure, clustered resistance, candle behavior, and volatility are supporting the same scenario.
Begin with the Market State : An Active Bearish Trend represents stronger negative bias, slope, and relative volume pressure. A Soft Bearish Trend favors short-side analysis but still requires confirmation before treating the move as established.
Observe price relative to the nearest zone : When price is below the nearest K-Means zone, that level may act as an adaptive resistance reference. A return toward the red nearest-zone line can be monitored for rejection or continuation.
Wait for bearish price action : A Bearish Rejection From Zone appears when price tests a clustered area and forms a stronger upper-wick reaction. A Bearish Zone Breakout indicates that price has crossed below the zone with a sufficiently large bearish body. A Bearish Momentum Candle carries more weight when the broader Market State is already bearish.
Use the resistance line to define context : The K-Means resistance level can help identify where bearish continuation remains structurally reasonable. A sustained break above it may weaken the short scenario, particularly if Market State also shifts toward bullish or neutral conditions.
Do not ignore volatility warnings : A bearish candle during Volatility Shock may be followed by a sharp continuation, but it can also produce rapid retracement and unstable execution. In this condition, the indicator explicitly favors additional confirmation or reduced risk.
Check cluster quality before relying on the level : A weak or wide price cluster may produce a less precise resistance reference. Higher Quality and Reliability readings indicate a more compact and internally consistent zone, not a guaranteed bearish outcome.
A clearer bearish sequence may include a Soft or Active Bearish Trend, price trading below or retesting a red K-Means zone, bearish rejection or breakout behavior, manageable volatility, and an acceptable Quality score. When these components disagree, for example, a bullish momentum candle inside a bearish trend, the table should be read as a warning that momentum alone is not enough to confirm a reversal.
The built-in alert conditions can be used to monitor bullish and bearish K-Means zone breakouts and rejections. Alerts are most useful as notifications that a specific price-action condition has appeared; the final interpretation should still include Market State, Volatility, zone position, and Quality before any trading decision is made.
🔵 Settings
🟣 K-Means Engine Settings
Market State Lookback : Number of recent bars used to cluster trend bias, slope, and relative volume for market-state classification.
Price Zone Lookback : Number of recent bars used to build K-Means price zones from pivots, highs, and lows.
Volatility Lookback : Number of recent bars used to cluster ATR percentage, candle range, and return volatility.
Market State Clusters : Number of clusters used by the Market State model.
Price Zone Clusters : Number of price clusters used to calculate adaptive zone centers.
Volatility Clusters : Number of clusters used by the Volatility model.
Max K-Means Iterations : Maximum number of center-update cycles allowed during each clustering calculation.
Dominant State Window : Number of recent cluster assignments used to determine the dominant market state.
Fast Volatility State Window : Number of recent volatility assignments used to determine the dominant short-term volatility cluster.
Convergence Tolerance : Minimum center movement required to continue the K-Means iteration; lower values increase precision but may require more processing.
🟣 Price Zone Settings
Pivot Length : Number of bars used on each side of a candle to confirm pivot highs and pivot lows.
High/Low Sampling Step : Controls how frequently historical highs and lows are added to the price-zone dataset; lower values use more samples.
Minimum Near-Zone Distance (%) : Minimum percentage distance used to classify price as testing a K-Means zone.
🟣 Execution Control Settings
Historical Calculation Bars : Number of recent historical bars on which calculations and visual outputs are processed.
Refresh Every N Bars : Runs the main K-Means modules once every selected number of bars and always updates them on the latest bar.
🟣 Zone Stabilizer Settings
Zone Plot Mode : Selects how zone lines are displayed: Raw follows new centers directly, Smooth moves gradually, and Locked Steps updates only after a meaningful price shift.
Zone Smooth Length : Controls the smoothing speed in Smooth mode; higher values produce slower and more stable zone movement.
Zone Lock ATR Multiplier : Defines the minimum ATR-based movement required before a zone updates in Locked Steps mode.
Nearest Zone Switch Margin ATR : Prevents frequent switching between nearby zones by requiring the new zone to be closer by an ATR-based margin.
🟣 Display Settings
Show Analysis Table : Shows or hides the market analysis table.
Table Text Size : Sets the size used inside the table.
Table Position : Selects the table location on the chart.
Show All K-Means Zone Centers : Displays all calculated K-Means price-zone centers.
Show Nearest Zone : Displays the stabilized zone closest to the current price, colored by the detected market state.
Show K-Means Support/Resistance : Displays the nearest clustered support below price and resistance above price.
🔵 Conclusion
This indicator brings K-Means clustering, market state analysis, adaptive price zones, volatility classification, and price action context into one structured workflow. Instead of reducing the chart to a single signal, it separates the market into several readable layers: directional behavior, clustered support and resistance areas, candle reactions, volatility conditions, and the internal quality of the current calculations. This makes it easier to understand whether price is trending, ranging, testing a K-Means zone, reacting to a clustered level, or moving through an unstable volatility phase.
Its strongest use comes from confirmation rather than prediction. A bullish or bearish reading becomes more meaningful when the Market State, nearest K-Means zone, Price Action module, Volatility analysis, and Quality score support the same scenario. When these components disagree, the table highlights that uncertainty instead of hiding it. Used this way, the tool works as a machine learning market analysis framework that helps organize recent price data, compare changing market regimes, and identify areas where further confirmation is still required. Indicator

Market Dictionary [GBB]Can price be translated into a language?
I wondered if it could. So I built a dictionary for the market. This
indicator is that dictionary — including everything it does NOT say.
How it reads the chart: Every bar, the recent closes are reduced to
their shape and spelled as a short word — a few letters describing where
price sat along the way, from a (lowest zone) up to the top of the
alphabet (highest zone). A sharp drop that goes quiet spells "ddaa". With
short words and a small alphabet, the market has a finite vocabulary:
256 words in the standard config, 6,561 in the long one. Every bar on
your chart is speaking exactly one of them.
The readout:
The current word translated into plain English:
"THE MARKET JUST SAID: sharp drop, now quiet at the lows" — plus how
many times this exact word has been seen on your chart and how rare
that is. A description of shape, not a signal.
The regime wash. The background tinted by the word's temperature —
toward red when the word lives in the low zones, toward green in the
high zones, stronger when the shape is more extreme.
The letter ribbon. A letter-colored track under price showing the
letter each bar is writing right now. Calm markets babble; you will see
the tone shift.
The Lexicon Panel
The full dictionary entry: seen-count, rarity
percentile, and causal win rate / average forward return over the next
1, 4 and 16 bars, computed on your chart's history with nothing peeking
into the future — each line carrying its validation verdict. Faint
numbers mean thin data, on purpose: your eyes should trust a statistic
exactly as much as the sample deserves.
Events. When the chart prints a word it has NEVER printed before,
you get a violet flare: "NEVER SEEN BEFORE". And on exactly two
market/timeframe combinations, a gold marker when a study-validated
word completes (more on both below — read the caveats).
Most words mean nothing
"no significant edge" is its most common verdict, by design.
Rare words looked like they preceded volatility in-sample on 5 of 7
markets. Out of sample: 0 of 28 configurations passed. The
"NEVER SEEN BEFORE" flare is a curiosity flag, and its own tooltip
tells you rarity's predictive power is not confirmed.
The vocabulary itself is remarkably stable: in 25 of 28 configurations
the word frequencies stayed the same from the research years into the
held-out years. Markets from 2008 and 2025 speak the same language.
It just mostly is not saying anything predictive.
Two words survived everything: "ddaa" on gold H1 (564 out-of-sample
occurrences; remained net-positive after median spread cost in the
study — informational, not a recommendation) and one BTC 1h pattern
that passed at 69% degradation against a 70% cutoff with 38 samples —
the panel labels that one "marginal" because that is what it is.
The surviving edges are breakpoint-fragile: they appear under the
empirically fitted letter boundaries, not under textbook Gaussian ones.
I tell you this because it is a real limitation.
What this tool is
A translator, not a signal. It tells you what the
current shape is called, how common it is, and what the record shows,
with the verdict attached to every number. Whether any of that adds
something to YOUR strategy is your test to run — that is not a
disclaimer, it is the design.
Frozen parameters
The letter boundaries, variance gates, and rarity
thresholds are hardcoded from the validation study (2026-07) and cannot
be edited or refit — there is deliberately no adaptive mode, because
refitting live would detach the display from its validation. Crypto
combos were validated on Binance USDT-M perpetual data; the indicator
accepts the same symbol on other venues since perp prices track closely
across exchanges — the panel tooltip names the exact validated
instrument. The panel's live statistics (seen-counts, win rates,
averages) are built from your chart's visible history; the validation
verdicts are not — they are the study's hardcoded results. On markets
outside the study, the indicator runs in EXPLORER MODE: fully functional,
clearly labeled, and it will never show you a validation star it did not
earn.
No Repainting:
Words finalize on bar close; statistics
update only when their forward horizons complete; nothing is drawn on
unconfirmed bars. Don't take my word for it: open bar replay, step
through a session, and try to catch a value changing after its bar
closes.
Indicator

Equal Highs and Lows [D4A]Overview
This indicator identifies and displays **Relative Equal High (EQH)** and **Equal Low (EQL)** zones, highlighting price levels where the market has stalled or reversed from before. These areas are considered liquidity zones because they mark locations where price has previously paused, reversed, or encountered significant buying or selling activity, and as a result there is a concentration of buy-stops or sell-stops in these zones. In trading approaches such as Smart Money Concepts (SMC/ICT), equal highs and lows are considered important liquidity targets that may influence future market movement, as larger participants are thought to seek the liquidity concentrated around these levels.
How this script is different from other similar tools
- It marks two pivots as Equal Highs only if the second pivot is lower (within the threshold) than the 1st one and likewise, two pivots are marked as Equal Lows only if the second pivot is situated higher (within the threshold) than the 1st pivot. In other words the price has still a reason to re-visit this area
- It provides three different, user configurable pivot lengths that the script scans at the same type in search of EQHL. Most scripts use only one pivot length thus missing on many potential targets
- Apart from main labels, it draws also side labels at defined location which can be convenient to see all EQHL target levels at glance
How It Works
The indicator analyses **pivot highs** and **pivot lows** to locate meaningful swing points on the chart. When two consecutive pivots form within a user-defined price threshold, they are recognized as an Equal Highs or Equal Lows. A line is then drawn between the matching pivots, and the zone is labelled for easy identification.
Since market prices rarely align at exactly the same value, the indicator includes a **ATR Threshold** setting. This parameter specifies the maximum percentage difference allowed between two pivot levels for them to qualify as equal, giving traders the flexibility to adjust the detection based on market volatility and their preferred level of precision.
How to Use
(EQH/EQL) are strong liquidity targets: Use the marked levels as potential targets for take-profits, as price often seeks out these "equal" levels to sweep liquidity.
SETTINGS
- Show EQHL - show labels and drawings
- # of bars to use - limits the number of bars used to find EQHL
- Threshold / ATR Length - are used to establish difference between two levels being considered "equal high" or "equal low"
- Show Labels - define labels shown
- Show Side Labels - enables additional labels on the side of the chart
- Right Coordinate - how many bars to the right the side labels are displayed at
- Pivot Length - there are three different lengths to configure to cover large distance difference between two pivots
- Remove All Drawings After Sweep - when EQH or EQL levels are swept, the corresponding drawings are removed from memory
-----------------
Disclaimer
The content provided in this script is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs. Indicator

Custom Built IndicatorCustom Built Indicator | MisinkoMaster
Trading is often viewed as a purely mathematical or technical discipline, but the truth is that successful trading requires immense creativity. There are thousands of brilliant traders who have incredible, unique structural concepts in their minds but feel held back because they do not know how to write code. The Custom Built Indicator (CBI) was created to bridge that gap.
This indicator acts as a blank, programmable canvas designed to unlock your inner quantitative designer. It is a fully modular trading framework that allows you to build, test, and personalize your own technical systems without touching a single line of code. By giving you absolute control over the baseline foundation, the volatility wrapper, the smoothing layer, and the conditional trend logic, CBI makes algorithmic design accessible to everyone. Think of it as trading art—a sandbox where you can bring your most detailed visual concepts to life, spark your curiosity, and perhaps even inspire you to take your first steps into learning Pine Script development.
How It Works: The Modular Sandbox
Instead of trapping you inside a single, rigid formula, CBI breaks down technical analysis into five independent, hot-swapping algorithmic layers:
Baseline Settings: This establishes the gravitational core of your asset's price action. You can set this baseline using standard moving averages, advanced low-lag options, mathematical centerpoints like the median or statistical mode, or even a pure historical price offset.
Volatility Settings: This dictates how your system measures market expansion and compression. You can wrap your baseline using standard range tools, pure standard deviation, or robust absolute deviation models to map out precise market extremes.
Smoothing Settings: A unique layer that allows you to smooth out the upper and lower boundary bands independently of the central baseline. Applying secondary smoothing allows you to create highly tailored, fluid bands that conform uniquely to market noise.
Trend Logic Settings: The brain of your strategy. Here, you decide exactly what constitutes a market regime shift. You can define trend conditions based on price breaking the outer channels, crossing the baseline, or even pure momentum acceleration.
Confirmation Filters: To minimize false signals, you can apply secondary algorithmic checks—such as volume verification, rate of change agreement, or candle validation—before any structural trend shift is confirmed.
An Ocean of Creative Possibilities
To understand just how massive this sandbox is, we can calculate the exact number of unique logical setups available. If we completely ignore all numerical values (like lookback periods or band multipliers) and only look at the dropdown menus, the sheer volume of structural combinations is staggering:
Baseline Type: 11 options
Volatility Type: 5 options
Upper Band Smoothing Type: 11 options
Lower Band Smoothing Type: 11 options
Long Signal Logic: 3 options
Short Signal Logic: 3 options
Confirmation Type: 4 options
The Custom Built Indicator provides exactly 239,580 unique, without numerical inputs, meaning everyone will have a completely unique layout that fits them and their style.
When you factor in that the crossover and crossunder source inputs can also be independently assigned to any price data point, the mathematical possibilities soar into the millions. Every single trader can find, name, and perfect a structural footprint that is entirely their own.
Key System Features
On-Chart Canvas Synchronization: The system automatically tracks your custom logical state and dynamically projects it back onto the screen, shifting candle colors and painting custom visual envelopes to represent your unique market regime.
Asymmetric Modeling: Because the upper and lower multipliers and smoothing options are completely separated, you can build asymmetric strategies—such as tight, highly sensitive upper boundaries for fast momentum breakouts combined with wide, volatile lower boundaries to catch major macroscopic market drops.
Forward-Looking Integration: The conditional logic allows you to experiment with advanced structural confirmations, such as requiring two consecutive breakout bars or demanding expanding volume before confirming a trend pivot.
Input Parameters Layout
General & Baseline Settings
Source: The primary price feed running into your system core.
Baseline Type & Lookback: Chooses the foundational trend line, offering options ranging from traditional SMA, EMA, and WMA, to advanced zero-lag options like TEMA, HMA, ALMA, or statistical Mode and Median.
Volatility & Smoothing Settings
Volatility Type & Lookback: Defines the range measurement matrix (Average True Range, Median True Range, Standard Deviation, Mean Absolute Deviation, or Median Absolute Deviation).
Upper & Lower Multipliers: Independently scales the distance of the bands from the baseline.
Additional Smoothing Type & Lookback: Provides an extra filtering pass specifically for the outer bands to eliminate jagged lines and smooth out execution zones.
Trend Logic Settings
Crossover/Crossunder Source: Selects the specific price sources required to breach the upper and lower boundaries.
Long/Short Signal Logic: Sets the core activation condition (breaking bands, crossing the baseline, or tracking positive/negative rate of change).
Confirmation Type: Applies an optional secondary validation layer (Volume, Baseline ROC, or Extra Bar validation).
Embrace the Art of Strategy Design
The ultimate goal of the Custom Built Indicator is to prove that technical analysis doesn't have to be rigid or intimidating. It is a playground for your ideas. Load it onto your chart, test out your most unconventional theories, mix architectures that traditional packages keep separate, and discover what works for your unique visual style. If you find a combination that speaks to you, use that spark to look under the hood—because the journey from clicking options to writing your own custom scripts is much shorter than you think.
Disclaimer: Trading financial markets involves high risk. This technical script is designed as an educational and informational tool to support your rule-based mechanical execution system and does not constitute financial advice.
Final Note: If you find any bugs, errors, contact me either through DMs or in the comments, and I will fix them and update the script. Indicator

Stochastic Triple FilterStochastic Triple Filter
Overview
The Stochastic Triple Filter is an enhanced version of the classic Stochastic Oscillator designed to address its most fundamental weakness: the generation of excessive false signals during ranging markets and counter-trend conditions.
This script integrates three independently validated technical analysis components into a single unified system, where each filter serves a specific and complementary role in signal validation. The result is a significant reduction in low-quality crossover signals, keeping only those that occur within a confirmed trending environment with real directional momentum.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE PROBLEM WITH THE CLASSIC STOCHASTIC
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The classic Stochastic Oscillator generates crossover signals regardless of broader market context. A crossover in oversold territory looks identical whether the broader trend is strongly bullish, strongly bearish, or completely flat and ranging.
This context-blindness is the primary reason most Stochastic-based approaches underperform in live market conditions. The indicator fires during:
- Trending markets
- Ranging markets
- High-volatility periods
- Low-momentum consolidations
...treating all of them identically.
The Triple Filter addresses this by adding two additional layers of validation that specifically target the two most common failure modes:
- Trading against the dominant trend
- Trading during low-momentum, choppy market conditions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THESE THREE COMPONENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The combination of the Stochastic Oscillator, the Gaussian Channel, and the Choppiness Index was chosen deliberately. Each component addresses a different dimension of market behavior that the others cannot measure on their own:
- Stochastic Oscillator — measures momentum and overbought/oversold conditions
- Gaussian Channel — measures trend direction with minimal lag
- Choppiness Index — measures whether the market is trending or ranging
Together, they form a three-dimensional filter that validates signals from three independent angles simultaneously: momentum, direction, and market structure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPONENT 1: STOCHASTIC OSCILLATOR — THE SIGNAL GENERATOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Stochastic Oscillator, originally developed by George Lane in the 1950s , measures the position of the closing price relative to its high-low range over a defined lookback period.
- %K line — the raw stochastic value
- %D line — a smoothed version of %K, used as a signal line
Signal rules:
- Long signal — %K crosses above %D in the oversold zone (below threshold, default 20)
- Short signal — %K crosses below %D in the overbought zone (above threshold, default 80)
Default settings used in this script:
- %K Length: 21
- %K Smoothing: 3
- %D Smoothing: 5
These settings produce a smoother, less reactive version of the Stochastic compared to the classic defaults of 14, 1, and 3 — reducing the number of low-quality crossovers generated before any additional filtering is applied. All parameters are fully configurable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPONENT 2: GAUSSIAN CHANNEL — THE TREND FILTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Gaussian Channel, originally developed and published on PulseWire by © DonovanWall , applies a recursive Gaussian filter to price data to produce an extremely smooth trend estimate.
Unlike a simple moving average, the Gaussian filter uses a weighted multi-pole recursive calculation that minimizes lag while preserving directional accuracy.
The f_filt9x() recursive filter function and the f_pole() pole aggregation function used in this script are directly derived from DonovanWall's original published work. All mathematical credit for the Gaussian filter implementation belongs to DonovanWall.
How it works in this script:
Only the midline of the Gaussian Channel is used as a trend direction signal:
- Midline rising (current value > previous value) → trend is bullish → longs allowed
- Midline falling (current value < previous value) → trend is bearish → shorts allowed
- If the Stochastic fires a crossover but the Gaussian Channel disagrees → signal is blocked
Optional modes:
- Reduced Lag Mode — applies a lag correction to the source before filtering, making trend detection more reactive
- Fast Response Mode — blends the filtered output with the first-pole result to increase responsiveness at the cost of some smoothness
Both modes are optional and disabled by default .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPONENT 3: CHOPPINESS INDEX — THE MOMENTUM FILTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Choppiness Index, based on the concept originally introduced by E.W. Dreiss in 1993 , measures the degree of market trendiness versus choppiness by comparing the sum of individual candle true ranges to the total true range over a lookback period.
The formula produces a normalized value:
- Lower values (~38.2) → strong directional trending behavior
- Higher values (~100) → choppy, non-directional price action
How it works in this script:
A user-configurable threshold (default 50 ) defines the boundary:
- Choppiness Index below threshold → market is trending → signals allowed
- Choppiness Index above threshold → market is choppy → all signals blocked , regardless of Stochastic crossover or Gaussian Channel direction
This prevents trading during low-momentum consolidation periods — historically the most damaging environment for crossover-based systems.
The Choppiness Index filter can be independently enabled or disabled by the user.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE THREE COMPONENTS WORK TOGETHER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Valid LONG signal requires all three:
- %K crosses above %D within the oversold zone
- Gaussian Channel midline is rising
- Choppiness Index is below the threshold
Valid SHORT signal requires all three:
- %K crosses below %D within the overbought zone
- Gaussian Channel midline is falling
- Choppiness Index is below the threshold
Crossovers that satisfy the Stochastic condition but fail one or both additional filters are displayed as small white cross markers on the panel — allowing traders to observe exactly which signals were blocked and why.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
VISUAL ELEMENTS AND PANEL LAYOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Inside the indicator panel:
- %K line — changes color dynamically: green in oversold zone, red in overbought zone, grey in neutral zone. Color intensity is proportional to the distance from each threshold.
- %D line — follows the same color logic at reduced opacity.
- Overbought/Oversold lines — horizontal dashed lines at configurable thresholds.
- Midline — dotted line at level 50.
- Zone background — faint green when %K is oversold, faint red when overbought.
- Gaussian Channel dots — a row of colored circles below the Stochastic lines: green when rising, red when falling, grey when flat.
- Choppiness line — a horizontal line just below the GC dots: green when market is trending (below threshold), grey when choppy (above threshold).
- Signal triangles — green upward triangles for valid longs, red downward triangles for valid shorts.
- Filtered signal markers — small white crosses for signals blocked by the GC or Choppiness filters.
- Status table — bottom right corner, updated in real time, showing the current state of all three filters simultaneously.
On the price chart (optional):
- BUY/SELL labels — appear directly on the price chart at the moment of each valid signal using force_overlay.
- Bar color — candles colored according to Gaussian Channel direction and Choppiness state: bright green when trending up, bright red when trending down, grey when choppy.
- Background flash — optional faint background highlight on the price chart at signal bars.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS AND INPUTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Stochastic:
- %K Length (default: 21)
- %K Smoothing (default: 3)
- %D Smoothing (default: 5)
- Overbought Level (default: 80)
- Oversold Level (default: 20)
📡 Gaussian Channel:
- Enable/Disable GC Filter
- Source (default: HLC3)
- Poles 1–9 (default: 4)
- Sampling Period (default: 144)
- Multiplier (default: 1.414)
- Reduced Lag Mode
- Fast Response Mode
📊 Choppiness Index:
- Enable/Disable Chop Filter
- Chop Length (default: 14)
- Chop Threshold (default: 50)
📍 Signals on Price Chart:
- Show BUY/SELL labels on chart
- Show Filter Status Table
- Color bars by signal state
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CREDITS AND ATTRIBUTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Gaussian Channel — Original concept and full implementation by © DonovanWall , published on PulseWire as "Gaussian Channel " . The f_filt9x() and f_pole() functions in this script are directly derived from DonovanWall's original work. All mathematical credit belongs to DonovanWall.
- Choppiness Index — Original concept by E.W. Dreiss (1993) . Standard public domain implementation.
- Stochastic Oscillator — Original concept by George Lane (1950s) . Standard public domain implementation.
The combination of these three components into a unified signal filtering system — including all visual design, panel layout, filter logic, position management, and status table — was developed independently by © AlgoTrade_Pro .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This script is published for educational and informational purposes only. It is not financial advice and does not guarantee any specific trading results. Past performance in backtesting does not guarantee future results in live markets. Always conduct your own research and testing before making any trading decisions. Trading involves significant risk of loss. Indicator

Indicator

Volume Profile Levels - POC, Value Area, HVP/LVPVolume Profile Levels — POC, Value Area, HVP/LVP
OVERVIEW
This indicator builds a fixed-range volume profile over a user-defined lookback window and extracts its key structural levels as horizontal lines: the Point of Control (POC), the Value Area boundaries (VAH/VAL), and local High/Low Volume Peaks (HVP/LVP). The goal is not the histogram itself but the levels it produces — clean, alertable support/resistance derived from where volume actually traded.
HOW IT WORKS
Volume distribution. For each bar in the lookback window, its volume is distributed evenly across the price bins that the bar's high–low range spans. The full range of the window is divided into a configurable number of rows.
POC and Value Area. The POC is the bin with the highest accumulated volume. The Value Area is expanded outward from the POC, adding the larger neighboring bin at each step, until the target percentage of total volume (70% by default) is covered.
HVP / LVP detection. A bin qualifies as a High Volume Peak when it is a local maximum and exceeds the bin average by a configurable multiplier. A Low Volume Peak is a local minimum below the average by a configurable multiplier. Up to six levels of each type are shown, ranked by volume.
MTF mode. The profile can be calculated on a higher timeframe while displayed on the current chart. In MTF mode the lookback is counted in higher-timeframe bars, and the histogram can be hidden automatically to keep the chart readable while the levels remain.
FEATURES
- Fixed-range volume profile with adjustable lookback, row count, and Value Area percentage
- POC, VAH/VAL, HVP, and LVP levels drawn as lines across the analyzed range
- Optional profile histogram on the right or left side of the chart
- Higher-timeframe profile calculation with automatic histogram hiding
- Three label modes: full text labels, minimal dots, or both
- Diagnostics table showing the profile's range, bin size, total volume, and level counts
ALERTS
All alerts use the generic alert() function: create one alert on the indicator with "Any alert() function call" and enable the events you want in the settings.
- POC / VAH / VAL cross (close crossing the level)
- HVP / LVP level cross (optional; can be noisy)
- SR Flip: after a level is broken, the alert fires if price retests the level with a wick within a configurable bar window while the close holds the breakout direction
- Value Area entry / exit
NOTES
- The profile is an approximation: volume is split evenly across each bar's range, as tick-level data is not available in Pine. Results depend on the chart timeframe and the lookback setting.
- Levels are recalculated on every bar, so they shift as the window rolls forward. This is a rolling analysis tool, not a fixed anchored profile.
- Works on any symbol that provides volume data. Indicator

IV Probability Ranges - SuiteIV Probability Ranges
IV Probability Ranges is a volatility-based range and market-behavior study. It uses the selected implied-volatility index to build a projected range around the opening price of each day, week, month, quarter, half-year, or year.
The script divides that range into configurable levels and tracks how price historically behaved around them.
Main features:
Implied-volatility range centered on the period open
Support for VIX, VXN, RVX, VXD, GVZ, OVX, VXFXI, VXEEM, VXTYN, and VXEW
Daily through annual range periods
Configurable divisions inside the main range
Additional standard-deviation and extension levels
Historical reach rates for each upper and lower level
Reversion-versus-continuation statistics after a level is reached
First-touch statistics showing whether the upper or lower side was reached first
Box breach, return-to-open, and close-back-inside statistics
Optional prior-period VWAP and VWAP deviation references
Adjustable rolling sample size
How the statistics work:
“Reach” shows how often price touched a level during completed historical periods.
After a level is reached, the script also records whether price moved back to the nearest inner level or continued to the nearest outer level first.
The optional first-touch section compares matching upper and lower levels and records whether the upside, downside, or neither side was reached first.
All statistics are calculated from completed periods using the available chart history and selected sample size.
How to use it
Choose a period and the volatility index most relevant to the chart symbol. Adjust the range divisions, extension levels, and sample size as needed.
The tool can be used to:
Compare the current move with the implied range
Identify historically common or uncommon price extensions
Study whether price tended to revert or continue after reaching a level
Compare upside and downside first-touch behavior
Add volatility context to another trading method
Limitations:
This script is a research and context tool, not a trading system.
Historical results depend on the selected symbol, timeframe, volatility index, settings, chart history, and sample size. Implied volatility does not guarantee that price will remain inside a range or reach a specific level.
Historical bars also do not always reveal the exact intrabar order of events, so some same-bar situations require a consistent tie-breaking assumption.
VWAP features require usable volume data.
Originality
The script combines implied-volatility ranges, historical level-reach statistics, reversion-versus-continuation tracking, first-touch analysis, breach statistics, and prior-period VWAP references into one configurable study.
The Pine implementation and combined feature set were developed for this publication. The underlying concepts of implied volatility, standard deviations, and VWAP are established market concepts.
Version note
This script replaces an older publication with a similar title, but it is not a minor revision or repackaged version of that script.
The underlying modeling engine was substantially redesigned and expanded. The new version uses a different statistical framework and adds rolling historical samples, level-specific reach analysis, conditional reversion-versus-continuation tracking, first-touch race statistics, extended range modeling, breach and return analysis, and period-matched VWAP references.
Because the new script functions differently from the prior model, and because PulseWire’s Update feature does not allow the publication title to be changed, it was released as a separate script. The older publication was marked as deprecated so users would not continue relying on the obsolete version.
Future revisions to this model will be published through the Update feature. Indicator

DTC Lot Size CalculatorYou set an Entry Price and Stop Price (click-to-place on the chart, or type them in). The script works backward from your risk percentage to tell you exactly how large a position you can take — lot size for forex/CFDs, or whole contracts for futures — so that a stop-out costs exactly what you intended to risk, not more.
It plots Entry, Stop, and R-multiple target lines (1R, 2R, 3R...) directly on the chart, and a compact table shows the full breakdown: risk amount, position size, commission, spread cost, required margin, and the resulting reward:risk ratio.
How the sizing works
Position size is solved from your planned Entry/Stop distance, not a live-recalculated one, so the lot size stays stable and doesn't silently drift every time price ticks. An optional "Reset entry to live price" toggle lets Entry track the current close while Stop stays fixed, so you can watch how a live-tracking price affects real risk without re-plotting manually every time.
True Risk (not just the target risk %) accounts for commission and spread cost, so the number you see is what you'd actually lose, not an idealized figure.
Futures contracts (ES, MES, NQ, MNQ, YM, MYM, RTY, M2K, CL, MCL, NG, GC, MGC, SI, HG, ZB, ZN, ZF, 6E, 6J, 6B, 6A, ZC, ZS, ZW, and CME BTC/ETH) use their real exchange tick size and tick value, and size in whole contracts only, no fractional micros. Spot metals (XAUUSD, XAGUSD, XPTUSD, XPDUSD) use standard 100oz/5000oz/50oz lot conventions matching their COMEX futures equivalents, since these are commonly mispriced by generic calculators.
Built-in safety checks
Risk % turns red with a caution mark above a threshold you set (default 3%). Stop distance turns red with a caution mark if it's unusually wide for a forex pair (default 15 pips). Margin % estimates how much of your account the position would tie up at your configured leverage, and warns if it exceeds 100%, catching cases where a risk-correct position size is still too large for the account to actually hold. A second, independently configurable account/risk table can be shown side by side for comparing two account sizes or risk profiles at once.
Why this is a distinct build, not a re-skin
The original by cryptonnnite was a single-instrument forex lot size calculator. This version adds: multi-asset contract specs (futures + metals), the planned-vs-live entry distinction and its safety fallback, commission+spread-inclusive true risk, the margin/leverage check, configurable warning thresholds, a second comparison account, and the auto dark/light theme system, all new logic layered on top of the original risk-sizing concept.
Indicator

[EWT] MA Extension Risk Stats MA Extension Risk Stats helps traders objectively measure how extended a stock, index, or any instrument is relative to its own historical behavior from a moving average.
Instead of guessing whether price “looks high,” this indicator calculates the percentage distance of every historical bar from a configurable SMA or EMA and then displays the Maximum, Mean, and Median deviations in a clean, updating table. By comparing the current deviation against these historical benchmarks, you get clear, data-driven context for profit booking decisions.
Key Benefits
Objective Extension Measurement: See exactly where the current price stands in the instrument’s historical distribution of moves away from its moving average.
Better Profit Booking Decisions: Know whether the current extension is normal, moderate, high, or near the historical maximum — removing emotion from scaling out of positions.
Risk Context at a Glance: Color-coded risk levels (Low / Moderate / High / Very High) combined with concise guidance help you quickly decide whether to book partial profits (30-50%) or exit most/all of a position.
All-History Perspective: Unlike rolling-window tools, this indicator uses the entire available dataset on your chart, giving you a complete picture across different market regimes.
Fully Customizable: Choose SMA or EMA, any period length, and position the compact table anywhere on the chart. The table automatically adapts to your light or dark chart theme for excellent readability.
Practical Use Cases
Trend Following & Swing Trading: When price stretches far above its MA during a strong uptrend, use the stats to scale out systematically instead of hoping for more upside.
Mean Reversion Setups: Identify when price has extended unusually far below its MA and prepare for potential bounces with better risk awareness.
Position Management: Apply consistent rules such as “book 50% when current deviation exceeds 1.5× median” or “exit fully when approaching historical maximum.”
Multi-Timeframe Analysis: Run it on daily charts for swing trades and weekly charts for positional decisions using the same logic.
Whether you trade stocks, indices, forex, or crypto, MA Extension Risk Stats gives you a professional, repeatable framework to manage extension risk and improve profit-taking discipline. It is especially valuable for traders who want to move from subjective “it looks extended” decisions to quantifiable, historically grounded rules.
Add it to your chart, adjust the MA period to match your style, and start making more confident, data-backed decisions on when to lock in profits. Indicator

Bitcoin Halving Cycle Strategy [Gabremoku]This script is a Bitcoin cycle timing indicator built around the historical halving structure.
The core idea is simple:
- define a Buy window a fixed number of days before each halving,
- define a Sell window a fixed number of days after each halving,
- project the next key dates directly on the chart.
The indicator does not try to predict price with oscillators, momentum formulas, or future-looking data. Instead, it focuses on a structural market rhythm that many Bitcoin traders monitor: the recurring supply shock created by halvings.
How it works
- The script uses known historical Bitcoin halving dates.
- It calculates a Buy date at halving minus N days.
- It calculates a Sell date at halving plus N days.
- It draws vertical reference lines for Buy, Halving, and Sell events.
- It plots historical labels on the actual event bars.
- It projects the upcoming Buy, Sell, and Halving labels forward to their own future dates on the chart.
- A dashboard summarizes the active cycle, next key date, and remaining days.
What makes this script useful
Most halving tools only mark the halving date itself. This script expands the concept into a complete cycle timeline by transforming each halving into three practical timing landmarks:
1. accumulation window before halving,
2. halving anchor point,
3. distribution window after halving.
This makes the script more useful for traders and investors who want a visual cycle map instead of a single event marker.
How to use it
- Apply it on BTCUSD or BTCUSDT.
- Daily and weekly charts are the most readable timeframes for this model.
- Use "Buy Days Before Halving" to control how early the accumulation window begins.
- Use "Sell Days After Halving" to control how long the post-halving window extends.
- Use the projected labels to monitor the next cycle dates in advance.
- Use the dashboard to read the current phase quickly.
Included features
- Historical halving timeline
- Buy and Sell event mapping
- Future projected labels positioned on future dates
- Optional cycle range highlighting
- Dashboard with next Buy, next Sell, next Halving, and countdown
- Custom colors and label controls
Important notes
- This script is a cycle visualization tool, not financial advice.
- It does not guarantee future market behavior.
- The projected future halving date is used as a timeline estimate for planning and visualization only.
- Past cycle behavior does not guarantee similar future performance.
- For clarity and to avoid misleading output, this script should be used on standard candlestick charts.
This publication is intended to provide a clean and practical timing framework for Bitcoin traders who study halving-driven market cycles rather than signal-based entry systems. Indicator

Opening Delta Supply Demand HybridOpening Delta Supply Demand Hybrid
This indicator combines Daily Supply and Demand zones, LVN confluence, Money Flow high-trade zones, and Opening Delta dominance pressure.
It detects important supply and demand areas from daily price and volume behavior. The zones stay active until price fully breaks them with a candle close. A supply zone is invalidated only when price closes above it, and a demand zone is invalidated only when price closes below it.
The Opening Delta model measures buyer and seller pressure from the session open. It tracks delta strength, dominance, RVOL, candle quality, superior delta, and dominance flips. If real volume delta is unavailable or returns zero, the indicator can use a candle-volume fallback to keep signals working.
BUY signals appear when price rejects a demand zone and Opening Delta confirms buyer strength. SELL signals appear when price rejects a supply zone and Opening Delta confirms seller strength. The indicator blocks signals when the global strength favors the opposite side.
It also includes a Money Flow High Trade Zone, which highlights the price area with the highest money flow activity from the daily profile.
Main features:
Daily Supply and Demand zones
LVN confluence
Money Flow high-trade zone
Opening Delta buyer/seller pressure
Dominance strength table
BUY and SELL confirmation arrows
Alerts for hybrid signals and delta conditions
Configurable filters for stricter or more aggressive signals
How To Use
Add the indicator to your chart and choose the market/session you trade.
Set the session start time to match your market open.
For example, US index futures usually use 9:30 New York time for the cash open.
Watch the supply and demand zones:
Demand zones are potential bounce areas.
Supply zones are potential rejection areas.
Zones remain active until price fully breaks them with a candle close.
Use the Opening Delta table to read market control:
BUYERS means buyer pressure is stronger.
SELLERS means seller pressure is stronger.
BALANCED means there is no clear dominance.
Look for confirmed signals:
A BUY signal appears when price rejects a demand zone and buyer pressure confirms the bounce.
A SELL signal appears when price rejects a supply zone and seller pressure confirms the rejection.
Avoid trading against the strength:
If price touches demand but strength favors sellers, the indicator blocks the BUY signal.
If price touches supply but strength favors buyers, the indicator blocks the SELL signal.
Use the Money Flow High Trade Zone as an important reaction area.
This zone shows where the highest money flow activity occurred in the daily profile.
Adjust the filters:
Use stricter settings for fewer but stronger signals.
Disable some confirmations for more aggressive signals.
Lower the cooldown if you want more frequent arrows.
Basic Rule
Buy only when price reacts from demand and Opening Delta supports buyers.
Sell only when price reacts from supply and Opening Delta supports sellers. Indicator

Indicator
