Indicators: Institutional Ornstein-Uhlenbeck Equilibrium Matrix

Institutional Ornstein-Uhlenbeck Equilibrium Matrix:

An econometric price-space indicator that utilizes the Ornstein-Uhlenbeck stochastic process to mathematically estimate the asset's true driftless equilibrium and its speed of mean reversion.

Institutional Ornstein-Uhlenbeck Equilibrium Matrix

Author: Amanda Vitoria De Paula Pereira

I appreciate you ma'am. I have always needed this calculation.
Solomon Anietie Sunday #:
I appreciate you ma'am. I have always needed this calculation.
glad it helps, solomon, the ou calculation is much better than static bands since it measures the actual reversion speed dynamically, try running it on h1 or h4 to clean up the noise during high volatility, let me know if you need any help tuning the settings.

Hi Amanda Vitoria De Paula Pereira

Can we apply the Kalman filter to an OU process ?

Please suggest values ​​for the Theta threshold and Half-Life that would indicate the market has a mean reversion state.

Thank you!

Amanda Vitoria De Paula Pereira - KayruYuta - Trader's profile
Amanda Vitoria De Paula Pereira - KayruYuta - Trader's profile
  • 2026.10.17
  • www.mql5.com
Trader's profile
kevinnguyen2022 #:

Hi Amanda Vitoria De Paula Pereira

Can we apply the Kalman filter to an OU process ?

Please suggest values ​​for the Theta threshold and Half-Life that would indicate the market has a mean reversion state.

Thank you!

hi kevin, yes a 1d kalman filter works great here to track the shifting equilibrium mean without rolling window lag, just run a quick regression on the filtered residuals to get theta instead of solving both in one nonlinear filter which blows up on news spikes, since half life is ln2 over theta a solid mean reversion window on h1 sits between 5 and 20 bars or theta from 0.035 to 0.14, under 4 bars is just spread noise where commissions eat the trade and over 30 bars or negative theta means strong trend so fade entries get crushed, what pair and timeframe are you running it on