Indicator

Strategy

Indicator

EMA Stack Strategy (DCA or Single Entry, HTF Logic)This strategy implements a multi-moving-average (MA) stacking system combined with flexible execution modes, allowing traders to test both trend-following entries and position management techniques within a single framework.
Core concept
The strategy uses up to four configurable moving averages to define directional bias. A valid trend is identified when the averages are properly stacked (e.g., faster MAs above slower MAs for long trades). Entries can optionally require multiple confirmed closes in a valid stack, which helps reduce noise and avoid premature signals.
Higher timeframe logic and non-repainting behavior
The script supports running MA calculations on a higher timeframe while executing on a lower chart timeframe. Signals are only updated on confirmed higher timeframe closes using request.security() with lookahead disabled, which prevents repainting and ensures that historical results reflect confirmed data.
Dual trading modes
Two execution modes are available:
* DCA / Grid mode: builds a position through multiple entries as price moves against the initial trade. Spacing between entries can be based on fixed units, percentage, or ATR, and can expand progressively using a scaling factor.
* Single Entry mode: places one position per signal and manages it using a selectable exit system.
DCA system design
The DCA module is not a simple averaging tool. It includes:
* Configurable spacing using Units, Percent, or ATR
* Optional geometric spacing expansion (step scaling)
* Position sizing growth (volume scaling) or manual ladder sizing
* Maximum total capital cap to limit exposure
* Choice between anchoring to first entry price or average position price
This structure allows users to test different grid-style risk distributions rather than relying on fixed averaging.
Exit logic
Exit behavior differs by mode:
* DCA mode:
* Take profit is calculated from the average entry (breakeven) plus an offset
* Optional trailing stop activates after price moves in favor
* Optional “after last DCA” exit logic targets a move from the final entry instead of the average price
* Optional MA-based kill switch to close positions when trend structure breaks
* Single Entry mode:
* Multiple exit types including MA cross, ATR-based bracket, risk-reward bracket, percent-based bracket, and time stop
* Optional break-even adjustment
* Optional independent trailing stop
Risk and position management
The strategy includes controls to:
* Limit total capital deployed in DCA mode
* Adjust position sizing per entry
* Configure stop distances using ATR, percent, or structure
* Prevent new trades or DCA adds during specific time windows
These tools are intended to help simulate more realistic position management conditions rather than fixed, static strategies.
Visualization and usability
The script provides:
* Clear MA overlays for trend structure
* Optional plotting of average entry, take profit, and next DCA level
* Trade summary labels including P/L, number of entries, and drawdown in units
* Optional status table showing real-time strategy state
Notes on backtesting and usage
* Results depend heavily on parameter selection, market conditions, and timeframe
* DCA/grid strategies can increase exposure during adverse price movement and should be tested carefully
* Default settings use zero commission and slippage; users should adjust these to better reflect real trading conditions
* Past performance does not guarantee future results
This script is intended as a configurable framework for testing MA-based trend entries combined with different position management techniques, rather than a fixed or optimized trading system. Strategy

Indicator

EMA Trend Vol Desviacion TDCEste indicador combina tres capas de análisis en una sola herramienta visual: tendencia mediante EMA dinámica, confirmación por volumen y bandas de desviación estándar como canal de volatilidad. Está diseñado para operar en temporalidades cortas (1m, 5m, 15m), especialmente en futuros como el Nasdaq (NQ), aunque funciona en cualquier activo.
La idea central es simple: un cruce de la EMA solo es relevante si viene respaldado por volumen significativo. El indicador filtra automáticamente los cruces débiles y solo señaliza aquellos donde la vela cruza la EMA con su cuerpo completo (apertura de un lado, cierre del otro) y el volumen supera un umbral dinámico basado en la media de volumen reciente.
¿Qué muestra en el gráfico?
EMA Dinámica con color de tendencia
La media móvil exponencial cambia de color según la posición del precio: verde cuando el precio está por encima (tendencia alcista) y roja cuando está por debajo (tendencia bajista). El grosor facilita identificar la tendencia dominante de un vistazo.
Bandas de Desviación Estándar
Dos bandas envuelven la EMA a una distancia configurable medida en desviaciones estándar. Funcionan como un canal de volatilidad: cuando el precio toca o supera una banda, está en una zona de extensión. El área entre las bandas se rellena con color suave para delimitar visualmente la zona de equilibrio.
Etiquetas de Volumen en Cruces Válidos
Cuando una vela cruza la EMA con volumen fuerte, aparece una etiqueta verde (cruce alcista) o roja (cruce bajista) mostrando el volumen exacto de esa vela. Las etiquetas solo aparecen en cruces confirmados, no en cada toque de la media.
Filtro de Repetición
El indicador no repite señales consecutivas en la misma dirección. Si ya marcó un cruce alcista, no marcará otro alcista hasta que ocurra un cruce bajista (o un cruce sin volumen resetee el estado). Esto evita la acumulación de señales redundantes.
Panel de Presión de Volumen
Un cuadro en pantalla muestra el volumen acumulado neto de los últimos N días (configurable). Suma el volumen de los cruces alcistas y resta el de los bajistas. Si el número es positivo y verde, la presión compradora domina. Si es negativo y rojo, la presión vendedora domina. Es una lectura rápida del sesgo del mercado.
Parámetros Configurables
Periodo de la EMA (default: 50) — Longitud de la media móvil exponencial.
Fuente de la EMA (default: close) — Dato de precio para calcular la EMA.
Sensibilidad de Volumen (default: 1.1) — Multiplicador sobre la media de volumen. Un valor de 1.1 significa que la vela debe tener al menos 110% del volumen promedio para activar la señal. Subir este valor hace el filtro más estricto.
Media de Volumen (default: 20) — Periodo para calcular el volumen promedio de referencia.
Multiplicador Desviación (default: 2.0) — Cuántas desviaciones estándar se alejan las bandas de la EMA.
Periodo Desviación (default: 50) — Periodo para calcular la desviación estándar.
Días atrás para el Acumulado (default: 2) — Ventana de tiempo para el cálculo de presión de volumen neta.
Posición del Cuadro — Esquina donde se muestra el panel de presión.
Cómo Usarlo
Identificar tendencia: Si la EMA es verde y el precio está por encima, buscar operaciones largas. Si es roja y el precio está por debajo, buscar cortos.
Esperar la señal: No entrar en cualquier cruce. Esperar a que aparezca la etiqueta de volumen, que confirma que el cruce tiene participación real del mercado.
Leer las bandas: Si el precio cruza la EMA pero ya está cerca de la banda opuesta, el recorrido potencial es limitado. Las mejores entradas ocurren cuando el cruce sucede cerca de la EMA y hay espacio hasta la banda en la dirección del trade.
Consultar la presión: Antes de operar, mirar el panel de presión. Si vas a entrar largo pero la presión acumulada es fuertemente negativa, actúa con más cautela o espera confirmación adicional.
Para Qué Activos y Temporalidades
Optimizado para futuros del Nasdaq (NQ) en 15 minutos, pero adaptable a cualquier activo ajustando la sensibilidad de volumen según la liquidez del instrumento. Funciona en temporalidades de 1m a 1H. Para temporalidades mayores (4H, diario), considerar aumentar el periodo de la EMA.
Aviso
Este indicador es una herramienta de análisis técnico, no una señal automática de compra o venta. Siempre complementar con gestión de riesgo adecuada y análisis de contexto de mercado. Indicator

Indicator

Indicator

EMA 9/21 GoldenX Pro-TSL█ OVERVIEW
EMA GoldenX Pro-TS is a trend-following strategy built around the classic EMA crossover (Golden Cross / Death Cross), enhanced with multi-layer confirmation filters and dynamic risk management. It is designed for traders who want clean, rule-based entries while avoiding choppy, low-conviction signals.
█ HOW IT WORKS
ENTRY LOGIC
• A Long entry triggers when the Fast EMA crosses above the Slow EMA (Golden Cross), confirmed by rising volume OR rising price action, AND a trending market condition (ADX filter).
• A Short entry triggers when the Fast EMA crosses below the Slow EMA (Death Cross), confirmed by rising volume OR falling price action, AND a trending market condition.
POSITION FLIPPING
• When already in a position and the opposite EMA cross occurs, the strategy can instantly close and reverse (flip). The "Flip on EMA cross only" option lets you bypass the volume/ADX filters on reversal signals — useful for fast-moving markets where waiting for full confirmation may cause late entries.
STOP-LOSS MANAGEMENT
• A dynamic ATR-based trailing stop is calculated each bar.
• A hard percentage-based maximum stop loss acts as a safety net.
• The tighter of the two is always used, providing adaptive risk control that respects both volatility and absolute drawdown limits.
█ FEATURES
• Dual EMA Crossover — Configurable Fast (default 9) and Slow (default 21) EMA periods.
• ADX Trend Filter — Filters out entries during range-bound / low-momentum conditions (ADX threshold + DI spread).
• Volume Confirmation — Requires volume above its 5-bar SMA for fresh entries.
• Price Momentum Check — Validates price direction relative to a 5-bar SMA for additional confluence.
• ATR Trailing Stop — Volatility-adjusted stop that adapts to current market conditions.
• Max Stop Loss % — Hard cap on per-trade risk as a percentage of entry price.
• Trade Direction Control — Choose Long only, Short only, or Both.
• Instant Position Flip — Optionally reverses on EMA cross without waiting for all filters to align.
• Alert Conditions — Built-in alerts for Golden Cross (Long) and Death Cross (Short) signals.
█ SETTINGS
• Fast EMA (default: 9) — Period for the fast EMA line.
• Slow EMA (default: 21) — Period for the slow EMA line.
• Trade Direction (default: Both) — Restrict to Long, Short, or trade Both sides.
• ADX Length (default: 14) — Lookback period for the ADX/DMI calculation.
• ADX Threshold (default: 20) — Minimum ADX value to qualify as a trending market.
• ATR Length (default: 14) — Lookback period for the ATR calculation.
• ATR Multiplier (default: 2.0) — Distance of the ATR trailing stop from the current close.
• Max Stop Loss % (default: 1.0%) — Maximum allowable stop distance as a % of entry price.
• Flip on EMA Cross Only (default: true) — When enabled, position reversals only require the EMA cross, bypassing volume/ADX filters for faster flips.
█ VISUAL OUTPUTS
• Orange line — Fast EMA
• Blue line — Slow EMA
• Red line — Active trailing stop level (visible only while in a position)
█ USAGE NOTES
• Originally designed and tested on TFEX SET50 Index Futures but applicable to any liquid instrument.
• Best suited for trending markets on intraday to swing timeframes.
• Adjust EMA periods and ATR multiplier to match the volatility profile of your instrument.
• Backtest thoroughly on your target market before live deployment.
█ DISCLAIMER
This strategy is provided for educational and research purposes only. Past performance does not guarantee future results. Always manage your risk and trade responsibly. Strategy

Pro Volatilite-v61. Hidden Trend Algorithm (Background)
The heart of the code actually beats with a SuperTrend logic. However, it differs from ready-made indicators on the market in two major ways:
Manual Calculation: Instead of the ta.supertrend function, the bands are calculated manually using ATR (Average True Range). This preserves the originality of the code.
ALMA Smoothing: Classic trend lines create sharp, angular "ladder" steps in price changes. Here we used ALMA (Arnaud Legoux Moving Average). ALMA is one of the smoothest averages on the market and makes the trendline silky smooth. This prevents an outsider from realizing it's a SuperTrend.
2. Triple Dynamic Average Set
Three different moving averages run simultaneously on the chart. These are usually set to 20, 50, and 200 periods:
Flexibility: You can change these numbers as you wish from the settings menu (e.g., 9, 21, 100).
Mode Selection: You can change the type of all three lines (SMA, EMA, or VWMA) with a single setting.
Visual Hierarchy: The lines have different thicknesses. The longest-term (200) line is drawn thickest to highlight the main support/resistance level.
3. Fully Customizable Interface
The most user-friendly part of the code is the control panel added to PulseWire's "Settings" (gear) menu:
Color Control: You can choose the color tones you want for uptrends and downtrends.
Opacity: You can adjust how prominent the fill between the price and the trend line will be.
On/Off: If you think the screen is too cluttered, you can hide any of the 20-50-200 lines with a single click.
How it Works? (Strategic Use)
Trend Direction: If the main line, which is thick and sloping, is Turquoise (or your chosen color), the market is trending upwards; if it is Pink, it is trending downwards.
Signal Points: Small circles appearing just below or above the candles when the trend reverses indicate the start or end of a trend.
Support and Resistance: The 20, 50, and 200 lines show where the price will rest or rebound within the trend. For example, if the price touches the 50-period moving average (orange line) while above the main trend and receives a reaction, this can be considered a strong buying opportunity. Indicator

Indicator

Indicator

DDDDD: Liquidity Trap ReversalDDDDD: Liquidity Trap Reversal
This indicator is designed to detect potential reversal zones that form after an apparent liquidity sweep at local extremes.
The core idea is not to chase breakout candles blindly, but to identify situations where price extends into prior highs or lows, attracts participation, and then begins to show signs of exhaustion.
Instead of treating every breakout as continuation, this script looks for a specific reversal environment built from trend context, range expansion, abnormal volume, and momentum slowdown.
Core concept
Markets often move into obvious swing highs or swing lows to trigger stops, breakout entries, or forced positioning.
In some cases, that expansion is not the beginning of a clean trend leg, but the late phase of a move where liquidity is being taken before momentum weakens.
This script attempts to highlight those areas by combining:
a higher-level directional structure,
an extreme test versus recent price range,
a relative volume expansion filter,
a trend-strength condition,
and a momentum-fading condition.
The goal is to mark bars where the move into the extreme may be overextended and vulnerable to reversal.
Logic overview
The script evaluates five main components:
1) Macro directional bias
A Supertrend-derived direction is used as the main structural filter. This acts as the broader directional architecture around the trap event.
2) Extreme sweep detection
Price must reach beyond a recent local extreme:
for bearish trap logic, price pushes into the recent high range,
for bullish trap logic, price sweeps into the recent low range.
The lookback window for this sweep is controlled by the Extreme Lookback input.
3) Relative volume expansion
The script compares current volume against a moving average of volume and flags bars where volume expands beyond a user-defined multiplier.
This is used as a proxy for liquidation, stop-running, or abnormal participation.
4) Trend-strength filter
ADX must remain above a minimum threshold.
This helps avoid treating every small poke above or below a range as meaningful. The script is looking for sweeps that happen in a market with enough directional energy behind the move.
5) Momentum fade
MACD histogram behavior is used to detect whether momentum is no longer accelerating with the same strength.
This does not mean momentum has fully reversed already. It simply aims to capture early signs that the impulse may be losing efficiency.
Signal interpretation
A signal appears when the script finds a combination of:
directional structure,
sweep of a recent extreme,
elevated relative volume,
strong enough ADX,
and fading momentum.
A Bull Trap label marks a downside sweep that may be exhausting and becoming vulnerable to a reversal upward.
A Bear Trap label marks an upside sweep that may be exhausting and becoming vulnerable to a reversal downward.
These labels should be interpreted as context markers, not automatic trade commands.
Timeframe and architecture
The script supports a timeframe override, which allows the calculations to be performed on a selected timeframe instead of the chart timeframe.
This can be useful when the user wants a more stable structural read while viewing a lower timeframe chart.
The Macro EMA is included as an optional visual reference only.
It is not the trigger by itself, but can help users read whether the signal is appearing in a stretched or conflicting area relative to the chosen trend framework.
How to use
This indicator is generally more useful when treated as a reversal context tool rather than a standalone entry system.
Possible ways to use it:
identify sweep-and-fade zones after price attacks obvious highs or lows,
avoid late breakout chasing when a trap condition appears,
combine with market structure confirmation on a lower timeframe,
wait for reclaim / rejection / follow-through before acting,
use it as a filter alongside your own execution model.
Many users may find it more effective to wait for additional confirmation such as:
rejection wicks,
structure shift,
reclaim of prior level,
momentum turn on execution timeframe,
or a clear invalidation level.
Inputs
Macro EMA Length
Defines the EMA length for the optional macro trend reference line.
Supertrend Factor / Period
Controls the structural direction component.
Timeframe Override
Lets the user run calculations on a different timeframe than the current chart.
Extreme Lookback
Defines how far back the script looks to determine recent highs and lows.
Liquidation Vol Threshold
Sets the relative volume multiplier required to classify a bar as abnormal participation.
Min ADX
Minimum trend-strength threshold required before a trap can qualify.
Notes and limitations
This indicator does not predict every reversal, and it is not intended to label all stop-hunts perfectly.
Volume behavior, momentum behavior, and extreme sweeps can look different across markets and symbols.
Signals may behave differently depending on:
asset class,
session structure,
exchange volume quality,
and chosen timeframe.
For that reason, this script is best used as a decision-support tool within a broader trading framework, not as a guaranteed standalone system.
Practical reminder
A trap label does not automatically mean price must reverse immediately.
In strong trends, markets can continue to expand even after an apparent sweep.
Users should always define their own confirmation logic, invalidation rules, and risk management process. Indicator

Indicator

Indicator

Indicator

5 EMA Multi-Timeframe Dashboard (Trend, Momentum & Entry Signals5 EMA Dashboard is a multi-timeframe trend and confirmation tool built for traders who want a quick visual read on market structure, trend direction, momentum, and possible entry signals.
This script plots the 200, 55, 34, 21, and 8 EMAs directly on the chart and displays a dashboard table that tracks trend structure across multiple timeframes: 1D, 15M, 5M, 2M, and 10S. Trend logic is based on full EMA stacking with price included, so bullish structure is defined as Price > 8 > 21 > 55 > 200, while bearish structure is the reverse.
The table highlights the active chart timeframe in yellow and shows whether each timeframe is bullish, bearish, or mixed. In addition, the script includes a confirmation section using a user-selected timeframe to evaluate whether the stock is “in play” based on trend alignment, momentum, and a TTM-style linear regression filter. It also flags possible entry conditions when price crosses above or below the 8 EMA or VWAP.
This makes the script useful for traders who want:
multi-timeframe trend alignment
quick bullish vs bearish structure checks
confirmation that a stock is actively trending
simple visual cues for possible EMA 8 or VWAP entries
You can also use this shorter version for the public library summary:
Multi-timeframe EMA dashboard that shows bullish, bearish, or mixed structure across 1D, 15M, 5M, 2M, and 10S using price + EMA stacking. Includes trend confirmation, momentum/TTM-style filters, and possible EMA 8 or VWAP entry signals in a movable on-chart table.
And if you want, here is a more polished “How it works” section too:
How it works
This script defines bullish structure as price above the 8 EMA, with the 8 above the 21, the 21 above the 55, and the 55 above the 200. Bearish structure is the exact opposite. If those conditions are not fully aligned, the script labels the timeframe as mixed. The dashboard then combines that structure with confirmation-timeframe momentum and entry logic to help traders quickly judge whether a stock is trending cleanly and whether a possible setup is forming.
Short Description
Multi-timeframe EMA dashboard showing bullish, bearish, or mixed structure using price + EMA stacking. Includes trend confirmation, momentum filters, and EMA 8 / VWAP entry signals in a movable table.
Full Description
Overview
The 5 EMA Multi-Timeframe Dashboard is a structured trading tool designed to help you quickly identify trend direction, confirm momentum, and spot potential entry opportunities—all in one view.
This script combines price action, EMA stacking, and momentum confirmation into a clean dashboard format, allowing traders to assess whether a stock is trending cleanly or in a choppy, non-tradeable state.
Key Features
1. Multi-Timeframe Trend Dashboard
Tracks structure across:
1 Day
15 Minute
5 Minute
2 Minute
10 Second (if supported)
Automatically highlights your current chart timeframe in yellow
Displays:
Structure (EMA alignment)
Trend (Bull / Bear / Mixed)
2. EMA Structure Logic (Core Edge)
Trend is defined using full EMA stacking with price included:
Bullish Structure:
Price > 8 EMA > 21 EMA > 55 EMA > 200 EMA
Bearish Structure:
Price < 8 EMA < 21 EMA < 55 EMA < 200 EMA
Mixed:
Any misalignment → indicates chop or low-quality setup
3. “Stock In Play” Confirmation
Uses a selectable confirmation timeframe (default: 2-minute) to determine if a stock is actively trending.
A stock is considered “In Play” when:
EMA structure is aligned (bullish or bearish)
Momentum is moving in the same direction
TTM-style linear regression filter supports the move
This helps filter out low-quality trades and focus only on stocks with real momentum.
4. Momentum & TTM-Style Filter
Momentum (10-period) confirms directional strength
TTM-style linear regression acts as a trend acceleration filter
Displays:
POS (Positive)
NEG (Negative)
FLAT
5. Entry Signals (Simple & Actionable)
Identifies potential entries on the confirmation timeframe:
EMA 8 Cross
Bullish: price crosses above EMA 8
Bearish: price crosses below EMA 8
VWAP Cross
Bullish: price crosses above VWAP
Bearish: price crosses below VWAP
These are labeled clearly in the dashboard for quick decision-making.
6. Fully Customizable Dashboard
Move the table anywhere on the chart:
Top / Bottom / Left / Right / Center
Adjustable font size for visibility
Works across different trading styles (scalping → intraday → swing)
🧠 How to Use
Step 1: Check Structure
Look for alignment across multiple timeframes
Best setups occur when 2M, 5M, and 15M agree
Step 2: Confirm “In Play”
Only trade when:
Trend = Bull or Bear
“In Play” = Confirmed
Momentum + TTM align
Step 3: Wait for Entry
EMA 8 or VWAP cross signals provide timing
Avoid chasing extended moves
⚠️ Important Notes
Lower timeframes (especially 10-second) depend on your PulseWire data plan
Multi-timeframe values may slightly adjust in real-time due to how data is aggregated
Best used with confirmed setups—not as a standalone signal generator
🚀 Best For
Intraday traders
Scalpers
Momentum traders
Anyone using EMA-based strategies
⚠️ Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always perform your own analysis and risk management. Indicator

AG Pro HTF Bias Dashboard [AGPro Series]AG Pro HTF Bias Dashboard
Overview / What it does
AG Pro HTF Bias Dashboard is a higher-timeframe context tool built for traders who want a fast, structured view of directional conditions across multiple larger timeframes without crowding the chart with extra signals, zones, or decision noise.
The script summarizes higher-timeframe bias in a compact dashboard and presents each selected row as Bull, Bear, or Neutral, together with a mode-specific status readout. The goal is not to predict the next candle or replace a full trade plan. The goal is to make larger-timeframe context easier to read at a glance.
This indicator is designed to answer a simple but important workflow question: "What is the broader directional environment across the higher timeframes I care about right now?" Instead of forcing the user to manually flip through multiple charts and compare structure or trend conditions one by one, the dashboard keeps that information visible in a single panel.
The script supports multiple bias engines so the same dashboard can be adapted to different styles of chart reading. Users can evaluate higher-timeframe context through EMA Stack alignment, confirmed Swing Structure, SuperTrend direction, or MACD Momentum agreement. This makes the tool flexible enough for trend-following traders, structure-based traders, and users who prefer momentum-style confirmation.
Unlike many overlays that try to combine entries, exits, alerts, pattern detection, and signal generation inside one study, this script stays focused on one task: higher-timeframe directional context. That single-purpose design is intentional. It keeps the output clean, readable, and easier to integrate into an existing process.
Unique Edge
The main strength of this script is not signal generation. Its edge is structured context compression.
Instead of plotting a large number of higher-timeframe elements directly on the chart, AG Pro HTF Bias Dashboard converts higher-timeframe conditions into a compact visual matrix. This makes it possible to assess multi-timeframe agreement quickly while keeping the chart itself relatively clean.
A second differentiator is the ability to switch the bias engine. The dashboard is not locked to one interpretation framework. Users can work with:
- EMA Stack, for ribbon-style alignment
- Swing Structure, for confirmed HH/HL and LH/LL progression
- SuperTrend, for ATR-based directional trend state
- MACD Momentum, for momentum agreement between line, signal, and histogram
Another important detail is the higher-timeframe validity filter. Rows that are not actually higher than the current chart timeframe are marked as Lower/EQ instead of being treated as valid higher-timeframe context. This helps keep the dashboard aligned with its intended purpose.
The script also includes confluence logic, so the user can see not only the state of each row, but also the dominant higher-timeframe bias and how many valid rows support that direction. In practice, this helps users distinguish between broad directional agreement and mixed conditions.
Methodology
The dashboard can display three to five higher-timeframe rows, depending on user settings. Each row evaluates one selected timeframe and classifies it into Bull, Bear, or Neutral.
Bias Mode options:
1) EMA Stack
This mode evaluates directional alignment using a three-EMA structure. A bullish state requires price and the EMA ribbon to be aligned in bullish order. A bearish state requires the opposite alignment. When the full sequence is not aligned, the row can remain neutral and display a partial status such as 2/3 or 1/3 rather than forcing a directional label.
2) Swing Structure
This mode uses confirmed pivot logic to read higher-timeframe structure. It looks for confirmed higher highs / higher lows or lower highs / lower lows, and then evaluates position relative to the active swing range. Because this logic depends on confirmed pivots, structure changes are naturally more selective and may appear later than faster trend models.
3) SuperTrend
This mode reads directional state using an ATR-based trend framework. It is intended for users who prefer a cleaner directional state model rather than ribbon alignment.
4) MACD Momentum
This mode classifies bias through agreement between the MACD line, signal line, and histogram. It is useful for traders who prefer momentum confirmation over structure or moving-average ordering.
The dashboard then calculates:
- the number of valid bullish rows
- the number of valid bearish rows
- the dominant higher-timeframe state
- the confluence count across valid rows
Optional chart context features are also included. Depending on settings, the script can color candles according to the active chart bias, plot the active EMA ribbon or SuperTrend on the chart, apply a subtle background tint when confluence is strong enough, and show a compact mini context tag on the chart.
States / Context Output
This indicator is a context dashboard, not an alert engine.
It does not generate buy or sell alerts, does not mark trade entries, and does not claim to identify optimal execution points. Its outputs are state-based and contextual:
- Bull
- Bear
- Neutral
- Confluence summary
- Mode-specific status text
The mini chart tag, when enabled, is only a compact summary of dominant higher-timeframe direction and current confluence. It should be read as context, not as a trade instruction.
Key Inputs
Higher Timeframes
Users can select three to five rows and define the exact higher timeframes to monitor.
Bias Mode
Choose between EMA Stack, Swing Structure, SuperTrend, and MACD Momentum.
Engine Parameters
The script exposes relevant inputs for each engine, including EMA lengths, Swing Strength, SuperTrend ATR settings, and MACD settings.
HUD Controls
The panel position and panel scale can be customized so the dashboard can fit different layouts and chart styles.
Style Controls
Users can adjust theme and directional colors for bullish, bearish, and neutral states.
Chart Context Controls
Optional features include candle coloring, active indicator plotting for EMA / SuperTrend, strong-confluence background tinting, mini context tag visibility, tag anchor, tag offset, and tag font size.
Limitations & Transparency
This script is not a prediction model. It summarizes directional context from user-selected higher-timeframe logic.
Higher-timeframe tools can update only when data from those larger intervals updates. Because of that, the dashboard should be understood as a context layer rather than a real-time trigger engine.
Swing Structure mode uses confirmed pivots. That means structure changes may appear later than faster directional methods, because confirmation requires completed pivot information.
Neutral states do not necessarily mean the market is untradeable. They simply indicate that the selected bias engine does not currently show clear directional alignment under the chosen rules.
The confluence count is a summary statistic, not a quality score. A larger number of aligned rows does not automatically mean a better trade. It only means more selected higher-timeframe rows currently point in the same direction.
Rows marked Lower/EQ are excluded from valid higher-timeframe confluence because they are not above the active chart timeframe.
This script is intended to support discretionary analysis and chart organization. It should be combined with the user’s own execution framework, risk model, and market understanding.
Risk Disclosure
This indicator is provided for analysis and educational use. It does not provide financial advice, investment advice, or guaranteed outcomes.
Market conditions can change quickly, and no single indicator or dashboard can remove uncertainty from trading or investing. Users should evaluate higher-timeframe context together with price action, liquidity, volatility, risk management, and their own decision process.
Past behavior, historical alignment, or current confluence does not guarantee future performance.
Indicator

Indicator

Indicator

Indicator

AG Pro Trend Continuation Quality [AGPro Series]AG Pro Trend Continuation Quality
Overview / What it does
AG Pro Trend Continuation Quality is an overlay built to evaluate whether a pullback is behaving like a healthy retracement inside an active trend, or whether the move is losing structural quality before continuation can develop.
Instead of treating every dip in an uptrend or every pop in a downtrend as equally important, the script isolates pullback sequences and scores them through a continuation-quality framework. The goal is not to predict every next candle. The goal is to help traders judge whether the market is showing disciplined retracement behavior that often precedes trend continuation.
The model combines trend alignment, pullback depth, pullback duration, relative volume behavior during the retracement, and the strength of the bounce candle that attempts to resume the trend. These conditions are translated into a compact quality score so the user can quickly separate cleaner continuation structures from weaker ones.
On the chart, the script highlights pullback zones, tracks the retracement box, displays a continuation-quality label, and maintains an information panel that summarizes trend state, recent quality readings, best quality, average quality, and internal distribution data. The result is a workflow-oriented continuation map rather than a simple trend-following overlay.
Unique Edge
The distinctive part of this script is that it does not label trend continuation from trend direction alone. A bullish EMA stack or bearish EMA stack is not enough by itself. The script specifically evaluates the quality of the retracement before the continuation attempt is scored.
That makes it meaningfully different from basic EMA trend tools, pullback highlighters, or single-condition continuation signals. Many tools can say that price is above or below an average. Fewer tools attempt to measure whether the internal anatomy of the pullback remains constructive for continuation.
The scoring engine focuses on five practical questions:
1. Is the broader trend aligned?
2. Is the pullback still structurally controlled rather than excessively deep?
3. Did the retracement last a reasonable number of bars?
4. Did volume contract during the pullback instead of expanding aggressively against trend?
5. Did the bounce show enough intent to suggest renewed directional participation?
This creates a cleaner framework for evaluating continuation setups in a way that is visual, systematic, and easier to compare across multiple pullbacks on the same chart.
Methodology
The script first determines directional context using EMA alignment and, when needed, swing-structure logic. This creates a working trend state that frames whether the script should be looking for bullish or bearish pullback behavior.
Once a directional leg is active, the script begins tracking a pullback when price retraces against that trend. During the retracement, it measures:
- how far the pullback travels relative to the prior trend leg,
- how many bars the pullback lasts,
- how pullback volume compares with the prior expansion leg,
- and whether the bounce candle shows convincing re-engagement.
These components are translated into a 0 to 10 quality score. Higher scores represent more orderly and structurally coherent pullbacks. Lower scores represent weaker or more suspect retracements.
The visual output is designed to make those evaluations easier to read in real time:
- pullback boxes frame the retracement zone,
- optional fib-depth line shows the deepest retracement point tracked inside the pullback,
- labels display score, quality grade, depth, duration, and relative volume,
- panel metrics summarize the current continuation environment.
Signals & Alerts
The script is designed as a quality-mapping tool, not as an automatic trade system.
Its event logic revolves around the completion of a pullback and the appearance of a bounce candle that attempts to resume the trend. When that bounce qualifies, the script calculates the final continuation-quality score and can display the setup if it meets the user-defined minimum score threshold.
Available workflow signals include:
- active bullish or bearish trend state,
- pullback in progress,
- completed pullback with scored continuation attempt,
- high-quality continuation events when the score reaches stronger thresholds.
Optional alerts can be used for:
- high-quality continuation conditions,
- or any scored pullback event, depending on user preference.
Because alerts are tied to the script’s scoring and confirmation logic, they are intended to support chart review and decision-making rather than act as guaranteed execution instructions.
Key Inputs
EMA Fast Length / EMA Mid Length / EMA Slow Length
These define the trend stack used to frame directional bias.
Swing Pivot Length
Controls the swing-structure sensitivity used in secondary trend detection.
Max Pullback Depth (%)
Defines how strict the script is when assessing whether a retracement remains healthy relative to the prior trend leg.
Min Pullback Bars / Max Pullback Bars
Controls the acceptable pullback duration window.
Volume Decline Ratio
Helps determine whether the retracement is occurring on lighter activity relative to the prior directional leg.
Minimum Score to Display
Filters weaker continuation events from the chart.
Label Size / Label Offset / Reduce Label Overlap
Lets the user adapt chart readability to their own zoom level and instrument volatility.
Panel Position / Panel Font Size / Panel Theme
Allows the continuation dashboard to be integrated into different chart layouts without dominating screen space.
Limitations & Transparency
This script does not know future market intent. It evaluates observable price and volume behavior after conditions form on the chart.
A high score does not guarantee continuation. It only indicates that the completed pullback meets the script’s internal definition of stronger continuation quality relative to other pullbacks.
The model is also sensitive to market regime. Trend continuation behavior tends to be clearer in directional markets and less reliable in highly compressed, erratic, or news-driven conditions.
Volume behavior can vary across instruments and data feeds. On some assets, especially where volume data is synthetic, limited, or structurally uneven, the volume component should be interpreted with caution.
Like other structure-based tools, this script can produce different practical usefulness depending on timeframe, instrument, volatility regime, and chart cleanliness. Users should calibrate inputs based on the market they are studying rather than treating defaults as universal settings.
This script should not be viewed as:
- a prediction engine,
- a standalone trade system,
- a replacement for risk management,
- or a guarantee that a bounce will develop into a full continuation leg.
Risk Disclosure
This script is for chart analysis and educational use. It is designed to help users study pullback quality inside established trends, not to provide financial, investment, or trading advice.
All trading and investing involve risk. Market conditions can change quickly, and even high-quality continuation structures can fail. Users should apply their own confirmation process, position sizing rules, and risk controls before acting on any market observation.
Use the script as a structured continuation framework, not as certainty.
Indicator

Strategy
