Indicator

Indicator

MACD Divergence Suite [invincible3]MACD Divergence Suite
Overview
MACD Divergence Suite is an advanced MACD-based momentum and trend indicator designed to provide a clearer view of market direction, momentum strength, divergence, and multi-timeframe confirmation.
This indicator expands the traditional MACD by adding configurable moving average types, normalized MACD values, gradient cloud visualization, SMA-based candle coloring, divergence labels, signal arrows, and a compact multi-timeframe dashboard.
Configurable MACD Calculation
The indicator allows full customization of the MACD calculation. Users can choose the price source and select different moving average types for the fast line, slow line, and signal line.
Supported moving average types include:
• EMA
• SMA
• DEMA
• TEMA
• WMA
• VWMA
• HMA
• RMA
This makes the indicator flexible for different trading styles, assets, and timeframes.
Normalized MACD
The MACD values are normalized to a fixed scale, making momentum easier to compare across different markets and timeframes. This helps reduce the visual inconsistency that can happen when using raw MACD values on assets with very different price ranges.
Gradient MACD Cloud
A layered gradient cloud is plotted between the MACD line and the signal line. The cloud changes color based on bullish or bearish momentum and becomes visually stronger when the MACD spread increases.
This helps traders quickly identify momentum expansion, compression, and possible trend shifts.
Trend-Colored MACD Line
The main MACD line uses trend-sensitive coloring based on the selected bullish and bearish colors. Strong bullish movement appears with stronger bullish color, while strong bearish movement appears with stronger bearish color.
The signal line remains gray to keep the chart clean and easy to read.
Oscillator Bars
The oscillator bars show normalized MACD histogram strength. Bar colors use a gradient effect based on momentum strength, helping traders visually detect increasing or weakening momentum.
SMA Candle Coloring
The indicator includes SMA-based candle coloring on the main chart. Candles are colored bullish when price is above the selected SMA and bearish when price is below the selected SMA.
This provides quick trend confirmation directly on the price chart.
Divergence Detection
The indicator detects bullish and bearish divergence using the normalized MACD oscillator. Divergence lines and labels can appear on both the MACD pane and the price chart.
Bullish divergence highlights possible upside reversal areas, while bearish divergence highlights possible downside reversal areas.
Signal Arrows
MACD crossover signals are shown with arrows. The signals can be filtered using normalized MACD levels, helping reduce weak signals in neutral zones.
Arrow distance can also be adjusted so chart signals appear cleaner and do not overlap candles.
Multi-Timeframe Dashboard
A compact multi-timeframe dashboard summarizes market conditions across multiple timeframes.
The dashboard includes:
• Normalized MACD value
• MACD signal direction
• Histogram state
• Recent divergence status
• SMA-based trend condition
The trend row shows whether price is above or below the selected SMA, giving a simple Bull/Bear trend filter across timeframes.
Key Features
• Configurable MACD moving average types
• Adjustable fast, slow, and signal lengths
• Selectable price source
• Normalized MACD scale
• Gradient MACD cloud
• Trend-colored MACD line
• Gray signal line for cleaner visibility
• Strength-based oscillator bars
• SMA-based candle coloring
• Bullish and bearish divergence detection
• Divergence labels on MACD pane and price chart
• Multi-timeframe dashboard
• Optional normalized MACD signal filtering
• Adjustable signal arrow distance
• Custom bullish and bearish color presets
How to Use
Use the MACD line, signal line, and cloud to read momentum direction. A bullish cloud suggests positive momentum, while a bearish cloud suggests negative momentum.
Use the oscillator bars to confirm whether momentum is increasing or weakening.
Use divergence labels to identify potential reversal areas.
Use the SMA candle coloring and dashboard trend row as a trend filter. Bullish signals are generally stronger when price is above the SMA, while bearish signals are generally stronger when price is below the SMA.
Best Used For
This indicator is useful for:
• Trend-following analysis
• Momentum confirmation
• Multi-timeframe market structure
• Divergence-based reversal spotting
• Signal filtering
• Visual MACD analysis
Disclaimer
This indicator is intended for technical analysis and educational use only. It should not be used as financial advice. Always combine signals with proper risk management and additional market analysis.
Indicator

Percentage-Level(+%/-%)[LionTrader_]Percentage-Level (+%/-%) by LionTrader_
is a highly efficient and clean technical indicator designed to automatically plot dynamic price levels based on custom percentage offsets. It provides traders with a direct visual representation of percentage-based expansions, making it easier than ever to see exactly when price action reaches or breaks through key structural thresholds.
A major advantage of this tool is its multi-tiered structure, allowing you to track up to three independent levels simultaneously . This flexibility is perfect for identifying multiple price targets, managing scaling strategies, or monitoring different layers of support and resistance.
The indicator features separate long and short controls, giving you the freedom to customize the exact percentage distance, the base price source, and the validation criteria for both the upside and the downside independently.
To keep your charts clean and readable, it utilizes smart visual feedback. The plotted levels remain thin and semi-transparent in the background during normal price action, but they instantly turn thick and brightly colored once your chosen invalidation source, such as the candle high or low, breaches the level.
Additionally, the script ensures excellent chart organization by using clean step-lines and optional cross markers that highlight the exact execution points where a level was triggered. This makes it an incredibly reliable, no-nonsense tool for anyone who bases their trading decisions on fixed percentage movements or requires clear, automated invalidation levels on their charts.
I hope you like it
your LionTrader_🦁 Indicator

Multi Trend FilterOverview
Multi Trend Filter shows the market's underlying trend with a single, clean line. It uses the Daily timeframe as the base, then layers 4H and 30m confirmation on top, coloring the trend in three intuitive states: green / yellow / red. No matter which chart timeframe you view it on (15m, 1h, 4h, etc.), it stays consistent on the Daily basis, and a two-pass smoothing keeps the line smooth on any chart.
WHAT THE COLORS MEAN
Green (UPTREND): Uptrend confirmed.
Yellow (TRANSITION): Trend is shifting — awaiting confirmation.
Red (DOWNTREND): Downtrend confirmed.
HOW IT WORKS — 3-STAGE MULTI-TIMEFRAME CONFIRMATION
Set the broad direction with higher timeframes first, then confirm the entry with the lower timeframe last.
Daily (Base / Reference line) — the line drawn on the chart; the anchor of the larger trend.
4H (Primary confirmation) — when both the close and the 4H flow align above/below the Daily line, the base direction is set.
30m (Final confirmation) — in that base direction, once the candle body closes across the 30m line, the color is finalized:
Close closes ABOVE the 30m line → Green
Close closes BELOW the 30m line → Red
Yellow (Transition) is the period before both stages confirm — the 4H hasn't committed yet, or it has but the close hasn't cleared the 30m line. Once green/red is confirmed, the color ignores minor noise while the base holds (latch), so it won't flicker.
HOW TO READ IT
Green: uptrend intact. Look for pullback entries.
Red: downtrend intact. Look for bounce exits / stay aside.
Yellow: direction unclear; safer to wait until it confirms green/red.
Yellow to Green = bullish shift. Yellow to Red = bearish shift.
KEY SETTINGS
Trend Line — First / Second Smoothing Length: line smoothness and responsiveness.
Display Smoothing — Smooth Line, Smooth Strength: keeps the line smooth on any timeframe (higher = smoother, slightly more lag).
Confirmation Lines — Show 30m Line (Signal) / Show 4H Line (Base): reveal the lines used for confirmation.
Style — up/down/transition colors, line width, fill and transparency, trend label.
TIPS
Use it as a trend direction and shift filter, not a standalone trade signal.
Reliability increases when the trend color agrees with your own setup (support/resistance, volume, etc.).
If the line looks choppy, raise Smooth Strength.
DISCLAIMER
This indicator is a reference tool to help judge trend direction. It does not guarantee trading profits. All trading decisions and responsibility rest solely with the user. Indicator

Liquidity Reclaim Planner [AGPro Series]Liquidity Reclaim Planner
🧠 Core Idea
After a liquidity event, is the reclaim strong enough to matter, or is the move still fragile?
📌 Overview / What it does
Liquidity Reclaim Planner is a chart-first liquidity planning tool designed to evaluate what happens after price sweeps a recent swing liquidity reference.
Instead of treating every liquidity sweep as a finished signal, the script starts a structured reclaim workflow. It maps the liquidity event, the reclaim pocket, the failure line, the target-room corridor, a 0-100 reclaim score, failure risk, and a clear next-action state.
The script does not predict price direction, automate execution, or claim that a reclaim will continue. It organizes post-event liquidity context so traders can review whether the reclaim has enough quality, timing, participation, and room to deserve attention.
🎯 Purpose & Design Philosophy
This script was built for traders who want more than another sweep marker.
Many liquidity tools identify where a stop run, wick raid, or sweep happened. That is useful, but the harder question comes after the event: did price reclaim the level cleanly, is the failure point clear, and is there enough structure room for the idea to remain practical?
Liquidity Reclaim Planner supports a decision-engine mindset. It helps users move from raw event detection toward structured review: event, reclaim, failure risk, target room, and next action.
⚡ Why This Script Is Different
Most tools focus on detecting liquidity sweeps, equal highs, equal lows, or stop-hunt style wick events.
This script does NOT try to become a broad liquidity sweep scanner, an EQH/EQL engine, an order block map, a structural breakout reclaim planner, or a generic support/resistance zone tool.
Instead, it focuses on the post-event reclaim decision. It asks whether the sweep was reclaimed with enough depth balance, close strength, timing, volume response, and structural room to become a useful planning context.
⚙️ Methodology
1. Context Detection
The engine tracks confirmed swing highs and swing lows as active buy-side and sell-side liquidity references.
2. Reference Mapping
When price moves through a fresh liquidity reference by an ATR-normalized amount, the script registers a liquidity event and starts a reclaim plan.
3. Reaction Evaluation
The reclaim score evaluates sweep depth, reclaim close strength, time to reclaim, relative volume response, and room to the next structure reference.
4. Visual Output
The script draws the reclaim pocket, failure line, target-room corridor, event labels, sparse context labels, and the AG Pro decision panel.
🗺️ How to Read the Chart
Zones = the reclaim pocket between the swept liquidity level and the event extreme, plus an optional target-room corridor toward the next structural reference.
Labels = liquidity event, reclaim ready, room thin, failure line, and sparse context states.
Colors = bullish reclaim planning uses AGPro teal, bearish reclaim planning uses AGPro pink, neutral review uses gold, and risk/failure context uses red.
Panel = the panel shows Liquidity Event, Reclaim Score, Failure Risk, Room, and Action.
🚦 Signals & States
• Sell-side Event → price swept a recent swing low and a bullish reclaim plan is being evaluated.
• Buy-side Event → price swept a recent swing high and a bearish reclaim plan is being evaluated.
• Reclaim Watch → price has not yet reclaimed strongly enough, but context is active.
• Planner Ready → reclaim score and target room are strong enough for structured review.
• Risk Review → reclaim exists, but the quality profile is not yet clean.
• Room Thin → reclaim exists, but the next structural room is limited.
• Failure Hit → price crossed the active failure line and the reclaim plan needs reassessment.
🔔 Alerts Logic
Alerts trigger when a sell-side or buy-side liquidity event appears, when a reclaim becomes ready, when the planner reaches Planner Ready state, when target room becomes thin, or when the failure line is crossed.
Alerts are attention markers. They are not trade instructions, entry commands, or automated strategy signals.
🧩 Confluence Logic
The strongest context usually appears when sweep depth is balanced, reclaim happens quickly, the reclaim close is decisive, relative volume supports the reaction, and the target-room corridor is not compressed.
When these elements align, the reclaim score improves and the panel action becomes more useful for structured review.
📊 When to Use
• Liquidity-driven markets where swing highs and swing lows are actively swept.
• Intraday or swing charts where reclaim behavior after stop runs matters.
• 4H charts when the trader wants a balanced view between visible liquidity events and readable planning zones.
• Post-sweep review workflows.
• Situations where the trader needs a clear failure line and room assessment.
⚠️ When NOT to Use
• Extremely low-liquidity symbols where swing references are unreliable.
• Highly chaotic news candles where reclaim behavior is distorted by abnormal volatility.
• Very compressed chop where every small swing becomes noise.
• Markets where volume data is missing or not meaningful, unless volume weighting is interpreted carefully.
🎛️ Key Inputs
• Liquidity Pivot Strength → controls how swing liquidity references are confirmed.
• Max Liquidity Level Age → controls how long a swing reference remains eligible.
• Sensitivity → adjusts how selective liquidity event and reclaim thresholds are.
• Timely Reclaim Window → defines how many bars after the event can still count as timely reclaim.
• Planner Ready Score → controls the 0-100 score threshold for the main ready state.
• Minimum Target Room ATR → controls how much structure room is required before room is considered acceptable.
• Visual settings → control reclaim pockets, failure lines, target-room corridors, labels, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built around a clean AG Pro panel and compact chart visuals.
The first panel row is a merged blue AGPro header. The remaining rows show the active liquidity event, reclaim score, failure risk, target room, and next action.
The chart uses a limited number of zones and labels so the active plan is visible without turning the chart into a crowded liquidity map.
🧪 Practical Usage Workflow
1. Read the panel to identify whether a liquidity event is active.
2. Check the reclaim pocket to understand the swept level and event extreme.
3. Review the reclaim score and failure risk.
4. Check the target-room corridor before assigning importance to the reclaim.
5. Use the Action row to decide whether the context deserves review, waiting, or rejection.
🔍 Interpretation Guidelines
Think in terms of quality, not certainty.
A reclaim with a high score, clean timing, strong close, and enough room is more useful than a late reclaim into nearby structure.
A low score does not mean price cannot move. It means the script's reclaim-planning conditions are not well aligned.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not a complete liquidity or smart-money framework.
• Not an order block, FVG, or generic support/resistance map.
⚠️ Limitations & Transparency
Swing references are confirmed after the selected pivot strength, so the script uses confirmed structure rather than instantly known future pivots.
Different timeframes, symbols, volatility regimes, and liquidity conditions can change how reclaim behavior appears.
Relative volume can add context, but volume response does not guarantee continuation or reversal.
Target-room corridors are structural planning references, not forecasts.
🧠 Market Context Notes
Liquidity events often matter most when they occur around visible swing references that many traders can identify.
The reclaim phase is where the decision quality changes. A fast reclaim can show rejection, while a slow or weak reclaim can indicate fragile context.
The failure line exists so the user can see where the active reclaim idea becomes structurally weaker according to the script's own rules.
🧾 Use Case Examples
When price sweeps a recent swing low, quickly closes back above the level, and the target-room corridor is open, the planner may shift from Reclaim Watch to Planner Ready.
When price reclaims late or reclaims directly into nearby structure, the panel may show Risk Review or Room Thin.
When price crosses the active failure line after reclaim, the script marks Failure Hit so the context can be reassessed.
🧱 System Philosophy
Liquidity Reclaim Planner follows the AGPro Series approach: clear structure, rule-based scoring, readable visuals, and decision support without outcome promises.
The script is designed to help traders review the quality of a setup context, not to replace judgment or risk planning.
🔐 Non-Promise Statement
No script can provide certainty.
No reclaim score guarantees continuation, reversal, or profit.
The output should be interpreted as structured analytical context.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, risk controls, and market interpretation.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use this tool to study how liquidity events evolve after the sweep: whether price reclaims, where the failure line sits, how much room remains, and whether the context is strong enough to deserve further review.
Indicator

Opening Drive Quality [AGPro Series]Opening Drive Quality
🧠 Core Idea
Is the first directional drive of the session strong enough to plan around, or is it already losing execution quality?
📌 Overview / What it does
Opening Drive Quality is a session execution planner that evaluates the first directional drive after the market opens. It studies the opening drive channel, early follow-through, pullback acceptance, risk-line integrity, and target-room structure in one clean decision framework.
The script produces a 0-100 quality score, a clear next-action state, an opening drive channel, a pullback acceptance zone, an invalidation risk line, target guide, compact chart labels, alerts, and a premium AGPro panel.
It does not predict price direction, automate trades, or mark every opening range breakout. Its purpose is to help traders evaluate whether the early session drive has enough structure, acceptance, and risk clarity to deserve attention.
🎯 Purpose & Design Philosophy
The script was built for traders who need more than an opening range box or a simple breakout marker. The first session move often sets the tone, but the useful question is not only whether price moved. The useful question is whether that move produced clean follow-through, controllable risk, and a meaningful pullback area.
Opening Drive Quality fills that gap by turning the opening move into a structured planning map. It supports traders who study session execution, intraday momentum, and pullback planning without relying on generic signals.
The design philosophy is simple: evaluate the quality of the first drive, define the risk line, project the pullback acceptance zone, and make the next state readable at a glance.
⚡ Why This Script Is Different
Most tools focus on opening range breakouts, session boxes, fixed kill zones, or failed-break signals.
This script does NOT try to clone a generic ORB tool, a kill-zone session engine, or an opening range failure map.
Instead, it focuses on the quality of the first directional drive itself. It asks whether the drive has real thrust, whether follow-through appears after the drive locks, whether price accepts a pullback zone, where the risk line sits, and what the next planning state should be.
⚙️ Methodology
1. Context Detection
The script builds the opening drive from either a fixed session window or the first bars of a new day. This keeps the tool useful across regular-market assets and 24/7 markets.
2. Reference Mapping
After the drive locks, the script maps the opening drive channel, pullback acceptance zone, invalidation risk line, and target-room guide. These references come from the opening drive structure, not from generic support and resistance pivots.
3. Reaction Evaluation
The engine scores drive thrust, close location, range expansion, optional relative volume, follow-through distance, pullback behavior, and risk-line integrity.
4. Visual Output
The chart shows the active drive channel, projected pullback zone, risk line, target guide, state labels, and a compact panel with the key planning reads.
🗺️ How to Read the Chart
Opening Drive Channel = the locked first directional drive of the session.
Pullback Acceptance Zone = the area where a controlled pullback can be evaluated after a valid drive.
Risk Line = the invalidation line derived from the drive base, pullback zone, and ATR buffer.
Target Guide = a projected target-room reference based on the opening drive range.
Labels = compact markers for drive lock, follow-through, pullback acceptance, weak drive, risk break, and target check.
Colors = teal for bullish drive context, pink for bearish drive context, amber for review states, and indigo for structural emphasis.
Panel = the decision layer showing Drive Side, Follow-Through, Pullback Quality, Risk Line, and Action.
🚦 Signals & States
• DRIVE Q → the opening drive has locked and received a 0-100 quality score.
• FOLLOW Q → the drive has produced directional follow-through after locking.
• PULLBACK ACCEPTED → price is reacting constructively inside the projected pullback acceptance zone.
• WEAK DRIVE → follow-through has not developed inside the review window.
• RISK BROKEN → the active drive has violated its invalidation line.
• TARGET CHECK → price has reached the projected target-room guide.
🔔 Alerts Logic
The script includes alerts for:
• Opening Drive Quality Locked → a qualified opening drive has completed.
• Drive Follow-Through → directional extension appears after the drive locks.
• Pullback Accepted → price reacts inside the projected pullback acceptance zone.
• Risk Line Broken → price violates the active drive risk line.
• Target Guide Reached → price reaches the projected target-room guide.
Alerts are attention markers. They are not trade instructions.
🧩 Confluence Logic
The context becomes stronger when opening drive thrust, close location, session volatility, relative volume, follow-through, and pullback acceptance align.
The context becomes weaker when the opening drive locks with poor thrust, cannot extend, pulls back too deeply, or breaks the risk line.
📊 When to Use
• Intraday session planning.
• Opening-drive analysis after the first market push.
• Markets where the opening session often defines early direction.
• Pullback planning after a strong first drive.
• Session review where risk line and target-room context matter.
⚠️ When NOT to Use
• Very low-liquidity markets.
• Extremely noisy opens with unstable spreads.
• News-driven bars where the first drive is unusually distorted.
• Assets where the selected opening session is not meaningful.
• Higher timeframes where the opening drive window has no practical session context.
🎛️ Key Inputs
• Opening Drive Mode → chooses first bars of day or a fixed session window. First Bars Of Day is the default so the chart loads with visible drive structure across more symbols.
• Opening Drive Session → defines the drive-building window.
• Tracking Session → defines when follow-through and pullback logic remains active.
• Minimum Quality Threshold → controls when stronger planning labels appear.
• Follow-Through ATR → defines the extension needed for follow-through confirmation.
• Pullback Acceptance Depth → controls the projected pullback zone depth.
• Risk Line Buffer ATR → adjusts the invalidation line beyond the drive structure.
• Target Guide Multiple → controls the projected target-room guide.
• Panel / Label Settings → control panel location, theme, font size, label size, visible label count, minimum label quality, label cooldown, and optional compact plot markers.
🖥️ Interface & Visual Design
The interface is built around a clean AGPro panel and chart-first planning visuals. The panel uses a single merged blue header row with only the script name, then five practical rows: Drive Side, Follow-Through, Pullback Quality, Risk Line, and Action.
The chart uses one opening drive channel, one pullback acceptance zone, one risk line, one target guide, and compact labels. The goal is a premium session-planning view without clutter.
🧪 Practical Usage Workflow
1. Read the panel after the opening drive locks.
2. Check whether the drive side and score show a valid planning context.
3. Watch follow-through quality after the drive locks.
4. Evaluate whether price pulls back into the acceptance zone constructively.
5. Use the risk line and target guide as planning references, not automatic decisions.
🔍 Interpretation Guidelines
A strong score means the opening drive has better structure, cleaner close location, stronger volatility context, and better follow-through support.
A pullback acceptance label means price is reacting inside the projected drive-based zone. It does not mean price must continue.
A risk-line break means the original drive plan has lost structural integrity and should be reassessed.
The most useful interpretation comes from combining the panel state with broader market context, liquidity, and timeframe alignment.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not an auto-trading system.
• Not guaranteed signals.
• Not a generic support and resistance mapper.
• Not a clone of an ORB breakout tool.
• Not a kill-zone timing dashboard.
• Not an opening range failure scanner.
⚠️ Limitations & Transparency
Timeframe selection affects the opening drive shape. A 5-minute chart and a 15-minute chart can produce different drive channels.
Volatility changes can expand or compress the pullback zone and risk line.
Session definitions matter. The selected opening window should match the asset being studied.
High-impact news, abnormal spreads, and low liquidity can reduce the reliability of the opening drive map.
🧠 Market Context Notes
Opening drives are most useful when liquidity is active and the first session push creates a clear directional reference. A clean drive does not guarantee continuation, but it can create a structured area for evaluating pullback acceptance and invalidation.
The script intentionally keeps its references tied to the opening drive. It avoids pivot maps, order block language, broad S/R zones, and generic failed-break logic.
🧾 Use Case Examples
When price locks a strong bullish opening drive, extends beyond the channel, and then pulls back into the acceptance zone without breaking the risk line, the panel may shift toward a constructive planning state.
When price locks a drive but cannot create follow-through inside the review window, the script can mark the drive as weak and shift the action state toward bias reduction.
When price violates the risk line, the original opening drive plan is no longer structurally intact inside this model.
🧱 System Philosophy
Opening Drive Quality follows the AGPro decision-engine philosophy: a script should help the trader evaluate validity, strength, risk, target room, and next state instead of only printing another signal.
The tool is designed to make the opening session easier to interpret through structured references and clean visual hierarchy.
🔐 Non-Promise Statement
No script can provide certainty.
No opening drive model can guarantee continuation, reversal, or profitability.
This script provides structured context only.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use this script as an educational planning and visualization tool. The strongest use comes from reading the opening drive together with broader market structure, liquidity, volatility, and personal risk rules.
Indicator

Indicator

Rolling Midpoint Engine [AGPro Series]Rolling Midpoint Engine
### Overview
Rolling Midpoint Engine is an on-chart study that converts the geometric midpoint of the last N bars' high-low range into a living control line. The midline is tracked through three behavioral states — Accepted Above, Accepted Below, and Fight — and a fourth modifier (Strong) highlights high-conviction acceptance beyond an ATR threshold. The goal is to surface how price behaves around a single dominant reference level, not to predict direction or issue trade signals.
### Unique Edge
Most midpoint tools plot a static line and let the user eyeball whether price accepts or rejects it. Rolling Midpoint Engine formalises that observation into a finite state machine that requires consecutive body-closes on one side of the midline before declaring acceptance. This filters single-bar noise and distinguishes casual tags from genuine commitment. The ATR-based Strong modifier adds a second axis of information — how firmly the current side is being held — without multiplying states or cluttering the chart with additional lines.
### Methodology
The midline is computed as the average of the highest high and the lowest low over a user-defined rolling window. Optional light EMA smoothing reduces visual jitter without materially shifting the level; a Strict Reset mode disables smoothing for pure rolling output.
Acceptance is evaluated through two streak counters tracking consecutive closes (or full bars, if the user prefers a stricter rule) on each side of the midline. When a streak reaches the Acceptance Bars threshold, the state transitions to Accepted Above or Accepted Below. If the running streak is positive but below threshold, the state is Fight. A Strong flag activates whenever the current distance from the midline exceeds a configurable ATR multiple.
All logic uses confirmed bar closes. The script does not repaint historical states once a bar has closed.
### States & Alerts
States:
- Fight — price is oscillating around the midline without sustained commitment
- Accepted Above — body-closes above the midline for the required number of bars
- Accepted Below — body-closes below the midline for the required number of bars
- Strong (modifier) — current Accepted state is held beyond the ATR threshold
Alerts:
- Midline Crossed Up / Down — raw price cross of the midline
- Accepted Above / Below — state transitions into acceptance
- Midline Rejection — state flip between Accepted Above and Accepted Below, or collapse from an Accepted state back to Fight
### Key Inputs
- Rolling Length — number of bars defining the range window
- Strict Reset Mode — toggle between pure rolling midline and lightly smoothed output
- Acceptance Bars — consecutive body-closes required for acceptance
- Use Body Close vs. Full Bar — strictness of the side-determination rule
- Strong Threshold — ATR multiple that qualifies an accepted side as Strong
- Label Style / Size — Edge Only, Edge + Transitions, or Off
- Panel Location / Theme / Font Size — four corners plus Middle Right, Dark / Light / Auto themes
- Color Midline by State — toggle state-coloring on the dominant line
### How to Use
Apply the indicator to any symbol and timeframe. The midline acts as a rolling control level; the state label on the right edge summarises the current behavior. Treat Accepted Above / Below as evidence that the midline is holding as support or resistance on the corresponding side. A transition into Strong indicates the holding is well beyond routine noise. A rejection event — the state flipping or collapsing back to Fight — suggests the prior control has been compromised.
This is a contextual reading tool. It does not produce entries, exits, targets, or stops, and should not be read as a recommendation to transact.
### Limitations & Transparency
The midline reflects past price data only and will adapt as new highs or lows enter the rolling window. On illiquid or very low-timeframe charts, the streak-based acceptance logic can feel slow; increasing Acceptance Bars on noisier instruments or lowering it on cleaner ones is expected tuning. The Strong Threshold is volatility-relative via ATR but still an arbitrary cut — defaults are calibrated for typical liquid markets and may need adjustment for thinly traded symbols.
The script uses confirmed closes and does not alter historical state once a bar has closed. Intrabar, the displayed state can update in line with current price, as with any live indicator.
### Risk Disclosure
This indicator is an analytical study. It is not a strategy, not a signal service, and not financial advice. It does not forecast future prices and does not guarantee any outcome. Past behavior of price around the midline does not imply future behavior. Every trading decision is the sole responsibility of the user. Use appropriate risk management and test the tool in a non-committed environment before incorporating it into any workflow. Indicator

AG Pro Supertrend Pullback Quality [AGPro Series]AG Pro Supertrend Pullback Quality
OVERVIEW
AG Pro Supertrend Pullback Quality is an overlay indicator built to evaluate the quality of pullbacks that occur inside an already established Supertrend direction.
This script is not designed as a simple Supertrend flip tool. Instead of focusing on every direction change, it studies whether a pullback into the active Supertrend structure is orderly, controlled, and potentially supportive of trend continuation. The goal is to help users distinguish between clean retracement behavior and weaker pullbacks that may reflect noise, instability, or reduced trend quality.
The indicator combines Supertrend context with a structured quality model. When price interacts with the active trend line and surrounding touch zone, the script evaluates that event using several internal dimensions such as pullback depth, line acceptance, rejection behavior, recovery efficiency, and local noise conditions. The result is summarized into a class-based readout so the chart remains visual and practical.
Because of this design, the script is better understood as a continuation-quality classifier than as a traditional signal generator. It does not attempt to predict every reversal, and it does not assume that all pullbacks within trend are equal. Its main purpose is to organize pullback structure into a clearer analytical framework.
UNIQUE EDGE
The core difference of this script is its emphasis on pullback quality rather than trend flips.
Many Supertrend-based tools are centered around directional transitions. That approach can be useful, but it also tends to compress several different market behaviors into a single yes/no event. In practice, not every trend pullback carries the same structural character. Some are shallow and noisy, some are too deep, and some interact with the trend line in a more orderly way before continuation attempts develop.
AG Pro Supertrend Pullback Quality focuses on that middle layer. It studies what happens after a trend is already active and asks a more specific question: is the current pullback behaving like a controlled retracement, or is it showing weaker continuation quality?
This creates a more workflow-oriented reading model. Instead of using Supertrend only as a directional switch, the script uses it as a live structural reference and grades the quality of pullback interaction around that reference. That makes the tool different from standard flip scripts, entry-only markers, and pure trend state displays.
METHODOLOGY
The script begins with the native Supertrend framework to define active directional context. Once a bullish or bearish state is established, a touch zone is formed around the relevant Supertrend line using ATR-based spacing. This zone is not meant to represent a guaranteed support or resistance region. It is a structured interaction area used to evaluate how price behaves during retracement.
From there, the script evaluates pullback quality through several components:
1) Trend State and Age
A newly flipped trend often behaves differently from a more established one. For that reason, the script includes a stabilization concept and tracks how mature the current trend leg is before weighting pullback quality.
2) Pullback Depth
The retracement is measured relative to ATR and recent price structure. Pullbacks that are too shallow may carry limited informational value, while pullbacks that are too deep may indicate reduced continuation quality. The script scores depth inside a preferred operating range rather than treating all pullbacks equally.
3) Acceptance Relative to the Supertrend Line
A pullback is not evaluated only by whether price touches the zone. The script also checks whether price remains positioned in a way that supports the active trend state. This helps separate cleaner acceptance behavior from weaker interaction.
4) Rejection Character
When price reaches the pullback area, candle behavior matters. The script looks at rejection-style characteristics within the touch and recovery window to estimate whether price is responding constructively to the active trend reference.
5) Recovery Efficiency
After contact with the zone, the script measures whether the market recovers with enough directional efficiency. Fast and orderly recovery behavior is treated differently from hesitant or weak re-expansion.
6) Noise Filter
Frequent directional churn and inefficient travel can reduce the usefulness of pullback classification. The script includes a noise component so that structurally weaker environments do not receive the same quality treatment as cleaner trend conditions.
These components are combined into a final score, which is then mapped into a simple class output. This makes the visual output easier to read without hiding the fact that pullback quality is multi-factor by nature.
QUALITY CLASSES
The final result is summarized into four broad classes:
A-Class
Represents the strongest pullback quality readings among the currently evaluated conditions.
B-Class
Represents constructive pullback quality, but with less strength than the highest tier.
C-Class
Represents acceptable but weaker pullback structure.
Weak
Represents pullback conditions that do not meet the stronger quality profile.
These classes are meant to organize chart behavior, not to forecast a required outcome. They should be interpreted within broader market context, timeframe behavior, and the user’s own process.
CHART ELEMENTS
The script includes several visual layers:
- Supertrend line for directional context
- ATR-based touch zone around the active Supertrend reference
- Pullback quality labels for qualified events
- Compact information panel showing trend state, depth, acceptance, rejection, recovery, noise, and final status
The visual design is intentionally restrained so that price remains readable. The goal is to keep the chart informative without turning the overlay into a dense signal map.
SIGNALS AND ALERTS
The script can generate alerts for the following event types:
- Bullish Pullback Quality Ready
- Bearish Pullback Quality Ready
- Bullish Pullback Confirmed
- Bearish Pullback Confirmed
- Bullish Pullback Invalidated
- Bearish Pullback Invalidated
In general terms, Ready events indicate that the recent pullback has achieved the minimum quality conditions defined by the model. Confirmed events require stronger follow-through logic. Invalidated events help flag cases where a previously qualified pullback context is no longer aligned with the prior state.
These alerts are designed as structured workflow checkpoints rather than standalone instructions.
KEY INPUTS
ATR Length
Controls the ATR foundation used by the Supertrend and zone logic.
Supertrend Factor
Adjusts the spacing and sensitivity of the Supertrend calculation.
Pullback Lookback
Defines the local structure window used during pullback evaluation.
Stabilization Bars After Flip
Helps reduce the weight of very early post-flip behavior.
Recovery Window
Defines how long the script should monitor post-touch recovery behavior.
Touch Zone Size and Max Line Penetration
Control how the script defines valid interaction around the Supertrend line.
Depth Range Inputs
Allow users to define what the script should consider a more optimal pullback depth range.
Ready and Confirmed Score Thresholds
Allow the strictness of class qualification and alert generation to be tuned.
LIMITATIONS AND TRANSPARENCY
This script is an analytical classification tool. It does not know future price action, and it does not guarantee continuation after a qualified pullback.
Like other trend-following frameworks, Supertrend-based structure can become less reliable during choppy or highly unstable market phases. The inclusion of a noise filter helps address that issue, but it does not remove it.
The quality model is also sensitive to volatility, timeframe selection, and the interaction between ATR-based spacing and local structure. A pullback that appears constructive on one timeframe may not behave the same way on another. Users should test settings carefully and interpret results in context.
Labels and classes summarize a model output. They are not a substitute for broader chart reading, risk planning, liquidity awareness, or execution discipline.
RISK DISCLOSURE
This script is provided for technical analysis and chart study only. It does not provide financial, investment, legal, or tax advice.
Trading and investing involve risk. Past behavior, structural classification, and indicator output do not guarantee future results. Users are responsible for their own decisions, testing process, and risk management framework.
Indicator

Triple Derivative EngineMost momentum indicators tell you where the price is. The Triple Derivative Engine tells you how fast it's getting there, whether that speed is increasing or fading, and whether the acceleration itself is changing direction — three layers of motion analysis extracted from a single smoothed price signal, all normalized to a common ±100 scale so every layer is directly comparable at a glance.
How It Works
Step 1 — Smoothing
Raw price is too noisy to differentiate reliably. TDE first passes your source through one of three selectable filters to extract the underlying motion curve before computing any derivatives.
Savitzky-Golay (default) fits a 2nd-order polynomial to a moving window of bars using Gram polynomial coefficients. Unlike a moving average, it preserves the shape of peaks and troughs rather than smoothing them away. Window sizes of 5, 7, 9, 11, 13, and 15 are supported, each with exact integer coefficients — no approximation. This gives the best phase response of the three filters: signals appear earlier and with less distortion.
Gaussian weights each past bar by a bell-curve function of its distance from the current bar. Sigma controls how quickly the weights fall off. Softer and more trailing than SG, useful when you want a cleaner curve at the cost of a slight lag.
Kalman is a single-state recursive filter that continuously estimates the "true" price by balancing how much it trusts the new measurement (R) versus how much the underlying process is expected to move (Q). It adapts bar-to-bar, making it the most responsive of the three with the least lag, but also the most sensitive to sharp moves.
Step 2 — Finite Difference Derivatives
Once the smoothed signal sm is computed, three derivatives are calculated using standard finite difference formulas:
Velocity (1st derivative): sm − sm — the rate of change of price. Positive means price is rising, negative means it is falling. The magnitude tells you how fast.
Acceleration (2nd derivative): sm − 2·sm + sm — the rate of change of velocity. Positive means momentum is building; negative means it is fading, even if price is still moving in the same direction.
Jerk (3rd derivative): sm − 3·sm + 3·sm − sm — the rate of change of acceleration. A leading indicator of acceleration reversals. When jerk crosses zero, acceleration is about to change direction.
Step 3 — Normalization
Each derivative is divided by its rolling peak absolute value over the normalization lookback window, then scaled to ±100. This keeps all three series on the same axis and comparable to each other, regardless of the instrument's price level or volatility. A velocity reading of +80 and an acceleration reading of +80 carry equivalent relative meaning within their own histories.
Signals
Zero Crosses
Every time a derivative crosses the zero line, a marker appears at the top or bottom of the panel. Each derivative has a distinct shape to avoid confusion:
Velocity (Circle): Bottom (bullish) / Top (bearish)
Acceleration (Diamond): Bottom (bullish) / Top (bearish)
Jerk (Square): Bottom (bullish) / Top (bearish)
Each set of markers is independently gated by its visibility toggle, so you only see the crosses for the series you have enabled.
Velocity cross — the most direct signal. When velocity crosses above zero, price momentum has turned positive on the source timeframe. Below zero, it has turned negative.
Acceleration cross — a timing tool, not a trend signal. When acceleration crosses above zero while velocity is still positive, the move is re-accelerating. When acceleration crosses below zero while velocity is still positive, the move is losing steam — the trend continues, but is starting to exhaust. Acceleration reversals frequently precede velocity reversals by several bars.
Jerk cross — the earliest signal in the chain. Jerk crossing zero means acceleration is about to change direction. By itself, jerk is noisy, but when it aligns with acceleration near a zero cross, it can give a meaningful early warning.
Divergence Markers (Triangles)
Divergence fires when acceleration crosses zero while velocity is still extreme — specifically when |vn| > 30. This combination means the move has been strong enough to be considered extended, but the underlying force driving it is already reversing.
Bear divergence (▼ triangle, top): Acceleration crosses below zero while velocity is still elevated above +30. The upswing's engine is cutting out while the price is still high. Historically, this precedes deceleration into a stall or reversal.
Bull divergence (▲ triangle, bottom): Acceleration crosses above zero while velocity is still depressed below −30. The downswing is losing power from the bottom. Historically, this precedes a deceleration of selling and a potential recovery.
Divergence markers are rarer than zero crosses by design. They represent a specific confluence, not a general crossover signal.
Regime Background
The panel background is tinted to reflect the current momentum regime:
Velocity > 0 and Acceleration > 0: Accelerating bull - Cyan tint
Velocity < 0 and Acceleration < 0: Accelerating bear - Red tint
No tint: Decelerating or mixed - Neutral
The regime is also displayed in the info table with four states: ▲ Accelerating, ↗ Decelerating, ↘ Recovering, ▼ Falling.
Signal Line
An EMA of velocity (default length 9) is plotted as a thin white line over the velocity histogram. Velocity crossing its own signal line is an additional early entry cue, analogous to the MACD signal cross but applied directly to the derivative layer.
Settings
⏱ Timeframe
Source Timeframe — the timeframe on which the smoothed signal is computed before derivatives are taken. Options: Auto, Chart, 5m, 15m, 1H, 4H, 1D, 1W.
Auto scales to a fixed higher timeframe based on your current chart: below 5m → 15m, below 15m → 1H, below 1H → 4H, below 4H → 1D, otherwise 1W. This allows the indicator to show higher-timeframe derivative structure on any intraday chart without manual adjustment.
The chart uses the same timeframe as the chart is on. Useful when you want the derivatives of the chart's own bars rather than a higher context.
🔬 Smoothing Filter
Filter — selects the smoothing method: Savitzky-Golay (recommended), Gaussian, or Kalman.
SG Window (SG only) — odd integer from 5 to 15. Controls the width of the polynomial fitting window. Larger windows produce smoother derivatives with (window−1)/2 additional bars of lag. Window 9 is the default and a good general-purpose choice. Use 5 or 7 for faster signals on volatile instruments; 13 or 15 for cleaner derivatives on smooth trends.
Gaussian Length (Gaussian only) — number of bars in the weighted sum. Longer = smoother.
Gaussian Sigma (Gaussian only) — controls the standard deviation of the bell curve. Lower values concentrate weight on recent bars; higher values spread it more evenly.
Kalman Q — Process Noise (Kalman only) — how much the filter expects the price to move on its own each bar. Higher Q makes the filter track price more closely with less smoothing. Range 0.0001–1.0, default 0.01.
Kalman R — Measurement Noise (Kalman only) — how much the filter distrusts the raw price measurement. Higher R produces more smoothing and more lag. Range 0.01–50.0, default 1.0.
📈 Derivatives & Display
Price Source — the input series to smooth and differentiate. Defaults to close. Can be set to any source, including hl2, ohlc4, or another indicator's output via the source selector.
Normalization Lookback — the rolling window (in bars) over which each derivative is scaled to ±100. Shorter windows (e.g., 50) make the indicator more responsive to recent extremes; longer windows (e.g., 200–500) provide a more stable baseline. Default 100.
Signal EMA Length — the length of the EMA applied to normalized velocity to produce the signal line. Default 9.
Velocity (1st deriv) — show/hide the velocity histogram and line, and its zero-crossing markers.
Acceleration (2nd deriv) — show/hide the acceleration line and its zero-cross diamond markers.
Jerk (3rd deriv) — show/hide the jerk line and its zero-crossing square markers. Hidden by default as it is primarily useful for advanced analysis.
Signal Line on Velocity — show/hide the EMA signal line overlay on velocity.
Divergence Markers — show/hide the bear/bull divergence triangle markers.
🎨 Colors
All seven colour elements are individually configurable: Velocity (up/down), Acceleration (up/down), Jerk (up/down), and the Signal line.
Alerts
Eight alert conditions are available:
Velocity → Positive: Velocity crosses above zero
Velocity → Negative: Velocity crosses below zero
Momentum Trough: Acceleration crosses above zero
Momentum Peak: Acceleration crosses below zero
Jerk → Positive: Jerk crosses above zero
Jerk → Negative: Jerk crosses below zero
Bullish Divergence: Acceleration recovers while velocity is below −30
Bearish Divergence: Acceleration rolls over while velocity is above +30
Reading the Indicator Together
The three layers are designed to be read in sequence, from slowest to fastest signal:
Check velocity for trend direction — is the move positive or negative?
Check acceleration for conviction — is the move building or fading?
Check jerk for early warning — is acceleration about to change?
A high-confidence setup aligns all three: velocity positive, acceleration positive and rising, jerk positive. As a move matures, acceleration will peak and roll over first, while velocity remains elevated — that is the divergence condition. Velocity eventually follows. Jerk will often signal the peak of acceleration one step earlier still.
No single cross is a trade signal on its own. TDE is a momentum structure tool. It is most useful when combined with price structure, support/resistance levels, and a defined higher timeframe bias. Indicator

AG Pro MACD Drift Filter [AGPro Series]AG Pro MACD Drift Filter
Overview
AG Pro MACD Drift Filter is a rules-based momentum quality indicator built around MACD structure, persistence, and decay behavior.
The script is not designed to treat every MACD expansion, crossover, or positive histogram print as equally meaningful. Its purpose is to help users evaluate whether current momentum is sustaining cleanly, weakening internally, or drifting into lower-quality continuation.
In many charts, the difficult part is not detecting that momentum exists. The difficult part is deciding whether that momentum is stable enough to respect, fragile enough to fade, or already starting to lose transmission quality before price fully reflects the slowdown. This indicator is built for that specific problem.
Rather than framing MACD as a simple signal engine, AG Pro MACD Drift Filter uses a structured state model to organize momentum into practical categories such as bullish drift, bearish drift, neutral or unstable conditions, and decay-prone phases. The output is intended to improve chart interpretation, not to replace broader market context.
What the script does
The script studies the relationship between the MACD line, the signal line, the histogram, and zero-line behavior in order to classify the current momentum environment.
Its main objective is to answer questions such as:
- Is current momentum expanding with acceptable continuity?
- Is the histogram improving in a way that supports follow-through, or only producing a temporary burst?
- Is MACD maintaining stable directional structure, or repeatedly slipping back toward unstable conditions?
- Is separation between MACD and signal line supporting continuation, or beginning to compress?
- Is the current move still carrying directional quality, or transitioning into decay?
The result is a compact momentum-quality framework that can be used as a continuation filter, a caution filter, or a chart-organization layer.
Why this script is different
This script is not presented as a generic MACD crossover tool.
Its focus is not on counting crosses or highlighting every histogram color shift. Instead, it is built around the idea that momentum quality matters more than raw momentum presence. A move can remain above zero and still lose internal quality. A histogram can expand and still produce weak follow-through. A crossover can occur inside unstable conditions and carry less analytical value than its appearance suggests.
AG Pro MACD Drift Filter attempts to separate those cases by combining several dimensions of MACD behavior into a rules-based drift model.
In practical terms, the script attempts to distinguish between:
- sustained directional drift
- fragile continuation
- internal weakening
- contraction and decay risk
- unstable zero-line behavior
This makes it more suitable as a momentum filter than as a standalone trigger engine.
Core methodology
The model evaluates momentum quality through multiple components rather than a single event.
1) Expansion quality
The script evaluates whether histogram magnitude is expanding with enough consistency to support the idea of directional development. A simple increase in histogram size is not treated as sufficient on its own. The model also looks at whether that expansion is steady enough to qualify as usable drift.
2) Zero-line persistence
Momentum states near the zero line can be more fragile and more prone to whipsaw. For that reason, the script evaluates whether MACD is maintaining enough distance and persistence relative to the zero area, or whether it is repeatedly slipping back toward instability.
3) Signal-line separation quality
The distance between MACD and signal line is part of the script's continuation logic. Expanding separation can support the case for cleaner momentum conditions, while compressing separation can indicate that the move is losing internal pressure even if price has not fully reacted yet.
4) Continuity
The script tracks whether directional alignment is being maintained across bars. The goal is to reduce the analytical weight of fragmented or inconsistent momentum states and give more weight to cleaner persistence.
5) Decay pressure
The model also monitors conditions that can reduce the quality of current drift. Compression, weakening histogram behavior, increased instability, and loss of directional efficiency contribute to decay risk.
These components are combined into a structured quality score and a state engine.
Main outputs
State
The State row summarizes the current momentum regime. Depending on conditions, the script can classify the environment as bullish drift, bearish drift, neutral or unstable, or other transition states derived from the internal logic.
Quality
The Quality value summarizes the current momentum-quality condition on a 0 to 100 scale. It is not intended as a standalone trade score. It is a compact way to express whether the underlying drift structure is currently weak, fragile, usable, or stronger relative to the script's framework.
Persistence
Persistence reflects whether directional conditions are being maintained with enough stability to be respected. This value is particularly useful when users want to distinguish between brief impulses and cleaner continuation behavior.
Decay Risk
Decay Risk estimates whether the move is beginning to lose quality internally. Higher decay risk does not automatically imply reversal. It means the current directional structure is carrying less internal efficiency and may deserve more caution.
Zero-Line
This field summarizes whether MACD is operating above zero, below zero, or in a more unstable zone. It is included because zero-line persistence often changes the interpretive quality of otherwise similar MACD readings.
Separation
This row describes whether MACD and signal line are expanding apart, remaining relatively stable, or compressing. It can help users identify whether momentum is gaining transmission strength or narrowing.
Phase
The script groups behavior into broad phases such as expansion, plateau, or contraction. This helps users interpret whether the current environment is still developing or beginning to cool.
Bias
Bias is not a buy or sell instruction. It is a compact interpretation layer that summarizes whether the current structure is more consistent with continuation, caution, or weaker follow-through.
Mode
The script includes a mode framework so users can run the tool with a more balanced or more selective posture, depending on how strict they want the state engine to be.
How to read the indicator
One practical way to use the script is to treat it as a continuation-quality filter.
For example, a bullish chart condition may look more structurally convincing when:
- the state remains in a bullish drift condition
- the quality score is improving or holding at healthier levels
- persistence remains stable
- separation is not compressing aggressively
- decay risk is contained
On the other hand, users may choose to become more cautious when:
- price still appears constructive, but quality is fading
- separation compresses while continuation expectations remain elevated
- the state returns to neutral or unstable conditions
- decay risk rises without meaningful renewal in quality
- the move remains active on price, but internal MACD structure begins to deteriorate
This script can also be used alongside support and resistance analysis, broader trend context, structural breaks, pullback logic, or other risk-management frameworks.
Alerts
The script includes alert conditions tied to meaningful state changes rather than arbitrary noise.
Examples include:
- Bullish Drift Confirmed
- Bearish Drift Confirmed
- Bullish Drift Weakening
- Bearish Drift Weakening
- Momentum Decay Warning
- Neutral Reset
- High-Quality Drift Detected
- Low-Quality Expansion Detected
These alerts are intended to help users monitor changes in momentum quality, not to function as guaranteed trading signals.
Key inputs
Core settings include the source series and standard MACD lengths.
Engine settings allow users to control the quality lookback, persistence window, decay sensitivity, instability penalty, zero-line stability filtering, and strictness.
Display settings manage panel visibility, panel position, theme handling, label size, label density, and optional visual styling.
Because different symbols and timeframes can produce different rhythm characteristics, users may want to experiment with persistence and sensitivity settings rather than assuming one configuration fits all market conditions.
Suggested interpretation
The strongest use case for this tool is not signal substitution, but signal qualification.
In other words, many users may find it more useful to ask:
"Does this move deserve continuation bias?"
instead of asking:
"Did MACD cross?"
That distinction is central to the script.
The script does not assume that every positive histogram bar is actionable. It does not assume that every crossover deserves equal analytical weight. It attempts to organize momentum conditions into a more structured framework so users can better judge whether current directional pressure is persistent, fragile, or fading.
Limitations and transparency
This indicator does not predict future price movement.
It does not guarantee continuation, reversal, breakout success, or trade performance. It does not replace broader chart context, volatility analysis, liquidity considerations, or risk management.
Like other momentum-based tools, it can still produce less useful readings in highly choppy environments, low-volatility compression regimes, or sudden event-driven price conditions. Users should interpret the output in context and validate whether the script's settings fit the instrument and timeframe they are studying.
The state engine is designed to organize information, not to remove uncertainty from market behavior.
Risk disclosure
This script is for educational and analytical use.
It should not be treated as financial advice, investment advice, or a promise of outcome. Users remain responsible for their own decision-making, trade planning, and risk control.
Indicator

Indicator

Indicator

Indicator

QUARTERS THEORY XAUUSDThe “Quarter Theory XAUUSD” indicator on PulseWire is designed to automatically plot horizontal price levels in $25 increments on your chart, providing traders with a clear visual representation of key psychological and technical price points. These levels are particularly useful for instruments like XAU/USD, where price often reacts to round numbers, forming support and resistance zones that can be leveraged for both scalping and swing trading strategies. By showing all $25 increments as horizontal white lines, the indicator ensures that traders can quickly identify potential entry and exit points, without the need for manual drawing or repeated calculations.
The indicator works by calculating the nearest $25 multiple relative to the current market price and then drawing horizontal lines across the chart for all increments within a defined range. This range can be customized to suit the instrument being traded; for example, for gold (XAU/USD), a typical range might extend from 0 to 5000, covering all practical price levels that could be relevant in both high and low market conditions. By using Pine Script’s persistent variables, the indicator efficiently creates these lines only once at the start of the chart, avoiding unnecessary resource usage and preventing PulseWire from slowing down, which can happen if lines are redrawn every bar.
From a trading perspective, these levels serve multiple purposes. For scalpers, the $25 increments act as micro support and resistance points, helping to determine short-term price reactions and potential breakout zones. Scalpers can use these levels to enter positions with tight stop-loss orders just beyond a level and take profits near the next $25 increment, which aligns with common price behavior patterns in highly liquid instruments. For swing traders, the same levels provide broader context, allowing them to identify areas where price might pause or reverse over several days. Swing traders can use these levels to align trades with the prevailing trend, particularly when combined with other indicators such as moving averages or trendlines.
Another key advantage of the Quarterly Levels indicator is its simplicity and visual clarity. By plotting lines in a uniform white color and extending them to the right, the chart remains clean and easy to read, allowing traders to focus on price action and market dynamics rather than cluttered technical drawings. This visual consistency also helps in backtesting and strategy development, as traders can quickly see how price interacts with each level over time. Additionally, the use of round-number increments leverages the psychological tendencies of market participants, as many traders place stop orders or entry points near these levels, making them natural zones of interest.
Overall, the Quarterly Levels indicator combines efficiency, clarity, and practical trading utility into a single tool. It streamlines chart analysis, highlights meaningful price zones, and supports both scalping and swing trading approaches, making it an essential addition to a trader’s toolkit. By understanding how to integrate these levels into trading strategies, traders can make more informed decisions, manage risk effectively, and identify high-probability trade setups across various market conditions. Indicator

Indicator

Indicator

Support Line [by rukich]🟠 OVERVIEW
The indicator displays a floating line that acts as a support level. It's important to remember that any support level can be broken.
🟠 COMPONENTS
The indicator is based on the percentage difference between the closes of the n-th bar back and the current bar. The resulting percentage is smoothed to remove noise.
The indicator is displayed as a green-red line (the colors don’t carry meaning — they are used just for visual variety). When the price touches the support level, the bar background turns green.
For convenience, there is a label on the right side of the indicator showing the current value of the line.
🟠 HOW TO USE
The indicator includes several settings that can be adjusted, though optimal defaults are provided.
Settings:
Timeframe — specifies which timeframe’s data is used to calculate the line.
Candles back — specifies how many bars back from the current one are used.
The indicator should be used according to general support-zone logic. Since no support zone guarantees a price bounce, the optimal approach is to confirm the reaction after the price touches the line.
Example of use:
In the current example, the Timeframe in the indicator settings is set to 1 hour, and the currently open chart is 5 minutes. This means that on the 5-minute chart we see a 1-hour line. After the price touches the support line, you need to see a confirmation of the reaction to understand whether the support zone is holding the price.
In the examples, reaction confirmation is shown through: the formation of an M5 shift and the invalidation of an FVG M5- (the latter is more risky than the M5 shift):
🟠 CONCLUSION
The indicator shows a floating support zone, and when tested, you should confirm the reaction on a lower timeframe. Indicator

Indicator

Indicator

Indicator

Current Price (Customizable) by DRtradeCurrent Price Line & Dynamic Label (Fully Customizable)
The ultimate tool for clear, real-time price visualization.
This powerful, lightweight indicator draws a clean horizontal line at the current market price, updating instantly with every price tick. Unlike other current price line scripts, this tool ensures you always see where the price is right now and provides full control over every visual element.
Key Features:
- Real-Time Tracking: The line moves dynamically with price ticks within the current candle, eliminating lag and providing true current market price awareness.
- Line Extension Control: Choose to extend: Left, Right, or Both. Helpful for scalpers and options traders
- Visual Customizations: Color, Style, Size, Width, etc.
- Label Positioning: Left of Candle, Above Candle, or Right of Candle
All customization options are available in the indicator's settings menu.
Ping me with feature reqeusts. Indicator
