wsk719

6 SMA&look back 20SMA strategy

6 SMA&look back 20SMA strategy

The moving average is calculated based on historical prices and is a backward indicator,Unable to forcast future prices.
But the moving average still represents the price trend, so we can forcast by moving average.
Each point of the 20-day SMA is calculated based on the closing price of the past 20 days.
Therefore, we can know that the closing price of the first 20 days directly affects the latest point of SMA.
The last 20 days are the prices included in the calculation, which directly affect the trend of the latest points.
For example,if the day before the 20th is a sharp fall, the latest SMA becomes an upward trend;If the day before the 20th is a sharp rise, the latest SMA becomes a downward trend,it showing the opposite trend

Recommended to use the daily trend.

Good Luck


移動平均線是根據歷史價格計算,屬於落後指標
但是移動平均線仍代表價格趨勢,因此我們可以通過移動平均線進行預測。
20天均線的每個點都是基於過去20天的收盤價計算的。
因此,我們可以知道前20天的收盤價直接影響SMA的最新點。
最近20天是計算中包括的價格,它直接影響最新點的趨勢。
例如,如果20日之前的一天是急劇下跌,則最新的SMA成為上升趨勢;如果20日之前的一天是急劇上漲,則最新的SMA成為下降趨勢,呈現相反的趨勢。

參考老王對SMA扣抵值的簡易版應用
使用20MA的扣抵蹺蹺板來判斷今日可能是UP或DOWN

建議使用日線
祝好運

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?