Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Libraries | Stationarity: KPSS, Phillips-Perron, DF-GLS, Zivot-Andrews and variance ratio test…

Discover expert developed MetaTrader tools that can complement professional solutions.

Image for Stationarity: KPSS, Phillips-Perron, DF-GLS, Zivot-Andrews and variance ratio tests

Checked

Against arch 8.0 (arch.unitroot) on six series (a random walk, a stationary AR(1), a trend-stationary series, a series with a break in its level, the log price of gold on H4 and of BTCUSD on D1), 204 tests with every trend, lag rule and option:

  • the same lags, bandwidths, numbers of observations, break dates and critical values;
  • statistics within 3e-11 and p-values within 2e-11.

Files

Stationarity.mqh and StationarityTables.mqh go to MQL5\Include\Stationarity, StationarityReport.mq5 to MQL5\Scripts\Stationarity.

Reduce lag and improve accuracy with the NonLagMA Expert Advisor for MT4/MT5. Discover it.

Build better strategies with RobotFX professional tools – check them out.

78807

Best MetaTrader Indicators + Profitable Expert Advisors