OPEN-SOURCE SCRIPT

Multi Timeframe Moving Averages

已更新
This indicator allows you to view a moving average (EMA or SMA) of your choosing on other time frames than what you are currently on.

The reason I wanted to develop this was for use as a filter. Let's say you wanted to make sure the daily time frame was trading above a certain moving average so you could be sure you were playing with the trend. But you wanted to make your entries and exits on a smaller time frame. This Multi-Timeframe Moving Average indicator can then be used to keep an eye on that daily moving average while looking at the shorter term time frames on the same chart.
版本注释
Simplified the code a bit and made it so that you can pick any time frame now instead of the few I had originally pre-selected as options.
版本注释
I accidentally left a non-related indicator in the last update, this removes it.
Exponential Moving Average (EMA)multi-timeframeSimple Moving Average (SMA)sma

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明