UPDATED: COMBO - EMA/LRI/SuperTrend/HMA StrategyOverview
The EMA / LRI / SuperTrend / HMA Execution Suite is a streamlined overlay designed for intraday momentum traders, scalpers, and trend followers. It combines dynamic trend baselines, statistical breakout evaluation, and multi-tier moving average filters into a single, highly performant script.
By focusing purely on high-probability trend structure and dynamic fair value, this indicator keeps your chart visually clean and clutter-free for quick execution.
Key Features & Components:
Core Purpose: An advanced multi-indicator technical suite specifically designed for futures and stock trading.
Moving Averages & Momentum: Integrates a customizable Exponential Moving Average (EMA), a versatile Hull Moving Average (HMA) with both single and 3-HMA crossover modes, and a directionally-colored Linear Regression Index (LRI) for momentum tracking.
Breakout Probability Engine: Features a SuperTrend overlay enhanced with a relative volume Gaussian Kernel Density Estimation (KDE) model to calculate breakout strength and display confidence percentage labels.
Visual Adjustments: Includes fully customizable vertical offsets and connecting lines for the probability bubbles to maintain clear chart readability.
Comprehensive Alerts: Built-in alert conditions for trend flips, high-confidence breakouts, and moving average or price crossovers against the LRI.
Indicator

Multi-Timeframe Moving AveragesMulti-Timeframe Moving Averages (MTF MAs) is an all-in-one moving-average overlay with 16 independently configurable slots: eight calculated on the chart timeframe and eight calculated on user-selected timeframes. It combines local and higher-timeframe structure without requiring multiple indicators or repeated chart changes. Every line can be shown or hidden and assigned its own length, calculation type, and color.
The higher-timeframe averages are calculated inside their requested timeframe. For example, a 20-period one-hour EMA on a five-minute chart is calculated from 20 one-hour observations, not from 20 five-minute observations or by scaling an existing chart-timeframe EMA. This preserves the mathematical meaning of the selected length and timeframe.
Its distinctive feature is the MTF display. Completed intervals show finalized MA levels, while the developing interval is rendered as one horizontal line that grows across the interval and adjusts to the current MTF value. This keeps the active higher-timeframe level clear instead of leaving behind a noisy trail of provisional updates.
MOVING-AVERAGE TYPES
Every chart and MTF slot supports nine calculation types:
- SMA uses equal weighting; EMA and RMA use recursive weighting that emphasizes recent observations.
- WMA applies linear weighting, while HMA combines weighted averages for greater responsiveness.
- VWMA weights price by volume, and LSMA returns the endpoint of a least-squares regression line.
- DEMA and TEMA combine multiple EMA stages to reduce conventional EMA lag.
Each method processes the selected source over the selected length. The methods differ in weighting, smoothness, responsiveness, and potential overshoot; none is inherently best for every instrument or market condition.
HOW THE MTF DISPLAY WORKS
Suppose a one-hour EMA is displayed on a five-minute chart. The value changes while the hour is still forming. Connecting every five-minute snapshot can produce a noisy path that obscures the level currently in effect.
MTF MA uses a two-layer rendering method:
- Completed intervals display the finalized higher-timeframe MA value across the chart bars belonging to that interval.
- The developing interval uses the current, unconfirmed MTF value to draw one horizontal segment from the beginning of the interval to the latest bar.
As new chart bars arrive, the live segment extends horizontally and relocates vertically. Its previous provisional positions are not left behind as a separate path. When the higher-timeframe bar completes, its final level joins the historical display and a new live segment begins.
Optional labels identify each active MTF line by timeframe, length, type, and current value. Labels are placed four chart bars to the right for readability only; this horizontal placement does not represent future data.
WHY TWO MTF CALCULATIONS ARE USED
The script requests each MTF average twice. In simplified Pine Script, the calculation is:
mtf_historical = request.security(
syminfo.tickerid,
selected_timeframe,
ma_type(mtf_source, length, type),
lookahead = barmerge.lookahead_on)
mtf_realtime = request.security(
syminfo.tickerid,
selected_timeframe,
ma_type(mtf_source, length, type),
lookahead = barmerge.lookahead_off)
Placing `ma_type()` inside `request.security()` is important: PulseWire evaluates the selected MA from bars in the requested timeframe. The script is not calculating an MA from lower-timeframe bars and then relabeling or rescaling it.
The historical request supplies the finalized value used to draw each completed interval. The realtime request supplies the developing value of the active interval. The script counts how many chart bars have elapsed inside that interval and recreates one horizontal line at the latest realtime value:
bars_into_mtf := ta.change(time(selected_timeframe)) != 0
? 0
: nz(bars_into_mtf ) + 1
line.delete(live_line)
live_line := line.new(
bar_index - bars_into_mtf, mtf_realtime,
bar_index, mtf_realtime)
Both endpoints use the same price, so the live MTF display remains horizontal. Its left endpoint stays at the beginning of the higher-timeframe interval, its right endpoint advances with the chart, and the entire segment moves to the latest developing value. This historical/realtime separation provides a visually clean completed record without sacrificing a responsive current level. The same pattern is applied independently to all eight MTF slots.
HOW TO USE IT
Use Chart Timeframe MAs for averages calculated directly from the current chart bars and MTF MAs for averages calculated from another timeframe. Each slot may be enabled independently. Set its length, type, and color; MTF slots also have individual timeframes and labels. Source is shared by the chart MAs, while MTF Source is shared by the MTF group. Show MTF Historical Lines and Show MTF Labels are master display switches.
The intended use is to select MTF periods equal to or higher than the chart timeframe. This makes it possible, for example, to monitor a one-hour, four-hour, and daily moving-average structure while executing from a lower-timeframe chart.
LIMITATIONS AND REPAINTING
Moving averages are descriptive transformations of past and developing price or volume data. They are not support or resistance guarantees, forecasts, trade signals, or evidence that price must react when a line is reached.
The active horizontal MTF segment is calculated from an unconfirmed higher-timeframe bar. It intentionally moves as that bar develops, and its final value may differ from levels displayed earlier in the interval. The indicator does not preserve that sequence of provisional live values.
Historical MTF segments are retrospective by design. To display a completed higher-timeframe level across its full interval, the script uses lookahead when mapping the finalized value onto the interval's lower-timeframe bars. The historical segment therefore shows where the final level belongs visually, not the sequence of values that was available while that interval developed. Historical price contacts, crosses, or apparent reactions must not be treated as time-causal signals or used for backtesting.
Selecting an MTF period below the chart timeframe returns only limited intrabar information and is not the intended use of this indicator. Results also depend on the chart's source data, session, and candle type. Standard candles are recommended when comparing moving-average values with actual traded prices.
This indicator does not generate alerts or trading entries. Indicator

Adaptive Confluence Engine [StrixEDGE]Adaptive Confluence Engine
🔷 HOW IT WORKS
The indicator evaluates the market through four independent modules. Each module scores the current bar as bullish (+1), bearish (−1), or neutral (0). Volume and volatility modules act as confirmation filters and score +1 (confirmed) or 0 (not confirmed). The individual scores are aggregated into a confluence score ranging from 0 to 4 for each direction.
A signal fires only when:
→ The confluence score crosses above the minimum threshold (transition detection)
→ The previous signal was in the opposite direction (flip-only logic — no consecutive Buy-Buy or Sell-Sell)
→ A cooldown period has elapsed since the last signal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 THE FOUR MODULES
MODULE 1 — TREND
Uses a Hull Moving Average (HMA) for responsive trend direction and a Weighted Moving Average (WMA) as a trend position filter. Bullish: HMA rising AND price above WMA. Bearish: HMA falling AND price below WMA. The HMA reacts faster than a standard EMA while filtering out noise, and the WMA acts as a structural trend gate.
MODULE 2 — MOMENTUM
Combines RSI zone analysis with MACD histogram acceleration. RSI is evaluated against configurable directional thresholds (default 55/45), not traditional overbought/oversold levels. The MACD histogram must be positive AND increasing for bullish momentum (or negative AND decreasing for bearish). This captures momentum that is actively building, not fading.
MODULE 3 — VOLUME
Volume must exceed its simple moving average by a configurable multiplier AND the short-term volume trend (5-bar SMA) must be rising relative to the medium-term (10-bar SMA). This confirms that participation is genuine and sustained, not a single-bar spike.
MODULE 4 — VOLATILITY FILTER
Calculates the ATR percentile rank over a configurable lookback period. Signals are suppressed when volatility falls below the low percentile (indicating a dead, range-bound market with no follow-through potential) or above the high percentile (indicating chaotic conditions where stops are too wide and reversals too sudden). Only the "sweet spot" of volatility passes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 SIGNAL LOGIC
The signal generation uses three layers of filtering:
1. Transition Detection — Signals fire only on the bar where the confluence score first crosses the minimum threshold, not on every bar it remains above it.
2. Flip-Only Mode — After a Buy signal, the next signal must be a Sell (and vice versa). This prevents consecutive same-direction signals and ensures alternating entries.
3. Cooldown — A configurable minimum number of bars must pass between any two signals, preventing rapid-fire entries during volatile transitions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 VISUAL FEATURES
→ Buy / Sell labels with exact entry price displayed on the chart
→ Entry price horizontal line (persists for 20 bars after signal)
→ ATR-based dynamic stop-loss levels
→ Hull Moving Average (colored by direction) and WMA overlay
→ Background shading when confluence is active
→ Real-time dashboard showing status of all four modules, ATR reading with percentile, and aggregate confluence score
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 SETTINGS GUIDE
Trend Module
• Fast HMA Length (default 9) — Lower values react faster but produce more noise.
• Slow WMA Length (default 21) — The structural trend gate. Higher values require stronger trends.
Momentum Module
• RSI Bullish/Bearish Threshold (default 55/45) — These are directional filters, not overbought/oversold. Widen to 60/40 for stricter momentum requirements.
• MACD settings (12/26/9) — Standard defaults. Adjust for faster or slower momentum reads.
Volume Module
• Volume SMA Length (default 20) — Lookback for average volume calculation.
• Volume Threshold (default 1.0) — Multiplier applied to the volume SMA. Increase to 1.2–1.5 to require above-average volume.
Volatility Filter
• ATR Length (default 14) — Period for ATR calculation.
• ATR Lookback (default 100) — Number of bars for percentile ranking.
• Low/High Vol. Percentile (default 10/90) — Defines the acceptable volatility range. Narrow to 20/80 for stricter regime filtering.
Signal Control
• Min. Confluence Score (default 3) — Number of modules that must agree. Higher = fewer but higher-quality signals.
• Signal Cooldown (default 5 bars) — Minimum spacing between signals.
• Stop-Loss ATR Multiple (default 1.5) — Distance of the stop-loss from the signal bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 WHAT MAKES THIS ORIGINAL
StrixEDGE does not replicate any single built-in indicator. Its value lies in the confluence scoring architecture: four independent analysis dimensions, each evaluating a different market property (direction, momentum, participation, regime), aggregated through a transition-based scoring system with flip-only signal control. The combination of ATR percentile volatility filtering, MACD histogram acceleration (not just crossover), and alternating-direction signal enforcement creates a framework that is structurally distinct from standard indicator overlays.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 RECOMMENDED USE
Designed for day trading timeframes (15-minute to 1-hour charts). Works across all markets with volume data: crypto, forex, stocks, indices, commodities. Start with the default settings and adjust based on the instrument's behavior. Use the dashboard to understand why signals fire or don't fire.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is a technical analysis tool, not financial advice. No indicator guarantees profitable outcomes. Past performance of any signal does not indicate future results. Always apply proper risk management and use this tool as one component of a complete trading plan.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5 alert conditions available: Buy Signal, Sell Signal, Any Signal, Bull Active, Bear Active. Indicator

Smart Ichimoku | GainzAlgoOverview
Most Ichimoku indicators give you the same signal everyone else gets, a raw cloud cross with no filter, no context, and no target. This indicator rethinks the system from the ground up by combining a smoothed Ichimoku cloud with an inline logistic regression classifier that scores every cloud break in real time, then projects statistically-derived price targets the moment a confirmed signal fires.
The result is a cleaner, higher conviction version of one of the most respected trend frameworks in technical analysis.
The Foundation: Why Smooth the Ichimoku?
Traditional Ichimoku uses simple high-low midpoints (Donchian midlines) for its Tenkan, Kijun, and Senkou components. This makes the cloud visually choppy and prone to false crosses on noisy, volatile instruments like crypto or high-beta equities.
This indicator replaces all three components with Hull Moving Averages (HMA), which are designed to be simultaneously smooth and responsive, reducing lag without the whipsaw of standard smoothing. The cloud body itself becomes cleaner, the baseline is less noisy, and the cross events that trigger signals are more structurally meaningful.
All default periods match classic Ichimoku settings (9 / 26 / 52 / 26 displacement) so the logic stays true to the original system, it's just rendered with better math underneath.
The Signal: Logistic Regression Cloud Break Classifier
Here's where this indicator separates itself. A cloud cross alone is not a signal, it's a candidate. What actually matters is whether the market conditions at the moment of the cross are consistent with a real, sustained breakout or breakdown.
The classifier answers that question with a probability score.
How it works
At the exact bar where price exits the cloud body, four normalized features are computed and fed into a logistic regression model:
1. RSI (centered at 50, scaled by 25)
Measures momentum. On a bearish break, is RSI already extended to the downside? On a bullish break, is it pointing up? RSI near 50 adds little conviction; RSI at 30 on a bear break adds a lot.
2. Stochastic Oscillator (centered at 50, scaled by 25)
Short-term overbought/oversold confirmation. Works similarly to RSI but captures faster-cycle momentum, giving the model a second read on the same question.
3. Z-Score (price vs 20-bar mean, normalized by standard deviation)
Measures how statistically extended price is relative to recent history. A cloud break accompanied by a Z-Score of -2 is much more meaningful than one at Z = -0.2. This feature effectively asks: "Is this break happening from an already-stretched position?"
4. Cloud Break Depth (normalized by ATR)
How far did price close through the cloud boundary, relative to recent volatility? A close that barely clips the edge is very different from one that punches through by a full ATR. This is the most direct measure of breakout conviction.
The Math
Each feature is multiplied by a weight and summed into a single score (z). That score is passed through the sigmoid function:
P = 1 / (1 + e^(-z))
This compresses the output to a probability between 0 and 1. If the probability clears the threshold (default 0.60), the break is confirmed and a signal fires. Below threshold, the cross is rejected — instead of being ignored, it's labeled with a risk tier so you can see exactly how close (or far) it came to confirming.
The probability score is displayed as a small percentage label directly on the signal bar so you always know how strong the classifier rated that particular break.
Self-Calibrating Weights — No Manual Tuning
Unlike a typical multi-feature model, none of the four weights are set by hand. Each one is derived automatically from that feature's own rolling correlation with next-bar returns, recalculated continuously over a user-set lookback window (the "Self-Calibration Window," default 100 bars).
In practice this means: if RSI has been a genuinely useful predictor of direction on this instrument and timeframe recently, its weight rises on its own. If Z-Score has been mostly noise in the current regime, its weight shrinks toward zero — automatically, without anyone touching a slider.
This was a deliberate design choice. Letting people hand-tune regression weights invites a lot of well-intentioned guesswork that usually overfits to a handful of recent candles. By having the model score its own features based on demonstrated, rolling predictive power, the classifier adapts to changing market conditions instead of running on opinions baked in at setup time.
Rejected Crosses: Risk-Tiered Labels
Not every cloud cross clears the threshold, and that's the point. Rather than silently discarding rejected crosses, this indicator labels every one of them with a risk tier so you know exactly what the model saw and how close it came to confirming:
Low Risk: Probability fell just short of the threshold (within 10 points below). A near-miss — the break had real conviction behind it, it simply didn't clear the bar.
Moderate Risk: Probability landed meaningfully below threshold (10–25 points). A weaker break with mixed signals underneath it.
High Risk: Probability came in far below threshold (25+ points). A break with little to no underlying conviction — most consistent with chop or noise.
Each label shows its tier and the actual probability (e.g. "Low Risk ▼ 54%"), so nothing is a black box. A cluster of Low/Moderate Risk labels in one zone often signals a contested area that's likely to resolve into a real breakout once it's worked through — useful context even though no trade signal fired. These labels can be toggled off entirely in settings if you'd rather only see confirmed signals.
The Targets: Mean, Median, Mode
Once a confirmed break fires, three dashed horizontal target lines project from the signal bar. These are not arbitrary multiples, they are derived from the actual statistical distribution of bar-to-bar price moves over the lookback window.
Mean (Yellow): The average absolute bar move over the lookback period, scaled by the target multiplier. This is the "expected" target under normal conditions.
Median (Cyan): The 50th percentile of historical moves. Because move distributions are right-skewed (a few large moves pull the mean up), the median is typically more conservative than the mean and often a more realistic first target.
Mode (Hot Pink): The most frequently occurring move size, derived by bucketing historical moves into ATR-width bins and finding the most populated bin. This represents what the market most commonly does — not what it averages, not the middle value, but the single most likely outcome based on observed frequency.
Together, the three targets give you a realistic range rather than a single arbitrary level — grounded in what this instrument has actually done over the recent past. Bull and bear target sets are tracked independently, so a new bearish break won't erase an active bullish target set still in play, and vice versa.
The Target Multiplier (default 3×) scales all three targets proportionally. Lower it for tighter, shorter-term targets; raise it for swing trades or higher-volatility instruments.
Reading the Chart
Green triangle (▲) below bar: Confirmed bullish cloud break. Price has exited the top of the cloud with sufficient classifier probability. Three upward target lines appear.
Pink triangle (▼) above bar: Confirmed bearish cloud break. Price has exited the bottom of the cloud with sufficient classifier probability. Three downward target lines appear.
Percentage label: The LR probability score for that break (e.g. "73%"). Higher is stronger.
Risk-tiered label (amber/orange/red): A cloud cross that was rejected, with its tier and probability shown.
Yellow dashed line: Mean target
Cyan dashed line: Median target
Hot pink dashed line: Mode target (thicker, as it represents the highest-frequency outcome)
Settings Guide
Smooth Ichimoku
Tenkan / Kijun / Senkou Period: Standard Ichimoku periods. Default 9/26/52 follows the classic system. Shorter periods = more sensitive, more signals. Longer = slower, fewer but stronger signals.
Displacement: How far forward the cloud is projected. Default 26.
Break Classifier
Self-Calibration Window: How many past bars the model uses to learn each feature's weight from its recent correlation with price moves. Shorter windows adapt faster to regime changes but can be noisier; longer windows are more stable but slower to react. Default 100.
Break Probability Threshold: The minimum probability required to confirm a signal. Default 0.60. Raise toward 0.75+ for fewer, higher-conviction signals. Lower toward 0.50 to see more cloud breaks confirmed (effectively turns the filter off at 0.50).
Targets
Lookback (bars): How many bars of historical move data to use for the distribution calculation. Default 60. Longer lookback = more stable targets based on longer-term behavior. Shorter = more reactive to recent volatility.
Target Multiplier: Scales all three target lines proportionally from the signal close. Default 3×. Adjust based on your timeframe and typical holding period.
Risk Labels
Show Risk Labels on Rejected Crosses: Toggles the Low/Moderate/High Risk labels on rejected cloud crosses. Off by default for a cleaner chart; turn on to see every cross the model evaluated, not just the confirmed ones.
How to Use It
As a trend confirmation tool: Use the cloud direction (cyan dominant = bullish structure, pink dominant = bearish) as your bias filter, and only trade signals that align with the cloud color. Bull signals below a cyan cloud, bear signals above a pink cloud.
As a breakout entry trigger: Wait for price to consolidate inside or near the cloud, then take the confirmed break as an entry signal. The probability label tells you how much conviction the model has at that moment.
Using rejected crosses as context: A string of Low Risk labels in a zone suggests the cloud is being tested seriously without quite breaking — often a precursor to a real move once the level finally gives.
For target setting: Use the median as a conservative first target, the mean as a mid-range objective, and the mode as a guide to where the most "normal" move tends to land. The hot pink mode line is often the most useful for setting realistic profit expectations.
For alerts — Four alert conditions are built in: "Confirmed Bull Break," "Confirmed Bear Break," "Rejected Bull Cross," and "Rejected Bear Cross." Set them on your preferred timeframe and let the classifier notify you rather than watching the chart.
Timeframe Notes
This indicator works across all timeframes but behaves differently depending on context:
1H–4H: Good balance of signal frequency and reliability. Recommended starting point.
Daily: Fewer signals, higher structural significance. Best for swing traders.
15m and below: More signals, more noise. Consider raising the threshold to 0.65–0.70 and reducing the lookback to 30. Watch the risk-tiered labels here in particular — they're most useful for filtering chop on fast timeframes.
Example on the Daily with SPY ETF:
Example on the 4 Hour with BTCUSD;
Example on the 15 Minute with QQQ:
A Note on the Model
The logistic regression here is not trained on historical data in the machine learning sense, and it no longer relies on manually-set weights either. Each feature's weight is derived from its own rolling correlation with subsequent price action, recalculated continuously. Think of it less as a black-box ML model and more as a structured, self-adjusting way to combine four momentum and positioning indicators into a single probability score, similar to our Directional Logistic Oscillator.
The advantage over a traditional multi-condition filter (RSI < 40 AND stoch < 30 AND...) is that the sigmoid function produces a continuous probability rather than a binary pass/fail, which means the model degrades gracefully, a break with three strong features and one neutral one still scores well, rather than getting blocked by an arbitrary threshold on the weak feature. And because every rejected cross is shown with its tier and score rather than discarded silently, nothing the model does is hidden from you.
We hope you enjoy! Indicator

ATR Fibonacci Trend Envelopes [BigBeluga]ATR Fibonacci Trend Envelopes is a professional-grade trend-following and mean-reversion framework. It combines the volatility-filtering power of Average True Range (ATR) with the mathematical precision of the Fibonacci Golden Ratio to define high-probability "buy/sell pockets" within an established trend.
Equipped with a live Multi-Timeframe (MTF) dashboard, this indicator allows traders to monitor trend alignment across four different time horizons simultaneously, ensuring that local entries are always supported by the broader market structure.
🔵 THE DUAL-ENGINE FRAMEWORK
Volatility-Adjusted Trend Engine: The indicator uses a customizable Moving Average (SMA, EMA, HMA, etc.) combined with an ATR multiplier to create dynamic envelopes. This filters out market noise and only signals a trend change when price decisively breaks the volatility boundary.
Dynamic Golden Pocket (0.618 - 0.786): Unlike static retracements, these Fibonacci levels are calculated relative to the current ATR envelope. The "Pocket" acts as a high-interest zone where price is expected to find support (in uptrends) or resistance (in downtrends).
Predictive Slope Projections: Using the current rate of change, the script projects the trend and Fibonacci levels into the future. This allows traders to visualize where "Value" will be in the coming bars, facilitating better trade planning and order placement.
🔵 CORE ARCHITECTURE
MTF Alignment Dashboard: A real-time table tracks the trend status and "Pocket" proximity across four timeframes. A "BULL" status combined with an "INSIDE" pocket signal across multiple timeframes indicates a high-confluence institutional setup.
Dynamic Transparency Feedback: The visual intensity of the Golden Pocket adapts based on price proximity. As price approaches the mid-point of the pocket, the colors become more saturated, providing an intuitive visual cue that the market is entering a high-probability reversal zone.
Momentum-Driven Basis: The trend baseline (1.0 level) acts as the ultimate anchor. As long as price remains above this volatility-adjusted line in a bullish regime, the trend is considered structurally sound.
🔵 FEATURES
Multi-MA Versatility: Choose from 5 different moving average types to calculate your trend basis, allowing the indicator to be tuned for slow-moving macro trends or fast-moving scalping setups.
Real-Time Level Labels: Clear, real-time labels (0.5, 0.618, 0.786, 1.0) on the right axis provide exact price targets and stop-loss anchors at a glance.
Customizable Projection Length: Adjust how far the indicator looks into the "future," allowing you to anticipate structural shifts before they occur on the chart.
Adaptive UI Positioning: The dashboard can be moved to any corner of the chart and scaled to match your screen resolution, ensuring it never interferes with your technical analysis.
🔵 STRATEGIC APPLICATION
The "Golden" Pullback: In a confirmed Bull trend (Cyan baseline), wait for price to enter the Dynamic Golden Pocket. Use the saturation of the baseFill color to identify the core of the value zone for a long entry.
MTF Confluence Trading: Only take trades when at least three timeframes on the dashboard show the same trend direction. If the 1H and 4H are "BULL" while the 15m enters the "INSIDE" pocket, you have a high-probability trend-continuation setup.
Volatility Breakouts: Monitor the distance between the baseline and the 0.5 Fib. When the ATR-based envelopes contract, a volatility breakout is imminent. A "⦿" label signal combined with a price cross of the 1.0 level marks the start of a new momentum cycle.
Dynamic Exit Planning: Use the projected 0.5 or 0.618 levels as trailing profit targets. Because these levels adjust for both price and volatility, they represent a mathematically "fair" area to take chips off the table.
ATR Fibonacci Trend Envelopes bridges the gap between classic technical analysis and modern volatility modeling. By combining MTF awareness with the natural pull of the Fibonacci ratios, it provides a clear, actionable map for navigating any market condition. Indicator

Hull MA Trend Zones [AGPro Series]Hull MA Trend Zones
📌 Overview
Hull MA Trend Zones is a premium HMA trend overlay built for traders who want a cleaner way to read Hull Moving Average direction, slope quality, and pullback behavior.
The script is centered on one clear idea: a strong HMA trend should not only move above or below a moving average; it should show measurable slope, orderly ribbon structure, and controlled pullback behavior around the active HMA path.
Instead of presenting a crowded moving average wall, the script uses a focused three-line HMA structure, a subtle pullback band, and concept-native trend zones that are tied directly to the active Hull MA state.
⚙️ How It Works
The engine calculates a fast HMA, an anchor HMA, and a slow HMA.
The anchor HMA is the main decision line. Its slope is normalized with ATR so the script can judge whether the current Hull MA movement is weak, transitional, or directional.
The ribbon structure then checks whether the fast, anchor, and slow HMA lines are aligned. This separates clean trend movement from mixed or unstable movement.
Finally, the pullback layer evaluates whether price is extending away from the HMA, testing the HMA zone, holding the HMA zone, rejecting from the HMA zone, or failing the active trend path.
🧭 What The Script Shows
- HMA ribbon for clean trend direction.
- ATR-based HMA pullback band around the anchor HMA.
- Rectangular HMA slope zones created from active directional states.
- Confirmed, quality-gated Bull Turn and Bear Turn labels.
- Optional Hold and Reject labels for pullback events.
- A compact AGPro panel with HMA State, Slope Strength, Pullback Status, and Quality Score.
📊 AGPro Panel
The panel is designed for fast scanning without taking over the chart.
HMA State shows whether the active read is bullish, bearish, transitional, or neutral.
Slope Strength converts the anchor HMA slope into a clear percentage-style reading.
Pullback Status explains whether price is extending, testing, holding, rejecting, or failing the HMA trend zone.
Quality Score combines slope strength, ribbon alignment, and pullback behavior into a single 0-100 reading.
🎯 What Makes It Different
Hull MA Trend Zones is not a generic moving average ribbon, not a ribbon compression map, and not a broad support/resistance tool.
Its focus is narrower and more practical: HMA slope, HMA trend-zone behavior, and pullback-to-HMA quality.
The rectangular zones are not drawn as generic support or resistance. They are HMA slope zones created from the active trend state and the ATR-sized HMA pullback area. This keeps the script visually useful while avoiding overlap with broader zone, corridor, or compression-style indicators.
The default visual design is intentionally restrained. Pullback labels are optional, turn labels require confirmation and a minimum quality score, and old zones are capped so the chart keeps a cleaner premium look on both intraday and higher-timeframe charts.
🔧 Key Settings
Fast HMA Length controls the responsive side of the ribbon.
Anchor HMA Length controls the main trend path, slope state, pullback band, and panel logic.
Slow HMA Length helps identify whether the HMA ribbon is aligned or still transitional.
Slope Lookback and Trend Slope Threshold control how selective the HMA state engine is.
Zone Width ATR controls the height of the HMA pullback band and slope-zone area.
Zone Forward Bars controls how far the active slope zone projects while the same trend state remains valid.
Turn Confirmation and Minimum Turn Label Score control how selective the default turn labels are.
Label Cooldown Bars, Max Visible Labels, and Label Offset ATR keep chart density suitable for publication-quality screenshots.
Panel Location, Panel Theme, Label Font Size, and Panel Font Size are adjustable.
✅ Suggested Use
Use Hull MA Trend Zones to study trend continuation, Hull MA pullback quality, HMA slope transitions, and cleaner moving-average trend behavior.
It is especially useful when you want an HMA-focused overlay that remains readable on active charts and avoids the clutter of large multi-average systems.
The script is designed as a public-free AGPro Series tool with a clean visual identity, a focused HMA concept, and a PulseWire-safe publication structure. Indicator

Indicator

Smart Trend [Zofesu]Smart Trend is an ATR-based trend following indicator extended with two original filtering layers not present in standard Supertrend implementations: a Hull Moving Average macro trend filter and a Volume Percentile Rank confirmation system.
The ATR trailing stop concept is well established in technical analysis. The original additions in this script are the dual-filter architecture and how the three layers interact to produce signals only when all conditions align.
─────────────────────────────────────
01 — What is Smart Trend?
─────────────────────────────────────
Smart Trend plots a dynamic trend line based on ATR volatility. The line trails price and flips direction when price breaks through it with volume confirmation. Two additional filters gate the signals — ensuring entries align with both macro trend direction and institutional volume participation.
The result is fewer but higher-quality signals compared to a standard ATR trailing stop.
─────────────────────────────────────
02 — Three-Layer Architecture
─────────────────────────────────────
Layer 1 — ATR Trend Engine (Core)
The trend line is calculated using ATR × multiplier applied to high/low. It trails in the direction of the trend and flips only when price closes on the opposite side with confirmation.
Upper band = high - (ATR × multiplier) — support in uptrend
Lower band = low + (ATR × multiplier) — resistance in downtrend
The trend line locks at the highest support or lowest resistance seen during the trend — it only moves in the direction of the trend, never against it.
Layer 2 — HMA Macro Filter (Original)
A Hull Moving Average with a long smoothing period (default 500) acts as a macro trend filter. When enabled, signals are only shown when the ATR trend direction agrees with the HMA macro direction. Conflicting signals (ATR bullish but price below HMA) are shown in gray — indicating low-confidence state.
This filter is the key difference from a standard Supertrend. It eliminates counter-trend entries in strongly trending markets.
Layer 3 — Volume Percentile Rank (Original)
A trend flip requires not just a price break but also a volume confirmation. Volume is ranked as a percentile over 500 bars. A flip only occurs if current volume rank exceeds the configured threshold (default 40th percentile).
This prevents trend flips on low-volume, potentially false breakouts.
─────────────────────────────────────
03 — Settings
─────────────────────────────────────
ATR Period — default 25
Lookback for ATR calculation. Higher = smoother trend line, less reactive.
Volatility Multiplier — default 3.2
Controls band width. Higher = fewer flips, stays in trend longer. Lower = more reactive, more signals.
Enable Main Trend Filter — default on
When on, signals require HMA macro trend agreement. When off, raw ATR signals only.
Main Trend Smoothness (HMA) — default 500
HMA length for macro trend. Higher = slower macro trend, fewer conflicting signals filtered out.
Show Background Bias Tint — default on
Green background = macro trend bullish. Red = macro trend bearish. Gray = conflicting state.
Require Volume Confirmation — default on
When on, trend flips require volume rank above threshold.
Volume Percentile Rank — default 40
Minimum volume percentile required for a trend flip. 40 = volume must be in top 60% of last 500 bars.
─────────────────────────────────────
04 — Signal Colors
─────────────────────────────────────
🟢 Teal line — ATR trend bullish, confirmed by HMA filter
🔴 Red line — ATR trend bearish, confirmed by HMA filter
⚫ Gray line — ATR trend direction conflicts with HMA macro trend — low confidence, avoid trading
BUY label — trend flipped bullish with all filters aligned
SELL label — trend flipped bearish with all filters aligned
─────────────────────────────────────
05 — How To Use
─────────────────────────────────────
Step 1 — Check background color
Green tint = macro trend bullish, look for longs only.
Red tint = macro trend bearish, look for shorts only.
Step 2 — Wait for trend line flip
BUY label = trend flipped to bullish with volume confirmation.
SELL label = trend flipped to bearish with volume confirmation.
Step 3 — Check line color
Teal or Red = high confidence signal (all filters aligned).
Gray = skip — ATR and HMA disagree.
Step 4 — Alerts
Two alert conditions are pre-configured:
Smart Trend: BUY Signal
Smart Trend: SELL Signal
─────────────────────────────────────
06 — Best Timeframes
─────────────────────────────────────
H1, H4 and D1 produce the most reliable signals with default settings.
On lower timeframes consider reducing the ATR Period to 14 and Volume Percentile to 30.
On higher timeframes (W1) consider increasing the ATR Period to 34+.
Works on all asset classes: Indices, Forex, Gold, Oil, Crypto. Indicator

Indicator

Adaptive Pressure Trail [JOAT]Adaptive Pressure Trail
Introduction
Adaptive Pressure Trail is an open-source overlay indicator that combines an HMA-based adaptive ratchet trail with a custom volume-weighted Money Flow Index to classify bars into bull pressure, bear pressure, and neutral states. The system uses a three-layer visual architecture — an outer volatility cloud, an inner ratchet band fill, and a core gradient pressure fill between the HMA baseline and candle mid-body — to create a clear, spatially organized picture of momentum and direction on any chart. Volatility squeeze detection identifies compression phases before potential breakouts, and high-confidence signals fire when a squeeze releases simultaneously with pressure alignment.
The core problem this indicator solves is that most trail-based systems are either too reactive (flipping constantly on noise) or too slow (missing meaningful moves). The HMA ratchet addresses this: the upper band only falls and the lower band only rises after a direction flip, preventing whipsaw while remaining responsive when momentum is genuine. Layering a volume-weighted MFI filter on top means a directional trail alone is not sufficient — volume-backed money flow must confirm the move before the indicator reports active pressure.
Core Concepts
1. HMA Adaptive Ratchet Trail
The trail baseline is computed using a Hull Moving Average, which provides low lag while remaining smooth. ATR-scaled upper and lower bands are applied around the HMA. The ratchet rule prevents band noise: the upper band can only move downward (or reset when price closes above it), and the lower band can only move upward (or reset when price closes below it). Direction flips when price closes through the active band. This creates a one-directional drift that is far more stable than a raw crossover trail:
The trail direction variable persists with var and updates each bar. Direction == 1 means the lower band is the active trail (bullish), direction == -1 means the upper band is the active trail (bearish).
2. Custom Volume-Weighted MFI
Rather than using a standard price-only momentum oscillator, the pressure engine uses a custom volume-weighted Money Flow Index. Positive flow is volume multiplied by HLC3 on bars where HLC3 increased; negative flow is volume multiplied by HLC3 on bars where HLC3 decreased. These are summed over the MFI length and converted to a 0-100 scale using the RSI formula. The result is smoothed with an HMA for responsiveness. This produces a momentum measure that is inherently volume-weighted — large-volume moves carry more influence than low-volume drift. The MFI is further smoothed to distinguish sustained pressure from transient spikes.
3. Pressure Regime Classification
Bull pressure is active when the trail direction is bullish AND the smoothed MFI is above the bull threshold. Bear pressure is active when the trail direction is bearish AND MFI is below the bear threshold. Neutral is everything else. This dual-condition structure means you need both directional commitment from the ratchet trail AND volume-backed momentum to enter a pressure state. Either condition alone is insufficient.
A rolling 50-bar history tracks what percentage of recent bars were in an active pressure state, producing a Pressure Strength percentage that indicates whether the current regime has been sustained or is a brief spike.
4. Squeeze Detection
Band width — the distance between the upper and lower ratchet bands — is compared to its own SMA. When band width drops below 72% of its recent average, the market is compressing. A squeeze start fires a golden diamond marker at the trail level. A squeeze release fires a larger circle marker. The high-confidence signal fires when a squeeze release coincides with an active pressure state, identifying the highest-probability setups where compressed volatility breaks out in a confirmed directional context.
5. Three-Layer Visual Architecture
The chart renders three nested visual layers:
Outer Cloud: The ATR envelope (cloudMult * ATR from HMA center) filled with a very transparent directional color — gives spatial context to where price is within the volatility range
Inner Band Fill: The ratchet upper and lower bands filled with medium transparency — shows the active directional channel
Core Pressure Fill: A gradient fill between the HMA baseline and the candle mid-body — transparent at the HMA, saturated at the body, colored by pressure state
The trail line itself uses three stacked plots at widths 10, 5, and 2 to create a neon glow shadow effect. Bar coloring uses color.from_gradient driven by MFI intensity, producing increasingly saturated candles as momentum builds.
Features
HMA Ratchet Trail with Triple-Layer Glow: Direction-persistent adaptive trail rendered as a neon glow (widths 10/5/2) using the bullish lime or bearish fuchsia color
Outer ATR Volatility Cloud: Wide ATR envelope filled directionally, providing spatial context at a glance
Inner Ratchet Band Fill: Gradient-filled active channel between upper and lower ratchet bands
Core Pressure Gradient: Background-to-body gradient between HMA and mid-body, colored by current pressure state
HMA Skeleton Reference: Subtle neutral line showing the raw HMA baseline beneath all fills
Volatility Squeeze Markers: Golden diamonds during compression, circle flash on breakout
High-Confidence Signal: Starred HC LONG / HC SHORT labels when squeeze releases into confirmed pressure alignment — the highest-quality setup the system produces
Volume Impulse Labels: When a strong directional candle exceeds the volume threshold, a label shows the volume ratio (e.g., 2.1x vol) at the bar
MFI Cross Markers: Small triangles on the trail when MFI crosses the 50 level, marking momentum regime shifts
TP Signals: Labeled plotshapes when MFI reaches overbought/oversold extremes in the trail direction
Pressure Strength Percentage: Rolling 50-bar % of time spent in active pressure — distinguishes sustained trends from brief spikes
Gradient Bar Coloring: color.from_gradient driven by MFI intensity — bars saturate as momentum builds and fade as it weakens
11-Row Dashboard: Pressure state, trail direction, MFI reading, pressure score, pressure strength %, volatility state, band width, trend bars, trail price, ATR
Input Parameters
Adaptive Trail:
Trail HMA Length: Period for the HMA baseline (default 21)
Trail ATR Multiplier: Width of inner ratchet bands (default 1.8)
Trail ATR Length: ATR lookback for band calculation (default 14)
Outer Cloud ATR Width: Outer envelope width multiplier (default 3.2)
Squeeze Reference Bars: SMA period for band-width baseline (default 20)
Pressure Filter:
MFI Length: Volume-weighted money flow lookback (default 14)
MFI Smoothing: HMA smoothing on raw MFI (default 7)
MFI Bull/Bear Thresholds: Activation levels for pressure states (default 62/38)
Signals:
TP Overbought/Oversold Levels: MFI levels that trigger TP signals (default 78/22)
Impulse Volume Multiplier: Volume multiple above SMA required for impulse label (default 1.3)
Visuals:
Toggles for entry signals, TP signals, glow, cloud, pressure fill, squeeze markers, and dashboard
Bull Color (default lime #a3e635), Bear Color (default fuchsia #e879f9), Neutral Color (default slate #94a3b8)
How to Use This Indicator
Primary Setup — Trend Following with Pressure Confirmation:
Look for the trail to flip direction (circle marker on trail). Wait for MFI to cross the bull or bear threshold, confirming the pressure state activates. Enter in the trail direction once the pressure fill color saturates. Trail your stop at the active trail line. Exit on a TP signal or when the pressure state deactivates.
High-Confidence Setup:
Wait for squeeze markers (golden diamonds) to appear, indicating compression. When the squeeze releases (larger circle flash) and the pressure state is simultaneously active, the HC LONG or HC SHORT label fires. These are the setups where compressed volatility breaks out with momentum behind it.
Filtering with Pressure Strength:
The dashboard Pressure Strength percentage tells you how sustained the current move has been. Values above 60% indicate a mature trend. Values below 30% indicate the pressure state is new or unstable. Adjust position sizing accordingly.
Reading Impulse Candles:
Volume impulse labels (e.g., "2.1x vol") mark bars where a strong directional move was accompanied by significantly elevated volume. These often mark the start or acceleration of a pressure phase and can serve as reference points for support/resistance.
APT dashboard showing bull pressure active, MFI at 71.2, P-Score 7.1/10, P-Strength at 64%, band width expanding after a squeeze release, and the trail at current price with ATR reference
Indicator Limitations
The ratchet trail requires a confirmed close through the active band to flip direction. On higher-timeframe charts with large candle bodies this can mean the flip is confirmed well after the actual turning point
The volume-weighted MFI requires volume data. On instruments with unreliable volume reporting (some forex pairs, synthetic indices) the pressure filter may be less meaningful than on equities or futures
Squeeze detection uses a 72% band-width threshold. In persistently low-volatility instruments this threshold may trigger too frequently; adjusting the Squeeze Reference Bars parameter can help
High-confidence signals require both a squeeze release and active pressure simultaneously. On trending markets with no compression phase, HC signals will be rare
MFI thresholds at 62/38 are defaults designed for balanced use; highly trending instruments may require raising the bull threshold and lowering the bear threshold to reduce false pressure activations
Originality Statement
This indicator is original in its combination of a ratchet-constrained HMA trail with a custom volume-weighted MFI, the three-layer nested visual system, and the squeeze-breakout confluence signal. While HMA trails and MFI oscillators exist independently, this publication is justified because:
The ratchet logic applied to HMA (rather than ATR midline or EMA) reduces lag while preventing the constant flipping common in standard trail indicators
The custom volume-weighted MFI differs from the standard MFI by using HLC3 as the price component with RSI-formula normalization, producing a smoother measure with better noise rejection
The three-layer nested fill architecture (outer cloud, inner band, core pressure gradient) provides a spatially organized visual system where the distance between layers communicates volatility context
Squeeze detection integrated with pressure confirmation for HC signals is a novel combination that identifies setups at the intersection of volatility compression and momentum alignment
The Pressure Strength rolling percentage provides a trend maturity measure not present in standard trail indicators
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice or a recommendation to buy or sell any financial instrument. Past performance of any pattern or signal does not guarantee future results. All trading involves substantial risk. Always use proper risk management and conduct your own independent analysis.
— Made with passion by officialjackofalltrades
Indicator

Code A - Terminal CoreCode A — Modular Multi-Factor Decision Engine. Code A is an advanced modular strategy that synthesizes trend, momentum, and volume filters into a single execution logic. It is built on the Confluence Principle: a signal is only triggered when multiple independent market dimensions align, effectively filtering out noise and focusing on high-probability setups.
Core Modules
Trend Core (HMA): An adaptive Hull Moving Average with concavity and acceleration detection. It determines the primary directional bias.
Dynamic EMA Ribbon: A layered stack of EMAs (13, 25, 50, 100, 200) that maps market structure, identifies trend hierarchy, and acts as dynamic support/resistance.
Wave & Money Flow: A specialized oscillator combining channel-based waves with volume‑weighted money flow to confirm institutional participation and accumulation phases.
Dual Momentum Layer (RSI & Stoch RSI): Secondary verification filters that ensure relative strength and stochastic momentum support the primary trend direction.
Seq / Exhaustion Counter: A TD-style bar counter that tracks consecutive directional moves. If the count exceeds the threshold (default = 3), the system blocks entries to prevent "buying the top" or entering during momentum exhaustion (Anti-FOMO logic).
Parabolic SAR Guard: A directional safety layer that validates entries only when price orientation is aligned with the Parabolic SAR.
Trend Scoring: A weighted health index based on historical price behavior (bars 11–20) that grades trend stability and strength.
The Filtration System (Logic Pipeline) The strategy utilizes a Strict Gate Logic (Logical AND):
Modularity: Users can toggle each filter (HMA, Ribbon, Wave, RSI, Seq, etc.) independently via the UI.
Strict Confluence: For a signal to trigger, ALL enabled filters must return a "TRUE" state simultaneously. If even one active filter detects a risk (e.g., Seq detects exhaustion), the signal is blocked.
Adaptive Gating: If a filter is disabled, it is treated as a permanent "TRUE" in the logic chain, allowing for modular control over trade frequency and aggressiveness.
Signal Processing: Includes crossover-specific logic and "Duplicate Signal Removal" to ensure only the highest-quality entry at the start of a trend is executed.
Key Settings & Notes
Heiken Ashi Optimized: The strategy is specifically designed to work with Heiken Ashi charts for smoother trend analysis.
Use Standard OHLC: Enabled (Mandatory for Heiken Ashi to ensure backtest results reflect real market prices and avoid "phantom" profits).
⚠️ DISCLAIMER This software is provided for educational and informational purposes only. Trading involves significant risk of loss and is not suitable for every investor. Past performance is not indicative of future results. The developers of Code A do not guarantee any specific financial outcome. Use of the strategy is at your own risk. Always perform your own due diligence or consult with a licensed financial advisor before making any investment decisions.
Русская версия
Code A — модульная мультифакторная стратегия и движок решений. Code A — это комплексная торговая система, объединяющая трендовые, импульсные и объёмные фильтры в единый алгоритм принятия решений. В основе лежит Принцип Конфлюэнции: сигнал генерируется только при совпадении нескольких независимых рыночных метрик, что минимизирует шум и повышает качество входов.
Основные модули
Trend Core (HMA): адаптивная средняя Халла с детектором вогнутости и ускорения. Служит основным фильтром для определения направления тренда.
Dynamic EMA Ribbon: набор из пяти EMA (13, 25, 50, 100, 200), визуализирующий структуру рынка и уровни динамической поддержки/сопротивления.
Wave & Money Flow: индикатор, сочетающий волновые отклонения с объёмно-взвешенным денежным потоком для подтверждения присутствия крупного капитала.
Dual Momentum Layer (RSI & Stoch RSI): слои вторичного подтверждения, гарантирующие, что индекс относительной силы и стохастический импульс находятся в фазе с трендом.
Seq / Exhaustion (Счётчик серий): механизм подсчёта последовательных баров в одном направлении. Предотвращает вход в сделку, если движение уже перегрето (например, 3 бара подряд), защищая от входа в фазе истощения (Anti-FOMO).
Parabolic SAR Guard: направленный фильтр безопасности, разрешающий сделки только при условии согласия цены с ориентацией Parabolic SAR.
Trend Scoring: взвешенный индекс на основе исторических данных (бары 11–20), выставляющий количественную оценку «здоровью» и стабильности движения.
Система фильтрации (Логический конвейер) Стратегия работает по принципу «Строгого шлюза» (Логическое «И»):
Модульность: Каждый фильтр (HMA, Ribbon, Wave, RSI, Seq и др.) можно включить или выключить в интерфейсе.
Полная конфлюэнция: Сигнал появится только тогда, когда ВСЕ включенные модули одновременно находятся в состоянии "TRUE". Если хотя бы один фильтр видит риск (например, Seq видит серию из 3+ баров), сигнал блокируется.
Гибкость настройки: Если фильтр отключен, он всегда выдаёт "TRUE" для основной формулы, что позволяет пользователю настраивать агрессивность системы под свой стиль торговли.
Очистка сигналов: Алгоритм включает проверку пересечений (Crossover) и удаление дублирующих сигналов, гарантируя вход в самом начале нового трендового движения.
Ключевые настройки и примечания
Оптимизировано для Heiken Ashi: Стратегия специально разработана для работы на графиках Heiken Ashi для более плавного и точного анализа трендов.
Use Standard OHLC: Включено (Обязательно для Heiken Ashi, чтобы тесты соответствовали реальности и учитывали фактические цены исполнения, исключая «рисованную» доходность).
⚠️ ОТКАЗ ОТ ОТВЕТСТВЕННОСТИ Данное программное обеспечение предоставляется исключительно в образовательных и ознакомительных целях. Торговля на финансовых рынках сопряжена с высоким риском и подходит не всем инвесторам. Результаты в прошлом не гарантируют доходности в будущем. Разработчики Code A не несут ответственности за любые финансовые убытки. Перед принятием инвестиционных решений рекомендуется провести самостоятельный анализ или проконсультироваться с лицензированным финансовым консультантом. Strategy

MTF Pure Delta Light [Zofesu]01 — Overview
What is MTF Pure Delta Light?
MTF Pure Delta Light is a minimalist overlay indicator that displays the volume delta of any chosen timeframe directly on your chart — as a compact, always-visible table widget. No separate pane, no clutter. Just the number and the trend direction.
Delta is the difference between buying and selling volume pressure for a bar. A positive delta means buyers dominated. A negative delta means sellers dominated. Combined with the HMA trend direction, you get an instant read on who is in control — on any timeframe — without leaving your chart.
BULLISH EXAMPLE
TF: D Delta Trend
+24.7K ▲
BEARISH EXAMPLE
TF: D Delta Trend
-19.4K ▼
Why "Light"?
This is the lightweight companion to the full Flow Oscillator. No separate pane, no cumulative history — just the current bar's delta value and trend direction from your chosen timeframe, always visible on the chart. Designed for traders who want context without complexity.
02 — Delta Calculation
How Delta Is Measured
The indicator uses the same dual-source delta standard as the full Flow Oscillator:
Footprint - Real bid/ask volume delta via fp.delta(). Used when your broker or data feed provides footprint data. Exact buying vs. selling volume per bar. High ✅
Elder CTI - Approximation using volume × (2×close − high − low) / range. Automatic fallback when footprint is unavailable. Works on all instruments and brokers. Good ⚡
The delta is then smoothed using an HMA (Hull Moving Average) to determine trend direction. HMA is used specifically because it minimises lag — the trend signal responds quickly to delta shifts without excessive whipsawing.
03 — Table Widget
Reading the Display
The table widget shows two values at all times:
Delta Value (left)
The raw delta of the selected timeframe bar. Green = positive (buyers dominated). Red = negative (sellers dominated). Formatted as volume shorthand (K, M).
Trend Arrow (right)
▲ Green — HMA delta trend rising. Buying pressure increasing.
▼ Red — HMA delta trend falling. Selling pressure increasing.
▬ Gray — No change. Neutral.
✅ Strong Bullish
Delta positive AND trend arrow ▲. Buyers in control and accelerating. Highest confidence bullish read.
⚠️ Divergence Warning
- Delta positive BUT trend arrow ▼ — buying is slowing.
- Delta negative BUT trend arrow ▲ — selling is slowing.
Potential shift incoming.
✅ Strong Bearish
Delta negative AND trend arrow ▼. Sellers in control and accelerating. Highest confidence bearish read.
➡️ Neutral
Delta near zero or trend arrow ▬. No dominant force. Avoid directional bias until one side takes control.
04 — Settings
Configuration Parameters
Group - Parameter - Default - Description
Core - Target Timeframe - D - Timeframe for delta calculation. Use standard TV notation: 1, 5, 15, 60, 240, D, W. Leave D for daily delta on any intraday chart.
Core - Trend Smoothing (HMA) - 5 - HMA length for delta trend direction. Lower = faster reaction, more signals. Higher = smoother, fewer but stronger signals.
UI - Table Position - Top Right - Position of the widget on the chart. Options: Top Right, Top Left, Bottom Right, Bottom Left, Middle Right, Middle Left.
UI - Text Size - Large - Widget text size. Small for compact charts, Large for readability at a glance.
UI - Background Opacity - 80 - Transparency of the widget background. 0 = fully transparent, 100 = fully opaque black.
Timeframe examples:
60 = 1 hour · 240 = 4 hours · D = Daily · W = Weekly
Recommended setup: If you trade H1 charts, set Target Timeframe to D. You get the daily delta context without switching charts.
05 — Use Cases
When and How to Use It
Higher timeframe context on intraday charts
Set Target Timeframe to D while trading on H1 or H4. The widget shows you whether the daily bar is currently dominated by buyers or sellers — without leaving your intraday view. Align your intraday trades with the daily delta direction for higher probability setups.
Quick confluence check
Before entering a trade, check the widget. If your price action setup is bullish but the delta is strongly negative with a ▼ trend — reconsider. If everything aligns — price structure, S/R, and positive delta ▲ — confidence increases.
Multi-indicator stack
MTF Pure Delta Light is designed to run alongside other indicators without occupying a separate pane. Pair it with Best MA for trend context and Flow Oscillator for cumulative delta history — all three together give a complete volume-delta picture.
Important: Delta is a confirmation tool, not a prediction tool. A positive delta tells you buyers dominated the last completed bar on your chosen timeframe — it does not guarantee the next bar will be bullish. Always use price structure and S/R as your primary decision framework. Indicator

Indicator

Ultimate MTF Trend Dashboard [identityKa]Overview
The Ultimate MTF Trend Dashboard is a comprehensive trend-following ecosystem that combines a zero-lag overlay cloud with a strict Multi-Timeframe (MTF) alignment dashboard. Designed for traders who require deep market context, this indicator visually tracks the immediate trend while simultaneously cross-referencing higher timeframes (15m, 1H, 4H, and Daily) to ensure trades are taken in the direction of the dominant macroeconomic flow.
Mathematical Engine & Non-Repainting Logic
The core trend calculation is built upon the Hull Moving Average (HMA). HMAs are favored for their ability to significantly reduce lag while maintaining a smooth curve.
The Cloud: The script calculates a Fast HMA (default 14) and a Slow HMA (default 50). The area between them is filled to create a visual "Cloud." When the Fast HMA is above the Slow HMA, the cloud represents a bullish trend, and vice versa.
Non-Repainting MTF Engine: Traditional MTF indicators in Pine Script often suffer from repainting issues by looking ahead into unclosed bars. This script solves that by securely fetching historical offset data ( ) combined with barmerge.lookahead_on across all higher timeframes. This guarantees that the dashboard values are strictly historically accurate and non-repainting.
HUD Dashboard & AI State Suggestion
The on-chart panel serves as the central intelligence hub, constantly evaluating the HMA state across four distinct timeframes. At the bottom of the dashboard is the rule-based AI Suggestion:
LONG: Triggered only when the 15m, 1H, 4H, and 1D timeframes are all simultaneously in a Bullish state (Fast HMA > Slow HMA).
SHORT: Triggered only when all four tracked timeframes are simultaneously in a Bearish state (Fast HMA < Slow HMA).
Dangerous: Displayed when there is a conflict between timeframes (e.g., 1H is Bullish, but 4H is Bearish). This mathematically indicates market chop or a broader consolidation phase.
How to Use It
This tool acts as a supreme filter for Price Action trading. Traders should avoid taking trend-continuation setups when the AI Suggestion reads "Dangerous." Instead, patience should be exercised until full MTF alignment occurs. When the dashboard outputs "LONG" or "SHORT," traders can look for pullbacks into the local HMA Cloud on their execution timeframe to find optimal, low-risk entries in the direction of the undeniable macro trend. Indicator

Aura Mean Reversion Envelopes [Pineify]Aura Mean Reversion Envelopes
The Aura Mean Reversion Envelopes is a volatility-adaptive envelope indicator designed to identify high-probability mean reversion trade setups. It combines a Hull Moving Average (HMA) baseline with ATR-based dynamic envelopes to detect when price has reached statistically extreme levels and is likely to revert back toward its fair value. Unlike static channel indicators, this tool continuously adapts its bands to current market volatility, making it effective across different instruments and timeframes.
Key Features
Hull Moving Average (HMA) as the central mean — provides a smooth, low-lag baseline that closely tracks the "fair value" of price.
ATR-based dynamic envelopes — four bands (inner and outer, upper and lower) that automatically expand and contract with market volatility.
Wick rejection reversal signals — BUY and SELL markers triggered only when price pierces the exhaustion zone but closes back inside with a confirming candlestick pattern.
Visual cloud zones — color-filled regions between bands clearly delineate overbought, oversold, and neutral mean-reversion corridors.
Extreme candle coloring — optional bar coloring highlights candles closing beyond the inner bands for at-a-glance identification of stretched price action.
Built-in alert conditions — configurable alerts for both bullish and bearish reversal signals so you never miss a setup.
How It Works
The indicator is built on the principle of mean reversion — the statistical tendency for price to return to its average after moving to an extreme. The core calculation pipeline is:
A Hull Moving Average (HMA) of the closing price over a user-defined period (default: 34) is computed. HMA was chosen over SMA or EMA because it dramatically reduces lag while maintaining smoothness, giving a more accurate representation of the current mean.
Market volatility is measured using the Average True Range (ATR) over a separate lookback period (default: 21). ATR captures the true range of each bar — including gaps — providing a robust, adaptive volatility metric.
Four envelope bands are constructed symmetrically around the HMA baseline by adding and subtracting ATR multiplied by two configurable multipliers: an inner multiplier (default: 1.618, the golden ratio) and an outer multiplier (default: 3.0). The inner bands define the boundary of normal price oscillation, while the outer bands mark exhaustion zones where price has deviated significantly.
Reversal signals are generated using a wick rejection pattern: a bullish signal fires when the bar's low pierces below the lower outer band, but the candle closes bullishly (close > open) and above the outer band. This pattern indicates that sellers pushed price to an extreme but were overwhelmed by buyers. The bearish signal uses the mirror logic on the upper side.
Trading Ideas and Insights
Mean reversion strategies work best in ranging and oscillating markets. Here are some practical ways to use this indicator:
Fade the extremes: When a BUY or SELL signal appears at the outer exhaustion band, consider entering a position targeting the central HMA mean line as your take-profit level. The mean line acts as a natural magnet for price.
Use the inner bands as a filter: If price is between the inner bands and the mean, the market is in "normal" territory — avoid counter-trend entries. Wait for price to reach the outer bands before looking for reversal setups.
Combine with trend context: On higher timeframes, determine the dominant trend direction. Then on your trading timeframe, only take signals that align with the higher-timeframe trend (e.g., only BUY signals in an uptrend) for higher win rates.
Watch for candle coloring clusters: Multiple consecutive colored candles beyond the inner band suggest sustained momentum — a reversal signal after such a cluster can be particularly powerful.
How Multiple Indicators Work Together
This indicator integrates two distinct technical concepts into a unified framework:
Hull Moving Average (trend/mean tracking) — The HMA serves as the anchor point, representing the current equilibrium price. Its low-lag property ensures the mean line stays close to actual price action rather than trailing behind, which is critical for accurate envelope placement.
Average True Range (volatility measurement) — ATR dynamically sizes the envelope bands. During high-volatility periods, the bands widen to avoid false signals; during low-volatility periods, they tighten to capture smaller but still meaningful deviations.
The synergy between these two components is what makes the indicator adaptive: the HMA tracks where price should be, while the ATR determines how far is too far. Together, they create a self-adjusting framework that does not require manual recalibration across different market conditions.
The reversal signal logic adds a third layer — candlestick pattern confirmation — by requiring a wick rejection at the outer band. This prevents signals from firing during strong breakouts where price legitimately moves beyond the envelope.
Unique Aspects
HMA over EMA/SMA: Most envelope indicators use simple or exponential moving averages, which introduce significant lag. The Hull Moving Average virtually eliminates this lag, resulting in more accurately centered envelopes.
Dual-layer envelope design: The inner and outer band structure creates distinct zones (normal, extended, exhaustion) rather than a single binary overbought/oversold threshold, giving traders more nuanced context.
Golden ratio default: The inner band multiplier defaults to 1.618 (the Fibonacci golden ratio), a mathematically significant threshold that aligns with natural price clustering behavior observed across many markets.
Wick rejection confirmation: Signals require both a pierce beyond the outer band AND a confirming close back inside with a bullish/bearish candle body, filtering out many false signals that plague simpler band-touch systems.
How to Use
Apply the indicator to your chart. It overlays directly on the price chart with the HMA mean line, four envelope bands, and color-filled zones.
Watch for BUY triangles below bars at the lower outer band and SELL triangles above bars at the upper outer band. These are the primary reversal signals.
Use the colored candles as an early warning — when candles start coloring, price is in the extended zone and approaching potential reversal territory.
Set alerts via the built-in alert conditions ("Bullish Mean Reversion" and "Bearish Mean Reversion") to receive notifications when signals fire.
Target the central HMA mean line for take-profit on reversal trades, or use the inner band on the opposite side for more aggressive targets.
Customization
Mean Tracking Period (default: 34): Controls the HMA lookback. Lower values make the mean more responsive to recent price; higher values produce a smoother, slower-moving baseline. Adjust based on your trading timeframe.
Volatility (ATR) Period (default: 21): Controls the ATR lookback for band sizing. Shorter periods make bands more reactive to recent volatility spikes; longer periods smooth out the band width.
Inner Band Multiplier (default: 1.618): Defines the boundary between normal and extended price zones. Increase for wider normal zones (fewer colored candles); decrease for tighter zones.
Outer Band Multiplier (default: 3.0): Defines the exhaustion zone threshold. Higher values produce fewer but more extreme signals; lower values generate more frequent signals.
Color Candles at Extremes: Toggle on/off the candle coloring feature for candles closing beyond the inner bands.
All colors (bullish, bearish, mean line) are fully customizable via the Aesthetics & Colors settings group.
Conclusion
The Aura Mean Reversion Envelopes combines the precision of the Hull Moving Average with ATR-adaptive volatility bands and candlestick-confirmed reversal signals to create a comprehensive mean reversion trading tool. Its dual-layer envelope design provides clear visual zones for identifying when price is normal, extended, or at exhaustion — helping traders time entries at statistically favorable levels where price is most likely to revert toward its mean. Whether you trade forex, crypto, stocks, or futures, this indicator adapts to your market's volatility and provides actionable signals with built-in confirmation logic. Indicator

SMI Fractal Iron HMASMI FRACTAL IRON HMA
Professional Multi-Engine Trading Overlay
Version 7.0 • February 2026 • Pine Script™ v6 • Overlay Indicator
By NPR21
FIVE INTEGRATED ENGINES
Fractal Pivots │ SMI Filter │ HMA Forecast │ Risk Management │ Short Trend Dashboard
DESCRIPTION
SMI Fractal Iron HMA integrates five complementary analytical engines into a single overlay indicator, designed so that each component addresses a different dimension of trade analysis — structure, momentum, trend context, risk parameters, and real-time directional scoring — and the outputs of each engine reinforce or qualify the signals of the others.
▸ Fractal Pivot Detection
Identifies structural swing highs and lows using fractal pivot logic with a key innovation: the left-side structural lookback and the right-side confirmation delay are split into two independent inputs. This allows traders to maintain high structural selectivity (catching only significant swing points) while independently controlling how many bars of confirmation are required before a signal prints. Setting Right Bars to zero enables zero-delay mode where the label appears on the forming bar itself.
▸ Stochastic Momentum Index (SMI) Filter
A double-smoothed EMA of the price-to-midpoint relationship, scaled to a configurable range. When enabled as a filter, long signals only print when SMI is rising and short signals only print when SMI is falling. Signals opposing the current momentum direction are silently suppressed, reducing noise without adding visual clutter.
▸ HMA Trend Duration Forecast
Tracks the Hull Moving Average slope to determine trend state. Each completed trend’s duration is stored in a rolling sample. The historical average projects the probable length of the current trend. On the chart: a white arrow line shows the forecast window, a Trend ↑ Up Real or Trend ↓ Down Real label updates in real time with the current bar count, and a Prob: label shows the forecasted duration. HMA BUY and HMA SELL labels print at each trend change with optional price display.
▸ Risk Management System
Activates on each confirmed pivot signal and draws five horizontal levels: Entry, Stop Loss (configurable in points or percentage), and three Take Profit tiers calculated as Reward:Risk multiples. Features include:
•TP hit tracking — each level changes to dashed with a check-mark label when price reaches it.
•Trailing stop — moves to breakeven at a configurable threshold, then trails by a fixed offset.
•TP2+ reversal exit — after TP2 is hit, closes the trade if price reverses by a specified distance before TP3.
•P&L dashboard — real-time display of direction, entry, current P&L in the selected currency, R:R ratio, dollar risk/reward at each TP, bars in trade, HMA trend direction, and probable trend length.
•Auto-reset — clears all trade objects when a trade completes (SL, TP3, or TP2+ reversal), readying for the next signal.
▸ Short Trend Dashboard
A 5-component real-time scoring engine that votes on the current bar’s directional bias:
•Momentum (25 pts) — price change vs. ATR-scaled threshold.
•Candle Structure (25 pts) — body-to-range ratio and wick rejection analysis.
•Micro Trend (25 pts) — fast/slow EMA crossover with ATR-normalized gap scoring.
•Acceleration (25 pts) — bar-to-bar momentum change detecting speed gain or loss.
•Volume B/S (10 pts) — estimated buy vs. sell pressure from close position within bar range.
The composite score (0–100) produces a letter grade (A+, A, B, C) and a directional label (BULLISH, BEARISH, LEAN BULL/BEAR, or NEUTRAL). The TEMP Heat Gauge (0–100) blends seven sub-indicators (ROC, RSI, Stochastic, Volume Pressure, EMA Position, Candle, Acceleration) into a single temperature reading (HOT / WARM / NEUTRAL / COOL / COLD). Scalper Mode activates ultra-fast EMA and momentum presets optimized for 1–5 minute charts with Instant Flip detection for single-bar reversals.
▸ Why These Five Engines Together
Each engine answers a different question. The pivot engine identifies where structure turns. The SMI filter confirms whether momentum supports the signal. The HMA forecast provides how long the trend is likely to last. The risk management system defines how much is at stake. The Short Trend Dashboard gives a right now directional confidence score. Together they create a workflow: detect the turn, confirm direction, understand trend context, manage the trade, and monitor conviction — all from a single indicator.
HOW TO USE
▸ Getting Started
1.Add the indicator to your chart. Default settings (Left 5 / Right 1) provide a balanced starting point with strong structural selectivity and minimal delay.
2.BUY labels appear below swing lows. SELL labels appear above swing highs. In Confirmed + Preview mode, semi-transparent labels flicker during bar formation and lock solid at bar close.
3.Use the HMA colored line and trend forecast labels to understand the broader trend context. HMA BUY and HMA SELL labels mark each trend change.
4.Enable Risk Management to see SL/TP lines and the P&L dashboard on each confirmed signal.
5.Monitor the Short Trend Dashboard for real-time confirmation. CONSENSUS +4/5 or +5/5 indicates strong alignment across all components.
▸ Tuning the Pivot Detection
•Left 5 / Right 5: Maximum accuracy. Pivot must be highest/lowest of 11 bars. 5-bar confirmation delay. Best for identifying only major swing points.
•Left 5 / Right 1: Strong selectivity, minimal delay. Preview label flickers on the confirmation bar. Good balance for scalping and active trading.
•Left 5 / Right 0: Zero-delay mode. Label appears on the pivot bar during formation. Fastest possible signal. Useful for scalping when combined with the SMI filter.
•Left 8–10 / Right 0: Zero delay with larger left lookback to compensate for missing right-side confirmation.
▸ Configuring Risk Management
•Enable the Risk Management Overlay toggle. Set Stop Loss in points (e.g., MNQ: 3–5 pts) or as a percentage of entry price.
•Set TP1, TP2, TP3 as Reward:Risk multiples (defaults: 2:1, 3:1, 4:1). Adjust to your trading style.
•Set Point Value for your instrument: MNQ = 2, MES = 5, MYM = 0.5, MGC = 10, MCL = 10.
•The P&L dashboard updates every bar showing dollar P&L, R:R ratio, and TP hit status.
•Enable trailing stop for trades that run: set breakeven threshold, trail start, and trail offset distances.
▸ Reading the Short Trend Dashboard
•Direction + Score: BULLISH/BEARISH/LEAN with a score of 0–100. Grade A+ or A = high conviction.
•TEMP Heat Gauge: Above 70 = HOT (overbought). Below 30 = COLD (oversold). 45–55 = NEUTRAL.
•CONSENSUS: Total vote out of 5 components. +4/5 or +5/5 = strong directional alignment.
•Scalper Mode: Ultra-fast presets for 1–5 min charts. Instant Flip marks single-bar reversals with ** notation.
▸ Label Display Options
•Stack: Label sits directly on the high/low with offset ticks. Text stacks vertically with optional timestamp.
•Pointer: Label offset to the side with a pointer coming off the corner pointing at the exact high/low of the bar.
•Timestamp: Five formats: HH:mm, HH:mm:ss, h:mm a, MMM dd HH:mm, MMM dd. Uses the chart’s time zone.
▸ Suggested Starting Settings
•Scalping (1–5 min): Left 5, Right 1, HMA Length 9–14, Scalper Mode ON, SL 3–5 pts
•Day Trading (5–15 min): Left 5, Right 2–3, HMA Length 14–20, Scalper Mode OFF, SL 5–10 pts
•Swing Trading (1H–4H): Left 5, Right 5, HMA Length 20–50, Scalper Mode OFF, SL 10–25 pts
•Zero-Lag Mode: Left 7–10, Right 0, SMI Filter ON, HMA Length 14, Scalper Mode ON
DISCLAIMER
This indicator is a technical analysis tool designed to assist with identifying potential swing reversal points, trend direction, and trade risk parameters. It is not a standalone trading system and does not constitute financial advice. No indicator can predict future price movement. Past performance of any signal methodology does not guarantee future results. Always use proper risk management and consider multiple sources of analysis. The author assumes no responsibility for trading losses. Use at your own risk. Indicator

Indicator

Adaptive Hull Momentum Ribbon [JOAT]Adaptive Hull Momentum Ribbon
Introduction
The Adaptive Hull Momentum Ribbon is an open-source trend-following indicator that combines a 5-layer Hull Moving Average (HMA) ribbon with EMA cloud analysis, key moving averages (SMA 50/200, EMA 200), crossover detection, and comprehensive trend strength analytics. This mashup creates a multi-layered trend identification system designed to show not just trend direction, but trend quality, alignment across multiple timeframes, and confluence between different moving average methodologies.
The indicator addresses a fundamental challenge in trend trading: single moving averages provide limited information about trend strength and quality. By layering five HMAs with different periods, adding an EMA cloud for short-term momentum, and tracking alignment with key institutional moving averages, this tool provides a complete picture of trend health that helps traders distinguish between strong trends worth following and weak trends likely to fail.
Chart showing 5-layer HMA ribbon, EMA cloud, and key MAs with trend dashboard on D timeframe
Why This Mashup Exists
This indicator combines four moving average frameworks that complement each other:
Hull Moving Average Ribbon: 5 HMAs (8, 13, 21, 34, 55) providing smooth, responsive trend indication
EMA Cloud: Fast (9) and Slow (21) EMAs showing short-term momentum
Key Institutional MAs: SMA 50, SMA 200, EMA 200 tracked by institutions globally
Crossover Detection: Golden Cross, Death Cross, and HMA crossovers
Each component serves a specific purpose: HMA Ribbon shows trend with minimal lag, EMA Cloud captures short-term momentum shifts, Key MAs provide institutional reference levels, and Crossovers signal major trend changes. Together, they create a comprehensive trend analysis system that shows both micro (HMA/EMA) and macro (SMA 50/200) trend structure.
The mashup is justified because these moving average types use fundamentally different calculations (weighted moving average with square root period for HMA, exponential weighting for EMA, simple average for SMA) that respond to price changes differently. When they align, it indicates genuine trend strength across multiple calculation methods and timeframes.
Core Components Explained
1. Hull Moving Average Ribbon System
HMA calculation provides smooth, responsive moving averages with reduced lag:
// Hull Moving Average formula
hullMA(src, length) =>
wma1 = ta.wma(src, length / 2)
wma2 = ta.wma(src, length)
ta.wma(2 * wma1 - wma2, int(math.sqrt(length)))
// 5-layer ribbon
hma8 = hullMA(close, 8) // Fastest, most responsive
hma13 = hullMA(close, 13)
hma21 = hullMA(close, 21) // Medium-term trend
hma34 = hullMA(close, 34)
hma55 = hullMA(close, 55) // Slowest, smoothest
HMA advantages over traditional MAs:
Significantly reduced lag compared to SMA/EMA
Smooth line without excessive whipsaws
Responsive to price changes while filtering noise
Square root period weighting provides optimal balance
Ribbon interpretation:
Full Bullish Alignment: HMA8 > HMA13 > HMA21 > HMA34 > HMA55 = strong uptrend
Full Bearish Alignment: HMA8 < HMA13 < HMA21 < HMA34 < HMA55 = strong downtrend
Mixed Alignment: HMAs crossing or intertwined = weak trend or consolidation
Ribbon Width: Wide ribbon = strong trend, narrow ribbon = weak trend
The indicator plots all 5 HMAs with gradient coloring (green to red) and fills between them to create visual ribbon effect.
2. EMA Cloud System
Fast and slow EMAs create a cloud showing short-term momentum:
emaFast = ta.ema(close, 9) // Short-term momentum
emaSlow = ta.ema(close, 21) // Medium-term trend
// Cloud color
emaCloudBullish = emaFast > emaSlow
emaCloudBearish = emaFast < emaSlow
EMA Cloud significance:
Fast EMA above Slow EMA = bullish momentum
Fast EMA below Slow EMA = bearish momentum
Cloud acts as dynamic support/resistance
Cloud thickness indicates momentum strength
Price above cloud = bullish, below cloud = bearish
The indicator fills the area between fast and slow EMAs with color based on direction (green for bullish, red for bearish).
3. Key Institutional Moving Averages
Three widely-watched institutional moving averages:
sma50 = ta.sma(close, 50) // Short-term institutional trend
sma200 = ta.sma(close, 200) // Long-term institutional trend
ema200 = ta.ema(close, 200) // Alternative long-term trend
// Golden Cross / Death Cross
goldenCross = sma50 > sma200 // Bullish long-term
deathCross = sma50 < sma200 // Bearish long-term
Key MA significance:
SMA 50: Short-term institutional trend, strong support/resistance
SMA 200: Most watched long-term trend indicator globally
EMA 200: More responsive alternative to SMA 200
Golden Cross: SMA 50 crosses above SMA 200 = major bullish signal
Death Cross: SMA 50 crosses below SMA 200 = major bearish signal
These MAs are plotted with distinct colors and act as major support/resistance levels.
4. Comprehensive Crossover Detection
The indicator detects multiple types of crossovers:
// Golden Cross / Death Cross (major signals)
goldenCross = ta.crossover(sma50, sma200)
deathCross = ta.crossunder(sma50, sma200)
// EMA Cloud crossovers (momentum shifts)
emaBullCross = ta.crossover(emaFast, emaSlow)
emaBearCross = ta.crossunder(emaFast, emaSlow)
// HMA fast crossovers (early trend changes)
hmaFastBullCross = ta.crossover(hma8, hma13)
hmaFastBearCross = ta.crossunder(hma8, hma13)
Crossover hierarchy:
Golden/Death Cross: Major long-term trend changes (rare, very significant)
EMA Crossovers: Medium-term momentum shifts (moderate frequency)
HMA Crossovers: Short-term trend changes (frequent, early signals)
The indicator marks crossovers with shapes: circles for Golden/Death Cross, triangles for EMA crossovers, diamonds for HMA crossovers.
5. Trend Strength Analytics
Comprehensive trend strength calculation:
// Calculate alignment score
alignmentScore = 0
alignmentScore := (close > hma8 ? 1 : -1) +
(close > hma13 ? 1 : -1) +
(close > hma21 ? 1 : -1) +
(close > hma34 ? 1 : -1) +
(close > hma55 ? 1 : -1) +
(close > emaFast ? 1 : -1) +
(close > emaSlow ? 1 : -1) +
(close > sma50 ? 1 : -1) +
(close > sma200 ? 1 : -1)
// Normalize to 0-100 scale
trendStrength = (alignmentScore + 9) / 18 * 100
Trend Strength interpretation:
75-100: STRONG BULL - price above all MAs, high-quality uptrend
55-74: BULL - price above most MAs, moderate uptrend
45-54: NEUTRAL - mixed signals, no clear trend
26-44: BEAR - price below most MAs, moderate downtrend
0-25: STRONG BEAR - price below all MAs, high-quality downtrend
Example showing full HMA alignment with 55% trend strength score
Confluence Scoring System
The indicator calculates a confluence score showing agreement between different MA systems:
Confluence Score Components:
- HMA Trend: +3 if full alignment, 0 if mixed, -3 if opposite
- EMA Cloud: +2 if bullish, -2 if bearish
- Price vs SMA 50: +1 if above, -1 if below
- Price vs SMA 200: +2 if above, -2 if below
- SMA 50 vs 200: +2 if golden cross, -2 if death cross
Total Range: -10 to +10
Confluence interpretation:
+8 to +10: STRONG confluence - all systems aligned bullish
+5 to +7: MODERATE confluence - most systems bullish
-4 to +4: WEAK confluence - mixed or conflicting signals
-7 to -5: MODERATE confluence - most systems bearish
-10 to -8: STRONG confluence - all systems aligned bearish
Enhanced Dashboard System
The dashboard (top-right position) displays 9 rows:
Row 1: MA System header
Row 2: Trend classification (STRONG BULL/BULL/NEUTRAL/BEAR/STRONG BEAR)
Row 3: Trend Strength percentage (0-100%)
Row 4: HMA Alignment status (Bullish/Bearish/Mixed)
Row 5: EMA Cloud status (Bullish/Bearish)
Row 6: Price vs 200 MA (Above/Below)
Row 7: 50 vs 200 MA (Golden/Death)
Row 8: Confluence score (-10 to +10)
Row 9: Confluence strength (STRONG/MODERATE/WEAK)
Dashboard showing trend metrics with color-coded confluence score
Visual Elements
HMA Ribbon: 5 HMA lines with gradient coloring (green to red) and fills between lines
EMA Cloud: Filled area between fast and slow EMAs with transparency
SMA 50: Blue line (short-term institutional trend)
SMA 200: Orange line (long-term institutional trend)
EMA 200: Purple line (alternative long-term trend)
Golden/Death Cross Markers: Large circles at major crossovers
EMA Cross Markers: Small triangles at EMA crossovers
HMA Cross Markers: Tiny diamonds at HMA crossovers
Dashboard: Comprehensive table with all trend metrics
How Components Work Together
The mashup creates layered trend analysis:
Layer 1 - Micro Trend: HMA 8/13 crossovers show earliest trend changes
Layer 2 - Short-Term Momentum: EMA cloud shows momentum direction
Layer 3 - Medium-Term Trend: HMA 21/34/55 ribbon shows established trend
Layer 4 - Institutional Trend: SMA 50/200 show long-term institutional bias
Layer 5 - Synthesis: Trend strength and confluence scores combine all layers
Example scenario: HMA 8 crosses above HMA 13 (Layer 1), EMA cloud turns bullish (Layer 2), all 5 HMAs align bullish (Layer 3), price is above SMA 50 and SMA 200 in golden cross (Layer 4). Trend strength reaches 92% and confluence score is +9 (Layer 5), signaling extremely strong uptrend with all systems aligned.
Input Parameters
HMA Ribbon Settings:
Show HMA Ribbon: Toggle ribbon display (default: enabled)
HMA 1 Length: Fastest HMA (default: 8)
HMA 2 Length: (default: 13)
HMA 3 Length: (default: 21)
HMA 4 Length: (default: 34)
HMA 5 Length: Slowest HMA (default: 55)
EMA Cloud Settings:
Show EMA Cloud: Toggle cloud display (default: enabled)
Fast EMA: Short-term EMA (default: 9)
Slow EMA: Medium-term EMA (default: 21)
Cloud Transparency: Adjust fill transparency (default: 85)
Key MA Settings:
Show SMA 50: Toggle SMA 50 (default: enabled)
Show SMA 200: Toggle SMA 200 (default: enabled)
Show EMA 200: Toggle EMA 200 (default: enabled)
Crossover Settings:
Show Crossovers: Toggle crossover markers (default: enabled)
Show Golden/Death Cross: Major crossovers (default: enabled)
Show EMA Crossovers: EMA cloud crossovers (default: enabled)
Show HMA Crossovers: HMA fast crossovers (default: enabled)
Display Options:
Show Trend Strength: Toggle dashboard (default: enabled)
Ribbon Transparency: Adjust HMA fill transparency (default: 70)
Dashboard Position: Top-right, top-left, etc.
Color Theme: Choose color scheme
How to Use This Indicator
Step 1: Check HMA Ribbon Alignment
Look for full alignment (all 5 HMAs in order). Full alignment indicates strong, high-quality trend worth following.
Step 2: Verify EMA Cloud Direction
Ensure EMA cloud supports HMA direction. Bullish HMA + bullish EMA cloud = strong confirmation.
Step 3: Check Key MA Position
Verify price is above SMA 50 and SMA 200 for long trades, below for short trades. Golden Cross adds significant bullish weight.
Step 4: Review Trend Strength
Check dashboard trend strength percentage. Above 70% indicates strong trend, below 40% suggests caution.
Step 5: Assess Confluence Score
Review confluence score. Scores above +7 indicate strong multi-system alignment. Scores near 0 suggest mixed signals.
Step 6: Watch for Crossovers
Monitor crossover markers. Golden/Death Cross are major signals. HMA crossovers provide early trend change warnings.
Best Practices
Use on 1-hour to daily timeframes for optimal trend identification
Full HMA alignment (5/5) produces highest-quality trend-following opportunities
EMA cloud acts as dynamic support/resistance - use for entry refinement
Golden Cross with full HMA alignment = extremely strong bullish setup
Trend strength above 80% suggests strong trend continuation potential
Confluence score above +8 indicates rare, high-probability trend alignment
HMA crossovers provide early warnings but confirm with other layers
Wide ribbon spacing indicates strong momentum, narrow spacing suggests consolidation
Combine with price action and key levels for precise entries
Indicator Limitations
Moving averages are lagging indicators - trends confirmed after they've started
HMA crossovers can produce false signals in choppy markets
Full alignment is rare - waiting only for perfect setups may miss opportunities
Trend strength can remain high even as trend is ending
Golden/Death Cross signals are very lagging (occur well after trend change)
Multiple MAs can clutter chart - adjust display settings as needed
Confluence score is mathematical calculation, not prediction
Strong trends can reverse suddenly despite high trend strength scores
Requires understanding of moving average concepts for effective use
Technical Implementation
Built with Pine Script v6 using:
Custom Hull Moving Average calculation with WMA and square root period
5-layer HMA ribbon with gradient fills
EMA cloud with dynamic coloring
Key institutional MA tracking (SMA 50/200, EMA 200)
Multiple crossover detection systems
Comprehensive trend strength algorithm
Confluence scoring with weighted components
9-row dashboard with real-time metrics
Alert conditions for all major crossovers
The code is fully open-source and can be modified to adjust MA periods, colors, and dashboard layout.
Originality Statement
This indicator is original in its multi-layer moving average integration approach. While individual components (HMA, EMA cloud, SMA 50/200, crossovers) are established tools, this mashup is justified because:
It combines three different MA calculation methods (HMA, EMA, SMA) that respond differently to price
5-layer HMA ribbon provides granular trend quality assessment
Trend strength algorithm quantifies alignment across all 9 moving averages
Confluence scoring shows agreement between different MA systems
Integration of micro (HMA/EMA) and macro (SMA 50/200) trend perspectives
Comprehensive dashboard presents complex multi-MA data clearly
Each MA type contributes unique information: HMAs provide responsive trend indication with minimal lag, EMAs show short-term momentum, and SMAs provide institutional reference levels. The mashup's value lies in showing when these different calculation methods align, indicating genuine trend strength across multiple mathematical approaches and timeframes.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Moving averages are lagging indicators that confirm trends after they've begun. They do not predict future price movement. Strong trends can reverse suddenly, and high trend strength scores do not guarantee trend continuation. Golden Cross and Death Cross signals are very lagging and trends may be well-established before these signals occur.
The trend strength and confluence scores are mathematical calculations based on current MA positions, not predictions of future price movement. Past trend strength does not guarantee future performance. Market conditions change, and trends that appear strong can reverse without warning.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicator

Indicator

Institutional Alpha Vector | D_QUANT Institutional Alpha Vector | D_QUANT
Overview
The Institutional Alpha Vector (IAV) is an original trend-following framework that replaces single-indicator bias with a Weighted Composite Score . Instead of relying on a simple moving average, this script aggregates four distinct quantitative dimensions—Price, Momentum, Volatility, and Volume—into a normalized value called the "Alpha Vector."
The goal of this tool is to identify "Institutional Consensus"—periods where multiple mathematical models align in the same direction, reducing the likelihood of false breakouts in choppy markets.
How It Works: The Quantitative Engines
The script calculates four independent signals. For each module, a state is stored (1 for Bullish, -1 for Bearish, 0 for Neutral).
1. Price Filter (Hull Moving Average):
The script uses an HMA (a weighted moving average that reduces lag by using the square root of the period). A signal is triggered when the price crosses over/under this "Spine."
2. Volatility Regime (RMA + ATR):
This module uses a Moving Average (RMA) combined with an Average True Range (ATR) offset. It acts as a volatility filter that price must move beyond 1 ATR from the mean to register a trend, ensuring the market isn't just "drifting."
3. Momentum Physics (ADX/DMI):
Based on J. Welles Wilder’s Directional Movement Index. It checks if the is above (or vice versa) but only if the ADX (Average Directional Index) is above a user-defined threshold (default: 10), confirming the presence of a strong trend.
4. Institutional Flow (Chaikin Money Flow):
This confirms price action with volume. It calculates the accumulation/distribution of money flow over a specific period. A signal is only valid if the CMF is positive (Bullish) or negative (Bearish).
The Alpha Vector Calculation
This is the core "originality" of the script. The indicator takes the active modules and calculates a Composite Score :
This results in a value between -1.0 and +1.0 .
* High Confidence Long: When the score exceeds +0.1 (adjustable).
* High Confidence Short: When the score drops below -0.1 (adjustable).
* Neutral Zone: When the score is near 0, the script colors the bars grey, signaling a lack of institutional consensus.
Visual Intelligence: The "Electric Conduit"
The script visualizes market energy through a custom rendering engine:
* The Spine: A central line representing the HMA trend.
* The Conduit (Fill): A dynamic gradient that expands or contracts based on the ATR (Average True Range) . This allows traders to see "volatility expansion" (wide ribbon) vs "compression" (tight ribbon) at a glance.
* Bar Coloring : Automatically aligns the chart candles with the Alpha Vector state to remove cognitive load.
How to Use
1. Define your Strategy: In the settings, you can toggle specific modules. If you are trading a low-volume asset, you might disable the **CMF** module.
2. Identify the Consensus: Look for the ribbon to change from Grey (Neutral) to Cyan/Gold.
3. Monitor the HUD: A small dashboard in the bottom right displays the live Alpha Vector score. A score of 1.0 means all four engines are in 100% bullish agreement.
Disclaimer: Trading involves significant risk. This tool is for educational and analytical purposes and does not constitute financial advice. Indicator

Indicator

EDUVEST QQE Signal v3.0 - Multi-Timeframe Scoring SystemEDUVEST QQE Signal v3.0 - Multi-Timeframe Scoring System
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator combines QQE (Quantitative Qualitative Estimation) with HMA (Hull Moving Average) and introduces a unique AI-based scoring system that rates signal quality from 0-100. Unlike traditional QQE indicators that show simple buy/sell signals, this version categorizes signals into four strength levels: BIG CHANCE, SUPER, POWER, and STRONG.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates scored BUY/SELL signals with quality ratings (60-100 points)
- Categorizes signals into 4 strength levels for easy decision making
- Supports Multi-Timeframe (MTF) analysis
- Auto-detects asset type and applies optimized QQE factors
- Provides customizable alerts based on score thresholds
Signal Hierarchy:
- 💰 BIG CHANCE (90-100): Highest probability setups
- ⚡ SUPER (80-89): Very strong signals
- 🚀 POWER (70-79): Strong signals with HMA confluence
- 💪 STRONG (60-69): Standard quality signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【QQE Calculation】
QQE is based on a smoothed RSI with dynamic bands:
1. Calculate RSI with specified period (default: 14)
2. Apply EMA smoothing to RSI (Smoothing Factor, default: 5)
3. Calculate ATR of the smoothed RSI
4. Create dynamic bands: RSI ± (ATR × QQE Factor)
The QQE Factor is automatically adjusted per asset:
- Forex (USDJPY, EURUSD): 3.8 - 4.238
- Gold (XAUUSD): 8.0
- Crypto (BTC): 12.0, (ETH): 10.0
- Indices (NASDAQ): 4.238
【HMA Calculation】
Hull Moving Average for trend confirmation:
HMA = WMA(2 × WMA(price, n/2) - WMA(price, n), √n)
【Signal Generation】
- BUY: QQE crosses above its band (QQExlong == 1)
- SELL: QQE crosses below its band (QQExshort == 1)
【AI Scoring System】
The score is calculated from multiple factors:
Signal Base (0-35 points):
- QQE + HMA confluence: +35
- QQE or HMA alone: +25
QQE Strength (10-25 points):
- RSI distance from 50 (momentum strength)
- >30 distance: +25, >20: +20, >10: +15, else: +10
Volatility Score (-10 to +15 points):
- ATR ratio 1.1-2.0: +15 (optimal volatility)
- ATR ratio <0.8: -10 (low volatility warning)
Volume Confirmation (-5 to +15 points):
- Volume > 120% of average: +15
- Volume < 80% of average: -5
Base Points: +15
Final Score = Clamped(0, 100, sum of all factors)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 5M, 15M, 1H, 4H
- Best on: Forex, Gold, NASDAQ, BTC/ETH
- Minimum Score: 60 (adjustable)
【Reading Signals】
- BIG CHANCE (Gold label, 90+): Highest conviction - consider larger position
- SUPER (Yellow label, 80-89): Very strong - standard position
- POWER (Cyan/Magenta label, 70-79): Strong with trend confirmation
- STRONG (Green/Red label, 60-69): Valid but use additional confirmation
【MTF Feature】
Enable MTF to analyze signals from a higher timeframe while viewing lower timeframe charts. The indicator auto-selects 5-minute as the analysis timeframe, or you can set it manually.
【Alert Setup】
1. Enable alerts in settings
2. Set minimum score threshold (default: 60)
3. Create alert with "Any alert() function call"
【Important Notes】
- Signals are confirmed at bar close (no repainting)
- Higher scores = higher probability, not guaranteed profits
- Always use proper risk management
- Consider market context and support/resistance levels
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS
⏱️ MTF Settings
- MTF Use: Enable multi-timeframe analysis
- Manual Timeframe: Override auto-detection
- Show Panel: Display info panel (default: OFF)
🎨 Design
- Neon Colors: Vibrant color scheme
- Show HMA Line: Display HMA on chart
- Minimum Score: Filter weak signals
- Label Transparency: Adjust label opacity
- Large Labels: Mobile-friendly sizing
🔧 QQE Settings
- RSI Period: RSI calculation period
- Smoothing: EMA smoothing factor
- AI Score: Enable scoring system
🔔 Alerts
- Enable Alerts: Turn on/off notifications
- Minimum Score: Alert threshold
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
QQE concept originally developed by John Ehlers.
HMA (Hull Moving Average) by Alan Hull.
Enhanced with scoring system and MTF support by EduVest.
License: Mozilla Public License 2.0 Indicator

Smart Signals [Vdubus]Smart Signals
Concept & Philosophy
Smart Signals is a "Regime-Filtered" oscillator designed to solve the biggest problem with standard indicators: Counter-trend noise.
Most oscillators (like Stochastic or RSI) are "dumb" to market context—they will signal "Sell" continuously during a strong uptrend simply because the price is high. Smart Signals fixes this by first determining the Market Regime (Bullish or Bearish) and then strictly filtering out any signal that contradicts that trend.
It creates a "Tiered" trading system that separates standard trend-following entries from high-probability "Sniper" entries (Hidden Divergence), all presented in a clean, color-blind-friendly visual interface.
Core Functions
1. The "Sheriff" (Trend Filter)
At the heart of the indicator is a heavy, modified Hull Moving Average (HMA 200) that acts as the trend baseline.
Bullish Regime: When the baseline is sloping UP, the indicator enters "Buy Only" mode. All Sell signals are mathematically deleted.
Bearish Regime: When the baseline is sloping DOWN, the indicator enters "Sell Only" mode. All Buy signals are mathematically deleted.
The Math: It uses a custom difference-weighted formula (wmaHalf = Length / 1) to create a stable, chop-resistant trend anchor.
2. Dual-Signal Engine
The indicator scans for two distinct types of entries simultaneously:
♦ Standard Signals (Blue/Red Diamonds):
Logic: A classic Stochastic pullback (Cross 20/80) aligned with the trend.
Use Case: These are frequent "Bread and Butter" trend entries. They are excellent for scaling into a position or adding to a winner as the trend continues.
Location: Plotted at the top (Sell) and bottom (Buy) edges of the panel.
+ Sniper Signals (Gold Crosses):
Logic: Hidden Divergence. The script detects when Price holds structure (Higher Low) while Momentum resets (Lower Low). This is a "Slingshot" setup.
Use Case: These are rare, high-conviction entries. They often mark the end of a complex correction and the resumption of the main trend.
Location: Plotted on the Zero Line to indicate structural strength.
3. Smart Momentum Histogram
The histogram visualizes the "Energy" of the move (MACD 21, 34, 7), but with a twist. It is color-coded to the signal priority:
Gold Bars: A Sniper (Divergence) setup is active.
Solid Blue/Red Bars: A Standard Signal is active.
Faded Blue/Red Bars: The trend is active, but momentum is resetting (waiting mode).
Gray Bars: Counter-trend noise (Ignore).
How to Trade It
Check the "Road": Look at the general color of the histogram columns.
Blue Columns: Look for Longs.
Red Columns: Look for Shorts.
The "Sniper" Entry: Wait for a Gold Cross (+) on the zero line. This is your primary signal to enter a trade with normal risk.
The "Pyramid" Entry: If the trend continues and you see Blue/Red Diamonds (♦) appear at the edges, these are safe places to add to your position.
The Exit: Since this is a trend-following tool, exit when the histogram color flips (e.g., from Blue to Red/Gray), or use your own support/resistance targets.
Alerts Configuration
The indicator comes with a full suite of alerts for automation:
Gold Buy / Gold Sell: Notifies you only for the high-probability Hidden Divergence setups.
Standard Buy / Standard Sell: Notifies you for every trend pullback.
ANY BUY / ANY SELL: A combo alert that triggers on either signal type (useful for simplifying your alert limits).
Accessibility
Color Blind Friendly: The default palette uses High-Contrast Blue (#2962FF) and Soft Red (#FF5252) instead of standard Green/Red, ensuring visibility for all users.
Zero Clutter: No text labels or confusing lines. Just clear, distinct shapes (Diamonds and Crosses) at fixed locations. Indicator
