Today we present a new technical indicator that displays a simple & elegant panel showing the direction of simple moving averages with periods in a user-selected range.
Today we present a new technical indicator that displays a simple & elegant panel showing the direction of simple moving averages with periods in a user-selected range (Min, Max). The displayed number in the panel is the period of a simple moving average and the symbol situated at the right of it is associated with the direction this moving average is taking.
The simple moving average is a trend following indicator ubiquitous to most traders, and allows to determine the direction of the current trend as well as determining potential support and resistance points.
In term of digital signal processing a simple moving average is a FIR lowpass filter derived from a weighted sum between past prices inputs and a set of uniform coefficients. The simple moving average of period p can be calculated as follows:
Where Cₜ denote the closing price at time t.
Looking at the direction of moving averages with different periods is extremely useful when it comes to having information about the short/mid/long term overall market sentiment, and can also tell us if the market is trending or ranging.
Here we use periods ranging from 25 to 50, we can see that shorter moving averages react to the recent upward price variation, longer-term moving averages however are still affected by the overall downward variation you can see on the image. We can as such get information about the presence of potentials divergences, with shorter-term moving averages reacting to the divergence while the longer-term moving averages will still display the direction of the main trend.
As such the indicator can give information about how clean a trend is, with a clean trend being defined as a variation containing no retracements. When our trend contains no retracement, the mid/long term moving averages will all have the same direction, however, when a retracement is present, the midterm moving averages might be affected by it, thus displaying a direction contrary to the main trend.
When the market is ranging we can expect the panel to display an equal number of decreasing/increasing moving averages.