eykpunter

MMA mainpanel

I stumbled on the MMA in the “Active Investing” course notes by Alan Hull (who invented the Hull Moving Average)
alanhull.com/uploads...ing Course Notes.pdf
He writes on page 13:
“Multiple moving averages, MMAs, are a sophisticated tool that can be used in a range of applications. MMAs are a series of lines that track and filter the weekly price movements. They consist of 2 sets of lines that allow Technical Analysts to observe and compare the immediate behavior of price activity with the long term behavior of the price activity. Exponential moving averages are used for this type of analysis. The price bars in the following chart have been switched off to improve readability of the MMA lines.”

“Once we have found a share that has an acceptable 'Rate of return' we must make a qualitative judgment of the trend. We are looking for a strong and consistent trend that is not likely to reverse shortly after we enter the market. The following points are critical;
- The long term group must be spreading apart or running parallel with each other.
- The long term group must be pointing upwards.
- The straighter the long term group of lines are; the less volatile the trend is.
- The short term group can pullback (ie. compress together) but if they cross into the long term group then the trend is weakening and may be about to break.
This type of qualitative analysis is only used when entering the market and the idea is to avoid volatility. We want to 'Buy and Hold' and not get bounced in and out of the market. Judging the quality of trends is the most subjective function we will have to perform.”

Because I tend to close positions too soon, I tried MMA. I found that it can help me to stay in position as long as the trend is going on. TradingView offers several scripts for MMA, this version differs from the others because I added color zones and linecolor changes to mark the trend according to Alan’s norms:
An uptrend is marked with a blue zone when the short term group is above the long term group and the long term group is sorted correctly and ema50 points up. The zone is purple when vice versa in downtrend. When there is no trend no zone is colored, but the lines are made gray.

Because of Alan’s idea to show MMA without price bars, I created both an overlay version for the main panel and a version for a sub panel.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?