Directional Matrix
By LuxAlgoMay 28, 2021
Directional Matrix condenses trend into a dashboard: it computes an SMA, TMA, WMA, and linear regression across a whole range of lengths and colors one cell per calculation: bullish when that average is rising, bearish when it is falling. Because the slope of a moving average is itself a trend condition, the grid amounts to dozens of trend votes cast at once, with the top-left cell reporting the bullish share.
How to Trade the Directional Matrix?
- Grid mostly bullish: broad agreement across lengths and average types supports a trending long bias; a mostly bearish grid supports the opposite.
- Top-left percentage: the proportion of rising cells, a single consensus number to track as conditions shift.
- Normalized Change Mode: cells grade change intensity from 0 to 1 on a color gradient, separating decisive moves from drift.
The four columns corroborate each other in useful ways: a rising SMA means price exceeds its level from p bars ago, a rising WMA means price sits above an SMA of period p+1, and a rising REG means a WMA sits above an SMA of the same period. Read together, the matrix behaves like a moving average ribbon with the geometry stripped out: pure direction, no overlapping lines.
Directional Matrix Settings
- Maximum Length: the top of the period range evaluated for all four indicators.
- Minimum Length: where the range starts.
- Step: the gap between consecutive periods. Smaller steps add rows and detail, larger steps keep the grid compact.
- Src: the data source feeding the calculations.
- Normalized Change Mode: replaces direction signs with normalized change magnitudes.
- A style block covers dashboard location and size, text/frame color, bullish and bearish cell colors, and cell transparency.
Frequently Asked Questions
Free indicator
Get free access to this indicator on the platforms below.
The Library is free. Quant makes it yours.
Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.
.png&w=1200&q=75)
