HTF Bias Dashboard EV LABSEV HTF Bias Dashboard — Multi-timeframe bias in one view
A clean, configurable dashboard that shows trend, momentum, structure, volume and alignment status across 6 timeframes at once, plus a consolidated overall bias. Drop it on any chart and you have the full multi-timeframe picture without opening 6 separate indicators.
==================================================
WHAT IT DOES
EV HTF Bias Dashboard pulls 6 configurable timeframes, computes 5 metrics per timeframe in real time, and lays them out in a single table you can position anywhere on the chart. At the bottom of the table, an OVERALL row shows you the consensus: how many timeframes are bullish, how many are bearish, and whether everything is aligned or there is conflict.
Designed for traders who want the multi-timeframe context at a glance instead of flipping through 6 charts.
==================================================
THE 5 METRICS PER TIMEFRAME
1. TREND
Based on close vs the fast EMA.
- BULL : close above the fast EMA
- BEAR : close below the fast EMA
- FLAT : equal (rare)
2. MOMENTUM (RSI)
RSI value with color coding.
- White : neutral zone
- Green : oversold (potential bounce)
- Red : overbought (potential pullback)
3. STRUCTURE
Based on the alignment of price against 3 EMAs (fast / mid / slow).
- UP : close > fast EMA > mid EMA > slow EMA (full bullish stack)
- DN : close < fast EMA < mid EMA < slow EMA (full bearish stack)
- MX : mixed alignment (transition or chop)
4. VOLUME
Current volume relative to its moving average.
- SPIKE : above your spike threshold (default 2x MA)
- HIGH : above 1.5x MA
- AVG : between 0.7x and 1.5x MA
- LOW : below 0.7x MA
5. STATUS
Combined verdict for that timeframe.
- ALIGN : trend and structure agree, RSI not extreme
- CONFL : trend and structure disagree
- RANGE : one of them is flat, no clear direction
- REVERS : trend up but RSI overbought, or trend down but RSI oversold (potential reversal warning)
==================================================
THE OVERALL ROW
A summary cell that aggregates all 6 timeframes:
- Bull vs Bear count (e.g. 4B/2B)
- Overall bias label: BULLISH, BEARISH, or MIXED
- Aligned count: how many of the 6 TFs have all 5 metrics in agreement (ALIGN status)
When the OVERALL row is BULLISH AND aligned count is 5/6 or 6/6, you have maximum confluence. That is when your other EV Labs tools (Order Blocks, FVGs, Liquidity Sweeps) become highest-probability setups.
==================================================
KEY INPUTS
Timeframes (6 rows, smallest to largest):
- Default: 15m, 1H, 4H, 1D, 1W, 1M
- Editable to anything Pine supports
Metric Settings:
- EMA Fast : default 20 (drives Trend)
- EMA Mid : default 50 (part of Structure)
- EMA Slow : default 200 (part of Structure)
- RSI Length: default 14
- Volume MA : default 20
- Volume Spike threshold: default 2.0x MA
Visuals:
- Show Dashboard: on/off
- Position: 6 options (corners + top/bottom center)
- Cell Size: Tiny / Small / Normal / Large
- Show Overall Bias Row: on/off
==================================================
ALERTS
Five built-in alert conditions, ready to use as soon as you add the indicator:
- All TFs Bullish (6/6 bullish): maximum long confluence
- All TFs Bearish (6/6 bearish): maximum short confluence
- Majority Bullish (5+/6 bullish): strong long bias
- Majority Bearish (5+/6 bearish): strong short bias
- Overall Bias Shifted: fires when the OVERALL row changes state
==================================================
RECOMMENDED SETUPS
Scalper on 1m chart
- TF1: 1, TF2: 5, TF3: 15, TF4: 60, TF5: 240, TF6: 1D
- All thresholds at default
Day trader on 15m chart
- TF1: 15, TF2: 60, TF3: 240, TF4: 1D, TF5: 1W, TF6: 1M
- All thresholds at default
Swing trader on 4H chart
- TF1: 240, TF2: 1D, TF3: 1W, TF4: 1M, TF5: 3M, TF6: 6M
- EMA Slow to 100 if you want more sensitivity on higher TFs
Position trader on D1
- TF1: 1D, TF2: 1W, TF3: 1M, TF4: 3M, TF5: 6M, TF6: 12M
- Raise Min Samples style logic via slower EMAs (50/100/200)
==================================================
HOW IT CONNECTS TO THE EV SUITE
This dashboard is the context layer. Pair it with the rest of EV Labs:
- EV Probability Engine : only take signals when the OVERALL row agrees with the trade direction
- EV Fair Value Gaps : high-probability entries when an FVG appears inside a TF marked ALIGN in your bias
- EV Order Blocks : OB taps are strongest in TFs where structure matches trend
- EV Liquidity Sweeps : sweep signals are highest quality in TFs where STATUS is ALIGN
- EV Smart Volume : cross-check the spike markers with the VOLUME column in the dashboard
==================================================
LIMITATIONS
- The "structure" column uses EMA alignment as a proxy for HH/HL market structure, not the full ICT HH/HL pivot logic. It is a robust shortcut, not a literal replacement for proper swing detection.
- request.security() calls are limited by Pine's platform limits. Six timeframes with 2 calls each is well within budget, but adding more would push the boundary.
- The OVERALL bias is a simple majority vote (4 of 6). It does not weight higher timeframes more than lower ones, even though in practice a 1W signal usually matters more than a 15m signal.
- Not a signal service. It is a context and confirmation tool.
==================================================
Built by EV Labs · Pine Script v6 · Open source
Indicator

TheStrat Suite [Open Source] Entries, Targets, and Stop LossTheStrat Suite automates the detection, visualization, and alerting of price action setups based on TheStrat methodology (developed by Rob Smith) across up to six configurable timeframes simultaneously.
The guiding principle: show only the most valuable information. Rather than cluttering charts with every possible level and signal, the indicator uses logic based on user settings to determine what's relevant and worth displaying at any given moment.
WHAT IT DOES
The indicator identifies candle combinations (combos), actionable signals (inside bars, hammers, shooters), Failed 2s (range reclaims), and calculates magnitude and exhaustion targets — then draws entries, targets, stop losses, and take action windows directly on your chart. A real-time data table displays combo status, bar types, and Full Timeframe Continuity (FTFC) across all enabled timeframes. Candles themselves can be colored by Strat classification or by FTFC. Alerts can be filtered by timeframe continuity, signal type, specific timeframes, or Domino setups.
HOW IT WORKS
Multi-Timeframe Data Architecture
The indicator requests OHLC data from up to six user-configured timeframes in a single pass, then processes each timeframe's candle relationships independently. This allows the 5-minute, 60-minute, daily, and weekly structure to coexist on one chart without switching views.
Candle Classification Logic
Each closed candle is classified by comparing its high and low to the prior candle's range. A candle entirely within the prior range is type 1 (inside). A candle that exceeds one side is type 2 (directional). A candle that exceeds both sides is type 3 (outside). Directional bias (u/d) is determined by comparing close to open. A Failed 2 (also known as a Range Reclaim, 2d Green, or 2u Red) occurs when a directional candle breaks one side of an inside bar but fails to continue.
Hammer and Shooter Detection
The indicator offers three detection methods. Classic requires the candle to breach the prior candle's high or low but close back inside the prior range. Pin Bar adds a wick-to-body ratio requirement, filtering for candles where the rejecting wick is significantly longer than the body. Broad relaxes the close requirement, allowing the close to be near (not strictly inside) the prior range. Users select which method matches their trading style.
Failed 2 / Range Reclaim Detection
A Failed 2 occurs when price breaks one side of an inside bar (type 1) but reverses through the opposite side. The indicator provides four detection methods. Open flags the setup when the reversal candle opens beyond the broken level. Reclaim flags when price closes back through the opposite side of the inside bar's range. Both requires both conditions (open beyond AND close reclaim). Either flags when either condition is met. This configurability lets traders match detection to their preferred confirmation style.
Stop Loss Levels
When a signal fires with stops enabled, the indicator places a stop loss level on the opposite side of the trigger and locks it for the duration of the signal. The stop reference is selectable — the current candle for tighter risk, or C1 for wider invalidation — and an optional Break Even mode moves the stop to entry once magnitude or exhaustion is hit. A Smallest Timeframe Only mode draws just the tightest active stop when several timeframes are in force. Stop prices can be appended to alert messages.
Level Hierarchy and Consolidation
When multiple timeframes produce levels at similar prices, the indicator intelligently consolidates them into combined labels rather than hiding important information. Higher timeframes take display priority over lower timeframes — a weekly level takes precedence over a daily level at the same price — but both are represented in the consolidated label. Actionable signals (inside bars, hammers, shooters with defined triggers) take priority over static reference levels. This prevents chart clutter while preserving all relevant information in a readable format.
Intelligent Label Adaptation
Labels dynamically update as market structure changes. When a magnitude target from one timeframe coincides with a trigger level from another, the label consolidates to reflect both roles (e.g., "W MAG + D Trigger"). When levels are hit, invalidated, or superseded, labels update color and text to reflect current status rather than disappearing — preserving context for the trader.
Full Timeframe Continuity (FTFC) Filtering
FTFC status is calculated by evaluating directional bias across all enabled timeframes. When all timeframes show bullish bias (closing up relative to open), FTFC is bullish. When all show bearish bias, FTFC is bearish. Mixed bias means no continuity. Users can filter signals to only appear when FTFC aligns with the signal direction, reducing noise during consolidation.
Take Action Windows
When a signal forms on a higher timeframe, the indicator highlights the period during which that timeframe's candle remains open. This visual window reminds traders when a setup is "in force," providing a frame of reference for seeking entries on smaller timeframes.
Domino Detection
A Domino setup occurs when a signal on one timeframe can trigger another signal on an adjacent timeframe. The indicator detects and alerts on these conditions.
Bar Coloring
New in v3. Chart candles can be painted by their Strat classification or by the current Full Timeframe Continuity state, with optional highlighting when a bar flips to a Failing 2. One mode is active at a time, and coloring is off by default.
Preview Mode
When the market is closed, the indicator shifts to the next period's levels so setups can be planned before the open. The Auto default detects the instrument type and activates during off-hours — weekends for futures, pre/post-market for equities, even holidays — and turns itself off when trading resumes.
IMPLEMENTATION DETAILS
This implementation addresses several practical challenges traders face.
Multi-timeframe consolidation: Rather than constantly switching chart timeframes or mentally tracking multiple structures, all analysis exists in one view with intelligent deduplication when levels overlap.
Configurable detection methods: Hammer/shooter and Failed 2 detection aren't one-size-fits-all. The four Failed 2 methods and three hammer/shooter definitions let traders match the indicator to their specific confirmation requirements rather than accepting a single rigid definition.
Dynamic level management: Levels don't just appear and disappear — they adapt. A target becoming a trigger, a level being hit, or a setup invalidating all produce specific visual feedback rather than simply removing information. This preserves market context as price develops.
Alert filtering depth: Alerts can be filtered by FTFC alignment, signal type, specific timeframes, or Domino conditions — and the consolidated alert can append trigger, magnitude, exhaustion, and stop prices plus the FTFC state to each message — allowing traders to specify exactly which conditions warrant notification without building complex alert logic manually.
Performance optimization: Multi-timeframe analysis can be computationally expensive. This implementation consolidates data requests and limits historical depth on intensive calculations to maintain fast load times without sacrificing real-time functionality.
HOW TO USE IT
Setup
Pick a timeframe preset — TheStrat Classic, Scalp, Day Trade, Futures/Crypto, Swing Trade, or Investing — or set Custom to configure all six timeframe slots manually. Enable or disable specific bar combinations you want to see (e.g., 2-1, 3-2, etc.). Configure your preferred hammer/shooter and Failed 2 detection methods. Toggle FTFC filtering on/off based on your strategy.
Reading the Display
Solid lines represent reference levels (prior high/low). Dashed lines represent actionable triggers. Stop loss levels sit on the opposite side of the trigger. Color indicates direction (configurable) and status (hit, failed, active). Labels show timeframe, level type, and price — in Strat notation (2d-1-2u HAM) or a plain-language Universal style (REVERSAL, CONTINUATION, INSIDE, OUTSIDE, EXPANSION, FAILING). The data table shows current combo, bar type, and FTFC status per timeframe, in a Full layout or a Compact color-coded row.
Alerts
Set your chart timeframe equal to or lower than your lowest configured indicator timeframe, and set the alert interval accordingly. One consolidated alert covers every enabled timeframe with per-timeframe filtering, or use the individual alert conditions. Use alert filters to specify which conditions trigger notifications.
DOES IT REPAINT?
No. Completed-bar signals are built from confirmed higher-timeframe data and do not change on reload. The forming candle updates in real time by design — that is the live trigger you are watching — and the engineering rules that enforce this are documented in the repository.
DEFINITIONS
Combo: Two or more numbers representing the relationship between consecutive candles (e.g., 2-1, 3-2, 2-1-2). Each number indicates the candle type in sequence.
Candle Types: 1 = Inside, 2 = Directional, 3 = Outside.
Directional Bias: u = price above open, d = price below open.
C1/C2: C1 is the most recent closed candle, C2 is two bars back.
Magnitude: The measured move target, typically the C2 high or low.
Exhaustion: Extended targets beyond magnitude, indicating potential reversal zones.
FTFC: Full Timeframe Continuity — all timeframes aligned in the same direction.
Domino: A setup where one signal triggering can cascade into triggering adjacent timeframe signals.
KNOWN LIMITATIONS
PulseWire cannot request data from timeframes lower than your chart. Set chart timeframe accordingly.
Bar replay performance is unreliable with small timeframes and can produce runtime errors with certain low-timeframe combinations (PulseWire limitation).
Exhaustion calculations are limited to recent bars for performance.
Label overlap at similar price levels is a PulseWire rendering limitation.
OPEN SOURCE
The complete source is published under the Mozilla Public License 2.0, together with the engineering documentation (the no-repaint contract, the multi-timeframe correctness rules), a full changelog, and a settings reference. The repository and setup-guide links are in my signature and on my profile. This publication open-sources my earlier invite-only listing of the same name; that listing stays up for its existing users, and updates continue here.
Trading involves risk. This is a charting tool, not financial advice. Past performance does not guarantee future results. Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Chandelier Exit Trend Navigator [MarkitTick]💡 A trend-following overlay that tracks directional shifts using a volatility-adaptive channel (Chandelier Exit methodology) and converts each flip into a fully structured trade plan — entry, stop-loss, and three R-multiple take-profit levels — displayed directly on the chart alongside a live status dashboard.
✨ Originality and Utility
While the Chandelier Exit concept itself (anchoring a trailing stop to the highest high or lowest low over a lookback, offset by a multiple of ATR) is a well-documented volatility-stop technique, this script extends that foundation into a complete navigation system rather than a simple trailing line.
Three layers separate this tool from a stock Chandelier Exit plot:
An optional adaptive pre-filter (Kalman Filter or a slope-adjusted moving average referred to here as LLAMA) that can be applied to the source series before the channel extremes are calculated, allowing the trend anchor itself to react differently to noise depending on which filter is selected.
A full trade-management layer built on top of the directional flip: automatic stop-loss placement, three independently configurable take-profit levels defined in R-multiples, and live linefill zones that visually separate risk from reward.
A condition-stacking filter system (higher-timeframe EMA bias and ADX strength) that must all align before a directional flip is treated as an actionable signal, reducing signals generated during weak or conflicting conditions.
The combination is not an arbitrary mashup — the adaptive filter conditions the input to the channel calculation, the HTF/ADX filters condition which flips are considered valid, and the trade-management layer converts a validated flip into a concrete, risk-defined plan. Each component feeds the next in a single directional pipeline.
🔬 Methodology and Concepts
● Chandelier Exit Core
The core channel is built from Average True Range (ATR), calculated over a user-defined lookback. Two boundaries are computed each bar:
A long-side stop, set below the highest value of the source over the lookback period, offset by a multiple of ATR.
A short-side stop, set above the lowest value of the source over the same lookback, offset by the same ATR multiple.
Users can choose whether the highest/lowest calculation uses close-based extremes or true high/low wicks, which changes how sensitive the channel is to intrabar spikes.
A persistent trailing line then locks in the tighter of the two boundaries as price develops: while the current directional state is bullish, the line only ratchets upward (never loosening on a pullback); while bearish, it only ratchets downward. A directional flip occurs when price closes beyond the opposite boundary from the prior bar, at which point the trailing line resets to anchor the new trend.
● Adaptive Source Filtering
Before the channel extremes are calculated, the source price can optionally be passed through one of two smoothing methods:
Kalman Filter — a recursive estimator that updates its estimate of the "true" price each bar based on a prediction-error and gain calculation, converging faster in stable conditions and adapting more cautiously during volatile ones.
LLAMA — a linear-regression-style approach that takes a simple moving average of the source and adjusts it by the recent slope (rate of change) over the same lookback, projecting the average forward in the direction the price has been drifting.
When neither is selected, the raw close is used directly, preserving the traditional Chandelier Exit behavior.
● Confirmation Filters
Two independent filters can be layered on top of the raw directional flip before it is treated as a signal:
A higher-timeframe EMA bias filter, which only allows long signals when price is trading above an EMA calculated on a higher timeframe, and only allows short signals when price is trading below it.
An ADX-based strength filter, which requires the Average Directional Index to be at or above a user-defined threshold before any signal — long or short — is permitted, filtering out flips that occur during weak, non-trending conditions.
Both filters default to off and can be combined or used independently.
● Trade Level Construction
When a filtered directional flip is confirmed on a closed bar, the script anchors a trade plan to the prior bar's close:
Risk per trade is defined as the prior bar's ATR multiplied by a user-set stop-loss multiplier.
The stop-loss is placed one risk-unit away from the entry, in the direction opposite the trade.
Three take-profit levels are placed at independently configurable R-multiples of that same risk distance (default 1R, 2R, and 3R), each extending in the direction of the trade.
This means every signal comes with a symmetric, volatility-scaled risk framework rather than a fixed point value, so trade levels automatically widen or tighten with current market volatility.
🎨 Visual Guide
Heatmap Candles — the chart's candle bodies and wicks are recolored to match the current directional state: teal/green while the trailing system is bullish, red while bearish, and gray when direction is undetermined (e.g. on the very first bar).
Entry Line (blue, dashed) — marks the anchor price of the most recent confirmed trade signal.
Stop-Loss Line (red, solid, thicker) — marks the calculated stop price for the active signal, labeled "✕ SL" with its price value.
Take-Profit Lines (green, dashed, three separate levels) — TP1, TP2, and TP3, each drawn with progressively fuller opacity so TP3 is the most visually solid, labeled "◆ TP1", "✦ TP2", and "◆ TP3" respectively with their price values.
Risk Zone Fill — a light red shaded region between the stop-loss and entry lines, visually sizing the risk portion of the trade.
Reward Zone Fill — a light teal shaded region between the entry and TP3 lines, visually sizing the potential reward portion of the trade.
Dashboard Table — a repositionable panel (default top-right) summarizing, in real time: Lock status, current Trend direction, HTF Bias reading, the numeric CE trailing-stop level, current ATR value, and the active Entry/SL prices. When enabled, it also displays the current ADX reading and which adaptive filter (if any) is active. A visual bar-and-percentage gauge shows the reward-to-risk ratio of the current trade relative to TP3, colored red/yellow/green depending on how favorable it is.
📌 Note : the best way to resolve visual overlap is to navigate to the Object Tree and drag the indicator above the main chart layer, or simply hide the native candles in your chart settings.
📖 How to Use
A directional flip in the heatmap candle color, together with a new Entry/SL/TP level set appearing on the chart, indicates a fresh signal in that direction.
The Stop-Loss line represents the level at which the trade thesis is considered invalidated under this system's logic.
TP1, TP2, and TP3 represent successive profit-taking references at increasing R-multiples; price reaching a level does not close or resize the plotted level automatically — it is a visual reference for scaling decisions.
The Risk and Reward zone fills give an immediate visual sense of the trade's risk framing without needing to read exact price values.
The Dashboard's R:R (TP3) gauge offers a quick read on how the reward potential compares to the initial risk for the most recent signal.
The Lock Signal input, when enabled, freezes the currently plotted levels in place and suppresses new signal generation — useful for reviewing a specific setup without the chart updating further trade plans in real time.
When the HTF or ADX filters are enabled but conditions aren't met, no new signal will fire even if the raw directional flip occurs — check the Dashboard's HTF Bias and ADX rows to understand why a flip may not have produced a signal.
⚙️ Inputs and Settings
ATR Len / ATR Mult — controls the lookback and volatility multiplier used to build the Chandelier channel; a longer length and/or larger multiplier produces a wider, slower-reacting trailing stop.
Use Close Extremes — toggles between close-based and high/low-based channel construction, changing sensitivity to intrabar wicks.
HTF Trend Filter / HTF TF / HTF EMA Len — enables and configures the higher-timeframe EMA bias filter that gates which direction of signal is permitted.
Use ADX Filter / ADX Threshold / ADX Length — enables and configures the trend-strength filter that must be satisfied for any signal to fire.
Adaptive Filter / Adaptive Filter Length — selects an optional smoothing method (Kalman Filter or LLAMA) applied to the source before channel calculation, and its lookback length.
Lock Signal — freezes the currently displayed trade levels and halts new signal generation.
SL ATR Mult — sets how many ATR units define one unit of risk for stop-loss placement.
TP1 R / TP2 R / TP3 R — sets the R-multiple distance for each take-profit level relative to the calculated risk.
Heatmap Candles / Show Trade Levels — toggle the directional candle coloring and the entry/SL/TP drawing layer independently.
Dash Pos — repositions the dashboard to any chart corner.
Color inputs — customize the bullish/bearish colors, stop-loss, entry, and take-profit line colors, and the dashboard's background, header, and text colors.
Alert action fields (Long/Short/Close Long/Close Short) — customize the text string sent in the "action" field of the JSON alert payload, useful for routing signals to automated systems expecting specific action keywords.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The trailing-stop core of this script belongs to a family of volatility-adjusted stop techniques that use Average True Range as a normalization factor for price movement, an approach popularized in trend-following and volatility-breakout literature as a way to size stops relative to an instrument's current, rather than fixed, volatility regime. Anchoring the stop to a rolling extreme (highest high or lowest low) rather than a fixed percentage or point distance reflects the broader class of "channel breakout" trend systems, in which a directional bias persists until price violates a level defined by recent extremes — a structure with roots in classical trend-following systems that predate modern indicator platforms.
The optional Kalman Filter smoothing draws on recursive Bayesian estimation theory, originally developed for tracking dynamic systems under measurement uncertainty. Applied to price, it treats each new close as a noisy observation of an underlying "true" value, blending the prior estimate with the new observation according to a gain term that adjusts based on estimated error — a formulation with parallels to adaptive filtering approaches used in signal processing and, more recently, in quantitative finance research on noise-reduction for price series.
The LLAMA-labeled alternative combines a simple moving average with a linear slope projection, conceptually related to local linear regression and momentum-adjusted smoothing techniques, where a lagging average is advanced along the estimated trend direction to partially compensate for the inherent lag of moving-average-based estimators.
The ADX-based strength filter draws on Welles Wilder's Directional Movement framework, which quantifies trend strength independently of trend direction; requiring a minimum ADX reading before accepting a signal reflects a common risk-management heuristic in trend-following systems — that directional signals generated during low ADX (ranging/choppy) conditions have historically shown less reliability than those generated during elevated trend strength, though this relationship is probabilistic rather than deterministic and varies across instruments and regimes.
The take-profit structure, expressed in R-multiples of the initial risk rather than fixed price or percentage targets, reflects standard position-sizing and risk-management theory in which trade outcomes are measured relative to the capital placed at risk, allowing performance to be evaluated on a risk-normalized basis rather than in absolute price terms.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Indicator

Dynamic Market Structure & Liquidity Engine PRO [DMSL]Dynamic Market Structure and Liquidity Engine PRO
The Dynamic Market Structure and Liquidity Engine PRO is an all in one technical analysis tool designed to help price action and institutional traders navigate market structure without cluttering their charts.
Instead of drawing dozens of random support and resistance boxes, this indicator dynamically calculates high probability supply and demand zones, tracks institutional market structure shifts like BOS and CHoCH, marks major swing extremes, and highlights macro equilibrium levels in real time.
Key Features
1. High Probability Supply and Demand Zones
Every zone is scored based on volatility, body displacement, and wick rejection strength. Weak and low volume zones are automatically filtered out. Zones disappear as soon as price breaks through them, keeping your workspace very clean.
2. Major Swing Points
High contrast visual dots mark structural high and low pivot points to help traders identify the overall trend direction instantly.
3. Institutional Market Structure
BOS or Break of Structure signals trend continuation when price breaks major swing points. CHoCH or Change of Character warns of potential trend reversals when price breaks counter trend pivots.
4. Major 50 Percent Equilibrium Range
It automatically projects the 50 percent Fibonacci level of the recent macro swing range. This helps determine whether price is trading in a Premium Zone above 50 percent which is ideal for short setups, or a Discount Zone below 50 percent which is ideal for long setups.
5. Compact Dashboard
A clean and simple on screen table displays active resistance and support counts in real time.
How to Use
Use the major swing dots and structure labels to establish market direction.
Look for sell or short opportunities when price is above the 50 percent equilibrium line and reacting near a resistance zone.
Look for buy or long opportunities when price is below the 50 percent equilibrium line and reacting near a support zone.
Wait for price to touch a power scored zone, confirm with price action patterns, and manage risk according to the structural swing points.
Settings Overview
Pivot Lookback Length controls structural sensitivity. Higher values detect macro trends, while lower values detect scalping structure.
Min Zone Power Score sets the minimum threshold to filter out low probability zones.
Max Active Zones limits the maximum active boxes per side to maintain chart clarity.
Show Major Range 50 Percent EQ Line lets you toggle the macro equilibrium line on or off.
Styling and Visual Customization gives you full control over zone opacity, border width, line styles, text sizes, and colors.
Things to Avoid
Do not buy right into a resistance zone when price is deep in the premium area above 50 percent without a clear CHoCH confirmation.
Do not place blind limit orders directly on zones during high impact news events. Always look for price action confirmation at the zone.
Setting the lookback length too short below 5 may increase market noise on lower timeframes like 1 minute or 3 minute charts.
Disclaimer
This indicator is designed purely for educational and analytical purposes. It does not provide financial advice or automated trading signals. Always practice proper risk management.
Indicator

Indicator

PRZ Execution Engine Liquidity sweep (Structure Based)PRZ Execution Engine + Trap Module (Indicator Description)
This indicator identifies high‑probability reversal zones by combining structural liquidity sweeps, displacement confirmation, and volatility‑based trap detection.
It is designed for futures traders (MES/MNQ/ES/NQ) who want precise reversal signals built from both market structure and volatility behavior.
Builds a Potential Reversal Zone (PRZ) using swing‑structure pivots
Detects liquidity sweeps above/below the PRZ
Confirms momentum shift using displacement
Auto‑plots Entry, Stop Loss, and T1 levels
Includes a separate Trap Module that detects volatility fakeouts using envelope bands
Marks trap signals with small dots for visual confirmation
Highlights sweeps only when PRZ displacement is active
When a PRZ sweep, displacement, and a trap dot occur together, the candle represents a high‑probability reversal point.
This dual‑confirmation approach filters out weak sweeps and focuses on the liquidity events most likely to produce clean reversals.
How to Use
Watch for PRZ blocks created from recent swing highs/lows.
Look for sweeps (wick breaks) of the PRZ boundaries.
Confirm displacement back into the PRZ.
Check for trap dots (volatility fakeouts).
Trade the confluence when sweep + displacement + trap align.
Use auto‑generated Entry, SL, and T1 levels for structure‑based execution.
Key Adjustable Settings
Pivot Bars (Left/Right):
Lower values (3–4) = faster PRZ formation, more signals.
Higher values (6–7) = stronger structure, fewer signals.
Sweep Lookback High/Low:
Lower values = more micro‑sweeps.
Higher values = only major sweeps.
Minimum Wick %:
Controls sweep strength. Higher = stronger sweeps only.
Trap Module Settings:
Envelope length, width, trap window, and cooldown determine how sensitive trap detection is.
Recommended Settings for MES/MNQ
Pivot Bars: 4–5
Sweep Lookback: 7–9
Minimum Wick %: 0.08–0.10
Envelope Smoothness: 40–50
Envelope Width: 2.8–3.4
Trap Window: 5–7
Signal Gap: 5–8
Summary
This indicator is best used to identify premium reversal points where both structure and volatility agree.
The strongest setups occur when:
PRZ Sweep + Displacement + Trap Dot
all fire on the same candle.
Indicator

Indicator

Bull Bear Power Breaks with Trend Reversal [JPT]🔷 OVERVIEW
Bull Bear Power Breaks with Trend Reversal – Module 1 is an original Pine Script® v6 indicator designed to identify the prevailing market trend using a combination of EMA 50, EMA 200, and Bull/Bear Power analysis. It provides traders with a clear visual representation of trend direction, buying pressure, and selling pressure, making it easier to understand market conditions before looking for breakout or reversal opportunities.
Rather than generating trading signals, Module 1 establishes the core trend framework that future modules will build upon.
🔷 HOW IT WORKS
The indicator continuously evaluates price relative to two exponential moving averages while calculating Bull Power and Bear Power values.
Bullish Trend
A bullish trend is identified when:
EMA 50 is above EMA 200
Bull Power remains positive
Buyers maintain control of market momentum
During bullish conditions, the chart background changes to a light green color, providing an immediate visual indication of the dominant trend.
Bearish Trend
A bearish trend is identified when:
EMA 50 is below EMA 200
Bear Power remains dominant
Sellers control market momentum
During bearish conditions, the chart background changes to a light red color.
Trend changes are automatically labeled on the chart with BULL and BEAR markers whenever the EMA relationship changes.
🔷 VISUAL FEATURES
EMA 50 Trend Line
EMA 200 Trend Line
Automatic Bullish Trend Detection
Automatic Bearish Trend Detection
Bull Power Calculation
Bear Power Calculation
Smoothed Bull/Bear Power Histogram
Trend Change Labels
Dynamic Trend Background
Professional Dashboard
Customizable Inputs
🔷 EMA TREND ENGINE
The built-in EMA Trend Engine uses two exponential moving averages to determine the dominant market direction.
Supported trend states include:
Bullish Trend
Bearish Trend
Neutral Transition
This allows traders to quickly align their analysis with the prevailing market direction.
🔷 BULL & BEAR POWER ENGINE
Bull Power is calculated from the distance between price highs and the fast EMA, while Bear Power measures the distance between price lows and the same average.
To reduce market noise, both values are smoothed before being displayed as histograms, helping traders visualize changes in buying and selling pressure more clearly.
🔷 DASHBOARD
The integrated dashboard displays real-time market information, including:
Current Trend
Bull Power Value
Bear Power Value
EMA 50
EMA 200
This provides a quick overview of the current market environment without requiring additional indicators.
🔷 INPUTS
Available settings include:
EMA Fast Length
EMA Slow Length
Bull/Bear Power Smoothing Length
Show EMA Lines
Show Trend Background
Show Bull/Bear Histogram
Show Dashboard
🔷 COMMON WORKFLOW
A typical workflow is:
Identify whether the market is bullish or bearish using the EMA Trend Engine.
Observe Bull Power and Bear Power to evaluate buying and selling pressure.
Monitor trend changes using the automatic BULL and BEAR labels.
Use this information as a directional filter before considering breakout or reversal setups in future modules.
🔷 MARKETS
This indicator can be used on:
Forex
Gold (XAUUSD)
Cryptocurrency
Stocks
Indices
Futures
Commodities
It is compatible with multiple timeframes and different trading styles.
🔷 BEST PRACTICES
Many traders combine this trend engine with additional forms of technical analysis, such as:
Market Structure
Support & Resistance
Break of Structure (BOS)
Change of Character (CHoCH)
Fair Value Gaps (FVG)
Order Blocks
Volume Analysis
Higher Timeframe Confirmation
These techniques are optional but may provide additional context when evaluating market conditions.
🔷 UPCOMING FEATURES
Future modules are planned to include:
Dynamic Swing High & Swing Low Detection
Automatic Support & Resistance
Bull Power Break Detection
Bear Power Break Detection
Trend Reversal Confirmation
Buy & Sell Signals
Entry Price Calculation
Stop Loss
TP1, TP2 & TP3 Auto Targets
Risk/Reward Visualization
Advanced Dashboard
Smart Alert System
🔷 DISCLAIMER
This indicator is provided as a technical analysis tool for educational and informational purposes only. It evaluates historical price data using moving averages and Bull/Bear Power calculations to help visualize market trends. It does not predict future price movements or guarantee trading performance. Always perform your own analysis, use appropriate risk management, and seek additional confirmation before making trading decisions. Indicator

Advanced Bar Counter with HTF HighlightsAdvanced Bar Counter with HTF Highlights is a session-aware bar-counting indicator purpose-built for futures traders, particularly ES and NQ scalpers working on the 1-minute and 5-minute charts. It helps traders monitor higher-timeframe candle closures, developing market structure, and their position within the current session without repeatedly switching away from the lower timeframe.
The indicator places numbered labels beneath selected bars, with counting anchored to a user-defined regular trading hours (RTH) open. Electronic trading hours (ETH) can also be counted as a separate session when enabled.
Default behavior
In Auto counting mode:
• On a 5-minute chart, the first bar and every third bar are labeled. Each third bar represents the closing bar of a 15-minute interval.
• On a 1-minute chart, the first bar and every fifth bar are labeled. Each fifth bar represents the closing bar of a 5-minute interval.
This alignment makes it easier to identify when an important higher-timeframe interval is completing while continuing to analyze price action on the lower timeframe.
By default, the indicator displays only on the 1-minute and 5-minute timeframes. An optional setting allows it to appear on other timeframes.
Higher-timeframe highlights
A defining feature of this indicator is its ability to display session-aligned 15-minute, 30-minute, and 1-hour closing bars in separate, customizable colors.
These highlights are calculated from the number of minutes elapsed since the configured session open. This keeps the corresponding closing bars synchronized when switching between the 1-minute and 5-minute charts. When multiple intervals end on the same bar, the enabled higher-timeframe highlight takes priority.
For example:
• On a 1-minute chart, a trader can recognize when the current bar will also complete a 5-minute, 15-minute, 30-minute, or 1-hour interval.
• On a 5-minute chart, a trader can recognize when the current bar will also complete a 15-minute, 30-minute, or 1-hour interval.
The 15-minute highlight is automatically suppressed when every displayed label already represents a 15-minute boundary, as occurs with the default counting mode on a 5-minute chart. This prevents every label from receiving the same highlight and preserves the usefulness of the color hierarchy.
How it can be used
The bar counts and higher-timeframe highlights provide timing and structural context; they do not generate trade signals.
A lower-timeframe trader can use this information to observe how a higher-timeframe candle is completing. For example, a 1-minute trader may notice that the final bar of a 5-minute interval is closing near its high, while a 5-minute trader may observe the same behavior as a 15-minute interval completes. The same principle can be applied to the highlighted 30-minute and 1-hour boundaries.
This workflow is inspired by price-action concepts popularized by Al Brooks, including attention to candle closes, momentum, and alignment across timeframes. The information is intended to support discretionary entry refinement by helping traders evaluate whether lower-timeframe price action agrees with the developing higher-timeframe structure and momentum regime.
Settings
Users can customize:
• Automatic, odd-bar, every-third-bar, or every-fifth-bar counting
• RTH and ETH opening times
• Chart timezone
• Whether ETH bars are counted
• Visibility on timeframes other than 1 minute and 5 minutes
• 15-minute, 30-minute, and 1-hour highlights
• Highlight and default label colors
• Label size
• ATR-based or tick-based label spacing
The chart timezone setting should match the timezone selected on the PulseWire chart. The configured RTH and ETH opening times must also correspond to the intended futures session. Incorrect session or timezone settings will cause the counts and interval highlights to be misaligned.
Important notes
This indicator is a visual timing and session-orientation tool. It does not predict price direction, assess trade quality, place orders, or provide buy and sell signals. Higher-timeframe highlighting identifies interval boundaries only; traders must interpret the associated price action in the context of their own methodology and risk-management rules. Indicator

McGinley Dynamic Fusion [MarkitTick]💡 The McGinley Dynamic is a lesser-known adaptive moving average developed in the 1990s by market technician John R. McGinley, specifically engineered to solve a problem that plagues conventional moving averages: their tendency to lag badly during fast market moves while whipsawing excessively during slow, choppy conditions. Unlike a standard EMA or SMA, the McGinley Dynamic adjusts its own speed automatically based on the relationship between price and its prior value, effectively "hugging" price more tightly when the market accelerates and smoothing out more when it decelerates. This script builds a complete trading framework around a Fast/Slow McGinley Dynamic crossover, layering in higher-timeframe confirmation, signal cooldown filtering, ATR-adaptive trade levels, a live dashboard, and a manual signal-lock mechanism.
✨ Originality and Utility
While McGinley Dynamic implementations exist on PulseWire, this script does not simply plot the raw indicator. It combines four distinct engineering layers into a single decision framework:
A recursively self-adjusting dual McGinley Dynamic engine (Fast and Slow) used as a crossover trigger rather than a static trend line.
An optional higher-timeframe directional filter that requires the HTF trend to agree with the signal direction before a crossover is allowed to fire.
A cooldown/gap filter measured in bars, which suppresses new signals for a configurable number of bars after the last one, reducing signal clustering during choppy crossover conditions.
An ATR-based trade management layer that auto-plots Entry, Stop Loss, and three Take Profit levels the moment a signal fires, extended live on the chart with a color-coded risk/reward fill.
The value to traders lies in how these layers interact: the McGinley crossover alone would generate frequent false signals in ranging markets, but the HTF filter and cooldown mechanism specifically target the crossover's greatest weakness (over-triggering during consolidation), while the ATR trade-level engine converts a raw directional signal into a fully defined, risk-quantified trade plan without any additional charting work from the user.
🔬 Methodology and Concepts
• The McGinley Dynamic Engine
The core building block is a recursive moving average that adjusts its step size relative to how far price has moved away from its previous value. Rather than applying a fixed weighting like an EMA, the McGinley Dynamic divides the price-to-prior-value distance by a dynamic denominator that grows sharply when price moves far from the average and shrinks when price sits close to it. This produces a curve that speeds up during trending, high-momentum moves and slows down during sideways congestion, giving it a self-correcting quality that fixed-period moving averages lack. The script instantiates two independent copies of this engine: a Fast McGinley Dynamic (default length 14) and a Slow McGinley Dynamic (default length 50), each with its own configurable "K Constant" that governs how aggressively the adaptive denominator reacts to price displacement.
• Crossover Signal Logic
A long signal is generated when the Fast McGinley Dynamic closes above the Slow McGinley Dynamic after having been at or below it on the prior two bars — a confirmed upward crossover, not an intrabar or provisional one. A short signal mirrors this logic on the downside. This two-bar confirmation approach (checking both the and offsets) ensures the crossover has actually completed on a closed bar before a signal is registered, rather than reacting to a crossover that could still repaint on the current forming bar.
• Higher-Timeframe Directional Filter
When enabled, the script pulls the source price and Fast McGinley Dynamic value from a user-selected higher timeframe (default 4-hour) and requires that the HTF price sit on the correct side of the HTF Fast McGinley Dynamic before allowing a same-direction signal on the working timeframe. This acts as a macro-trend veto: a bullish crossover on the chart timeframe will be ignored if the higher-timeframe trend context is bearish, and vice versa. The higher-timeframe request is built using a confirmed, prior-bar value combined with PulseWire's lookahead-on merge policy — the standard non-repainting pattern for pulling higher-timeframe data — so the filter reacts only to fully closed higher-timeframe bars.
• Cooldown / Signal Spacing Filter
To prevent rapid-fire signals during periods where the Fast and Slow McGinley Dynamic lines oscillate around each other, the script tracks the bar index of the last long and last short signal separately. A new signal in the same direction is only permitted once a user-defined minimum number of bars ("Cooldown Bars") has elapsed since the prior one, reducing signal noise without altering the underlying crossover logic itself.
• ATR-Based Trade Level Construction
The moment a qualifying signal fires, the script calculates an Average True Range value over a configurable lookback and uses it to derive five reference prices: an entry (the prior bar's close), a stop loss, and three take-profit targets. Each level is expressed as an ATR multiple away from entry, with independently configurable multipliers for the stop and each take-profit tier. This means the distance between entry and each level automatically expands or contracts with recent volatility rather than using a fixed point or percentage distance, keeping the risk/reward structure proportionate to current market conditions.
• Signal Lock
The optional Lock Signal feature freezes the currently displayed trade levels once toggled on, preventing them from being overwritten by a subsequent crossover. This is useful for traders who want to manually track a single active setup on the chart without the lines and labels shifting each time a new signal condition is technically met.
🎨 Visual Guide
Fast MD line (default blue) — the fast-length McGinley Dynamic.
Slow MD line (default orange) — the slow-length McGinley Dynamic.
Heatmap Candles — when enabled, candle bodies and wicks are recolored based on trend bias: teal/green when the Fast MD sits above the Slow MD (bullish bias), red when below (bearish bias), independent of the raw candle color.
Entry line (dashed, blue by default) — plotted at the close of the bar prior to signal confirmation, marking the reference entry price.
Stop Loss line (solid, red by default) — the ATR-derived stop level, labeled with an "✕ SL" tag showing the exact price.
Take Profit lines (dashed, teal by default, three tiers with increasing opacity) — TP1, TP2, and TP3, each labeled with its price.
Risk fill — a shaded region between the entry line and stop-loss line, tinted in the stop-loss color, visually representing the risk portion of the trade.
Reward fill — a shaded region between the entry line and the TP3 line, tinted in the take-profit color, visually representing the potential reward span.
All trade-level lines and labels extend live to the right edge of the chart until superseded by a new signal or, if Signal Lock is active, held in place.
📌 Note : the best way to resolve visual overlap is to navigate to the Object Tree and drag the indicator above the main chart layer, or simply hide the native candles in your chart settings.
📖 How to Use
A bullish signal occurs when the Fast MD confirms a crossover above the Slow MD, subject to the HTF filter and cooldown filter both being satisfied. The dashboard's Bias row will read "▲ Bull".
A bearish signal occurs on the mirrored downward crossover, with the Bias row reading "▼ Bear".
When a signal fires, use the auto-plotted Entry, SL, and TP1/TP2/TP3 lines as a starting framework for trade structure — the R:R progress bar on the dashboard shows the reward-to-risk ratio for TP1 relative to the stop distance.
The MD Gap row on the dashboard visualizes, as a percentage bar, how far apart the Fast and Slow MD lines currently are, which can help gauge trend strength or an approaching crossover.
Enabling the HTF Filter is recommended for traders who want signals to align with a broader trend context rather than trading every local crossover.
Enabling Signal Lock freezes the current trade plan on screen, useful when manually managing an active position and wanting to prevent the levels from updating on the next crossover.
⚙️ Inputs and Settings
Src / Fast N / Slow N — source price and the lookback lengths for the Fast and Slow McGinley Dynamic calculations. Shorter lengths react faster but generate more signals; longer lengths are smoother but slower to confirm.
K Const — governs how aggressively the McGinley Dynamic's adaptive denominator responds to price displacement from the prior value. Higher values slow the line's responsiveness.
HTF Filter / HTF TF — enables the higher-timeframe directional veto and sets which higher timeframe is used for that check.
Cooldown Bars — minimum number of bars required between two signals of the same direction.
Lock Signal — freezes the current trade levels in place, blocking updates from subsequent signals.
ATR Len — lookback length for the Average True Range used to size the SL and TP levels.
SL Mult / TP1 Mult / TP2 Mult / TP3 Mult — ATR multipliers that set the distance of the stop loss and each take-profit tier from the entry price.
Heatmap Candles / Trade Levels — visual toggles for the bias-colored candles and the auto-plotted trade-level lines/labels/fills.
Show Dash / Dash Pos — toggles the on-chart dashboard and sets its screen position.
Alert action fields (Long/Short/Close Long/Close Short) — customizable string values embedded into the script's JSON alert payloads, allowing the fired alerts to be mapped to specific automation or webhook actions.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The McGinley Dynamic belongs to a broader family of adaptive-smoothing techniques in technical analysis that attempt to address a structural weakness of fixed-weight moving averages: a constant smoothing factor cannot simultaneously be fast enough to track trending markets and slow enough to filter noise in ranging markets. McGinley's original design achieves adaptivity by making the effective smoothing constant a function of the ratio between current price and the prior average value raised to the fourth power — a formulation that causes the adjustment factor to grow disproportionately large when price diverges sharply from the average, automatically accelerating the line's response, and to shrink toward a baseline when price and average are close, automatically slowing the response. This self-referential feedback mechanism places the McGinley Dynamic conceptually closer to adaptive filters used in signal processing (where a filter's gain is modulated by the magnitude of recent error) than to the fixed-coefficient exponential smoothing used in a standard EMA.
The dual-length crossover structure applied here draws on the well-established moving-average-crossover framework from technical trend-following literature, where the relationship between a fast and slow-adaptive series is used as a proxy for shifting momentum regimes, conceptually related to dual-moving-average systems and change-point detection approaches that flag a regime shift once a fast-reacting series diverges from a slow-reacting baseline. The higher-timeframe confirmation layer reflects the top-down, multi-timeframe analysis principle common in technical trading methodology, where signals on a lower timeframe are treated as more reliable when they align with the prevailing direction on a higher timeframe, reducing the frequency of signals that run counter to the dominant trend. Finally, the ATR-scaled trade-level construction is grounded in volatility-normalized position and risk sizing, a standard practice in quantitative trade management where stop and target distances are expressed as a multiple of recent realized volatility (via Average True Range) rather than fixed price or percentage distances, ensuring risk parameters adapt to the current volatility regime rather than remaining static across changing market conditions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Indicator

Indicator

Matao Love Mood - Market SessionSMC Session Indicator — Overview
This is a Smart Money Concepts (SMC) session-tracking indicator for PulseWire, built to highlight trading sessions, key time windows, and price-action patterns on the chart.
🕐 Session Boxes
It draws colored boxes that track the high/low price range of five time windows (all based on the timezone you set, default Asia/Bangkok):
Session Time Color
Market 07:00–23:00 Silver
Asia 07:00–13:00 Green
London 14:00–17:00 Yellow
New York 19:00–22:00 Blue
Focus (4 sub-windows) 07:45–08:30 / 09:45–10:30 / 11:45–12:30 / 19:45–20:30 Red
Each box grows in real time to hug the developing high/low of that session, and a small time-stamped label sits above it. Updates only apply on confirmed (closed) bars, so the boxes stay stable instead of jittering as live price ticks.
🔔 Alerts
You can enable/disable alerts for the start and end of each session (Market, Asia, London, NY, Focus) — useful for getting notified when a key session opens or closes.
📊 Fair Value Gap (FVG)
Detects 3-candle imbalance patterns (bullish/bearish gaps) and marks them as small colored boxes positioned exactly on the middle candle of the pattern. You can choose to display:
All FVGs (shows how far price traveled before filling the gap)
Only unmitigated (still-open gaps)
Only mitigated (already filled gaps)
📦 Inside Bar
Colors candles that are fully contained within the previous candle's high/low range (a common SMC consolidation/compression signal).
📋 Dashboard Table
A small table (position and text size configurable) shows the live status of each session — OPEN/CLOSE for Market, colored dots for Asia/London/NY, and a countdown (e.g. 🎯 12m) for the active Focus window.
🎨 Customization
Nearly everything is adjustable in the settings: which sessions/boxes/labels/alerts to show, box colors and transparency, label text size/color, FVG colors and display mode, table position/size, and the timezone. Indicator

Time-of-Day/Session Performance Stats [QuantAlgo]🟢 Overview
The Time-of-Day/Session Performance Stats is a comprehensive time-based analysis tool built for traders who want clear, ranked insight into when markets actually move. It measures average range, volume, bullish bias, and drift across every hour of the day and the four major sessions, then surfaces the strongest and weakest windows so you can focus activity where the data supports it. Whether you trade crypto around the clock or equity and forex sessions on a weekday schedule, the indicator turns raw historical bars into practical rankings, session comparisons, and non-repainting chart overlays.
🟢 What is Time-of-Day and Session Performance?
Markets are not uniform across the 24-hour cycle. Liquidity, volatility, and participation concentrate in specific hours and sessions. Sydney is typically the thinnest of the four major centers, Tokyo drives Asian activity, London often produces the widest ranges of the day, and the London-New York overlap is usually the busiest window. By averaging range, volume, the share of up closes, and net drift for each hour and each session over a configurable lookback, this tool converts those recurring patterns into ranked statistics instead of leaving you to rely on memory or anecdotal observation.
🟢 How It Works
The indicator walks a configurable window of past bars (limited by lookback days and a hard max-bar ceiling) in the timezone you select. Every usable bar is assigned to its hour of day and to any sessions it falls inside. Range can be measured in percent of close or in raw price units. Volume, directional closes, and drift are accumulated in parallel. Hours that do not meet a minimum bar-count threshold are dropped from every ranking so tiny samples cannot distort the boards.
Five ranking boards are produced: Activity (average range), Volume (when the symbol reports it), Bias (percentage of directional bars that closed higher), Drift (mean close-minus-open percentage), and Aggregated (the mean percentile of range, volume, and directional edge). Sessions are ranked solely on average range per bar and can be toggled or given custom windows. Overlaps count toward every session involved rather than being forced into one.
Chart overlays read a trailing window of the same length rather than the final ranking, so background shading and bar coloring never repaint. The Focus Hours panel converts the Aggregated ranking into three practical allocation plans plus the single quietest hour to avoid.
🟢 Key Features
▶ Ranking Boards
Five independent boards list every qualifying hour from strongest to weakest.
1. Activity Ranking: Orders hours by average bar range. Rank 1 is the hour with the most room; the last row is the quietest. This is the simplest and often most useful single board.
2. Volume Ranking: Orders hours by average volume. Read it alongside Activity. High range on low volume signals thin participation. The board is hidden automatically on symbols that report no volume.
3. Bias Ranking: Orders hours by the percentage of directional bars that closed above their open. Flat bars are excluded, so the figure reflects only bars that actually moved. There is no separate bearish column; the bottom of the board is the most bearish reading.
4. Drift Ranking: Orders hours by mean percentage change from open to close. An hour can post a high bull rate yet still show negative drift if its losing bars are larger than its winning ones. Divergences between Bias and Drift are often the most interesting signals.
5. Aggregated Ranking: Combines percentile ranks of range, volume (when present), and directional edge into a single composite score. This is the ranking that feeds both the Focus Hours panel and the Aggregated overlay option.
▶ Session Ranking Panel
The four major sessions are ranked by average range per bar and displayed with their window, bull rate, drift, and bar count. Rank 1 takes the bullish color and the last rank takes the bearish color on the same continuous gradient used by the boards. Because a bar inside an overlap is counted toward every session it belongs to, session bar totals can exceed the overall sample size.
▶ Focus Hours Panel
The Aggregated ranking is translated into four labeled plans: Aggressive (top hour only), Mix (top two with 80/20 weights), Conservative (top three with 50/30/20 weights), and Avoid (the single quietest hour by average range). Each row shows the relevant hours, their session affiliation, bull rate, drift, and score so the reading can be acted on immediately.
▶ Chart Overlay
Background shading and price-bar coloring can be driven independently by Session Ranking, Activity Ranking, Volume Ranking, Bias Ranking, Drift Ranking, Aggregated Ranking, or Focus Hours. All overlays are computed from a trailing window so they never repaint. Transparency controls let you keep the ranking obvious or keep it subtle enough not to compete with price.
▶ Session and Filter Controls
Sydney, Tokyo, London, and New York can each be enabled or disabled and given custom HHMM-HHMM windows in the selected timezone. A weekdays-only filter removes weekend bars for forex, futures, and equities while leaving crypto fully intact. The Bars To Include setting can restrict the entire study to all bars, any enabled session, or one named session.
▶ Built-in Alerts
Ready-made alert conditions fire when price enters the peak activity hour, the quietest hour, the peak volume hour, the most bullish or most bearish hour, or the top Aggregated hour. Separate alerts cover the open and close of each individual session, any session start or end, and the start and end of the London-New York overlap.
▶ Color Presets
Six presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom) apply a continuous gradient from the bullish color at rank 1 to the bearish color at the last rank across every board, panel, and overlay. Custom mode exposes individual bullish and bearish color pickers; text contrast is calculated automatically so any chosen colors remain readable.
▶ Interval Warning
When the chart interval is higher than 1 hour, most of the 24 hour buckets never receive a bar, leaving the rankings incomplete. The indicator displays a clear warning label on the chart that explains the limitation and recommends switching to 5m, 15m, 30m, or 1h, for example. The warning can be turned off once the restriction is understood and a clean chart is preferred.
Indicator

NBSG_MA+BandsMoving Average + SD Bands
A clean, customizable moving average envelope that plots a central MA with standard-deviation bands around it. Use it to gauge how stretched price is from its mean and to frame dynamic support/resistance and mean-reversion zones.
What it does
It draws a baseline moving average and surrounds it with up to two sets of bands offset by multiples of the standard deviation. When price pushes into the outer band it's statistically extended from the mean; the shaded zones make it easy to see at a glance where price sits within its typical range.
Features
Selectable MA type: SMA, EMA, or VWMA (default VWMA, 200)
Adjustable MA length and price source
Two independent band multipliers (default 1.0 and 2.0 SD)
Optional second band set — toggle it on or off
Shaded fills between the bands for quick visual context
Multi-timeframe capable via the built-in timeframe input
Statistically consistent bands: the deviation is measured around whichever mean you select — equal-weight for SMA, exponentially-weighted for EMA, and volume-weighted for VWMA — so the bands are always centered correctly on their own mean
How to use it
Treat the central MA as the trend anchor and the bands as a range map. Price riding the outer band in the direction of the trend signals strength; a stretch into the outer band against the trend, or a fade back toward the mean, can flag mean-reversion setups. Pair with your own trigger — it's a context tool, not a standalone signal.
Inputs
MA Type, MA Length, Source, Band 1 Multiplier, Band 2 Multiplier, and a toggle for the second band set.
Note: VWMA and its volume-weighted bands require a symbol with real volume data. On instruments without volume (some indices, spot FX), use the SMA or EMA option instead.
This indicator is for educational purposes and is not financial advice. Test any approach before trading it live. Indicator
