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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明