Indicator

Indicator

Indicator

Indicator

TEWMA MACD - [JTCAPITAL]TEWMA MACD -
TEWMA MACD - is a modified way to use the Moving Average Convergence Divergence (MACD) by replacing the traditional EMA calculations with Triple Exponential Weighted Moving Averages (TEWMA) for Trend-Following.
Instead of relying on conventional exponential moving averages, this indicator first smooths price using a Weighted Moving Average (WMA), followed by a Triple Exponential Moving Average (TEMA). This creates a significantly more responsive moving average while still maintaining smoothness. The result is a MACD that reacts quicker to changing market conditions without becoming excessively noisy.
The indicator works by calculating in the following steps:
Source Selection
The script begins by selecting the desired price source. By default this is the Close price, but users may choose any PulseWire supported source such as Open, High, Low, HL2, HLC3, OHLC4, or any custom source.
Every calculation performed afterwards originates from this selected source.
Weighted Moving Average (WMA) Smoothing
Before calculating the actual trend averages, the source is first smoothed using a Weighted Moving Average.
Unlike a Simple Moving Average, a WMA assigns progressively larger weights to newer prices while still considering older data. This allows the moving average to respond faster to changing market conditions without becoming overly sensitive.
This initial smoothing stage reduces market noise before the Triple EMA calculation begins.
Triple Exponential Moving Average (TEMA) Calculation
After the WMA has been calculated, the script applies a Triple Exponential Moving Average.
Unlike a normal EMA, the TEMA combines multiple exponential averages in a mathematical way that largely removes the lag introduced by exponential smoothing.
This process produces a moving average that follows price much more closely while maintaining excellent smoothness.
The first TEWMA uses the user-selected base period.
Second TEWMA Calculation
A second TEWMA is then created using a longer lookback period.
Instead of manually selecting this second length, the script multiplies the original period by the chosen Multiplier.
For example:
Base Length = 20
Multiplier = 1.5
Second Length = 30
This automatically creates a slower moving average that represents the longer-term trend.
MACD Line Calculation
The MACD line is calculated by subtracting the slower TEWMA from the faster TEWMA.
MACD = Fast TEWMA − Slow TEWMA
When the faster average rises above the slower average, the MACD becomes positive.
When the faster average falls below the slower average, the MACD becomes negative.
The distance between both averages represents the current momentum of the market.
Signal Line Calculation
The script then calculates an Exponential Moving Average of the MACD itself.
This creates the Signal Line.
The Signal Line smooths the MACD values and provides a reference that can be compared against the MACD to determine whether momentum is increasing or decreasing.
The Signal Length is fully customizable.
Histogram Calculation
The histogram is calculated as:
Histogram = MACD − Signal Line
This measures the difference between both lines.
When the histogram is positive, bullish momentum dominates.
When the histogram is negative, bearish momentum dominates.
The larger the histogram becomes, the stronger the momentum.
Momentum Acceleration Detection
Besides determining whether momentum is positive or negative, the indicator also checks whether the histogram itself is increasing or decreasing compared to the previous candle.
This creates four unique momentum states:
Bullish and strengthening
Bullish but weakening
Bearish but recovering
Bearish and strengthening
These states are reflected through different histogram colors, making it significantly easier to judge the current momentum without manually comparing bars.
Dynamic Coloring
Both the MACD line and Signal Line automatically change color depending on which line currently dominates.
When the MACD remains above the Signal Line, both lines adopt the bullish color.
When the MACD falls below the Signal Line, both lines switch to the bearish color.
This immediately visualizes the current trend direction.
Background Momentum Visualization
Finally, the indicator colors the background using two separate conditions.
The first background coloring reflects whether momentum is bullish or bearish.
The second background coloring reflects whether momentum is increasing or decreasing.
Together these background colors provide an additional visual confirmation of the current market state without affecting the indicator calculations themselves.
Buy and Sell Conditions:
The indicator itself does not generate explicit Buy or Sell signals. Instead, it provides a momentum framework that traders can interpret according to their own trading style.
Common bullish confirmations include:
The MACD crossing above the Signal Line.
The histogram moving from negative to positive.
Increasing positive histogram bars.
Both MACD and Signal Line remaining above zero.
Background shifting toward bullish momentum.
Common bearish confirmations include:
The MACD crossing below the Signal Line.
The histogram moving from positive to negative.
Increasing negative histogram bars.
Both MACD and Signal Line remaining below zero.
Background shifting toward bearish momentum.
Additional confirmation filters may be added, such as:
Higher timeframe trend confirmation.
Volume confirmation.
RSI filters.
ADX trend strength filters.
ATR volatility filters.
Market structure confirmation.
Support and resistance confluence.
Combining multiple filters generally reduces false signals while increasing the quality of confirmed trend reversals.
Features and Parameters:
Source
Determines which price series is used for every calculation.
Length
Controls the period used for the fast TEWMA.
Multiplier
Automatically determines the slow TEWMA length by multiplying the base Length.
MACD Length
Controls the EMA smoothing period used for the Signal Line.
Dual TEWMA System
Creates a fast and slow trend measurement using Triple Exponential Weighted Moving Averages.
Dynamic MACD
Uses TEWMA instead of traditional EMA calculations to reduce lag while maintaining smoothness.
Adaptive Signal Line
Smooths the MACD using a configurable EMA.
Momentum Histogram
Displays the distance between MACD and Signal Line.
Four-State Histogram Coloring
Shows whether momentum is bullish, bearish, strengthening, or weakening.
Dynamic Line Colors
Both MACD and Signal Line automatically reflect current momentum direction.
Background Momentum Visualization
Provides additional visual confirmation of trend direction and momentum acceleration.
Specifications:
Weighted Moving Average (WMA)
The Weighted Moving Average assigns progressively larger weights to more recent price data while gradually reducing the influence of older prices. Compared to a Simple Moving Average, the WMA reacts faster to new market information without becoming excessively sensitive. Within this indicator, the WMA serves as the initial smoothing stage before the Triple Exponential Moving Average is applied. This helps reduce random price fluctuations while preserving meaningful trend information.
Triple Exponential Moving Average (TEMA)
The Triple Exponential Moving Average is designed to minimize the lag commonly associated with exponential moving averages. Rather than relying on a single exponential smoothing calculation, TEMA combines multiple exponential averages into one formula that effectively compensates for delay. This produces a moving average that closely follows price while remaining smooth. In this indicator, TEMA is applied after the WMA, creating the TEWMA calculation that forms the foundation of the entire oscillator.
TEWMA
TEWMA stands for Triple Exponential Weighted Moving Average. It combines the stability of the Weighted Moving Average with the responsiveness of the Triple Exponential Moving Average. By smoothing the source with a WMA before applying TEMA, the resulting average filters out short-term market noise while still responding rapidly to genuine trend changes. Using TEWMA instead of traditional EMAs creates a more responsive MACD without sacrificing smoothness.
MACD (Moving Average Convergence Divergence)
The MACD measures the distance between a faster moving average and a slower moving average. This difference provides insight into market momentum. As the fast average accelerates away from the slow average, momentum increases. When both averages converge, momentum weakens. By replacing the traditional EMAs with TEWMAs, this indicator produces a MACD that reacts more quickly to evolving market conditions while maintaining reliable trend identification.
Signal Line
The Signal Line is an Exponential Moving Average applied directly to the MACD values. Its purpose is to smooth the often volatile MACD line, making momentum shifts easier to identify. Crossovers between the MACD and Signal Line are among the most widely used momentum signals in technical analysis because they indicate potential changes in buying or selling pressure.
Histogram
The histogram measures the difference between the MACD and the Signal Line. Rather than simply indicating bullish or bearish momentum, it also reveals the strength of that momentum. Expanding histogram bars indicate accelerating momentum, while shrinking bars suggest that momentum is fading. This often provides an early warning before actual MACD crossovers occur.
Momentum Acceleration
Beyond measuring whether momentum is positive or negative, this indicator continuously evaluates whether momentum itself is increasing or decreasing. This additional layer allows traders to distinguish between strong trends, weakening trends, recovering markets, and accelerating reversals. Monitoring momentum acceleration often provides earlier insight into changing market conditions than observing crossovers alone.
Trend Following
Trend-following strategies attempt to participate in sustained market movements rather than predicting exact tops or bottoms. By combining fast and slow TEWMAs, the indicator naturally aligns with prevailing market direction while filtering much of the short-term noise that frequently causes false signals.
Moving Average Convergence and Divergence
The core principle behind MACD is that the relationship between two moving averages reflects the strength and direction of a trend. As the averages separate, momentum increases. As they converge, momentum decreases. Measuring this continuously provides valuable insight into both existing trends and potential reversals.
Multiplier
Instead of manually selecting both moving average lengths, this indicator derives the slower TEWMA by multiplying the fast length by a user-defined multiplier. This ensures that the relationship between both averages remains proportional regardless of the chosen settings, making optimization more intuitive while preserving the intended behavior of the oscillator.
Dynamic Coloring
Color changes are not merely cosmetic. They immediately communicate whether bullish or bearish momentum currently dominates and whether momentum is strengthening or weakening. This allows traders to interpret the oscillator at a glance without carefully examining individual values or comparing multiple bars manually.
Why combine WMA with TEMA?
The Weighted Moving Average prioritizes recent price action while still filtering random fluctuations. The Triple Exponential Moving Average then removes much of the lag traditionally introduced by smoothing techniques. Combining both methods produces a moving average that remains smooth during consolidation while responding rapidly once genuine momentum develops. This makes the resulting MACD more responsive than the traditional EMA-based implementation without becoming excessively noisy.
Why use a TEWMA-based MACD instead of a traditional MACD?
Traditional MACD indicators rely entirely on Exponential Moving Averages, which inevitably introduce lag as markets change direction. By replacing those averages with TEWMAs, this indicator detects shifts in momentum earlier while still maintaining smooth trend behavior. The result is an oscillator that remains familiar to MACD users but offers faster responsiveness, improved trend tracking, and clearer visualization of changing momentum.
Enjoy! Indicator

Caheeen Pulse v3.0Caheeen Pulse is a market-regime visualization tool designed to summarize trend structure, directional alignment and volatility-normalized price positioning in one compact view.
HOW IT WORKS
The indicator combines four independent observations into a composite regime score ranging from -4 to +4:
Price position relative to the long-term Trend EMA.
Alignment between the Fast EMA and Slow EMA.
Direction of the Trend EMA slope.
Price distance from the Trend EMA, normalized by ATR.
The combined score classifies the current market environment into five states:
• Strong Bull
• Bull
• Neutral
• Bear
• Strong Bear
This approach differs from a basic moving-average crossover. It evaluates several dimensions of market structure simultaneously and normalizes price displacement using volatility, allowing the same framework to adapt across instruments and timeframes.
VISUAL COMPONENTS
• Long-term Trend EMA
• Fast and Slow EMAs
• Regime-based chart background
• Confirmed regime-transition markers
• Dashboard displaying the composite score, ATR-normalized price distance, trend slope, EMA spread and ATR volatility
ALERTS
Caheeen Pulse includes alert conditions for confirmed transitions into Strong Bull, Strong Bear and Neutral regimes. Transition alerts and markers are confirmed only after the candle closes. When creating an alert, select “Once Per Bar Close.”
USAGE
Caheeen Pulse is intended to help users:
• Identify the prevailing market regime
• Distinguish directional conditions from transitional periods
• Compare trend structure with current volatility
• Apply an additional market-context filter to their own analysis
The indicator does not place orders, manage positions or provide personalized investment advice. It should not be used as a standalone instruction to buy or sell.
The live regime display can change while the current candle is forming. Confirmed transition markers and alerts are generated at candle close.
Historical or hypothetical observations do not guarantee future results. Trading involves risk, and users remain responsible for their own decisions and risk management. Indicator

Indicator

Leg Anatomy - Measured Retracement and ExtensionEvery trader draws the same three numbers on every chart: 38.2, 50 and 61.8. Those numbers were not derived from this market, this timeframe, or this instrument. They were not derived from any market. They are a convention that spread because it spread.
This script measures the real thing instead.
WHAT IT MEASURES
Price is broken into confirmed swing legs. A running extreme is tracked, and when price closes back from that extreme by more than a configurable multiple of ATR, the extreme is confirmed as a swing and a new leg begins.
Every completed leg is measured as a ratio of the leg immediately before it. A leg that travelled 60 percent of the previous leg records 0.60. A leg that went 140 percent past it records 1.40. That single number, the leg-to-leg ratio, is the entire dataset.
From the last N legs on the chart you have open, the panel reports:
The median leg, expressed as a multiple of the one before it.
The interquartile range, the middle half of the distribution.
The share of legs that were shallow, under 0.62.
The share that were deep, between 0.62 and 1.00.
The share that were extensions, past 1.00.
On some symbols and timeframes the conventional levels sit close to the measured centre. On many they do not, and the gap between what a chart actually does and what the convention assumes is visible in one row of the panel.
THE PROJECTION
The distribution is not left as a table. It is applied forward.
The leg currently forming starts from the last confirmed swing, and the leg before it has a known size. Multiplying that size by the measured median, upper quartile and ninetieth percentile gives three projected endpoints, drawn as a shaded zone in front of price with a dashed median line and a price label.
The panel shows how far the forming leg has travelled as a percentage of its median expectation. Below 100 percent the leg is still inside its normal range. Above it, the leg has already outrun the typical case for this chart, which is information whether you are holding it or fading it.
The zone is not a forecast. It is where the middle of the distribution sits, and roughly half of past legs fell short of it.
THE SKELETON
Confirmed legs are drawn as a thick zigzag across the chart, each one labelled with its own ratio, so the distribution in the panel can be read directly off the price action that produced it. Candles are tinted by the direction of the leg currently forming.
Because swings only confirm on closed bars and a confirmed swing is never revisited, the skeleton behind price is final. Only the leg at the right edge is still forming, and the projection zone updates only when a new leg is confirmed.
SETUPS
When a swing confirms, a new leg begins, and the script produces a complete setup at that close.
The stop sits just beyond the swing that was just confirmed, plus an ATR buffer. That swing is the level the leg depends on. If it goes, the leg reading was wrong.
The three targets are the lower quartile, the median and the upper quartile of the measured distribution, projected from the swing. They are not multiples of risk and they are not conventional ratios. They are the shape of this chart's own legs.
Only one setup is tracked at a time. The panel records whether the first target or the stop was reached first, and prints collecting until the sample is large enough to mean anything. That number measures one mechanical rule and is not a backtest.
SETTINGS
Reversal Threshold is the only structural dial. It decides what counts as a leg. A low value produces many small legs and a distribution dominated by noise. A high value produces few large legs and a distribution with a small sample. The default sits between the two, and changing it changes the entire analysis, which is the point: a leg on a scalping horizon is not a leg on a swing horizon, and the measured distribution should differ between them.
Volatility Length sets the ATR lookback used for the reversal threshold and the stop buffer.
Legs Kept In Sample bounds the history, so the distribution tracks the current regime instead of averaging in a market from years ago.
REPAINTING
Swing confirmation, leg measurement, the distribution, setups and alerts all evaluate on confirmed bars. A confirmed swing is never moved and a drawn leg is never redrawn. The projection zone in front of price is recomputed only when a new leg begins. The script requests no higher timeframe data.
HOW TO READ IT
Start with the three share rows. If a chart shows most of its legs under 0.62, it is a market that retraces shallowly and continuation is the base case. If most legs sit between 0.62 and 1.00, it is a market that gives deep pullbacks and entering early is expensive. A high share above 1.00 is a trending regime where each leg outruns the last.
Then look at the forming leg's progress. A leg at 40 percent of median with a distribution that favours extension is a different situation from a leg at 130 percent in a market that rarely extends.
The ratios printed on the skeleton let you check the panel against your own eyes rather than trusting it.
This is an analysis tool, not financial advice, and not a trading system. A measured distribution describes what happened, not what will. Sample sizes are small by the standards of statistics and regimes change. Use it with your own risk management and position sizing. Indicator

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

Volatility Corridor - Quantized Equilibrium LevelsMost range and channel tools slide. The midline is a moving average, so it moves on every bar, and the levels drawn from it move with it. That makes them fine as a trend read and close to useless as levels, because the level you looked at ten bars ago is no longer where you left it.
Volatility Corridor does the opposite. It holds still, and then it jumps.
HOW THE CORRIDOR IS BUILT
An equilibrium anchor sits at the centre of the corridor. Once placed, it is frozen. It does not drift, it does not smooth, it does not respond to anything at all until price closes more than one volatility step away from it.
When that happens, the anchor jumps by a whole number of steps in the direction of the breach, lands at the new location, re-measures its step size from ATR at that exact moment, and freezes again.
Three bands are drawn one step apart above the anchor and three below, giving seven horizontal levels: S3, S2, S1, EQ, R1, R2, R3. Because the anchor and the step are both frozen between jumps, every one of those levels is a genuine flat horizontal line for the entire life of the corridor. Across a chart the result is a staircase of stable shelves rather than a wave, and the jump bars are marked so the history of the structure is readable at a glance.
The quantization matters. The anchor moves by whole steps, never by fractions, so successive corridors line up on a common grid instead of drifting off it. When price returns to an area it traded weeks ago, the corridor tends to rebuild on the same shelves rather than near them.
WHAT IS ON THE CHART
Seven stepline levels, thickest at the equilibrium.
Six filled bands between them, darkening toward the outer edges, so the corridor reads instantly without inspecting a single number.
Candles tinted by their position inside the corridor, running from the lower colour at the bottom edge through neutral at equilibrium to the upper colour at the top.
Background tint whenever price is trading fully outside the corridor.
Price labels on every level at the right edge, in four selectable sizes.
Jump markers at the top and bottom of the pane showing every bar the corridor re-anchored, and in which direction.
SETUPS
Two setups are defined, and either can be switched off.
Reversion. Price has pushed into the outer band and closes back inside it while still on its own side of equilibrium. The stop is the far outer level, and the targets are the levels above: equilibrium first, then the next band, then the one after that. The reasoning is that a corridor that is holding will pull price back toward its centre, and the level structure already provides the map for that journey.
Breakout. Price closes fully beyond the outer level of the corridor. The stop is the first level back inside, and the targets are projected one, two and three steps beyond the corridor edge, on the same grid the corridor itself uses.
In both cases the stop and the targets are structural levels, not multiples of risk. Nothing is placed at an arbitrary distance. The stop is where the structure would be wrong, and the targets are the next shelves on the grid.
Only one setup is tracked at a time. A new signal cannot silently replace an unresolved one.
The panel keeps a record of whether the first target or the stop was reached first, and prints collecting rather than a percentage until the sample is large enough to mean anything. That number is a narrow measurement of one mechanical rule, not a backtest, and it says nothing about what a trader who moved a stop or scaled out would have achieved.
SETTINGS
Step Size is the one dial that matters. It sets the width of a single band in ATR terms, and therefore how far price must travel to force a jump. Larger values give wider, rarer, more significant corridors. Smaller values give a tighter grid that re-anchors often.
Volatility Length sets the ATR lookback used to measure a step at each anchor. Longer is more stable.
Everything else is cosmetic: fills, candle painting, label size, level thickness, background tint.
REPAINTING
The anchor, the step size, the jumps, the setups and the alerts all evaluate on confirmed bars only. A level that is drawn is final for the life of the corridor and is never moved retroactively. The script requests no higher timeframe data.
READING IT
Equilibrium is the fair value the corridor is currently defending. Price oscillating around it is a market with no directional decision.
The outer bands are where the current corridor stops being an adequate description of price. Price reaching them means one of two things is about to happen: it is rejected and the corridor holds, or it closes through and the whole structure jumps to a new shelf. Both are tradable and both have a setup defined for them.
A corridor that survives many bars is a market that has agreed on value. A rapid sequence of jumps in one direction is a trend, and the jump markers make that sequence obvious even when the candles do not.
This is an analysis tool, not financial advice, and not a trading system. The setups are two mechanically defined patterns, and no pattern has an edge on its own. Use it with your own risk management and position sizing. Indicator

ICT Sniper BY DAVIDThe ICT Sniper (Clean Version) is a systematic Pine Script v6 indicator designed for traders using Smart Money Concepts (SMC) and Price Action models. Based on mechanical entry models, this tool identifies institutional market manipulations and precise entry zones by combining Liquidity Sweeps with Fair Value Gaps (FVG).
Instead of cluttering the chart with endless technical indicators, this script operates on market structure and liquidity dynamics. It isolates low-risk, high-probability execution points by waiting for institutional smart money to sweep liquidity before confirming an entry via market imbalance.
Core Strategy and Logical Framework
The indicator executes a mechanical three-phase validation sequence:
1. Liquidity Sweep Detection
Market makers frequently run price beyond key swing points to activate retail stop-loss orders and breakout entries. This script continuously monitors market structure using pivot points:
Bullish Sweep: Price breaks below a recent Pivot Low to grab sell-side liquidity, but the bar closes back above that low, confirming a stop run rather than a legitimate breakout.
Bearish Sweep: Price breaks above a recent Pivot High to grab buy-side liquidity, but the bar closes back below that high, confirming a false breakout.
2. Order Block Marking
When a sweep occurs, the script flags the specific candle or range where the liquidity sweep originated as an active Order Block zone, anticipating that institutional orders remain resting within this area.
3. Fair Value Gap (FVG) Refinement and Signal Trigger
A liquidity sweep alone is insufficient for an entry. The strategy requires displacement—rapid price movement leaving behind an imbalance (FVG).
The indicator tracks the bars following a sweep up to a user-defined lookback window (default: 10 bars).
If a three-candle imbalance forms within this lookback window:
Bullish FVG (Low of candle 1 > High of candle 3): Triggers a BUY Entry signal.
Bearish FVG (High of candle 1 < Low of candle 3): Triggers a SELL Entry signal.
Detailed Input Parameters
Market Structure
Pivot Lookback Length (Default: 5): Determines the sensitivity of swing highs and lows. A smaller number identifies short-term internal liquidity, while a larger number focuses on major swing points.
Strategy Rules
Max Bars After Sweep to Find FVG (Default: 10): Specifies the maximum duration allowed between the liquidity sweep and the displacement/FVG formation. If an FVG forms after this limit, the signal is discarded to ensure only fresh displacement is traded.
Clean Visuals
Show Minor Sweep Shapes (Default: Off): Displays minor directional indicators on every sweep candle. Kept disabled by default to maintain chart clarity.
Show Active Order Blocks (Default: On): Draws shaded boxes around active Order Blocks resulting from liquidity sweeps.
Show FVG Highlights (Default: On): Plots distinct colored boxes directly over the Fair Value Gaps that triggered entry signals.
Max Boxes to Keep on Chart (Default: 2): Automatically deletes older historical boxes to prevent memory lag and visual clutter.
Execution and Risk Management Guidelines
1. Signal Confirmation
Wait for the current bar to close when a BUY or SELL signal appears. Do not execute mid-bar, as FVGs require candle completion to be valid.
2. Stop-Loss Placement
BUY Setup: Position the Stop-Loss a few ticks below the Liquidity Sweep Low or beneath the bottom boundary of the FVG box.
SELL Setup: Position the Stop-Loss a few ticks above the Liquidity Sweep High or above the top boundary of the FVG box.
3. Take-Profit Targets
Fixed Risk-to-Reward: Maintain a standard 1:2 Risk-to-Reward ratio (2R) for consistent expectancy.
Structural Targets: Target the opposing Swing High for long positions or Swing Low for short positions.
Best Practices and Context
While this indicator automates pattern recognition, trade performance improves significantly when aligning signals with higher-timeframe context:
Trade in the direction of the higher-timeframe trend.
Focus executions during major market sessions (London and New York sessions).
Recommended Timeframes: 1-minute to 15-minute charts for intraday execution; 1-hour to 4-hour charts for swing trading.
Recommended Assets: Forex major pairs, equity indices (NAS100, US30), commodities (Gold), and major cryptocurrencies. Indicator

Time-Price Volume Heatmap with Liquidity SweepsWhat it does
Most volume tools compress everything into a single vertical profile, so you can see at which price volume traded, but not when. This script splits the lookback window into a grid of time columns × price rows and paints each cell by how much volume was actually traded inside it — producing a time-and-price heatmap of where activity concentrated as the market moved.
On top of that map it tracks the resting liquidity pools that price left behind, and flags the exact bar where each pool is taken.
How it is calculated
The heatmap
The lookback window (default 300 bars) is divided into Time Resolution columns (default 16) and Price Resolution rows (default 26), built between the highest high and lowest low of the window.
For every bar, its volume is distributed evenly across all price rows its high-low range covers. A bar spanning 5 rows adds one fifth of its volume to each. This approximates where inside the candle the activity sat, rather than assigning it all to the close.
Each cell is normalised against the busiest cell in the grid and coloured on a 3-stop gradient. Transparency scales with intensity, so cold zones stay faint and hot zones glow. Cells below Min Intensity are not drawn at all — this keeps the chart readable and stays inside the 500-object limit.
Point of Control Rows are summed across all columns; the heaviest row is drawn as the POC line. The panel also shows POC Density — that row's share of total mapped volume. A high number means volume is concentrated on one shelf; a low number means it is spread out.
Liquidity pools Confirmed pivot highs and lows (Pivot Strength, default 8) mark levels where stop orders typically rest. Each is drawn as a dotted line extending right, labelled with its price. When price trades through a level it is re-drawn solid grey and marked SWEPT, and the sweep counter increments. Levels older than Level Max Age are removed automatically.
Volume bursts Volume is converted to a z-score over Volume Window bars. Two dot sizes mark bars above the strong (2σ) and extreme (3.5σ) thresholds — useful for spotting which bar actually did the damage at a level.
Volume Pressure Volume of up-closes minus volume of down-closes across the window, expressed as a percentage of total. A rough directional bias for the mapped period.
How to read it
Hot zones = price spent time and volume there. They tend to act as magnets and as friction; moves through them are usually slower.
Cold gaps = thin areas. Price often travels through them quickly.
A sweep followed by an immediate move back inside the previous range is the classic liquidity-grab pattern. The sweep marker plus an extreme volume dot on the same bar is the strongest version of it.
POC as reference: the panel tells you whether price is above or below the heaviest shelf. 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

EPC 20/50 | EMA Pullback Continuation [Indicator]//@version=6
indicator("EPC 20/50 | EMA Pullback Continuation ", overlay=true, max_lines_count=500, max_labels_count=500)
// ============ INPUTS ============
fastLen = input.int(20, "Fast EMA")
slowLen = input.int(50, "Slow EMA")
atrLen = input.int(14, "ATR Length")
sepMult = input.float(0.25, "EMA separation gate × ATR (anti-chop)")
slopeLB = input.int(3, "Slope lookback (bars)")
slBuffer = input.float(2.0, "SL buffer (pts)")
atrFloor = input.float(0.8, "SL ATR floor ×")
rrTP = input.float(3.0, "TP (R)")
rrBE = input.float(1.0, "Breakeven trigger (R)")
lonSess = input.session("0700-1100", "London (UTC)")
nySess = input.session("1230-1600", "New York (UTC)")
inLon = not na(time(timeframe.period, lonSess, "GMT"))
inNY = not na(time(timeframe.period, nySess, "GMT"))
inSession = inLon or inNY
// ============ EMAs + REGIME ============
emaF = ta.ema(close, fastLen)
emaS = ta.ema(close, slowLen)
atr = ta.atr(atrLen)
sep = math.abs(emaF - emaS)
sepOK = sep >= sepMult * atr
upSlope = emaF > emaF
dnSlope = emaF < emaF
// 1H alignment
htfEma = request.security(syminfo.tickerid, "60", ta.ema(close, slowLen))
htfCl = request.security(syminfo.tickerid, "60", close)
longRegime = emaF > emaS and upSlope and sepOK and htfCl > htfEma
shortRegime = emaF < emaS and dnSlope and sepOK and htfCl < htfEma
// ============ PULLBACK ENTRY ============
// Long: price dipped to touch fast EMA, then closes back above with bullish body
touchedUp = low <= emaF
touchedDn = high >= emaF
bullBody = close > open
bearBody = close < open
longEntry = inSession and longRegime and touchedUp and close > emaF and bullBody
shortEntry = inSession and shortRegime and touchedDn and close < emaF and bearBody
// ============ LEVELS ============
longSL = math.min(low, low ) - slBuffer
shortSL = math.max(high, high ) + slBuffer
longDist = math.max(close - longSL, atrFloor*atr)
shortDist = math.max(shortSL - close, atrFloor*atr)
longTP = close + rrTP*longDist
shortTP = close - rrTP*shortDist
longBE = close + rrBE*longDist
shortBE = close - rrBE*shortDist
// ============ PLOTS ============
plot(emaF, "EMA20", color=color.aqua, linewidth=2)
plot(emaS, "EMA50", color=color.orange, linewidth=2)
bgcolor(longRegime ? color.new(color.green,92) : shortRegime ? color.new(color.red,92) : na)
bgcolor(inSession ? color.new(color.blue,95) : na)
plotshape(longEntry, "BUY", shape.triangleup, location.belowbar, color.lime, size=size.small, text="EPC▲")
plotshape(shortEntry, "SELL", shape.triangledown, location.abovebar, color.red, size=size.small, text="EPC▼")
if longEntry
line.new(bar_index, longSL, bar_index+12, longSL, color=color.red, width=1)
line.new(bar_index, longTP, bar_index+12, longTP, color=color.green, width=1)
line.new(bar_index, longBE, bar_index+12, longBE, color=color.gray, style=line.style_dotted)
label.new(bar_index, longTP, "TP 3R", style=label.style_label_down, color=color.new(color.green,80), size=size.tiny)
if shortEntry
line.new(bar_index, shortSL, bar_index+12, shortSL, color=color.red, width=1)
line.new(bar_index, shortTP, bar_index+12, shortTP, color=color.green, width=1)
line.new(bar_index, shortBE, bar_index+12, shortBE, color=color.gray, style=line.style_dotted)
alertcondition(longEntry, "EPC Buy", "EPC 20/50 BUY")
alertcondition(shortEntry, "EPC Sell", "EPC 20/50 SELL")
Indicator

Indicator

Indicator

5min ORB + Ripster EMA CloudsHere's an updated version that covers **1-minute candles** and explains **the clouds**:
---
**5-Min ORB — Opening Range Breakout (with 1-Min Precision)**
This indicator marks the opening range of the session and highlights breakouts above or below it. While the range itself is built from the first 5 minutes of trading, you view and trade it on the **1-minute chart** for sharper entries and cleaner signals.
**Why use 1-minute candles**
Running this on a 1-minute timeframe gives you five candles inside the opening range instead of one. That means:
- You see exactly how the range forms — whether buyers or sellers dominated the open.
- Breakout timing is more precise, since a 1-min close through the level triggers sooner than waiting on a full 5-min candle.
- Stops and entries can be tighter, because you're reacting to smaller price increments.
- You catch fast momentum moves early, which matters most in the first 15–30 minutes when volatility is highest.
The trade-off: 1-minute charts produce more noise, so confirmation (a candle *close* beyond the level, not just a wick) becomes more important to avoid getting faked out.
**Understanding the clouds**
The "clouds" are the shaded zones the indicator paints on your chart. They give you instant visual context without reading exact price numbers:
- **The opening-range cloud** — the shaded box between the ORB high and ORB low. This is your no-man's-land. Price chopping inside this cloud means the market hasn't picked a direction yet, so most traders stay flat until price escapes it.
- **The bullish cloud (above the range)** — shades green (or your chosen color) once price breaks and holds above the ORB high. It signals the buyers are in control and marks the zone where long setups are valid.
- **The bearish cloud (below the range)** — shades red once price breaks below the ORB low, signaling seller control and the zone for short setups.
Think of the clouds as a traffic-light system: inside the range = wait, above = long bias, below = short bias. They keep you on the right side of momentum and stop you from fighting the trend.
**How to use it**
Let the first 5 minutes complete on your 1-minute chart to form the range. Watch for a 1-min candle to close outside the opening-range cloud. When price pushes into the bullish cloud, look for longs; when it drops into the bearish cloud, look for shorts. Combine with volume and higher-timeframe trend for the strongest setups.
*This tool is for educational purposes only and is not financial advice. Always backtest and manage risk before trading live.*
---
Want me to fold this into the full description as one polished write-up, trim it for the PulseWire publish box, or adjust the cloud color/logic explanation to match a specific indicator you're using? Indicator

5min ORB + Ripster EMA CloudsHere's an updated version that covers **1-minute candles** and explains **the clouds**:
---
**5-Min ORB — Opening Range Breakout (with 1-Min Precision)**
This indicator marks the opening range of the session and highlights breakouts above or below it. While the range itself is built from the first 5 minutes of trading, you view and trade it on the **1-minute chart** for sharper entries and cleaner signals.
**Why use 1-minute candles**
Running this on a 1-minute timeframe gives you five candles inside the opening range instead of one. That means:
- You see exactly how the range forms — whether buyers or sellers dominated the open.
- Breakout timing is more precise, since a 1-min close through the level triggers sooner than waiting on a full 5-min candle.
- Stops and entries can be tighter, because you're reacting to smaller price increments.
- You catch fast momentum moves early, which matters most in the first 15–30 minutes when volatility is highest.
The trade-off: 1-minute charts produce more noise, so confirmation (a candle *close* beyond the level, not just a wick) becomes more important to avoid getting faked out.
**Understanding the clouds**
The "clouds" are the shaded zones the indicator paints on your chart. They give you instant visual context without reading exact price numbers:
- **The opening-range cloud** — the shaded box between the ORB high and ORB low. This is your no-man's-land. Price chopping inside this cloud means the market hasn't picked a direction yet, so most traders stay flat until price escapes it.
- **The bullish cloud (above the range)** — shades green (or your chosen color) once price breaks and holds above the ORB high. It signals the buyers are in control and marks the zone where long setups are valid.
- **The bearish cloud (below the range)** — shades red once price breaks below the ORB low, signaling seller control and the zone for short setups.
Think of the clouds as a traffic-light system: inside the range = wait, above = long bias, below = short bias. They keep you on the right side of momentum and stop you from fighting the trend.
**How to use it**
Let the first 5 minutes complete on your 1-minute chart to form the range. Watch for a 1-min candle to close outside the opening-range cloud. When price pushes into the bullish cloud, look for longs; when it drops into the bearish cloud, look for shorts. Combine with volume and higher-timeframe trend for the strongest setups.
*This tool is for educational purposes only and is not financial advice. Always backtest and manage risk before trading live.*
---
Want me to fold this into the full description as one polished write-up, trim it for the PulseWire publish box, or adjust the cloud color/logic explanation to match a specific indicator you're using? Indicator

[Dugan Algos] Trader's Command CenterOverview
Trader's Command Center consolidates the routine an active intraday trader repeats on every chart — marking the levels that matter, checking whether the trend actually agrees with itself, confirming that volume is present, and judging whether the move still has fuel — into a single overlay with one readable verdict.
The problem it addresses is fragmentation. Most traders end up running five or six separate scripts: one for previous-day levels, another for premarket, a VWAP, a moving-average package, something for relative volume, and a momentum oscillator in a lower pane. Each is fine alone, but reading them together means your eyes travel across the screen and you assemble the context manually, in real time, under pressure. That assembly step is where hesitation and inconsistency creep in.
TCC performs the assembly for you. Every component feeds one checklist table that resolves to a plain-language state — A+ LONG, A+ SHORT, LONG (low vol), SHORT (fading), or MIXED — so the question shifts from "what do all these indicators say?" to "does this setup meet my standard, yes or no?"
It works on stocks, options underlyings, and futures, and includes dedicated Asia and London session levels for overnight futures traders.
---
Why these components are combined
The individual calculations here are standard and well documented — that is deliberate. The originality is in the scoring architecture, not in inventing a new formula.
Three specific pieces of integration logic do work that no combination of separate scripts performs:
1. Trend agreement is scored, not eyeballed. Six independent context checks (VWAP, EMA alignment, two SMAs, prior-day close, market breadth) are reduced to a single 0–6 score. Five or six agreeing is treated as directional conviction; anything less is explicitly labelled MIXED rather than left for you to interpret. The point is a consistent, repeatable threshold instead of a judgment call that shifts with your mood.
2. Volume and momentum act as gates on that score, not as more rows to weigh. Direction is necessary but not sufficient. A trend everyone agrees on but nobody is trading is a trap, and so is a trend that's already exhausted. Relative volume and momentum acceleration are therefore structurally separate from the directional score — they can only downgrade a verdict, never create one. This is why the header degrades in a defined order: `A+ LONG` → `LONG (low vol)` → `LONG (fading)`. Each tells you something different about why the setup is second-rate.
3. Momentum is measured relative to the prevailing bias. Every momentum reading in the script is sign-flipped to match the direction the checklist is pointing. On a short setup, a falling MACD histogram is momentum building, not fading. Bolting a standard MACD onto your chart requires you to perform that inversion mentally on every short — a small thing that produces real errors when you're managing a position quickly.
---
Features
Automatic key levels
Drawn without any manual charting, and updated as each period completes:
Previous day high, low, and close
Premarket high and low, accumulated live through the pre-session
Opening range high and low, with a configurable duration (default 15 minutes)
Prior week high and low
Prior month high and low
Each level carries a compact right-edge tag (PDH, PDL, PDC, PM-H, ORB-L, PWH, PMoH and so on) so you can identify a line at a glance without opening the settings panel. Labels can be switched off if you prefer a cleaner chart.
Higher-timeframe values are requested with a one-period offset, meaning the script only ever reads completed periods. These levels do not repaint.
Futures session levels
For overnight and globex traders, optional Asia and London session highs and lows, alongside the standard prior-day and opening-range levels. Both session windows and the reference time zone are user-configurable — the defaults are New York time (Asia 18:00–03:00, London 03:00–09:30), which suit ES, NQ, CL and GC, but the fields accept any session string for other products or time zones.
A+ Trade Checklist
The centrepiece. A compact table scoring six directional checks:
Check Bullish when
Price vs VWAP Price above session VWAP
EMA alignment Fast EMA above slow EMA (default 9/21)
SMA 1 Price above the intermediate SMA (default 50)
SMA 2 Price above the long SMA (default 200)
Prior-day close Price above yesterday's close
Market breadth Advance-decline reading above zero
Five or six bullish gives a long bias; five or six bearish gives a short bias; anything in between reads MIXED. Two quality gates then qualify that bias — day RVOL and momentum — followed by two informational rows (bar RVOL and buy-volume percentage) that assist entry timing without affecting the verdict.
The header cell always states the conclusion outright, so you never need to count rows.
Momentum: accelerating or fading
A dedicated row answering the question most checklists ignore: is this move gaining or losing steam?
The measurement is the slope of the MACD histogram, normalised by ATR. The histogram is already the spread between fast and slow momentum, so its rate of change is effectively acceleration — an expanding histogram means the move is gaining separation, a contracting one means it's decaying even while price still drifts your way.
Dividing by ATR is what makes the reading portable. Raw histogram slope is expressed in price units, so a threshold tuned on SPY would be meaningless on ES or a four-dollar stock. Expressed as a percentage of average true range, a single threshold behaves consistently across every instrument.
The row displays one of three states — `▲ ACCEL`, `■ FLAT`, `▼ FADING` — with the normalised magnitude, plus a small `·adx↑` marker when ADX is simultaneously rising. A configurable flat zone prevents the state from flickering on trivial changes.
A dropdown controls how strictly momentum gates the verdict: Off (display only), Block if fading (default), or Require accelerating (strictest, suited to breakout entries).
Trending Stocks screener
Ranks up to eight watchlist symbols by daily relative volume, showing percent change alongside, sorted live so the most unusually active name sits at the top. Useful for deciding which chart deserves your attention before you commit to one.
Symbols are fully user-defined; the defaults are common large-cap names and index ETFs.
Volume analysis
Day RVOL — cumulative session volume against the 20-day average, the standard measure of whether a name is "in play"
Bar RVOL — current bar volume against its recent average, for spotting individual bursts
Buy/sell volume estimate — volume apportioned by where the bar closes within its range, giving a rough pressure read on each candle
Trade planner
Enter an intended entry, stop, and target in the settings; the script draws all three on the chart with an automatic risk-to-reward calculation, absolute risk, and absolute reward. A fast way to sanity-check a trade's geometry before committing, or to review one afterwards.
Alerts
Thirteen conditions covering breakouts, cross events, volume anomalies, and setup formation:
Break above previous day high / below previous day low
Break above premarket high / below premarket low
Opening range breakout, up and down
VWAP cross, up and down
Relative volume spike
A+ Long setup formed (bias + volume + momentum all confirmed)
A+ Short setup formed
Momentum fading — fires only while a directional bias is live, making it a genuine position-management trigger rather than background noise
Momentum accelerating
Setup instructions
1. Add the indicator to your chart.
2. Enable extended trading hours. Right-click the chart → Settings → Symbol tab → tick Extended trading hours. Premarket high and low cannot be calculated without pre-session data, and the row will stay blank until this is enabled.
3. Use an intraday timeframe. The level suite, opening range, and session VWAP are built for intraday charts — 1 to 60 minutes. On daily and higher, intraday-specific levels are intentionally suppressed.
4. Confirm the breadth symbol. The checklist defaults to `USI:ADD` (NYSE advance-decline). If that row shows "n/a", your data plan may not include it — substitute any breadth symbol you do have access to, or a broad index proxy. The row will read n/a and score as bearish if the symbol is unavailable, so it's worth resolving rather than ignoring.
5. Set your session times if trading futures. Enable the futures group and adjust the Asia and London windows to match your product and time zone.
6. Create alerts. Add alert → Condition → select Trader's Command Center → choose the event from the dropdown. Set Once Per Bar Close if you want confirmed signals only; leaving it on Once Per Bar will fire intrabar and can trigger on moves that reverse before the candle closes.
---
How to read it during a session
A workflow that suits most intraday traders:
Before the open, glance at the screener to see which of your names are running unusual volume. Note where premarket high and low sit relative to the previous day's range — a premarket high above yesterday's high with real volume is a materially different setup from one inside the prior range.
Through the opening drive, let the opening range establish, then watch for a break of ORB high or low. The checklist header tells you whether that break has context behind it. An ORB breakout with an A+ LONG verdict is a fundamentally different proposition from the same breakout printing MIXED.
In a position, the momentum row is your management tool. Direction rows staying green while momentum turns to FADING is the classic signal that a move is maturing — a reasonable trigger to tighten a stop or take partial profit, well before the directional rows themselves flip.
When the verdict reads MIXED, that is information. The context checks disagree, which usually means chop. Most consistent traders lose more money forcing trades in this state than they make from the ones that work.
---
Tuning guidance
Slope lookback (default 3 bars) governs momentum responsiveness. Drop to 2 on a 1-minute chart if the reading feels slow; raise to 5 or more on 15-minute and above.
Flat zone (default ±3% of ATR) controls how much movement is required before the momentum state changes. If the row flickers between states more than you find useful, raise it to 5 or 6. This is the first knob to reach for — if the momentum gate is talking you out of trades that later work, the flat zone is usually too tight rather than the concept being wrong.
Day RVOL threshold (default 1.5x) sets the participation bar. Lower it to 1.2 for large-cap index products where 1.5x is genuinely rare; raise it to 2.0 or beyond if you only want names that are decisively in play.
Opening range duration (default 15 minutes) is a matter of style. Five minutes gives earlier, noisier signals; thirty produces fewer, cleaner breaks.
Momentum requirement should match your entry style. Breakout traders want Require accelerating. Pullback and mean-reversion traders often prefer Off, since entering as momentum decelerates is the entire premise of that approach.
---
Limitations and honest notes
Pine cannot scan the whole market. The screener ranks only the symbols you enter. This is a platform constraint on all Pine scripts, not a design shortcut — PulseWire limits the number of external symbol requests a script may make, and eight leaves headroom for the rest of the indicator's higher-timeframe calls.
Momentum measurement lags. MACD-derived acceleration is built on moving averages and inherits their delay. In a range, the histogram slope will whipsaw regardless of tuning. The momentum row is most reliable when the directional rows are already lopsided — it is a quality filter on an existing trend, not a standalone signal.
Buy/sell volume is an estimate. Without tick-level or order-flow data, the split is inferred from where each bar closes within its range. It is a reasonable proxy for pressure, not a substitute for a true delta feed.
Breadth is US-equity oriented. The default advance-decline symbol is meaningful for US stocks and index products. Trading FX, crypto, or non-US equities, the row should be repointed at something relevant or its influence on the score understood as noise.
The score is not a strategy. It describes context, not edge. It contains no backtest, makes no claim of profitability, and will happily print A+ LONG into a reversal. Entry, exit, position sizing, and risk management remain entirely yours.
Repainting: higher-timeframe levels read completed periods only and do not repaint. Live intraday values — the current bar's RVOL, momentum state, and checklist verdict — naturally update while the bar is forming and settle on close, as with any real-time indicator. Use Once Per Bar Close on alerts if you need confirmed-only behaviour.
---
Settings reference
Group Contains
① Key Levels Toggles for previous day, premarket, weekly, monthly levels and labels
② Opening Range ORB on/off and duration in minutes
③ Futures Sessions Asia and London session windows, reference time zone
④ Moving Averages / VWAP VWAP toggle, two EMA lengths, two SMA lengths
⑤ Volume / RVOL Averaging length, day-RVOL threshold, bar-spike multiple
⑥ Momentum MACD lengths, slope lookback, ATR length, flat zone, A+ gate strictness
⑦ A+ Trade Checklist Table on/off, breadth symbol, table position
⑧ Trending Stocks Screener Table on/off, eight symbol slots
⑨ Trade Planner Entry, stop, target prices
---
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, not a recommendation to buy or sell any security or contract, and not a solicitation of any kind. It contains no strategy, no backtest, and makes no representation about past or future performance.
Trading stocks, options, and futures involves substantial risk of loss and is not suitable for every investor. Levels, scores, and alerts produced by this script describe market context; they do not predict outcomes. All trading decisions, position sizing, and risk management are your own responsibility. Test any tool thoroughly on a simulated account before risking capital.
---
Comments and suggestions are welcome. If you find a calculation that behaves unexpectedly on a particular instrument or session, please describe the symbol, timeframe, and settings so it can be reproduced. Indicator

Indicator

Indicator

Indicator

Indicator
