OPEN-SOURCE SCRIPT

Jake Bernstein - Moving Average Channel

We all know that moving averages, in particular, moving averages of closing prices tend to be highly inaccurate indicators and frequently miss major tops and bottoms. In backtesting, they tend to be accurate some 30 to 40% of the time which is to my way of thinking unacceptable. On the contrary moving averages of opens versus closes for highs versus lows, when used properly avoid the drawbacks of closing moving averages, particularly when combined with a trigger. Shown above is my moving average channel method which uses the 57 SMA of Williams accumulation distribution as a setup or trigger. As shown by the arrows two consecutive price bars completely below the MA channel low and triggered by Williams below SMA constitutes a sell signal. Conversely, two consecutive price bars or more above the moving average channel high accompanied by Williams above its moving average constitutes a sell trigger. The moving average channel high, the red line is a 10 period Moving average of highs. The Moving average channel low, the green line is an 8 period Moving average of the low. There are at least a dozen applications of this methodology including its ability to spot trend changes, support, resistance, swing trades, market strength, market weakness, and more. I will post some of these additional uses of the moving average channel as they present themselves. Do note that in this chart there were two instances above the moving average channel high but these were not triggered by Williams AD and therefore the trend remains down for the duration of this chart. The methodology associated with my MAC is completely rules-based and works in any timeframe. Thank you my friend Larry Williams for developing your excellent version of accumulation-distribution
Trend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité