Number Walls for Forecasting Sequences and Adjusting Trading Stops
Summary
The article explains number walls, a matrix method for examining sequences and deriving recurrence relations. Repeated application of a cross rule fills the matrix; rows of zeros indicate that a sequence can be represented by a finite relation among earlier values. Examples include cubes and Fibonacci numbers, while a EUR/USD price sample illustrates that financial data may not converge cleanly. The article also describes using a formula-based wall and a Toeplitz matrix determinant to assess whether a sequence is likely to converge.
For its MQL5 application, the author uses moving-average values as inputs and derives a forecast to help set trailing stop-loss and take-profit distances in an Expert Advisor paired with the Awesome Oscillator. A comparison of two EUR/USD hourly backtests—one using Parabolic SAR trailing and one using the number-wall method—shows different but reportedly not significantly different results. The approach is exploratory: the article acknowledges that financial time series may not converge and that wall construction can be computationally demanding. It offers no strong evidence that the method improves trading performance.
Key ideas
- Number walls use a cross rule to propagate values from a time series through a matrix.
- Rows of zeros can indicate a finite recurrence relation and support forecasts from previous observations.
- A Toeplitz matrix determinant is proposed as a more efficient way to assess sequence convergence.
- The MQL5 example uses moving-average readings to inform trailing stop-loss and take-profit levels.
- The reported EUR/USD comparison is limited and does not establish a meaningful performance advantage.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.