Institutional Flow & Liquidity Standard Matrix PROInstitutional Flow & Liquidity Standard Matrix PRO
Institutional Flow & Liquidity Standard Matrix PRO is a clean, quantitative technical analysis script designed for professional traders, technical analysts, and institutional strategy building. It removes superficial chart clutter and replaces it with actionable structure tracking, daily liquidity boundaries, volatility standard deviation bands, and custom execution zones.
Key Features Overview
1. Precision Market Structure Tracking (HH, HL, LH, LL)
Maps valid market structure pivots with Higher High (HH), Higher Low (HL), Lower High (LH), and Lower Low (LL) markers. Includes an independent customization panel to toggle label text, adjust font sizes, background colors, and text colors.
2. Previous Day Liquidity Levels (PDH & PDL)
Projects key daily reference lines for Previous Day High (PDH) and Previous Day Low (PDL) automatically anchored off price action without interfering with historical candles.
3. Standard Deviation Volatility Bands
Features volatility extension bands based on standard deviation logic to isolate statistical overbought and oversold price expansion extremes.
4. Dual Moving Average Trend Alignment
Incorporates a fast and slow moving average framework that aligns price candlesticks dynamically based on macro order flow bias. Downward market trends render in clean solid red shades.
5. Customizable Execution Rectangle Zones
Maps key structural supply and demand rectangles with full manual controls over border colors, border thickness, fill transparency, and zone placement.
Settings Overview
Previous Day Liquidity Settings
- Show Previous Day High & Low: Toggle PDH and PDL reference levels.
- Line Customization: Adjust line style (Solid, Dashed, Dotted), thickness, and colors.
Swing Structure Settings
- Show Structure Labels: Toggle HH, HL, LH, and LL swing markers.
- Show Label Text: Check or uncheck to hide text while keeping clean background badges.
- Colors & Font Size: Adjust background colors, text colors, and font sizes.
Standard Deviation Settings
- Show Standard Deviation Bands: Toggle volatility bands.
- Multipliers & Width: Adjust band multiplier sensitivity and line thickness.
Execution Zone Settings
- Show Structure Execution Zones: Toggle supply and demand boxes.
- Border & Transparency: Customize fill opacity, border width, and border colors.
Disclaimer
This script is built strictly for educational, analytical, and charting enhancement purposes. It does not provide financial advice, trade recommendations, or guaranteed results. Always practice proper risk management. Indicator

BIST30 to SP 500 ATR Momentum RiderBIST30 to S&P 500 — ATR Momentum Rider
BIST30 to S&P 500 — ATR Momentum Rider is a long-only daily strategy built to test a compact and auditable trend-following structure across index futures.
The name describes the research scope—from BIST30 to S&P 500 and other major index futures. It does not mean that the public parameters were optimized on BIST30. Parameter selection used Mini-DAX, E-mini S&P 500, E-mini Russell 2000, EURO STOXX 50, and Nikkei 225 Mini futures. Turkish index futures were kept outside parameter selection and used only as transferability stress tests.
Entry logic
The raw SET event occurs when HMA 8 > HMA 9 > HMA 20 becomes true for the first time. On that same daily close, the strategy calculates the three-day HMA20 slope in ATR units:
(HMA20 - HMA20 ) / (3 × ATR14)
The setup is accepted only when this value is at least -0.180 ATR per day. The threshold does not require a rising HMA20; it permits a mild decline and rejects setups where the slow trend is deteriorating more sharply. The filter is evaluated only on the first establishment of the HMA order. A rejected setup does not enter later inside the same uninterrupted regime.
An accepted setup creates a market order for the next available session open. The decision uses only values known at the daily close.
Exit logic
The strategy has one public exit stage:
K1-A: activation threshold. Maximum favorable excursion is divided by the ATR value known when the entry order is created. Default: 1.50 ATR.
K1-T: trail distance from the highest high observed during the campaign. Default: 5.75%.
K1-W: minimum waiting interval before a K1 close decision can act. Default: 4 sessions.
Once K1 is active, its absolute trail can only rise. An activation reached on the current bar becomes actionable from the next bar, so the activation bar cannot stop itself retroactively. A daily close at or below the active K1 line creates a market exit for the next available open. If a fresh accepted SET appears while a position is open, the campaign is refreshed at the next open.
Research process and held-out results
The K1 values were selected on January 2020–December 2023 data using equal-weight, percentage-normalized metrics across the five international contracts. Keeping the K1 engine fixed, the three-day slope threshold was then scanned from -0.400 to +0.050 ATR/day in 0.001 steps on the same development interval. The exact PF-priority plateau peak was -0.176; the operational value was rounded and locked at -0.180 to avoid publishing a fragile, over-precise threshold.
January 2024–July 2026 was not used to select the slope threshold. In this held-out interval:
Raw setups: 153
Accepted setups/trades: 102 (33.3% reduction)
Positive international instruments: 5 of 5
Median profit factor: 3.46 versus 1.94 without the slope filter
Median normalized net return: 39.3% versus 37.9% without the slope filter
Median return/max-drawdown ratio: 2.32 versus 2.16 without the slope filter
These figures use one adverse minimum tick per market fill and no commission, tax, funding, or roll cost. They are historical research results, not a forecast.
The held-out BIST stress test remained weak: the three Turkish contracts had a median profit factor of 0.77 with the slope filter. Therefore, this public version is better viewed as an international index-futures research strategy. It is not a replacement for a dedicated BIST30 live system.
Use the strategy on standard daily candles. Review each symbol's contract multiplier, session, continuous-contract construction, commissions, roll costs, and margin settings before interpreting Strategy Tester results. Changing the HMA, ATR, K1, or execution settings creates a different, unvalidated configuration.
This script is a research and educational tool, not investment advice. Past performance does not guarantee future results.
BIST30 to S&P 500 — ATR Momentum Rider
HMA 8/9/20 kuruluşunu, sabit ATR-normalize HMA20 eğim filtresini ve yalnız yukarı taşınan tek tepe trailini birleştiren açık kaynak, long yönlü günlük strateji.
BIST30 to S&P 500 — ATR Momentum Rider, farklı endeks vadelilerinde sade ve denetlenebilir bir trend takip yapısını sınamak amacıyla hazırlanmış, yalnız long çalışan günlük bir stratejidir.
İsim, araştırmanın BIST30'dan S&P 500'e ve diğer büyük endeks vadelilerine uzanan kapsamını anlatır. Açık kaynak parametrelerinin BIST30 üzerinde optimize edildiği anlamına gelmez. Parametre seçiminde Mini-DAX, E-mini S&P 500, E-mini Russell 2000, EURO STOXX 50 ve Nikkei 225 Mini vadeli kontratları kullanılmıştır. Türkiye endeks vadelileri parametre seçiminin dışında tutulmuş ve yalnız taşınabilirlik stres testi olarak değerlendirilmiştir.
Giriş mantığı
Ham SET olayı, HMA 8 > HMA 9 > HMA 20 sıralamasının ilk kez oluştuğu günlük kapanışta doğar. Strateji aynı kapanışta HMA20'nin üç günlük eğimini ATR cinsinden hesaplar:
(HMA20 - HMA20 ) / (3 × ATR14)
Kuruluş yalnız bu değer -0,180 ATR/gün veya daha yüksekse kabul edilir. Eşik HMA20'nin mutlaka yükselmesini istemez; hafif gerilemeye izin verir, yavaş trendin daha belirgin bozulduğu kuruluşları eler. Filtre yalnız HMA sıralamasının ilk kuruluşunda değerlendirilir. Reddedilen kuruluş, aynı kesintisiz rejimin sonraki günlerinde gecikmeli girişe dönüşmez.
Kabul edilen kuruluş, sonraki uygun seans açılışı için piyasa emri oluşturur. Karar yalnız günlük kapanışta bilinen değerlerle verilir.
Çıkış mantığı
Stratejide tek bir açık kaynak çıkış katmanı vardır:
K1-A: aktivasyon eşiği. Azami olumlu hareket, giriş emri oluşturulurken bilinen ATR değerine bölünür. Varsayılan: 1,50 ATR.
K1-T: kampanya boyunca görülen en yüksek fiyattan itibaren trail mesafesi. Varsayılan: %5,75.
K1-W: K1 kapanış kararının uygulanabilmesi için gereken asgari bekleme süresi. Varsayılan: 4 seans.
K1 aktif olduktan sonra mutlak trail seviyesi yalnız yukarı hareket eder. Bir barda ulaşılan aktivasyon eşiği sonraki bardan itibaren uygulanabilir; aktivasyon barı geriye dönük biçimde kendi kendisini durduramaz. Günlük kapanış aktif K1 çizgisinde veya altında gerçekleşirse sonraki uygun açılış için piyasa çıkışı oluşturulur. Pozisyon açıkken yeni ve kabul edilmiş bir SET doğarsa kampanya sonraki açılışta yenilenir.
Araştırma süreci ve ayrılmış dönem sonuçları
K1 değerleri Ocak 2020–Aralık 2023 döneminde beş yabancı kontrat üzerinde; endeksler eşit ağırlıklı ve fiyat ölçekleri yüzdeyle normalize edilerek seçildi. K1 motoru sabit tutulduktan sonra üç günlük eğim eşiği aynı geliştirme döneminde -0,400 ile +0,050 ATR/gün arasında 0,001 adımla tarandı. PF öncelikli platonun matematiksel tepe noktası -0,176 oldu; aşırı hassas bir değer yayımlamamak için operasyonel eşik -0,180 olarak yuvarlanıp sabitlendi.
Ocak 2024–Temmuz 2026 dönemi eğim eşiğinin seçiminde kullanılmadı. Bu ayrılmış dönemde:
Ham kuruluş: 153
Kabul edilen kuruluş/işlem: 102 (%33,3 azalış)
Pozitif yabancı endeks: 5/5
Medyan profit factor: eğim filtresi olmadan 1,94, filtreyle 3,46
Medyan normalize net getiri: filtresiz %37,9, filtreyle %39,3
Medyan getiri/azami düşüş oranı: filtresiz 2,16, filtreyle 2,32
Bu rakamlar her piyasa dolumunda bir minimum fiyat adımı ters slippage içerir; komisyon, vergi, fonlama ve vade geçiş maliyeti içermez. Tarihsel araştırma sonucudur, gelecek tahmini değildir.
BIST stres testi zayıf kalmıştır: eğim filtresiyle üç Türkiye kontratının medyan profit factor değeri 0,77 olmuştur. Bu nedenle açık kaynak sürümü yabancı endeks vadelileri için bir araştırma stratejisi olarak değerlendirmek daha doğrudur; özel BIST30 canlı motorunun yerine geçmez.
Stratejiyi standart günlük mumlarda kullanın. Strategy Tester sonucunu yorumlamadan önce sembolün kontrat çarpanını, seansını, sürekli-vade oluşturma yöntemini, komisyonunu, vade geçiş maliyetini ve teminat ayarlarını kontrol edin. HMA, ATR, K1 veya emir yürütme ayarlarını değiştirmek doğrulanmamış farklı bir model oluşturur.
Bu kod araştırma ve eğitim amaçlıdır; yatırım tavsiyesi değildir. Geçmiş performans gelecekteki sonuçları garanti etmez. Strategy

RibbonFlux MA - Adaptive Flow [AFD]
Your averages are stacked and pointing the same way - but is that move widening, just holding, or already compressing?
Every MA ribbon on the shelf draws the same two or three lines and floods the gap with one colour at one opacity. So a ribbon that has pulled four ATR apart and is still separating looks exactly like a ribbon that has collapsed onto itself. The fill never tells you anything the lines didn't, which is why most people end up reading the lines and ignoring the shading entirely.
RibbonFlux makes the space between the lines carry the information. The gap is measured against ATR, ranked against its own recent history, and the shading answers to that: it deepens while the legs separate in agreement, and drains to a restrained neutral the moment they compress or lose their order. Same averages you already read - the space between them now states which of four conditions it is in.
WHY IT MATTERS
Separation and compression are the two things an MA ribbon actually knows, and the standard ribbon throws both away by drawing them identically. RibbonFlux spends its whole visual budget on that one distinction. It describes geometry already on your chart - never a prediction of what comes next, and never an instruction to act.
AT A GLANCE
Three independent averages - Lead, Base, and an optional Third. Each picks its own method, length (2-250) and price source, and a single enabled average still draws on its own.
Eight methods per slot - EMA, SMA, WMA, VWMA, HMA, RMA (Wilder), McGinley Dynamic, Fibonacci EMA Composite. Mixed freely: an HMA Lead over an EMA Base over an RMA Third is a valid setup.
Seven price sources per slot - Open, High, Low, Close, HL2, HLC3, OHLC4. Set per average rather than globally, and always on the chart timeframe.
The Flow Phase Engine - four conditions drive the fill's colour and depth: coherent expansion, stable flow, compression, mixed structure. Display only, and they never touch the MA values.
Each leg measured separately - Lead/Base and Base/Third are scored independently, so one fill can be compressing while the other expands. A single-opacity ribbon cannot show that.
Twelve palettes - Ocean, Indigo, Ember, Mono, Forest, Gold, Violet, Orderflow, Midnight, Copper, Arctic, Carbon. Or set Line color mode to Custom for a fixed colour per average, independent of the flow.
Line width and line style - 1 to 4 pixels, and Solid, Stepped, Dotted or Crosses. Applied to every core line and both halo tiers together, so the whole system thins or thickens as one.
Optional flow candles - bodies, wicks and borders take the relationship colour. Off by default, and under Adaptive dynamics they turn neutral during compression along with the ribbon.
Deliberately quiet - seven plots, two fills, one optional candle overlay. No alerts, no arrows, no dashboard, no labels, no boxes, no trendlines, nothing else drawn.
THE FOUR FLOW PHASES
Each leg of the ribbon is classified on every bar, and its own fill responds. Nothing here produces an event, and no phase ranks, scores or grades the market.
Coherent expansion - the enabled averages are in order, sloping the same way, and that leg is widening. Deepest shading: the phase factor is 1.00.
Stable flow - in order and sloping together, but the leg is not widening. Held back at 0.75.
Compression - the leg's ATR-normalized spacing sits in the bottom fifth of its own last 100 bars. Restrained neutral colour, and a phase factor of 0.00, which leaves depth at its 0.35 floor.
Mixed structure - the ordering or the slope agreement has broken. Restrained neutral colour, minimal shading at 0.25.
Compression uses a deadband, not a single threshold: a leg enters compression at a percent rank of 20 or below and only leaves it at 30 or above, so a leg hovering near one number does not flicker between two appearances. Before 100 bars of history exist, no leg is classified as compressed.
THE MECHANICS, STATED PLAINLY
ATR spacing = abs(faster average - slower average) / max(ATR(14), one tick)
leg depth = 0.35 + 0.65 x clamp(ATR spacing, 0, 1) x phase factor, then EMA-smoothed over the Flow response length
compression: enter at percent rank <= 20 over 100 bars, leave at >= 30
ordered: Lead > Base (> Third), or Lead < Base (< Third)
Flow response sets one number used three ways - the slope lookback, the expansion lookback, and the smoothing length: Quick is 2 bars, Balanced 3, Smooth 5. Setting Ribbon dynamics to Fixed bypasses the engine and holds each fill at the opacity you selected.
HOW IT DIFFERS FROM A STANDARD MA RIBBON
The fill is measured, not decorative - opacity is a function of ATR-normalized spacing and phase, recomputed every bar. A conventional ribbon fills the gap at a constant tone however wide or narrow it is.
Both legs are scored on their own terms - the Lead/Base fill and the Base/Third fill can disagree, so compression in the inner leg does not mute the outer one, or the reverse.
Compression is relative to the instrument, and sticky - a percent rank of its own history with a 20/30 deadband, not a fixed price or tick distance. It travels across symbols and timeframes without retuning.
Two methods a ribbon rarely offers - McGinley Dynamic and a Fibonacci EMA Composite. The composite is the equal-weight mean of five EMAs at Fibonacci-scaled periods; McGinley scales its own step by the fourth power of the price ratio.
The arithmetic ships with an independent open-source reference implementation - every documented formula is reproducible rather than asserted. A trust signal, not the pitch: what you are here for is the ribbon, not the tests.
THE VISUALS
Lead and Base - a crisp core line plus two restrained halo tiers each. At the default width of 2 the Lead halos are 6 and 4 pixels and the Base halos 5 and 3; Line width scales all of it together.
Glow - Off, Soft, Balanced, Rich, with opacity following Lead/Base spacing independently of the ribbon. So the lines themselves brighten as the pair separates, with a floor so they never vanish.
Ribbon shading - Off, Soft, Balanced, Rich sets the maximum depth the Flow Phases then modulate. Off removes both fills and leaves the lines.
A valid Third MA - one crisp line plus its own Base-to-Third shade. It also joins the ordering and slope tests, so enabling it makes coherence a three-line condition.
Line style - Stepped holds each value until the next bar. Dotted and Crosses place one mark per bar, so spacing follows bar width and opens up as you zoom in. Pine's plot() has no stroked dotted or dashed line, and this script uses no drawing objects to fake one.
Layering - the lines and fills draw in front of the candles, not behind them. Deliberate, so the optional flow candles can colour wicks and borders as well as bodies; if it reads heavy, Line width 1 or Glow Soft thins it.
HOW TO USE IT
Start with the defaults - Close EMA 9 over Close EMA 21, Ocean, Balanced glow and shading, Adaptive dynamics. Chosen for readability, not tuned as trading parameters.
Enable the Third MA for slower context - it defaults to Close EMA 50. Ordering then requires all three in sequence, a stricter condition than two.
Reach for Flow response first - Quick if the shading feels sluggish, Smooth if it feels twitchy. It is the one control that changes how fast the appearance reacts.
Set Ribbon dynamics to Fixed to switch the engine off - a plain constant-opacity ribbon, for comparing against what you ran before. Everything else, from palette to custom colours to width, style, glow and candle colouring, is taste: set it once and leave it.
WHAT IT DELIBERATELY DOES NOT DO
It issues no alerts and has no alert conditions at all. It draws no arrows, entries, retests, setup zones, targets or labels, keeps no dashboard or readout, and ranks, scores and grades nothing. It makes no accuracy, reliability, profitability, probability or future-result claim of any kind. Moving averages are lagging transformations of price that has already printed: visible separation, alignment or colour establishes neither future direction nor the quality of any trade. Educational chart context only - not financial advice.
DATA, TIMEFRAMES, AND WHAT TO CHECK YOURSELF
Everything is computed on your chart's own timeframe and data - there are no higher-timeframe requests anywhere in the source, so there is no lookahead argument to disclose and no second feed to reconcile against your chart.
Any MA moves while its bar is still forming , and two parts of this script also carry state from bar to bar: the McGinley recursion and the compression deadband. That describes the mechanism. Confirm it with the bar-replay tool on your own symbol and timeframe before relying on it - a description of mechanism is not that check, and nothing here claims to be.
The averages read chart OHLC - on Heikin Ashi, Renko, Range or similar they average those synthetic values, not traded prices. Use standard time-based candles if you want the averages to describe real prices.
VWMA needs usable volume, and the Fibonacci EMA Composite needs a length of 8 or more - each is simply unavailable otherwise. A selected calculation that cannot be produced stays unavailable: the script never silently substitutes another method.
McGinley seeds from an SMA of its own length, then advances by previous + (source - previous) / (0.6 x length x ratio^4). If its source or recurrence goes invalid the line goes unavailable and reseeds only after the next contiguous valid window.
Identical Lead and Base settings leave nothing to read - both lines still draw, but the ribbon and flow candles switch off and the lines fall back to neutral. A Third duplicating Lead or Base likewise draws its line while taking no shade and no phase depth.
ORIGINALITY AND CREDIT
Ribbon indicators are old ground; what is new here is that the fill is a measurement rather than a decoration - ATR-normalized leg spacing, a relative compression rank with hysteresis, and per-leg depth, all resolved into colour and opacity and nothing else. The engine is deliberately confined to display, and the surface is deliberately small.
Open source under the Mozilla Public License 2.0. (c) Auction Foundry LLC.
This indicator describes the geometry of averages computed from your chart's own price history. It is not a forecast, not a signal, and not financial advice. Indicator

Ultimate Hull SuiteGreymyst Ultimate Hull Suite
The Greymyst Ultimate Hull Suite is a premium, multi-functional trend-following indicator designed to provide traders with highly accurate, low-lag momentum signals. Built entirely from the ground up for professional trading, this suite combines advanced Moving Average variations with dynamic volatility filters and multi-timeframe analysis to offer extreme confluence in a single tool.
🌟 Core Concepts & Features
1. Advanced Hull Variations
Traditional moving averages often suffer from lag. The Hull Moving Average solves this by prioritizing recent price action. This suite allows you to toggle between three powerful variations:
HMA (Standard Hull): The classic low-lag moving average.
EHMA (Exponential Hull): Uses exponential calculations to react even faster to sudden price spikes.
THMA (Triple Hull): Offers ultra-smooth trend detection, practically eliminating market noise and false signals during choppy ranges.
2. Multi-Timeframe (MTF) Alignment
Trading against the macro trend is a common pitfall. The built-in MTF engine allows you to anchor your Hull Moving Average to a higher timeframe (e.g., viewing the 4-Hour Hull trend on a 15-minute chart). This ensures you are only taking trades that align with the dominant market direction.
3. Dynamic Volatility Bands (Hull Envelopes)
Instead of static support and resistance, this suite wraps the Hull Moving Average in ATR-based Volatility Bands.
Trend Cloud: The area between the Hull and the bands is filled with a bullish (green) or bearish (red) cloud.
Mean Reversion: When price action aggressively pierces the upper or lower bands, it signals an overextended market, warning you of potential pullbacks or mean-reversion opportunities.
4. Squeeze Momentum Confluence Filter
A trend is only as strong as the volume and volatility behind it. This indicator integrates a hidden Squeeze Volatility Engine (combining Bollinger Bands and Keltner Channels).
The Filter: Buy and Sell signals are strictly suppressed if the market is stuck in a low-volatility "squeeze" (consolidation).
Signals are only generated when the Hull changes direction AND volatility is actively expanding, keeping you out of flat, choppy markets.
5. Automated Signals & Alerts
The suite visually prints clear B (Buy) and S (Sell) markers on your chart when high-probability confluence is met (Trend Shift + Volatility Expansion).
It includes comprehensive, ready-to-use Alert Conditions so you can automate your trading via webhooks or receive notifications directly to your phone.
⚙️ How to Use It for Confluence
Trend Confirmation: Use the color of the Hull MA (Green for Up, Red for Down) as your primary directional bias.
Entry Triggers: Look for Buy/Sell markers printed by the indicator. Because of the built-in Squeeze filter, these markers represent moments where price is reversing with momentum.
Take Profit / Stop Loss: Use the outer ATR bands as dynamic profit targets or trailing stop-loss zones.
(Created by greymyst) Indicator

AetherEdge - Hull MA Ribbon + Momentum Filter🖊️ Overview
AetherEdge Hull MA Ribbon + Momentum Filter is a next-generation trend visualization engine that fuses the ultra-low-latency characteristics of Hull Moving Averages (HMA) with a composite RSI+MACD momentum score. Six HMA ribbons trace price flow with smooth precision, while a 7-tier color gradient evolves dynamically with real-time momentum strength. This is a professional visual analysis tool that captures both direction and strength of trend at a glance.
🔶 Key Features
6-Line HMA Ribbon: Smooth, responsive trend visualization powered by ultra-low-latency Hull MA
RSI+MACD Composite Momentum Score: Weight-adjustable hybrid indicator
7-Tier Strength Categorization: Strong Bull / Bull / Weak Bull / Neutral / Weak Bear / Bear / Strong Bear
Perfect Stacking Detection: Identifies maximum trend strength via 6-line full alignment
Dynamic Gradient Coloring: Bold inner, fading outer—professional visual
Ribbon Alignment Filter: Suppresses signal false positives
Cross Signal Detection: Auto-marks trend reversal points
Integrated Dashboard: Momentum %, strength category, ribbon state at a glance
Dark Mode Support: AetherEdge premium UI
🧠 Technical Architecture
This indicator integrates Hull MA's mathematical superiority with multi-factor momentum analysis—a refined trend analysis system.
Hull MA Formula: HMA(n) = WMA(2*WMA(n/2) − WMA(n), sqrt(n))—solves traditional MA lag via double-WMA differential and sqrt-smoothing. Reaction speed approximately 2x that of EMA.
6-Line Ribbon Structure: baseLen + step×0–5 arithmetic progression. Gradient from short-term (h1) to long-term (h6), visualizing trend hierarchy.
Momentum Score Composition Logic:
RSI Normalization: (RSI − 50) / 50 mapped to -1 to +1
MACD Histogram Normalization: hist / stdev(hist, 100) standardized, clipped at ±3, divided by 3
Weighted Average: rsiWeight × RSInorm + (1−rsiWeight) × MACDnorm
Final output displayed as 0–100% momentum index
Ribbon Direction Detection: ribbonUp/Down determined by slope of central HMAs (h3, h4)
Perfect Stacking: h1>h2>h3>h4>h5>h6 full alignment certifies maximum trend strength
7-Tier Strength Classification:
+3 (Strong Bull): High momentum + up + perfect alignment
+2 (Bull): High momentum + up
+1 (Weak Bull): Mid momentum + up
0 (Neutral): No directional bias
−1 to −3: Symmetrical bearish judgment
Dynamic Coloring: Entire ribbon shifts across 7 colors based on strengthCat
⚙️ Recommended Settings & Tuning Guide
Crypto Defaults:
BTC (4H–Daily): baseLen=20, step=8, rsiWeight=0.5 (standard balance)
ETH (1H–4H): baseLen=15, step=6 prioritizing reaction speed
SOL (High-Vol): baseLen=25, step=10 for noise reduction
XRP (Range): strongLvl=70, weakLvl=30 for strict judgment
Tuning Guide:
Day Trading: baseLen=10-15, step=5, primary 1H/15M
Swing: baseLen=30-50, step=10 for macro trends
Scalping: baseLen=8, step=4 for ultra-short-term response
Momentum-Focused: rsiWeight=0.7 for higher RSI weight (effective in range)
Trend-Focused: rsiWeight=0.3 for higher MACD weight (strong trend detection)
Excess Signals: strongLvl=70+ for selectivity
Few Signals: strongLvl=60 + ribbonAlign=false to relax
💡 How to Use in Practice
★★★ STRONG BULL/BEAR: Maximum confluence, optimal for trend-following entries
Ribbon Expansion: Widening 6-line spread indicates trend acceleration—pullback long / rebound short recommended
Ribbon Contraction: Converging 6 lines = breakout precursor warning
Color Transition Points: Bull→Neutral→Bear shifts = early trend reversal alerts
Multi-Timeframe Synergy: Higher-TF Strong Bull + lower-TF pullback = perfect entry
AetherEdge Synergy:
Order Block + FVG Detector OB retest + Strong Bull color = ultra-high-conviction entry
Self-Evolving S/R Grid strong line + ribbon directional match = enhanced target precision
Squeeze Breaker breakout + ribbon expansion = trend continuation confirmation
Stop Loss: When price penetrates entire ribbon in opposite direction
⚠️ Important Notes
False Signals in Sideways Markets: Frequent color shifts in range; tune weakLvl/strongLvl
Ribbon Alignment Lag: Perfect stacking requires bar progression
MACD Normalization Period: Stdev calculation requires 100 bars; initial wait period
HMA Characteristics: Fast response carries overshoot risk in volatile moves
Hull MA Re-Entrance: Watch for minor reversals immediately after turning points
🚨 Disclaimer
This indicator is a technical analysis tool provided for educational and research purposes only and does not constitute financial advice. Trend and momentum evaluations based on historical price data do not guarantee future market behavior. All trading decisions are made at your own risk and should be accompanied by proper risk management. Indicator

Indicator

Tension Flow Trend [BigBeluga] - Historical RRTension Flow Trend is a high-performance trend-following framework that treats price action like a reactive elastic system. By moving beyond static averages, this indicator introduces "Price Tension"—a sophisticated measurement of how overstretched a trend is relative to its baseline—now enhanced with a live Historical RR (Risk:Reward) backtesting engine.
By combining the ultra-low-lag properties of the Hull Moving Average (HMA) with real-time Z-Score volatility analysis, this indicator visualizes not just the direction of the market, but the mathematical "exhaustion" of every move.
🔵 THE ELASTICITY FRAMEWORK
The Ultra-Responsive HMA Baseline: At the heart of the system is a 50-period Hull Moving Average. Specifically engineered to eliminate the lag found in traditional SMAs, the HMA provides a "true north" that reacts instantly to structural shifts without the usual delay.
Price Tension (Z-Score Engine): The indicator measures the vertical distance between price and the HMA, normalizing it using standard deviation. This Z-Score represents the "Tension" of the trend—showing you exactly when the market has deviated too far from its mean.
Dynamic Transparency Feedback: As price enters an extreme Z-Score range, the trend ribbon’s transparency increases. A bright, solid ribbon indicates compressed, high-probability energy, while a fading ribbon warns that the "elastic band" is stretched to its limit.
🔵 PERFORMANCE & RISK INTELLIGENCE
Automated RR Projection: Upon every "START" signal, the script automatically plots dynamic Risk:Reward boxes. It calculates an ATR-based stop loss and projects a take-profit target based on your custom RR ratio, visualizing the trade's path in real-time.
Rolling Performance Tracker: The indicator features a built-in backtester that tracks the win/loss history of the most recent trades. It calculates your Win Rate based on a rolling sample size, allowing you to see how the strategy is performing under current market conditions.
Signal Cooldown Logic: To eliminate "whipsaw" noise, a configurable cooldown engine ensures that signals only trigger during significant structural shifts. This prevents signal clustering in sideways or choppy markets.
🔵 DUAL-DASHBOARD SYSTEM
Energy Monitor (Bottom-Right): Tracks the numerical Z-Score and categorizes the market status. "Strong" indicates healthy momentum, while "Overextended" warns of an imminent mean-reversion risk.
RR Performance Table (Top-Right): Provides an institutional-grade breakdown of your strategy performance, including total Wins, Losses, and the current Win Rate percentage for the specified trade window.
🔵 STRATEGIC APPLICATION
The Momentum Breakout: Look for "START" labels that appear when the HMA slope aligns with a price crossover. These represent the birth of a new trend cycle where tension is low and expansion is likely.
Managing Trend Exhaustion: When the ribbon begins to fade and the Energy Dashboard hits "Overextended," it is time to tighten stops or take partial profits. High tension usually precedes a sharp snap-back to the baseline.
Confirming with Win Rate: Use the Performance Dashboard to gauge market regime. If the rolling Win Rate is high, the market is respecting the trend envelopes; if it drops, the market may be entering a consolidation phase where you should wait for better alignment.
Mean Reversion Targets: For contrarian traders, the HMA baseline serves as a natural "magnet." When price is significantly overextended, look for price to be pulled back into the HMA "Neutral Zone."
Tension Flow Trend transforms your chart into a map of market stress and opportunity. By visualizing the tension behind every candle and providing real-time performance feedback, it ensures you stay on the right side of the trend while trading with professional-grade risk management. Indicator

Order Flow Momentum Divergence [theUltimator5]This indicator is the Order Flow Momentum Divergence (OFMD)
Most momentum indicators tell you what price has already done (lagging indicators). This indicator is an attempt at a leading indicator by monitoring order flow momentum through volume footprint, comparing it to price momentum, and tracking divergences.
Price momentum indicators -> RSI, MACD, stochastics, all of them lag. They are derivatives of the close. When RSI is overbought, it means price has been going up. That's it. It tells you nothing about whether the actual buying pressure behind that move is still present, exhausted, or already reversing.
Footprint delta alone has the opposite problem. It's noisy, spiky, and hard to read directionally across timeframes. A single bar with massive positive delta doesn't tell you much in isolation.
What OFMD is actually solving is the confirmation gap. Specifically: is the order flow that drove a price move still supporting it, or has it quietly shifted while price continues on inertia?
When Flow Momentum and Price Momentum agree, the move has both structural and transactional backing. When they diverge, particularly when Flow Momentum turns while Price Momentum hasn't yet, you're seeing a potential early warning that the fuel behind the move is changing before price reflects it.
In plain terms: most traders get stopped out or give back gains because they're reading price alone. They're not reading what's happening inside the price. OFMD attempts to surface that internal picture and put it on the same scale as a familiar momentum oscillator so the two can be directly compared bar by bar.
IMPORTANT - Before reading further, this indicator uses the volume footprint, which requires (at the time of creating the indicator) a premium PulseWire subscription. If you do not have a access to the volume footprint function, this indicator will not function as intended.
HOW IT WORKS
OFMD runs two signals in parallel.
1) The first is Flow Momentum: a net bias score built by running footprint delta through 100 Hull Moving Averages simultaneously (lengths 2 through 101), normalizing each, and averaging the result. The output is a single -100 to +100 value that represents the aggregate directional lean of order flow across all measured timeframes at once.
2) The second is Price Momentum: a standard 7-period RSI rescaled to the same -100 to +100 range for direct comparison.
When these two signals diverge, Flow Momentum rising while Price Momentum falls, or vice versa, the indicator flags it. That divergence is the signal. The fill between the two lines intensifies as the gap widens. The chart overlay bands extend from price proportionally to signal strength, giving you a visual anchor directly on the candles without needing to cross-reference the sub-pane.
Sub-Pane Series
Show Flow Momentum Line - The purple line. Displays the aggregate order flow bias score derived from footprint delta. Opacity scales with signal strength; it fades when bias is weak and near zero, and becomes fully opaque as conviction builds.
Show Price Momentum Line - The yellow line. A 7-period RSI stretched to -100/+100 so it sits on the same scale as Flow Momentum. Crossing zero means RSI has crossed 50. It is simply a shifted visual of RSI to match the order flow momentum in order to visually watch bullish/bearish crossings.
Show Divergence Fill - Fills the area between the two lines. Color is green for bullish divergence (Flow Momentum leading up) and red for bearish (Flow Momentum leading down). Opacity increases as the gap between the signals widens. Both lines need to be enabled for the fill to render.
Show Difference Histogram (Disabled by default) - Plots the raw arithmetic difference between Flow Momentum and Price Momentum as a histogram. Green bars mean flow is ahead of price; red bars mean price is ahead of flow. Useful for gauging divergence magnitude at a glance without reading the lines themselves.
Chart Overlay
Band Mode — Controls which overlay band or combination of bands is drawn on the price chart.
Bias Band : a single band anchored to a short EMA of price, offset proportionally to Flow Momentum strength. Color shifts from purple at maximum bearish bias through neutral at zero to green at maximum bullish bias. This band tells you where order flow bias is pointing relative to current price. This line acts as a price continuation indicator.
Divergence Band : This plots the offset proportionally to the gap between Flow Momentum and Price Momentum rather than to either signal individually. Color shifts from deep orange when price momentum is leading to electric blue when flow momentum is leading. This band is suppressed when both signals are on the same side but not in strong agreement, to avoid noise. When both signals agree strongly, the Divergence Band inherits the Bias Band's color and position.
Combined (default) : renders both bands simultaneously. The Bias Band fill and the Divergence Band fill are independent in this mode. Only one line is ever drawn on the chart - the Divergence Band line, which adopts the Bias Band's color when signals are strongly aligned.
Other toggles
Enable Chart Overlay - Master switch for everything drawn on the price chart. Turning this off leaves the sub-pane intact and removes all overlay rendering.
Show Bias Band Line - Toggles the outer line of the Bias Band. Only applies when Band Mode is set to Bias Band; in Combined mode the Divergence Band line covers this role.
Show Bias Band Fill - Toggles the fill between the Bias Band line and its anchor. Fill opacity is zero when bias is within ±20 and ramps to full as bias approaches ±100, so weak signals don't clutter the chart.
Show Divergence Band Line - Toggles the outer line of the Divergence Band. This is the only line that renders in Combined mode.
Show Divergence Band Fill - Toggles the fill between the Divergence Band line and its anchor. Like the Bias Band fill, opacity is gated - it stays invisible until the divergence gap exceeds 20, then ramps proportionally. Suppressed entirely when both signals share the same sign but lack strong conviction.
Show Background Highlight - Tints the chart background green during bullish divergence and red during bearish divergence. Only activates when the gap between the two signals exceeds 50, so it fires on meaningful separations rather than routine noise. Opacity scales with gap size up to a ceiling.
Overlay Smoothing
Smooth Overlay Bands (EMA) (Enabled by default) - Applies an EMA to the four overlay band position values before they are plotted. This reduces bar-to-bar jitter on the chart overlay without touching any of the sub-pane calculations. Flow Momentum, Price Momentum, and the histogram are unaffected.
When the overlay bands aren't smoothed, the response time for divergences is quicker, but the overlay chart is noisy and can produce more false signals.
Smoothing Length - The EMA period applied to the overlay bands when smoothing is enabled. Default is 5. Lower values track price more closely with more noise; higher values produce cleaner bands with more lag. The useful range is roughly 3 to 15 for most instruments and timeframes. Indicator

Volatility Hull Ribbon [BackQuant]Volatility Hull Ribbon
Overview
Volatility Hull Ribbon is a trend-following overlay built from a Hull-style moving average that replaces traditional volume weighting with volatility weighting . Instead of weighting price by traded volume, this indicator weights price by the absolute True Range of each bar, meaning bars with larger range expansion have more influence on the final trend estimate.
The goal is to create a smoother but responsive trend line that pays more attention to bars where the market actually moved with force. It then plots this volatility-weighted Hull structure as either a clean line or a ribbon-style band, with gradient fill, candle coloring, and long/short flip markers.
At a high level, the indicator does three things:
Builds a volatility-weighted moving average using True Range as the weighting source.
Applies Hull-style lag reduction to produce a faster trend-following curve.
Visualizes trend direction using slope, ribbon fill, candles, and flip signals.
Core idea
Most moving averages treat each bar equally or weight only by time. That means a quiet candle and a high-range expansion candle can have similar influence depending on the MA type.
Volatility Hull Ribbon takes a different approach:
Bars with larger True Range are treated as more important.
Bars with smaller True Range have less influence.
Recent bars are also weighted more heavily than older bars.
This creates a trend estimate that responds more strongly when the market expands, while remaining smoother during lower-energy movement.
What “volatility-weighted” means here
The custom weighting function uses:
Price source
Absolute True Range
A decreasing time weight
For each bar inside the lookback:
Weighted price contribution = source * abs(True Range ) * recency weight
Weight contribution = abs(True Range ) * recency weight
Then:
Volatility-weighted average = weighted price sum / weighted True Range sum
So price movement on wide-range bars matters more than price movement on quiet bars.
Why True Range is used
True Range captures more than just high-low movement. It accounts for gaps and previous close displacement. This makes it a broader volatility proxy than simple candle range.
Using True Range as the weight means the filter gives more importance to bars where:
Range expanded,
Price displaced aggressively,
Volatility increased,
Market participation likely intensified.
This is useful because strong trend moves often occur during volatility expansion, not during quiet drift.
Hull-style construction
The indicator then applies a Hull-style transformation to the volatility-weighted average.
The structure is:
VWHMA = VWMA_TR( 2 * VWMA_TR(src, len / 2) - VWMA_TR(src, len), sqrt(len) )
Where VWMA_TR means the custom True-Range-weighted moving average.
This follows the same logic as the classic Hull Moving Average:
Use a faster half-length average.
Use a slower full-length average.
Subtract the lagging component.
Smooth the result with sqrt(length).
The difference is that every smoothing step is volatility-weighted instead of standard weighted-average based.
Why this matters
A classic Hull Moving Average is already designed to reduce lag. This version modifies the internal weighting so the curve becomes more sensitive to volatility-backed price movement .
That means:
Large expansion bars can pull the filter faster.
Weak low-range chop has less effect.
Trend changes during strong movement can be reflected more clearly.
Trend detection
Trend direction is based on the slope of the VWHMA:
Bullish when VWHMA > VWHMA
Bearish when VWHMA < VWHMA
This is a simple but effective regime definition:
Rising volatility-weighted Hull = bullish trend pressure.
Falling volatility-weighted Hull = bearish trend pressure.
The script uses this slope state to color:
The main line,
The ribbon fill,
Optional candles,
Signal markers.
Ribbon mode
When “Plot as Band?” is enabled, the script creates a second line:
onebar_off = WMA(VWHMA , 10)
This is a delayed and smoothed version of the VWHMA. The area between the current VWHMA and this offset line becomes the ribbon.
Interpretation:
Ribbon expansion shows separation between current trend structure and its delayed reference.
Ribbon compression shows trend slowing or flattening.
A clean flip in the ribbon often coincides with trend transition.
The ribbon is not a volatility band. It is a trend displacement ribbon built from the difference between the current VWHMA and its delayed smoothed version.
Gradient fill logic
The fill is directional:
If VWHMA is above the offset line, fill intensity is stronger near the VWHMA and fades toward the offset.
If VWHMA is below the offset line, the gradient reverses.
This creates a cleaner visual than a flat fill because it emphasizes the active side of the ribbon.
In practice:
Strong bright ribbon = trend line leading the delayed reference.
Faded/narrow ribbon = weaker separation.
Ribbon reversal = trend pressure has shifted.
Signal logic
Signals are generated when the VWHMA slope changes direction:
Long signal: crossover(VWHMA, VWHMA )
Short signal: crossunder(VWHMA, VWHMA )
This means:
A long signal prints when the current VWHMA turns upward relative to the previous value.
A short signal prints when the current VWHMA turns downward.
These are slope-flip signals, not price crossover signals.
Important interpretation
A signal does not mean “buy blindly” or “sell blindly.” It means the volatility-weighted trend estimate has changed direction. The quality of the signal depends on:
Market structure,
Higher timeframe trend,
Volatility conditions,
Whether the ribbon is expanding or compressing.
Candle coloring
When enabled, candles are painted according to the VWHMA slope:
Bullish slope = long color.
Bearish slope = short color.
This makes the indicator easier to read as a regime overlay. You can quickly see when the market is consistently aligned with the volatility-weighted trend.
How to use it
1) Trend filter
Use the VWHMA color as a bias filter:
Only favor longs when the VWHMA is rising.
Only favor shorts when the VWHMA is falling.
2) Trend transition tool
Slope flips can identify early trend shifts:
Long marker = VWHMA has turned upward.
Short marker = VWHMA has turned downward.
Because the filter is Hull-style and volatility-weighted, it can react faster than slower trend filters while still suppressing some low-range noise.
3) Ribbon strength reading
The ribbon gives additional context:
Expanding ribbon = stronger separation and cleaner trend pressure.
Contracting ribbon = momentum weakening.
Ribbon flattening = chop or transition risk.
4) Pullback structure
In strong trends, price often respects the VWHMA or ribbon area:
Bull regime: pullbacks into the ribbon can act as support.
Bear regime: rallies into the ribbon can act as resistance.
5) Volatility-backed trend confirmation
Because large True Range bars influence the calculation more, this tool is useful for identifying whether trend changes are being supported by actual range expansion.
If price moves but the VWHMA does not respond strongly, the move may lack volatility-backed confirmation.
Input guide
Price Source
Defines the input series used for the calculation. Close is standard, but hl2, hlc3, or ohlc4 can be used for smoother structural behavior.
Lookback Period
Controls the smoothing length:
Lower values = faster response, more signals, more noise.
Higher values = smoother trend, fewer flips, more lag.
Plot as Band
Enables the ribbon view using the delayed smoothed VWHMA reference.
Line Width
Controls the main line thickness when not relying heavily on band mode.
Show Trend Candles
Paints candles by current trend state.
Show Signals
Toggles the long/short slope-flip markers.
Strengths
Uses volatility-weighted smoothing instead of equal weighting.
Combines volatility sensitivity with Hull-style lag reduction.
Clean ribbon visualization for trend displacement.
Simple slope-based regime interpretation.
Works well as a trend overlay or bias filter.
Limitations
Slope flips can still whipsaw in sideways markets.
Large wick bars can influence the filter strongly because True Range is used as weight.
It does not measure volume, despite using a VWMA-style internal function.
It is a trend tool, not a complete trading system.
Best use case
Volatility Hull Ribbon works best when used as a visual trend structure layer:
Use color for bias.
Use ribbon expansion/compression for strength.
Use slope flips for regime transitions.
Use price interaction with the ribbon for pullback context.
Summary
Volatility Hull Ribbon is a Hull-style trend overlay that replaces traditional weighting with True Range weighting, making the moving average more responsive to volatility-backed price movement. It builds a low-lag volatility-weighted Hull curve, compares it to a delayed smoothed reference to form a ribbon, and uses slope changes to define trend direction and signals. The result is a clean, responsive trend ribbon that highlights when volatility-backed trend pressure is rising, fading, or reversing. 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

Indicator

Hyperbolic Hull Moving Average (HHMA) [QuantAlgo]🟢 Overview
Hyperbolic Hull Moving Average is a trend-following indicator that replaces the linear weighting kernel inside a Hull Moving Average with a hyperbolic sine function, producing a moving average that concentrates weight on recent bars in a non-linear, exponentially accelerating curve rather than a straight ramp. Where a standard WMA assigns weight proportionally across the lookback, the sinh kernel creates a steep recency gradient that responds meaningfully to genuine momentum shifts while remaining more resistant to brief noise spikes, because distant bars lose influence at a compounding rate rather than a constant one. The result is a Hull-style construction with faster directional detection and smoother curvature than its conventional counterpart.
🟢 How It Works
The indicator is built across three passes of the same sinh weighting function. The core kernel computes a weighted average where each bar's weight is determined by the hyperbolic sine of its normalized position within the lookback, scaled by a tension parameter:
float _x = (_len - i) / _len * _t
float _w = (math.exp(_x) - math.exp(-_x)) / 2
Higher tension values push more of the total weight toward the most recent bars. At the default tension of 2.0 across a 24-period window, the most recent bar carries roughly 44 times the weight of the oldest bar. A standard WMA across the same window would assign the newest bar only 24 times the weight of the oldest, so the sinh kernel naturally produces a steeper bias toward recent price action at any equivalent length setting.
The Hull construction then runs two sinh-weighted averages at different periods, a fast pass at half the length and a slow pass at the full length, before combining them in the same denoising formula Alan Hull originally described:
fastSinh = f_sinh_weight(src, halfLen, tension)
slowSinh = f_sinh_weight(src, length, tension)
rawHull = 2 * fastSinh - slowSinh
hhma = f_sinh_weight(rawHull, sqrtLen, tension)
The raw Hull output is then passed through a final sinh-weighted smoothing pass at the square root of the full length, which removes the lagging noise the doubling step introduces.
Trend direction is determined by a simple slope check on the final output. This keeps state detection clean and unambiguous, with direction changes triggering alerts and visual updates the bar they occur.
🟢 Signal Interpretation
▶ Bullish Trend (Rising HHMA, Green): When the HHMA turns upward, all visual elements switch to the bullish colour, indicating a confirmed uptrend. Because the sinh kernel front-loads weight on recent bars, the line responds quickly to genuine upside momentum without needing price to sustain a move for many bars before registering a directional shift. Trend state remains bullish on each subsequent bar the HHMA continues to rise, allowing traders to hold positions through normal intra-trend oscillation without being shaken out by minor hesitations in the line.
▶ Bearish Trend (Falling HHMA, Red): When the HHMA turns downward, all visual elements switch to the bearish colour, confirming a downtrend or a breakdown from a prior uptrend. The same recency weighting that accelerates bullish detection also means the line will respond relatively quickly to sustained selling pressure, reducing the lag that causes conventional Hull variants to stay bullish well into a reversal. The trend remains bearish on each bar the HHMA continues to fall.
🟢 Features
▶ Preconfigured Presets: Three optimised parameter sets cover different trading approaches. "Default" is calibrated for swing trading on 4-hour and daily charts, balancing responsiveness with noise rejection. "Fast Response" shortens the lookback and increases recency bias for intraday and scalping use on 5-minute to 1-hour charts. "Smooth Trend" extends the period and flattens the weighting curve for position trading on daily and weekly charts where fewer, higher-conviction direction changes are preferred.
▶ Built-in Alerts: Three alert conditions support automated monitoring without requiring constant chart supervision. "Bullish Trend Signal" fires on the bar the HHMA slope turns upward. "Bearish Trend Signal" fires on the bar it turns downward. "Trend Direction Changed" covers both transitions with a single alert for traders who want a unified notification regardless of direction.
▶ Visual Customization: Six colour presets (Classic, Aqua, Cosmic, Cyber, Neon, and Custom) provide coordinated bullish and bearish colour pairs suited to different chart themes and backgrounds. Optional bar colouring tints price bars with the active trend colour at an adjustable transparency level, offering immediate visual confirmation of trend state across all open chart timeframes without requiring the indicator line itself to be in view.
Indicator

Indicator

Apex Engine Multi TrailApex Engine Multi Trail- Publication Notes
📖 Overview & Philosophy
Apex Engine V7.0 is not just an indicator; it is a complete, state-driven trading system designed for intraday and swing traders who demand precision, transparency, and adaptability. Unlike simple moving average crosses, this engine uses a multi-layered confirmation architecture to filter out market noise and identify high-probability trade setups.
The core philosophy is "Confluence before action." A trade is only considered when a Primary Trigger (direction) aligns with a Secondary Filter (strength/context) and respects market structure through ORB (Opening Range Breakout) logic. Once in a trade, the engine manages it intelligently using your choice of four distinct Trailing Stop Loss (TSL) methods, each suited to different market personalities. The comprehensive dashboard provides real-time transparency into the engine's "thought process," making it an ideal tool for both manual traders and those seeking to automate with webhooks.
⚙️ 1. Settings & Inputs - A Detailed Guide
Every input in this script serves a specific purpose. Here’s what they do and why you need them:
Group 1: Strategy Selection
Primary Trigger: This is the foundation of your trade direction. It decides whether the market is bullish or bearish.
Supertrend on HMA: Applies the Supertrend formula to a Hull Moving Average (HMA) of the close. It's smoother and more responsive than a standard Supertrend, reducing whipsaws.
Standard Supertrend: The classic, well-known Supertrend indicator based on closing prices. It's reliable for capturing strong trends.
HMA Direction: Simply checks if the Hull Moving Average is sloping up or down. This is the purest, most basic trend filter.
Secondary Filter: This acts as a confirmation mechanism. It ensures the market environment supports the primary signal, adding a crucial layer of safety.
VWAP (Volume Weighted Average Price): An institutional benchmark. A primary Bullish signal above VWAP suggests strong, volume-backed buying pressure.
ADX Strength (Average Directional Index): Measures trend strength, not direction. It confirms if the trend detected by the primary trigger is worth trading.
None: Disables the secondary filter, relying solely on the primary trigger.
Group 2: Visual Settings
Simple checkboxes to toggle chart elements on/off. HMA Momentum Band provides a visual envelope of trend momentum, while the Colored VWAP and Supertrend Line help you visually confirm signals. Color Background by Trend paints the chart for an instant visual assessment of the primary trend.
Group 3: Dashboard Layout & Size
Controls the look and position of the information panel. You can choose its size (Tiny to Large), position (e.g., Top Right), and which sections of the dashboard are visible (Logic, Stats, Running Trade).
Group 4: Core Indicator Settings
HMA Length: The lookback period for the Hull Moving Average. A larger value makes the HMA smoother and less sensitive.
Supertrend ATR Multiplier & ATR Length: Standard Supertrend parameters. A higher multiplier creates a wider band, making the trigger less sensitive but more reliable.
ADX Length & Min ADX Strength: Defines the period for ADX calculation and the minimum value required for the "Strong Trend" filter.
Group 5: Smart Entry Rules
Wait for Candle Close: When enabled, the strategy only acts on the confirmed close of a bar, preventing false signals from intra-bar wicks.
Opening Bar Breakout (ORB): A classic gap-and-go strategy. It uses the first candle's high/low as a filter, ensuring you only trade when price breaks out of its initial balance.
Bars to Wait after SL: A mandatory "cool-down" period after a stop loss is hit. This prevents emotional revenge trading and gives the market time to reset.
Smart Re-entry: An advanced feature that prevents re-entering a trade immediately after a stop loss. It waits for price to reclaim the HMA and make a new high/low, confirming momentum has returned.
Group 6: Time & Square-Off Settings
Essential for intraday traders. You can restrict entries to a specific Allowed Entry Window and, crucially, enable an Auto Square-Off to automatically exit all trades at a pre-defined time (e.g., 3:15 PM), ensuring you don't hold positions overnight.
Group 7: Dynamic ATR Ladder
These inputs define your initial risk (Initial SL) and the fixed step size (Target Step) for the Fixed Step Ladder trailing method. The values are multiples of the ATR at the time of entry, making your risk dynamically adjusted to market volatility.
Group 8: Trailing Stop Method
This is the heart of the trade management system. You can choose how the engine protects your profits.
🧠 2. Entry Logic: How a Trade is Born
A trade is not triggered by a single event but by a confluence of factors. The engine follows a strict checklist:
Primary Trigger Alignment: The market must be either Bullish or Bearish based on your chosen primary indicator.
Secondary Filter Confirmation: The secondary filter must agree. For VWAP, price must be on the correct side. For ADX, the trend must be "Strong."
ORB Condition: If enabled, price must have broken out of the first candle's range. This confirms a decisive move.
Cooldown Period: The engine must not be in a post-stop-loss waiting period.
Time Checks: The trade must be within the allowed session and before the square-off time.
Smart Re-entry Check: If recently stopped out, the market must show signs of reclaimed momentum.
Bar Confirmation: If enabled, the trade is only taken at the bar's close, ensuring the signal is valid.
Only when all applicable conditions are true will the engine execute a trade and print a "BUY" or "SELL" label on the chart. This rigorous process is designed to keep you out of low-probability, noisy market conditions.
📊 3. The Dashboard: Your Command Center
The dashboard is not just for show; it is a critical tool for transparency and trust in the system. It shows you the real-time state of every condition the engine checks, so you're never left guessing why a trade was or wasn't taken .
Trade Logic Monitor: Displays the status of the Primary Trigger, Secondary Filter, Wait Period, Bar Confirmation, and a final "Decision Monitor" that explains in plain English why the engine is flat or active (e.g., "FLAT - Cooling down post-SL").
Closed Trades Statistics: Tracks your performance in real-time, showing total trades, win/loss counts, win rate, and total points for both long and short positions.
Running Trade Monitor: For an active trade, this shows the entry price, current stop loss, the next target (or trailing value), unrealized points ("Run"), and most importantly, the Guaranteed P/L – the profit already locked in by the trailing stop.
This level of detail builds confidence and allows for post-trade analysis directly on the chart.
🛡️ 4. Trailing Stop Loss (TSL) Methods Explained
This is where you customize the engine's "personality." Each method has its own strengths and weaknesses, making the script adaptable to different trading styles.
Method How It Works PROs CONs
Fixed Step Ladder After entry, the first target is hit, stop moves to breakeven. After each subsequent target, the stop moves up by a fixed step_mult (based on entry ATR). Targets are plotted as "T1, T2, T3..." on the chart. Psychologically satisfying with clear targets. Excellent in strong trends as it locks in profits step-by-step. Can be too rigid in volatile markets. A sharp pullback could hit your stop even if the trend is still good. Underperforms in slow, grinding moves where price may not reach the next target.
ATR Trailing The stop is calculated as close - (current_atr * atr_trail_mult) for longs. It trails price continuously and is only raised (or lowered for shorts), never moved back. Highly adaptive to current market volatility. Gives the trade room to breathe in volatile conditions. Excellent for capturing massive trends. Can be too loose in very slow markets, giving back more profit than necessary. Susceptible to being stopped out by a single volatile candle if the multiplier is too small.
Parabolic SAR Uses the built-in Parabolic SAR indicator as the trailing stop. The SAR flips when the trend reverses. Simple and automatic. It accelerates as the trend gains momentum, tightening the stop. Works very well in strong, sustained trends . Notorious for whipsaws in sideways or choppy markets. The SAR can flip frequently, causing multiple small losses.
Moving Average Lowest For a long, the stop is the lowest low of the last N bars. For a short, it's the highest high. Excellent for range-bound or slowly trending markets. It gives the trade a lot of room. Very intuitive – it's like drawing a trend line under the recent price action. Horrible in fast, volatile trends. The stop will be left far behind, giving back a huge portion of profits. React slowly to sudden reversals.
🚨 5. Alerts & Webhook Automation
The script comes pre-configured with four specific alertconditions, making it plug-and-play for automated trading systems that use webhooks.
1. 🟢 ENTER LONG: Triggers when a new long position is opened. The message sent is: {"action": "buy", "ticker": "{{ticker}}"}
2. 🔴 ENTER SHORT: Triggers when a new short position is opened. The message sent is: {"action": "sell", "ticker": "{{ticker}}"}
3. ❌ EXIT LONG: Triggers when an existing long position is closed (by stop loss, square-off, or target). The message: {"action": "close_long", "ticker": "{{ticker}}"}
4. ❌ EXIT SHORT: Triggers when an existing short position is closed. The message: {"action": "close_short", "ticker": "{{ticker}}"}
You can easily create alerts from the PulseWire interface using these conditions. The JSON format is clean and ready to be parsed by any trading bot or third-party automation service.
🧩 6. Final Usage Notes & Recommendations
Intended Market: This script is designed for liquid, trending instruments like Indices (NIFTY, BANKNIFTY, S&P 500), Forex majors, and large-cap stocks. It may perform poorly in highly choppy or illiquid markets.
Timeframe: Works on all timeframes, but performs best on 5-minute to 1-hour charts for intraday trading. For swing trading, 1-hour to daily charts are recommended.
Risk Management: The dashboard's Guaranteed P/L is your best friend. Always be aware of your locked-in profit. Never risk more than 1-2% of your capital per trade.
Optimization: Start with the default settings. Use the dashboard to observe how the engine behaves. Only then should you tweak the ATR multipliers or step sizes to suit the specific volatility of your chosen asset.
By understanding each component of this engine, you move from being a passive user to an active, informed trader who knows exactly why your strategy behaves the way it does. Good luck and trade safe. 🚀
Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Algomist - Adaptive Velocity Cross🚀 Algomist: The Adaptive Velocity Cross (AVC)
Automate Your Edge
This strategy transcends the limitations of classic Moving Average (MA) crossovers. The Adaptive Velocity Cross (AVC) is a state-of-the-art trend-following system designed for automated execution, filtering out low-probability whipsaws and prioritizing high-momentum breakouts in volatile markets.
It's not just a signal generator; it's a fully automated, risk-managed trading plan that delivers structured trade signals directly to your Algomist account.
🔥 Key Features & Technology
Adaptive Hull Moving Averages (HMA): Utilizes the Hull MA to significantly reduce lag compared to standard EMAs and SMAs. The faster and slower HMAs provide a highly responsive gauge of short-term and medium-term trend direction.
Multi-Layer Volatility Filtering: Trades are strictly prohibited during flat, low-volatility market conditions.
Current Timeframe Filter (ATRMinFilter): Ensures trades only fire when current market momentum is strong enough to carry the trend.
Higher Timeframe Filter: Checks the ATR on a higher timeframe (e.g., 1H) to confirm the structural trend strength, preventing entries during tight squeezes.
Visual Trend Velocity: The space between the Fast (Blue) and Slow (Pink) HMAs is colored and filled, providing an immediate visual cue for trend direction and strength (width of the band).
Asymmetric Risk Management: Uses the dynamic Average True Range (ATR) to calculate Stop Loss and Take Profit levels, ensuring risk and reward are proportional to current market volatility.
⚙️ How It Works (The Logic)
The AVC only executes a trade when all three high-conviction criteria are met:
Trend Signal: The Fast $\text{HMA}$ crosses the Slow $\text{HMA}$ (Crossover).
Volatile Market Confirmation: The market must be sufficiently volatile on both the current timeframe and the higher structural timeframe ($\text{ATR}$ filters passed).
Risk Management: A defined $\text{SL}$ (Stop Loss) and $\text{TP}$ (Take Profit) are calculated based on the current market $\text{ATR}$ to manage the position before entry.
🤖 Automation Ready
The strategy is built with automation as the priority. Upon a confirmed entry, the script sends a cleanly formatted JSON string via a PulseWire Webhook alert to Algomist. Create your account and get your own web hook @ www.algomist.app
Example Alert Output:
{
"symbol": "ETHUSDC",
"side": "LONG",
"entry_price": 67500.0,
"stop_loss": 66000.0,
"take_profit": 70000.0,
"timestamp": 1766715660462
}
This signal is ready for immediate consumption by your Algomist execution engine, ensuring lightning-fast and error-free order placement.
📊 Recommended Use
Asset Class: Highly effective on high-liquidity, high-volatility assets (e.g., Crypto Majors, Forex Pairs, Indices).
Timeframes: Works best on 1m to 15 min charts.
Risk Profile: Medium-to-High frequency trend-following system.
Disclaimer: The strategy code provided is for informational and educational purposes. Past performance is not indicative of future results. Always backtest and forward-test any automated strategy extensively before using real capital. Strategy
