Hilbert Huang Phase Analyzer MT4

  • 지표
  • Anthony Cooke
    Anthony Cooke
    Quantitative Systems Architect and C++, Python, MQL5, MQL4, and Pine Script developer specializing in non-repainting mathematical indicators, Expert Advisors, and statistical strategy audits. I combine industrial quality-control engineering and Applied Mathematics with multi-physics market modeling
  • 버전: 1.0
  • 활성화: 5

OVERVIEW AND SCIENTIFIC ORIGIN

The Hilbert Huang Phase Analyzer is a cycle-timing and instantaneous-phase indicator engineered from Nonlinear Signal Processing and Empirical Mode Decomposition (the Huang et al. Hilbert-Huang Transform [HHT], adapted into a 100 percent causal real-time digital signal processor). Traditional oscillators use fixed-period lookbacks that lag sharply whenever market swing rhythm speeds up or slows down, and they fail during strong directional trends.

This strictly causal, non-repainting indicator sifts raw log-prices into a zero-mean Intrinsic Mode Function, computes live Hilbert quadrature components, tracks the changing Dominant Cycle Period automatically, and maps every market swing around a color-coded 4-quadrant 360-degree phase clock protected by a built-in Trend-vs-Cycle guard across Gold (XAUUSD), Major Forex pairs, and US Indices from M15 to Weekly charts.


THREE-STEP CAUSAL DSP ENGINE

1. Causal 2-Stage Butterworth Sifting: Applies dual 2-pole Butterworth SuperSmoother filters—stripping fast tick noise below InpMinPeriod (default 8 bars) and slow macro trend drift above InpMaxPeriod (default 40 bars)—followed by causal mean removal to isolate a clean, zero-mean Intrinsic Mode Function (IMF1) with zero repainting.
2. Gain-Compensated FIR Hilbert Quadrature: Projects IMF1 into orthogonal analytic components (In-Phase I and Quadrature Q) using a causal 7-tap FIR Hilbert filter with adaptive frequency-gain compensation.
3. Homodyne Dominant Cycle and Phase Compensation: Measures instantaneous angular frequency cleanly via complex-conjugate homodyne discrimination without branch-cut jumps to derive the live Dominant Cycle Period (in bars), compensates for the 3-bar FIR group delay to output real-time Instantaneous Phase (0 to 360 degrees), and modulates the phase sine wave by rolling IMF RMS envelope confidence (InpEnvPeriod = 55).


HOW TO READ THE 4-QUADRANT 360-DEGREE CYCLE CLOCK

Subwindow Scale (-105.0 to +105.0, dashed reference levels at +60.0, 0.0, and -60.0):
Every coherent market swing rotates sequentially through four color-coded phase quadrants:
- Q1 (0 to 90 deg, MediumSeaGreen — Phase_Q1_Bull_Impulse): Bullish cycle impulse accelerating upward from zero toward the cycle peak.
- Q2 (90 to 180 deg, Gold — Phase_Q2_Peak_Rollover + Magenta Top Dot): Peak rollover and distribution as upward cycle energy exhausts and curls off the top.
- Q3 (180 to 270 deg, Crimson — Phase_Q3_Bear_Impulse): Bearish cycle impulse accelerating downward from zero toward the cycle trough.
- Q4 (270 to 360 deg, DeepSkyBlue — Phase_Q4_Trough_Turn + Lime Bottom Dot): Trough turn and accumulation as downward momentum exhausts and curls upward off the bottom.
- WhiteSmoke Smooth Line (Hilbert_Phase_Sine): Envelope-modulated instantaneous phase sine wave (-100% to +100%).
- Lime Dot (Cycle_Bottom_Turn) and Magenta Dot (Cycle_Top_Turn): Strictly alternating reversal-locked cycle markers plotted when entering Q4 below -InpTurnThresh (-35%) or entering Q2 above +InpTurnThresh (+35%).


DARK TELEMETRY HUD BOX AND TREND-VS-CYCLE GUARD

Anchored in the upper-right subwindow inside a solid dark slate panel with a DodgerBlue border:
- Line 1 (HILBERT PHASE): Active phase quadrant and exact live phase angle (0 to 360 deg), color-matched to the active histogram quadrant.
- Line 2 (DOM CYCLE and SINE WAVE): Live homodyne-measured Dominant Cycle Period in chart bars alongside the envelope-weighted phase sine percentage.
- Line 3 (MODE and T/C RATIO): Built-in Trend-vs-Cycle guard comparing slow macro trend displacement against cycle amplitude. Aqua below 1.50x reads CYCLIC COHERENT (clean swing environment suited for cycle turns); Gold at 1.50x and above warns TREND DOMINANT (CYCLE DAMPED) so traders do not fade runaway directional trends.
- Line 4 (PHASE ACTION): Direct tactical posture matching the live quadrant (MOMENTUM LONG, PEAK DISTRIBUTION / TAKE PROFIT, MOMENTUM SHORT, or TROUGH ACCUMULATION / REVERSAL).


PRACTICAL USAGE

Cyclic Swing Timing (When HUD Line 3 Reads CYCLIC COHERENT, T/C < 1.50x):
Watch DeepSkyBlue Q4 bars printing a Lime Cycle_Bottom_Turn dot followed by a transition into MediumSeaGreen Q1 bars (0 to 90 deg) for long swing entries; tighten stops or take profit when bars flip to Gold Q2 with a Magenta Cycle_Top_Turn dot, and watch Gold-to-Crimson Q3 transitions for short swings.

Trend Protection (When HUD Line 3 Warns TREND DOMINANT, T/C >= 1.50x):
Do not counter-trade Q2 or Q4 reversal dots against the dominant macro trend. Instead, use Q4 troughs strictly as pullback re-entry timing inside an uptrend, or Q2 peaks strictly as pullback timing inside a downtrend.


TECHNICAL SPECIFICATIONS AND INPUT PARAMETERS

Calculation Engine:
100 percent causal bar-by-bar digital signal processor with zero repainting, zero backpainting, and zero external DLL calls. Short name: HHT_Phase(8,40).

Core Input Parameters:
- InpMinPeriod (Default: 8, Range 4 to 25): High-frequency noise cutoff period for the fast Butterworth SuperSmoother.
- InpMaxPeriod (Default: 40, Range 20 to 120): Low-frequency macro trend cutoff period for the slow Butterworth SuperSmoother.
- InpEnvPeriod (Default: 55): Rolling IMF RMS window controlling scale-invariant envelope confidence.
- InpTurnThresh (Default: 35.0, Range 15.0 to 80.0): Minimum sine-wave amplitude (%) required to plot alternating Lime bottom and Magenta top turn dots.
- InpShowHUD (Default: true): Toggles the 4-line dark telemetry panel (bypassed automatically during optimization).

Expert Advisor Integration (iCustom Buffers):
Buffer 0: Phase_Q1_Bull_Impulse | Buffer 1: Phase_Q2_Peak_Rollover | Buffer 2: Phase_Q3_Bear_Impulse | Buffer 3: Phase_Q4_Trough_Turn | Buffer 4: Hilbert_Phase_Sine (Smooth -100 to +100 cycle wave) | Buffer 5: Cycle_Bottom_Turn | Buffer 6: Cycle_Top_Turn | Buffer 7: HHT_Phase_Deg (Hidden continuous 0.0 to 360.0 degree phase angle for automated cycle logic).


TIMEFRAME AND ASSET CALIBRATION

Default settings (8 to 40 bar cycle band, 55 envelope period, 35% turn threshold) work cleanly across XAUUSD, Major Forex pairs, and US Indices from M15 to Weekly:
- Fast Intraday Cycles (M15 to M30): Keep InpMinPeriod at 6 to 8 and narrow InpMaxPeriod to 28 to 34 to focus on shorter intraday session waves.
- Multi-Day Swing Cycles (H4 to Daily/Weekly): Keep InpMinPeriod at 8 to 10 and expand InpMaxPeriod to 40 to 60 with InpTurnThresh at 40% to 50% to isolate only clean primary swing peaks and troughs.
- High-Volatility Instruments (XAUUSD, US30, NAS100): Raise InpMinPeriod to 10 to filter sharp intraday wick jitter while keeping HUD Line 3 (T/C Ratio) visible to respect strong session trends.


----Trading on MetaTrader 5 instead of MetaTrader 4? The identically engineered MetaTrader 5 edition of Hilbert Huang Phase Analyzer is published on my MQL5 Seller Profile with the exact same thumbnail, causal Butterworth IMF sifting, Hilbert quadrature engine, dark telemetry HUD, and parameter set. Visit my seller profile to access the MT5 version.

제작자의 제품 더 보기
Overview & Scientific Origin The Fractional Differentiation Stationarity Line is an institutional quantitative indicator engineered from Financial Econometrics and Machine Learning Time-Series Theory . Popularized for institutional hedge funds by quantitative finance researcher Dr. Marcos López de Prado, Fractional Differentiation solves the oldest paradox in algorithmic trading : raw market prices contain valuable long-term trend memory but drift endlessly (making fixed indicator thresholds bre
Overview & Scientific Origin The Fractional Differentiation Stationarity Line is an institutional quantitative indicator engineered from Financial Econometrics and Machine Learning Time-Series Theory . Popularized for institutional hedge funds by quantitative finance researcher Dr. Marcos López de Prado, Fractional Differentiation solves the oldest paradox in algorithmic trading : raw market prices contain valuable long-term trend memory but drift endlessly (making fixed indicator thresholds bre
OVERVIEW AND SCIENTIFIC ORIGIN The OU Elastic Tension Meter is a standalone quantitative mean-reversion oscillator engineered from Stochastic Physics and the Ornstein-Uhlenbeck (OU) Mean-Reversion Process: dX_t = theta * (mu - X_t)dt + sigma * dW_t. Originally formulated in statistical physics to describe how particles moving through a resistive medium are pulled back toward an equilibrium anchor, the Ornstein-Uhlenbeck framework is widely applied in quantitative finance to model elastic price
FREE
OVERVIEW AND SCIENTIFIC ORIGIN The OU Elastic Tension Meter is a standalone quantitative mean-reversion oscillator engineered from Stochastic Physics and the Ornstein-Uhlenbeck (OU) Mean-Reversion Process: dX_t = theta * (mu - X_t)dt + sigma * dW_t. Originally formulated in statistical physics to describe how particles moving through a resistive medium are pulled back toward an equilibrium anchor, the Ornstein-Uhlenbeck framework is widely applied in quantitative finance to model elastic price
FREE
Overview & Scientific Origin The Navier-Stokes Fluid Reynolds Breakout Meter is an institutional quantitative indicator engineered from Fluid Dynamics and Aerospace Engineering . In physics and mechanical engineering, the Navier-Stokes equations and the dimensionless Reynolds Number are used to predict the exact threshold where a fluid—such as airflow over a supersonic jet wing or crude oil moving through a high-pressure pipeline—transitions from smooth, predictable laminar flow into chaotic, h
Overview & Scientific Origin The Hodgkin-Huxley Neuro-Synaptic Action Spike is an institutional quantitative indicator engineered from Computational Neurobiology and Biophysics . Developed by Nobel Prize-winning biophysicists Alan Hodgkin and Andrew Huxley to model how electrical signals travel through the human brain and nervous system, the Hodgkin-Huxley equations describe how a biological neuron absorbs small, random electrical disturbances until the charge crosses a critical threshold—causin
Overview & Scientific Origin The Seismic Omori Fault Line Aftershock Decay is an institutional quantitative indicator engineered from Geophysics and Earthquake Seismology . In seismology, the Modified Omori-Utsu Law is used to forecast the exact power-law decay rate of aftershocks following a major tectonic earthquake—telling scientists how long a fault line remains unstable before seismic activity returns to normal. This indicator applies seismic hazard decay to financial volatility spikes, sho
Overview & Scientific Origin The Institutional Fair Value Gap Liquidity Net is an institutional quantitative indicator engineered from Market Microstructure and Electronic Order-Book Theory (Smart Money Concepts) . In institutional execution desks and interbank liquidity pools, aggressive high-volume market orders frequently sweep resting limit orders faster than market makers can replenish the book. This displacement leaves behind measurable three-candle price voids—known as Fair Value Gaps (FV
Overview & Scientific Origin The Quantum Feynman Path Integral Oscillator is an institutional quantitative indicator engineered from Quantum Field Theory and Theoretical Physics. Developed by Nobel Prize-winning physicist Richard Feynman, the Path-Integral formulation is used in quantum mechanics and particle physics to evaluate every trajectory a subatomic particle can take between two states—calculating whether waves cancel each other out inside a confining "potential well" or align construct
Overview & Scientific Origin The Hawkes Self Exciting Volatility Cascade is an institutional quantitative indicator engineered from Stochastic Point-Process Theory and High-Frequency Trading (HFT) Microstructure. Originally developed by statistician Alan Hawkes to model self-exciting earthquake chains and viral contagion, Hawkes Processes are widely deployed by institutional market makers and HFT desks to detect real-time order-book clustering—where a single aggressive institutional sweep trigg
Overview & Scientific Origin The Soliton Kdv Rogue Wave Detector is an institutional quantitative indicator engineered from Nonlinear Fluid Physics and Oceanography. Based on the classic Korteweg-de Vries (KdV) partial differential equation, this branch of physics studies solitons (self-reinforcing solitary waves, such as deep-ocean tsunamis or fiber-optic light pulses, that travel long distances without breaking apart or losing energy) and rogue waves (sudden high-amplitude wave surges where n
Overview & Scientific Origin The Thermodynamic Fokker Planck Helmholtz Energy is an institutional quantitative indicator engineered from Statistical Mechanics and Non-Equilibrium Thermodynamics. In physics and physical chemistry, the Fokker-Planck equation measures how a system of particles evolves under directional drift versus random thermal diffusion, while Helmholtz Free Energy (F = U - T · S) calculates how much usable mechanical work a system can perform once heat (T) and random disorder
Overview & Scientific Origin The Bullion Dollar StatArb Gauge Loop is an institutional quantitative indicator engineered from Quantitative Pairs Trading (Statistical Arbitrage) and Lattice Gauge Theory (Theoretical Physics). Institutional prop desks use rolling Ordinary Least Squares (OLS) dynamic hedge ratios to measure when two correlated markets diverge abnormally far from fair value, while physicists use Wilson Gauge Loop Phase Holonomy to measure rotational flux and lead-lag curvature arou
Overview & Scientific Origin The Omni Spectrum Fibonacci Harmonic Ribbon is an institutional main-chart trend-regime indicator engineered from Multi-Scale Spectral Trend Analysis and Golden-Ratio Number Theory. In quantitative signal processing, decomposing price across logarithmically spaced frequency horizons separates short-term market noise from deep macro order flow. By synchronizing six Exponential Moving Averages along the exact Fibonacci sequence (13, 21, 34, 55, 89, 144)—where each lay
Overview & Scientific Origin The Variational Mode Lorenz Chaotic Attractor is a flagship institutional quantitative indicator engineered from Adaptive Signal Processing (Variational Mode Decomposition) and Nonlinear Chaos Dynamics (Edward Lorenz's 3D Strange Attractor). In aerospace telemetry, seismology, and biomedical engineering, Variational Mode Decomposition (VMD) is an advanced spectral optimization algorithm used to break a noisy, non-stationary signal into clean, non-overlapping frequen
OVERVIEW AND SCIENTIFIC ORIGIN The Multi Physics Veto Matrix is an institutional quantitative consensus and trade-filtering indicator engineered from five branches of applied physics and econometrics: Fractional Calculus, Fluid Dynamics, Computational Neurobiology, Statistical Mechanics, and Stochastic Mean-Reversion Theory. Powered by the internal ME.v2 multi-physics consensus engine, which is displayed on the live subwindow telemetry readout. Designed as a complementary flagship module on th
OVERVIEW AND INSTITUTIONAL RISK ORIGIN The Three Stage ATR Ratchet Manager is an institutional trade-management and equity-governance Expert Advisor engineered from Quantitative Risk Management and Asymmetric Stop-Loss Control Theory. Professional proprietary trading desks and systematic risk officers do not manage trades with static pip stops or fixed lot sizes because market volatility expands and contracts constantly across assets and sessions. A 20-pip stop that works on a calm EURUSD morni
OVERVIEW AND SCIENTIFIC ORIGIN The Alpha Decay Half Life Auditor is a dual-engine quantitative indicator engineered from Stochastic Physics (Ornstein-Uhlenbeck Mean-Reversion Dynamics) and Quantitative Strategy Auditing. In institutional portfolio management, directional trading signals do not stay valid indefinitely: market regimes shift between persistent trending behavior and rapid mean-reverting chop, while individual trading strategies experience measurable alpha decay as holding time leng
OVERVIEW AND SCIENTIFIC ORIGIN The Kalman Dynamic Beta Engine is a quantitative statistical arbitrage and state-space indicator engineered from Control Theory and Financial Econometrics (Recursive Kalman Filtering). Originally developed for aerospace navigation and radar tracking to estimate hidden moving states from noisy measurements, the Kalman Filter is widely applied in quantitative pairs trading to track how the hedge ratio (Beta) between two correlated markets evolves in real time. Unli
OVERVIEW AND SCIENTIFIC ORIGIN The VPIN Flow Toxicity Meter is an institutional order-flow and market-microstructure indicator engineered from High-Frequency Market-Making Theory (Volume-Synchronized Probability of Informed Trading, introduced by David Easley, Marcos Lopez de Prado, and Maureen O'Hara). In electronic exchanges and institutional liquidity desks, market makers track order-flow toxicity to measure adverse selection risk—the moments when informed institutional buyers or sellers flo
OVERVIEW AND SCIENTIFIC ORIGIN The Hidden Markov Regime Engine is a quantitative market-state indicator engineered from Probabilistic Machine Learning and Quantitative Econometrics (3-State Gaussian Hidden Markov Model using the Hamilton-Kim Online Forward Filter). Used by systematic asset managers to identify hidden market regimes, a forward-only Hidden Markov Model estimates the live probability of each market state strictly from past and current bars without backward Viterbi smoothing and wi
OVERVIEW AND SCIENTIFIC ORIGIN The Marchenko Pastur RMT Denoiser is a quantitative spectral filter engineered from Random Matrix Theory (RMT) and Quantitative Econophysics, implementing the Marchenko-Pastur Eigenvalue Law, the Laloux-Cizeau-Bouchaud-Potters (LCBP) bulk noise boundary, and Baik-Ben Arous-Peche (BBP) signal subspace shrinkage natively in MQL without external DLLs. In institutional econophysics and quantitative portfolio desks, Random Matrix Theory separates genuine non-random ma
OVERVIEW AND SCIENTIFIC ORIGIN The Kyle Lambda Liquidity Impact indicator is an institutional market-microstructure tool engineered from Liquidity Economics, combining Kyle (1985) Price-Impact Lambda with Hasbrouck (2009) Square-Root Volume Scaling. In institutional execution desks, Kyle's Lambda measures market illiquidity: how much price moves per unit of incoming order volume. IMPORTANT — NOT A PRICE-DIRECTION OSCILLATOR: This subwindow wave measures ORDER-BOOK DEPTH AND LIQUIDITY STRUCTURE
OVERVIEW AND SCIENTIFIC ORIGIN The GKYZ Volatility Estimator is an institutional range-and-gap volatility indicator engineered from Quantitative Finance and Volatility Econometrics, combining the Garman-Klass (1980) OHLC range estimator with the Yang-Zhang (2000) overnight-gap variance extension (GKYZ). Standard close-to-close standard deviation ignores everything that happens inside a candle's high-low wicks, while naive ATR mixes volatility with absolute price scale. By incorporating Open, H
OVERVIEW AND SCIENTIFIC ORIGIN The Extreme Value Tail Risk Engine is a quantitative risk-monitoring and tail-shock oscillator engineered from Actuarial Statistics, Quantitative Risk Management, and Extreme Value Theory (Peaks-Over-Threshold Generalized Pareto Distribution [POT-GPD] paired with the Hill Power-Law Tail Index). Standard Gaussian risk indicators and Bollinger-style bands assume normal bell-curve returns and routinely underestimate sudden market crashes and short-squeeze melt-ups.
OVERVIEW AND SCIENTIFIC ORIGIN The K Means Liquidity Zone Clusterer is a standalone, unrestricted main-chart structural indicator engineered from Unsupervised Machine Learning and Market Microstructure using Deterministic 1D Volume-Weighted Lloyd's K-Means Clustering. Rather than drawing subjective horizontal lines by eye, this engine automatically groups causally confirmed swing highs and swing lows weighted by local tick volume into objective institutional support, resistance, and Point-of-Co
FREE
Overview & Scientific Origin The Navier-Stokes Fluid Reynolds Breakout Meter is an institutional quantitative indicator engineered from Fluid Dynamics and Aerospace Engineering . In physics and mechanical engineering, the Navier-Stokes equations and the dimensionless Reynolds Number are used to predict the exact threshold where a fluid—such as airflow over a supersonic jet wing or crude oil moving through a high-pressure pipeline—transitions from smooth, predictable laminar flow into chaotic, hi
Overview & Scientific Origin The Hodgkin-Huxley Neuro-Synaptic Action Spike is an institutional quantitative indicator engineered from Computational Neurobiology and Biophysics . Developed by Nobel Prize-winning biophysicists Alan Hodgkin and Andrew Huxley to model how electrical signals travel through the human brain and nervous system, the Hodgkin-Huxley equations describe how a biological neuron absorbs small, random electrical disturbances until the charge crosses a critical threshold—causi
Overview & Scientific Origin The Seismic Omori Fault Line Aftershock Decay is an institutional quantitative indicator engineered from Geophysics and Earthquake Seismology . In seismology, the Modified Omori-Utsu Law is used to forecast the exact power-law decay rate of aftershocks following a major tectonic earthquake—telling scientists how long a fault line remains unstable before seismic activity returns to normal.This indicator applies seismic hazard decay to financial volatility spikes, show
Overview & Scientific Origin The Institutional Fair Value Gap Liquidity Net is an institutional quantitative indicator engineered from Market Microstructure and Electronic Order-Book Theory (Smart Money Concepts) . In institutional execution desks and interbank liquidity pools, aggressive high-volume market orders frequently sweep resting limit orders faster than market makers can replenish the book. This displacement leaves behind measurable three-candle price voids—known as Fair Value Gaps (FV
필터:
리뷰 없음
리뷰 답변