Round NumbersRound Numbers highlights the key psychological price levels around the current market by drawing round, half, and quarter number levels around price.
The goal is simple: make round numbers easier to see, improve chart readability, and help you stay visually oriented without cluttering the chart with unrelated logic.
How it works
Automatically adapts level spacing across different markets using daily range and decimal-place anchoring.
Works with Forex, cryptocurrencies, indices, commodities, and stocks.
Optional symbol-specific override multipliers are available for instruments that require custom spacing.
Displays
Round levels
Half levels
Quarter levels
Use cases
Visualize where price is trading relative to nearby psychological levels.
Improve chart structure and orientation.
Keep important price levels visible across different markets.
Settings
Visible Levels - Number of levels displayed around the current price.
Round / Half / Quarter - Individual visibility and style settings.
Overrides - Optional symbol-specific spacing multipliers.
This indicator is designed as a visual reference layer. It does not generate trade signals and does not attempt to identify support or resistance using order flow, liquidity, or reversal logic.
Indicator

Liquidity Propulsion Signals | ProjectSyndicateLiquidity Propulsion Signals catches the moment a liquidity grab fails — and instead of chasing the breakout, it fades it. Markets coil, then hunt the resting liquidity parked above swing highs and below swing lows. When price spears one of those pools and then snaps back inside the range, it traps the breakout crowd and loads a "spring." The engine measures the energy stored in that failed grab as a 0–100 Propulsion Charge, and fires contrarian — in the direction the trapped crowd is now forced to unwind. Every setup gets a structural invalidation level beyond the failed grab, fixed R-based targets, a 0–100 charge with a 1–5 star rank, and is tracked live on a full statistics dashboard — including honest stop-outs — so you can see exactly how the logic behaves on the symbol and timeframe you trade.
🧠 Liquidity-Spring Core — the core idea, expressed as a lifecycle: COIL ▸ GRAB ▸ LOAD ▸ IGNITE ▸ TARGET. Resting-liquidity pools are mapped from confirmed swing pivots — the highs and lows where stops cluster. A grab begins when price pierces one of those pools: a low driven below sell-side liquidity, or a high pushed above buy-side liquidity. If price then reclaims the pool — closes back inside the range within the reclaim window — the grab has failed, and that failure loads a spring on the opposite side. The spring later ignites into a signal when price pushes through the bar that armed it. Pools come from confirmed pivots and every transition is evaluated on the bar's close, so the pools and the signal do not repaint.
🔋 Charge Anatomy — a failed grab is not just true or false; it is scored for how much energy it carries. The Propulsion Charge fuses six breakout-native ingredients into a single 0–100 read: grab depth (how far price penetrated the pool, in ATR), reclaim velocity (how fast it snapped back within the window), rejection wick (the share of the bar spent rejecting the level), volume surge (the spike over a rolling baseline), coil compression (how tightly the market was wound before the grab — a loaded spring versus a loose one), and reclaim displacement (how decisively close pushed back past the level). Each component is independently weighted, so you can dial the engine toward depth, speed, volume, or compression as your edge demands.
🎯 Structural Invalidation + R-Based Targets — a loaded spring is invalidated before it fires if price falls back beyond the grab extreme, so weak grabs quietly disarm instead of trading. Once a discharge fires, the trade model builds a universal ATR-based zone height: the stop sits a fixed ATR distance from entry, so every signal draws the same SL/TP geometry — no super-wide or super-narrow zones to distort your risk. TP1, TP2, and TP3 are set at clean R multiples, defaulting to a balanced 1R / 2R / 3R and fully adjustable to your reward profile. Every signal plots its complete Entry / SL / TP1 / TP2 / TP3 line set, labeled level prices, and filled TP / SL zone boxes, with a result label on exit.
🧲 Opposing-Liquidity Magnet — because a discharge is fundamentally drawn toward the next pool of unswept liquidity, the engine can project the nearest opposing pool as a dotted magnet line: the obvious, structural target the move is being pulled toward. It is a context read for where the propulsion wants to go, sitting alongside your fixed R targets rather than replacing them.
🎚️ Conviction Controls — a compact set of dials sets how serious a failed grab must be before it counts: the Arm Threshold (the minimum charge that loads a spring at all), a Strong Tier cutoff, an optional Only Fire Strong-Tier Springs filter, the minimum grab depth, the reclaim window, and the ignition window that keeps an armed spring from waiting forever. Tighten them for fewer, cleaner discharges; loosen them for more activity. Combined with the six component weights, this is your main control over conviction versus frequency.
🧭 Ignition Gating & Single-Ticket Discipline — an armed spring is not a trade until it ignites: price must close through the ignition level set at load time. If the grab extreme is broken back the other way, the spring disarms; if the ignition window elapses with no trigger, it discharges unused and resets. Only one ticket is active at a time, so a single chaotic session can't stack overlapping trades, and resolution is SL-first pessimistic with honest partial-TP accounting — if a stop is hit after TP1 or TP2, that partial result is booked rather than rounded up.
⭐ 0–100 Charge with Star Tiers — every discharge is labeled with its numeric charge, a 1–5 star rank, and a tier ladder running FLAT → WEAK → PRIMED → STRONG → ELITE. Treat the charge as a cleanliness and confluence read for ranking and thinning setups — it describes how textbook a failed grab is, not a guaranteed outcome. The Arm Threshold and Only-Strong gate restrict what is displayed and alerted, while the dashboard keeps tracking every tier in the background.
📊 Live Statistics Dashboard — a non-intrusive panel tracks, in real time on your chart: the current bias (long spring / short spring / active / idle) and status (waiting → grab forming → spring loaded → discharging), a live charge meter with separate long- and short-spring readings, the magnet distance up and down in ATR, the last discharge with its star score, total signals, win rate, closed trades, profit factor, average R per trade, best-performing direction, long vs short win rate, current and max win/loss streaks, and a TP1 / TP2 / TP3 / SL outcome breakdown. Every filled trade that reaches an outcome is counted — winners and stop-outs alike — so the numbers are computed live from the real signals on your current symbol and timeframe, not a figure printed in a description.
🎨 Clean Themed Visuals — five coherent palettes (Midnight default, plus Emerald, Ice Blue, Gold Black, and Aqua Violet) shade the liquidity-pool lines, the ⚡ charge labels, the per-trade SL / TP ladder and zone boxes, and the dashboard to one look, so direction and quality read at a glance. Liquidity pools are drawn as color-keyed dotted levels; each discharge prints a ⚡ label with its charge, star tier, and direction arrow. The active ticket extends live to the right and then snaps cleanly back to its exit bar on close, so labels never float away — and a max-drawn-trades cap keeps only the most recent tickets on the chart while the statistics stay cumulative over the full history.
🔔 Detailed Alerts — fires on a long or short spring loaded (a qualifying failed grab), on long / short discharge (ignition), on any discharge, and on TP3 and SL events, formatted for manual or automated use. The strength gate can restrict alerts to higher-conviction springs.
🔧 Fully Customizable — every component is exposed: the pivot length that defines which pools count, the ATR length, the coil window and its looseness reference; the reclaim window, minimum grab depth, depth and volume energy references, volume baseline, and ignition window; the arm and strong thresholds, the only-strong filter, and all six charge weights; the universal risk distance and the three R targets; the opposing-liquidity magnet, level-shelf length, and max historical trades; the dashboard position, size, meter, and per-target breakdown; all five themes; and every pool, label, line, box, and star toggle.
🎯 Why this is different — most "liquidity" tools simply draw lines at old highs and lows and tell you a sweep happened. This one treats the failed sweep as the event, scores how much spring energy that failure stored across depth, velocity, wick, volume, compression, and displacement, and fires contrarian — fading the trapped breakout the way price actually tends to unwind — then anchors invalidation to the grab itself, projects the opposing pool the move is drawn toward, and layers an objective 0–100 ranking and a live, honest statistics panel that counts stop-outs in full. You tune and judge it on real, current data from your own chart instead of a marketing number.
🚀 Where to use it — the engine is symbol-agnostic and built on universal behavior: stop-runs and failed breakouts happen in every liquid market, so it can be applied to FX majors and crosses, metals, indices, and crypto, on intraday timeframes. Pivot length and the ATR-based stop adapt to each instrument's volatility automatically. Because it is a contrarian, mean-reversion engine, it shines in ranging and liquidity-hunting conditions and demands more care in strong one-way trends — let the dashboard tell you whether the logic suits the pair and timeframe before you commit.
🎯 How to trade it
Apply it to a liquid symbol on an intraday timeframe and let the dashboard populate. Read the live win rate, profit factor, and average R for your symbol and timeframe first — if the logic doesn't suit that market, you'll see it.
Wait for a ⚡ LONG / ⚡ SHORT discharge label — it marks a confirmed close through the ignition level after a failed grab, with the charge, star tier, and full Entry / SL / TP1 / TP2 / TP3 already plotted.
Use the opposing-liquidity magnet as a logical target read: it shows the unswept pool the discharge is being pulled toward.
Manage the trade with the plotted levels — the universal ATR stop defines your risk and TP1/2/3 sit at your chosen R multiples. Bank or trail however suits your style.
Use the Arm Threshold, Only-Strong gate, and the six charge weights to set your tempo — stricter for fewer, cleaner discharges; looser for more activity — and lean on the star tier to focus on the most textbook failed grabs.
⚠️ Important — this is a decision-support tool, not a standalone buy/sell system, and it makes no performance guarantees. Default settings were chosen on historical data and behavior will vary by symbol, timeframe, session, and configuration; the dashboard's statistics are historical and descriptive, not a forecast. The trade model resolves stop-first and books partial-target exits honestly, so some trades close for a fraction of a target rather than a full win or loss — these are counted in full, which is honest but means win rate alone is misleading; always weigh it together with average R and profit factor, and resize the R targets to your own risk profile. Signals confirm on the closed bar, so always wait for the labeled discharge on a closed candle. Because the system is contrarian by design, a sufficiently strong trend can run straight through a stop — combine it with your own analysis and risk management, and test it on your market before trading it live. Indicator

Indicator

Indicator

Indicator

Rising & Falling Wedge Detector [HexaTrades]Overview
Wedge Detector automatically identifies and draws the two most actionable wedge patterns: the Rising Wedge (bearish) and the Falling Wedge (bullish). It marks each as a converging cone, validates the geometry, waits for a bar-close breakout, then plots a measured-move target and a structure-based stop without repainting the pattern structure.
It is built around quality over quantity: a strict, perfect-shape gate ensures only genuinely converging, textbook wedges appear. Every part of the logic is transparent and tunable. Ideal for swing and intraday traders who trade chart patterns and want an objective, rules-based way to spot wedges and define risk.
What it detects
Rising Wedge( bearish)
Higher highs and higher lows, but the lows rise faster than the highs (the lines converge upward). Signals a likely breakdown confirmed on a close below the lower trendline.
Falling Wedge ( bullish)
Lower highs and lower lows, but the highs fall faster than the lows (the lines converge downward). Signals a likely breakout confirmed on a close above the upper trendline.
How the Indicator Works
- Pivots: confirmed swing highs/lows (locked pivotLen bars after they occur).
- Boundaries: upper line from the two most recent swing highs; lower line from the two most recent swing lows, projected as straight lines.
- Slope & convergence: rising = both up, lows rising faster; falling = both down, highs falling faster (set by Convergence strictness).
- Perfect-shape gate: no crossing inside, real narrowing, minimum contraction, apex ahead, sensible duration, minimum ATR height.
- Forming preview: dashed shaded cone while developing.
- Breakout: bar-close below lower line (rising → bearish) / above upper line (falling → bullish).
- Filters: optional EMA trend, volume, breakout-candle ATR size.
- Targets/stops: measured-move target + opposite-boundary stop, drawn as persistent right-extending lines.
Features
- Automatic detection of rising & falling wedges from confirmed pivots.
- Perfect-shape validation rejects crossing, barely-narrowing, diverging, past-apex, too-small or too-long shapes.
- Forming preview dashed shaded cone before breakout.
- Bar-close breakout confirmation, no intrabar fakes.
- Measured-move target + structure stop (opposite boundary).
- EMA trend filter, volume filter, breakout-candle ATR filter (all optional).
- Theme-aware dashboard + shaded wedge zone + 3 alerts.
Dashboard
Status: Forming while developing → Confirmed on breakout
Last wedge: Rising Wedge / Falling Wedge
Bias: Bearish / Bullish
Target: Projected take-profit level
Stop: Structure-based invalidation level
Filters: EMA / Volume / ATR shown as On / Off
Settings
Detection:
Pivot length: swing sensitivity. Lower = more (and smaller) wedges.
Min wedge height (ATR): rejects wedges smaller than this many ATR.
Convergence strictness: how strongly the lines must converge (higher = stricter).
Min width contraction: minimum narrowing from start to breakout.
Max wedge duration: rejects over-stretched patterns.
Show forming wedge: preview wedges before breakout.
Filters:
EMA trend filter: only confirm breakouts aligned with the EMA (falling wedge above EMA, rising wedge below).
Volume confirmation: requires above-average volume on the breakout candle.
Min breakout candle size: require a breakout candle of at least N×ATR.
Visuals
Toggle target/stop lines, colors for bullish/bearish / forming, and the dashboard.
Alerts:
Rising Wedge breakdown:bearish confirmation.
Falling Wedge breakout: bullish confirmation.
Any wedge confirmed - either of the above.
Create alerts with “Once per bar close” for non-repainting behaviour.
Trading Guide
- Identify: dashboard Status = Forming + clean dashed cone.
- Enter: on the bar-close breakout (▲/▼) in the wedge's direction.
- Avoid: when filters reject the breakout, or in choppy ranges.
- Stop: the drawn SL (opposite boundary). Target: the drawn TP (measured move).
- Risk: size so breakout→stop is an acceptable risk; R:R = (TP−entry) ÷ (entry−SL).
Bullish Example (Falling Wedge)
Down-trend forms a dashed falling cone → a candle closes above the upper line → ▲ prints, wedge turns solid green, Status = Confirmed → enter, SL = lower line, TP = breakout + wedge height.
Bearish Example (Rising Wedge)
Up-grind forms a dashed rising cone → a candle closes below the lower line → ▼ prints, wedge turns solid red → enter short, SL = upper line, TP = breakout − wedge height.
Best Markets & Timeframes
Markets: works on crypto, forex, stocks, indices, futures, commodities. Best on liquid instruments with clean swings (the volume filter is most meaningful on stocks/indices).
Timeframes: 5m/15m = more signals, more noise (use stricter filters); 1H/4H = the sweet spot; Daily/Weekly = highest quality, fewer & slower.
We would love to hear your suggestions. If you have ideas for new features, indicators, analytics, or improvements, please share your feedback. Your input helps guide future updates and improve the indicator for all traders.
Wedge pattern detector indicator is for educational and analytical purposes only. It is not financial advice. Trading involves risk. Always use proper risk management and combine this indicator with your own analysis before taking any trade.
Indicator

RichmondHillCM - DXY vs BTC Lagged and RescaledDXY vs BTC — Lagged & Rescaled
This indicator compares Bitcoin against a time-shifted, inverted US Dollar Index (DXY) to visualize the inverse relationship between dollar strength and risk assets — with the dollar shifted forward so its past moves line up against where Bitcoin tends to follow.
How it works
- Both DXY and BTC are normalized to a 0–100 range over a rolling window, putting two very differently-scaled instruments on the same axis so they can be read side by side.
- DXY is lagged forward by an adjustable number of bars (default 18 ≈ 4.5 months on the weekly), reflecting the idea that dollar moves tend to lead Bitcoin rather than move with it.
- DXY is inverted by default, so the two lines track together whenever the historical inverse correlation is holding.
- The shaded fill marks divergence: green when BTC is running above the projected dollar path, red when it's below.
- A rolling correlation line is rescaled onto the same 0–100 axis: 50 = no correlation, below 50 = inverse (the normal regime for these two), above 50 = positive. It tells you how much to trust the overlay at any given moment.
Inputs
- DXY Lag — bars to shift the dollar forward
- Normalization Window — lookback used for the 0–100 rescaling
- Correlation Lookback — window for the rolling correlation
- Invert DXY — toggle the inverse view on/off
- Show Divergence Fill / Show Rolling Correlation — visibility toggles
- Configurable DXY and BTC symbols
Reading it
When the inverted, lagged DXY line and BTC line track closely and the correlation line sits well below 50, the dollar overlay is acting as a rough roadmap for price. When the correlation line drifts toward or above 50, the relationship has weakened and the overlay should be discounted. Large green/red divergences flag where BTC is leading or lagging the dollar's implied path.
Notes
The lag is a heuristic, not a fixed law — the optimal shift drifts across market regimes, so experiment with the lag and lookback values. This is a research and visualization tool, not a trading signal, and nothing here is financial advice. Indicator

RichmondHillCM - BTC vs Business Cycle (ISM PMI)BTC vs Business Cycle (ISM PMI)
This indicator overlays the U.S. ISM Manufacturing PMI against Bitcoin price to help you frame BTC within the broader macro/business cycle. The idea is simple: manufacturing activity is a classic gauge of economic momentum, and BTC has historically behaved differently in expansionary versus contractionary macro environments. This tool makes that relationship visible at a glance.
What it does
It pulls monthly PMI data and monthly BTC price, then normalizes Bitcoin into the PMI's 40–70 range so both can be read on the same scale. The PMI line is color-coded by regime, and Bitcoin is plotted alongside it for easy comparison.
Regime classification
Expansion — PMI at or above 50 (amber)
Strong Expansion / Bull — PMI at or above the Bull Threshold, default 55 (green)
Contraction — PMI below 50 (red)
The 50 level marks the expansion/contraction boundary, and a configurable Bull Threshold marks the stronger-momentum zone. Background shading highlights contraction and strong-bull periods, and labels mark the moments PMI crosses 50 in either direction.
Reading the panel
A live info table (top-right) summarizes the current PMI value, the active regime, whether BTC is in a "bull-supportive" macro environment, and the latest BTC price.
Inputs
PMI Symbol — the data feed for PMI. Availability depends on your PulseWire data access. If the default doesn't load, try alternates such as FRED:NAPM, ECONOMICS:USPMI, or another ISM/PMI source your plan supports.
Bull PMI Threshold — adjusts where the "strong expansion" zone begins.
Shade Regimes — toggles background shading on/off.
Notes
This is a macro-context tool, not a timing or entry/exit signal generator. PMI is monthly and released with a lag, so treat it as a regime backdrop rather than a trade trigger. Not financial advice — do your own research. Indicator

Indicator

Indicator

HA Daily Bias & EMA SetupDisclaimer
This indicator is inspired by the trading concepts discussed by Animesh K in "Learn Dual Edge Trading and Mindset."
This indicator is an independent implementation of selected concepts and should not be considered an official version of his strategy.
Trading involves risk. This indicator is intended as a decision-support tool and does not guarantee profitable trades.
Indicator Objective
The purpose of this indicator is to combine:
Daily Heikin Ashi Trend Bias
34 EMA Dynamic Trend Levels
Entry Confirmation
Exit Confirmation
Trend Filtering
to provide a clean trend-following trading system.
The indicator attempts to keep traders aligned with the higher timeframe trend while using the current timeframe for entries.
Core Trading Logic
The strategy is built around two ideas:
Determine the higher timeframe market bias.
Only take trades in the direction of that bias.
Instead of predicting reversals, the indicator follows momentum.
Daily Heikin Ashi Bias
The indicator first checks the previous day's Heikin Ashi candle.
Bullish Bias
Previous HA Close > Previous HA Open
Market Bias = Bullish
Only LONG trades are allowed.
Bearish Bias
Previous HA Close < Previous HA Open
Market Bias = Bearish
Only SHORT trades are allowed.
Neutral
If neither condition exists,
No directional bias exists.
Daily Support and Resistance
The indicator plots:
Previous Daily HA High
Previous Daily HA Low
These become important reference levels for:
Support
Resistance
Trend continuation
Risk management
Green Dots
= Previous HA Low
Red Dots
= Previous HA High
EMA Setup
The indicator uses two separate EMAs.
EMA 1
Length: 34
Default Source:
High
Purpose:
Bullish confirmation.
EMA 2
Length: 34
Default Source:
Low
Purpose:
Bearish confirmation.
Long Entry Rules
A LONG signal appears only when all conditions are true.
Condition 1
Daily Bias = Bullish
AND
Condition 2
Previous candle crosses above EMA High
AND
Condition 3
Current candle closes above EMA High
If all three conditions are satisfied,
A LONG label is printed.
Long Exit
The position exits when
Previous candle crosses below EMA Low
AND
Current candle closes below EMA Low
EXIT label appears.
Short Entry Rules
A SHORT signal appears only when:
Daily Bias = Bearish
AND
Previous candle crosses below EMA Low
AND
Current candle closes below EMA Low
SHORT label appears.
Short Exit
Exit occurs when
Previous candle crosses above EMA High
AND
Current candle closes above EMA High
EXIT label appears.
Signal Filtering
The indicator contains a built-in state management system.
Possible states:
Flat
Long
Short
This prevents duplicate entries.
Example:
LONG
LONG
LONG
LONG
Instead, only the first LONG signal is displayed until an EXIT occurs.
Likewise,
SHORT
SHORT
SHORT
SHORT
Only one SHORT signal is displayed.
Historical Signals
Option:
Show Historical Signals
ON
Displays every historical signal.
OFF
Displays only the latest signal.
Useful for clean charts.
Dashboard
The dashboard displays:
Previous Day HA Bias
Bullish
Bearish
Neutral
and
Previous HA Support Level
User Inputs
EMA Settings
Setting Default
EMA Length 34
EMA High Source High
EMA Low Source Low
Style Settings
Option Description
Show Daily HA Levels Display previous HA High and Low
Show Historical Signals Display all signals
Filter Consecutive Signals Prevent repeated LONG or SHORT signals
Recommended Timeframes
The indicator works best on:
5 Minute
15 Minute
30 Minute
1 Hour
4 Hour
The Daily Heikin Ashi bias remains constant throughout the trading day while entries are generated from the selected chart timeframe.
Suggested Workflow
Step 1
Determine Daily Bias.
If Bullish
Only look for LONG trades.
If Bearish
Only look for SHORT trades.
Step 2
Wait for EMA confirmation.
Do not anticipate the signal.
Step 3
Enter only after the label appears.
Step 4
Allow the trend to continue.
Step 5
Exit only when the opposite EMA confirmation occurs.
Risk Management Suggestions
Although this indicator generates entry and exit signals, every trade should include predefined risk controls.
Common approaches include:
Risk a fixed percentage of account equity per trade (e.g., 1–2%).
Place a protective stop below the recent swing low for long trades or above the recent swing high for short trades.
Consider taking partial profits at predetermined risk-reward levels while allowing the remainder to follow the exit signal.
Avoid forcing trades when the market is range-bound or during unusually low liquidity.
Best Market Conditions
This indicator generally performs best in:
Trending markets
Strong directional momentum
Stocks, ETFs, Index Futures, and Forex pairs with sustained trends
It may generate more false signals during sideways or choppy markets.
Indicator Summary
Feature Description
Higher Timeframe Filter Previous Day Heikin Ashi Bias
Trend Filter 34 EMA (High) & 34 EMA (Low)
Long Entries Bullish bias + EMA breakout confirmation
Short Entries Bearish bias + EMA breakdown confirmation
Exits Opposite EMA confirmation
Daily Levels Previous HA High & Low
Dashboard Current Daily Bias and HA Support
Signal Filter Prevents duplicate consecutive signals
Indicator

CQ_(-)_MTF Countdown Table================================================================================
CQ_(-)_MTF COUNTDOWN TABLE — USER MANUAL
© CQuevedo345
================================================================================
Pine Script v6 | Overlay Indicator | Multi-Timeframe Candle Timer
────────────────────────────────────────────────────────────────────────────────
OVERVIEW
────────────────────────────────────────────────────────────────────────────────
The CQ MTF Countdown Table is a real-time, multi-timeframe candle progress
monitor that displays how far into — and how far from the close of — each
major candle period you currently are. It renders a compact table directly
on your chart showing elapsed time, remaining time, and progress percentages
for up to four timeframes simultaneously: 1H, 4H, 1D, and 1W.
The table updates live on every bar close and on the last bar using timenow,
so the countdown is always accurate to the second.
────────────────────────────────────────────────────────────────────────────────
FEATURE SUMMARY
────────────────────────────────────────────────────────────────────────────────
• Multi-Timeframe Coverage
Tracks candle progress across 1H, 4H, 1D, and 1W simultaneously.
Each timeframe can be independently shown or hidden.
• Elapsed Percentage Column
Shows what percentage of the current candle has already elapsed,
displayed as a whole number (e.g. 73%). The cell background uses a
color gradient that transitions from a user-defined "low" color at 0%
to a user-defined "high" color at 100%, giving an instant visual read
of candle age at a glance.
• Elapsed Time Columns (Days + Time)
For 1H, 4H, and 1D rows, the Days column is intentionally left blank
(those candles don't span multiple days) and the Time column shows
elapsed time formatted as MM m (1H) or HH h : MM m (4H, 1D).
For the 1W row, both the Days column (e.g. 03D) and the Time column
(e.g. 14h : 22m) are populated to reflect the full weekly structure.
• Remaining Time Columns (Days + Time)
Mirror of the elapsed columns, but counting down toward the candle
close. The 1W row shows remaining days and remaining intraday time
separately. The remaining columns have their own independent text-size
setting so they can be made larger or smaller than the rest of the
table without affecting other columns.
• Seconds Alert Column
When remaining time on any row drops below a user-configured threshold
(0–5 minutes), a dedicated RMNG SECS cell lights up showing the exact
remaining seconds (e.g. 47s). The cell and text color change to a
high-contrast alert style automatically. Above the threshold the cell
stays blank and dim.
• Bullish / Bearish TF Label Color
The leftmost cell of each row (the TF label: 1H, 4H, 1D, 1W) is
colored green or red depending on whether the current close is at or
above the candle's open (bullish) or below it (bearish). Colors are
fully customizable.
• Active Timeframe Marker
When the chart's current timeframe matches one of the table rows, that
row's label is prefixed with a ▶ arrow so you can instantly see which
row corresponds to the candle you are currently trading on.
• Gradient on Time Cells (Optional)
When the gradient toggle is enabled, elapsed time cells adopt the same
low→high gradient as the percentage column. Remaining time cells use
the inverse (high→low). When the gradient is enabled, the otherwise-
empty "Days" cells on 1H/4H/1D rows are also filled with the matching
gradient color, keeping the row visually cohesive instead of leaving
dead dark gaps. When the toggle is off, all time cells use a uniform
dim background.
• Orientation Toggle
The entire table can be switched between Horizontal (timeframes as
rows, columns as data fields — the default) and Vertical (timeframes
as columns, data fields as rows). All cell logic, merging, and
alignment adapts automatically.
• Position, Size, and Color Customization
Every visual aspect of the table is configurable: table position
(8 anchor points), global text size, remaining-column text size
(independent), title background, header background, text colors for
elapsed and remaining fields, gradient low/high colors, bullish and
bearish background colors, and seconds-alert text color.
• Week Anchor — Monday 00:00 UTC
The 1W candle is anchored to Monday midnight UTC regardless of the
broker or exchange session, matching PulseWire's standard weekly
candle definition. The calculation uses timenow and UTC dayofweek to
derive the exact open timestamp of the current week dynamically.
• Accurate 4H and 1D Duration
Rather than assuming fixed 4-hour or 24-hour durations, the indicator
reads time_close from request.security for 4H and 1D so that DST
shifts, session gaps, and exchange-specific candle lengths are handled
correctly.
────────────────────────────────────────────────────────────────────────────────
TABLE LAYOUT
────────────────────────────────────────────────────────────────────────────────
Horizontal orientation (default):
┌─────────────────────────────────────────────────────────────────────┐
│ MTF ELAPSED/REMAINING CANDLE TIME │
├────────┬───────────┬────────────┬────────────┬───────────┬──────────┤
│ TF │ ELPSD % │ ELPSD DAYS │ ELPSD TIME │ RMNG DAYS │ RMNG TIME│ RMNG SECS
├────────┼───────────┼────────────┼────────────┼───────────┼──────────┤
│ 1H │ 73% │ │ 43m │ │ 17m │
│▶ 4H │ 18% │ │ 00h : 43m │ │ 03h : 17m│
│ 1D │ 62% │ │ 14h : 52m │ │ 09h : 07m│
│ 1W │ 44% │ 03D │ 14h : 22m │ 04D │ 09h : 37m│
└────────┴───────────┴────────────┴────────────┴───────────┴──────────┘
Column index reference:
Col 0 — TF label (bull/bear colored)
Col 1 — Elapsed percentage (gradient colored)
Col 2 — Elapsed days (1W only; gradient-filled on other rows if gradient ON)
Col 3 — Elapsed time (formatted per TF)
Col 4 — Remaining days (1W only; gradient-filled on other rows if gradient ON)
Col 5 — Remaining time (formatted per TF)
Col 6 — Remaining seconds alert (appears only near candle close)
In Vertical orientation the rows and columns are transposed: each
timeframe becomes a column and each data field becomes a row.
────────────────────────────────────────────────────────────────────────────────
INPUT SETTINGS REFERENCE
────────────────────────────────────────────────────────────────────────────────
── Timeframes ──
Show 1H Toggle the 1-hour row on or off.
Show 4H Toggle the 4-hour row on or off.
Show 1D Toggle the daily row on or off.
Show 1W Toggle the weekly row on or off.
── Display ──
Show Elapsed Time Shows/hides the Elapsed Days and Elapsed Time
(Col 2) columns (cols 2–3). When hidden both cells are
rendered as blank dim cells.
Show Remaining Time Shows/hides the Remaining Days and Remaining
(Col 3) Time columns (cols 4–5). When hidden both cells
are rendered as blank dim cells.
Seconds Alert Sets the threshold in whole minutes (0–5) below
Threshold (min) which the RMNG SECS column activates. At 0 the
seconds column never appears. At 5 it lights up
during the final 5 minutes of every candle.
Table Orientation Horizontal (default) — timeframes as rows.
Vertical — timeframes as columns.
Table Position Anchor point for the table on the chart.
Options: top-left, top-center, top-right,
middle-left, middle-right, bottom-left,
bottom-center, bottom-right.
Text Size Size of text in the title row and all data
cells except the remaining-time columns.
Options: tiny, small, normal, large.
Remaining Time Independent text size for cols 4, 5, and 6
Columns Text Size (remaining days, remaining time, seconds alert).
Options: tiny, small, normal, large.
Useful for making the countdown more prominent
without enlarging the rest of the table.
── Colors ──
Bullish Background Cell background for the TF label when
close >= open on that timeframe.
Bearish Background Cell background for the TF label when
close < open on that timeframe.
Elapsed % Low (0%) The gradient start color shown when a candle
has just opened (0% elapsed).
Elapsed % High (100%) The gradient end color shown when a candle is
nearly complete (100% elapsed).
Title Background Background of the merged title row.
Header Background Background of the column header row.
Text Color Default text color used across most cells.
Text Color (Elapsed) Color of elapsed header labels and elapsed cell
text values.
Text Color (Remaining) Color of remaining header labels and remaining
cell text values.
Seconds Alert Text Text color inside the RMNG SECS cell when the
alert threshold is active.
Use Gradient on OFF (default): elapsed and remaining time cells
Elapsed/Remaining use a uniform dim background regardless of
Time Cells candle progress.
ON: elapsed time cells use the same low→high
gradient as the % column. Remaining time cells
use the inverse high→low gradient. Additionally,
the empty "Days" cells on 1H, 4H, and 1D rows
are filled with the matching gradient color
(elapsed gradient for col 2, remaining gradient
for col 4) instead of staying as dark gaps.
────────────────────────────────────────────────────────────────────────────────
TIME FORMATTING REFERENCE
────────────────────────────────────────────────────────────────────────────────
1H elapsed / remaining → MM m (e.g. 43m, 17m)
4H elapsed / remaining → HH h : MM m (e.g. 00h : 43m)
1D elapsed / remaining → HH h : MM m (e.g. 14h : 52m)
1W days column → DD D (e.g. 03D, 04D)
1W time column → HH h : MM m (e.g. 14h : 22m)
Seconds alert → SS s (e.g. 47s)
All values are floored to whole minutes or seconds; no rounding up occurs
so the display never shows a value higher than the actual remaining time.
────────────────────────────────────────────────────────────────────────────────
NOTES AND TIPS
────────────────────────────────────────────────────────────────────────────────
• The table renders only on the last bar (barstate.islast). It does not
paint on historical bars and adds no visual noise to your chart history.
• timenow is used for all live calculations, so the indicator reflects
real wall-clock time even when the chart is not actively ticking (e.g.
outside regular session hours on session-limited instruments).
• The 1H row uses a simplified lookahead=off request to avoid peeking at
future hour opens. The 4H, 1D, and 1W rows use lookahead=on so that
time_close values are correctly available on the current bar.
• For instruments with irregular sessions (futures, crypto, forex) the
1D duration is derived from the actual time_close returned by the
exchange feed, so DST and session-length variations are handled
automatically.
• If all four timeframe rows are hidden the table will still render its
title and header row. Toggle at least one timeframe on for meaningful
output.
• Setting both "Show Elapsed Time" and "Show Remaining Time" to OFF will
leave only the TF label, percentage, and seconds alert columns visible,
producing a compact minimal layout useful for small screen areas.
────────────────────────────────────────────────────────────────────────────────
VERSION HISTORY
────────────────────────────────────────────────────────────────────────────────
v1.0 Initial release. 1H/4H/1D/1W timers, gradient %, bull/bear colors,
orientation toggle, seconds alert, elapsed/remaining columns.
v1.1 Added independent text size control for remaining-time columns
(cols 4, 5, 6). Gradient fill extended to empty "Days" cells on
1H/4H/1D rows when the gradient toggle is enabled, eliminating
dark gaps and keeping row backgrounds visually consistent.
────────────────────────────────────────────────────────────────────────────────
© CQuevedo345 — Mozilla Public License 2.0
================================================================================ Indicator

Indicator

Indicator

Indicator

Indicator
