dvinales

Stacked Moving Averages

dvinales 已更新   
The Stacked Moving Averages indicator lets you see if a ticker is in an uptrend, downtrend, or no trend based on the condition of the moving averages. If the moving averages are stacked such that MA1>MA2>MA3>MA4>MA5, then that is described as an uptrend. If the moving averages are stacked such that MA5>MA4>MA3>MA2>MA1, then that is defined as a downtrend.
The moving averages can be SMA, EMA, or DEMA, and it’s possible to view all the moving average series in the chart or hide all series and only see if there is an uptrend or downtrend according to the condition.
Note: If length 4 OR length 5 is zero the MA4 OR MA5 will be ignored.
版本注释:
- Update to version 5
- Support choosing a different timeframe
版本注释:
bug fixes
版本注释:
Adding WMA, HMA, RMA as Moving Average options.
开源脚本

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

免责声明

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

想在图表上使用此脚本?