OPEN-SOURCE SCRIPT

Moving Average Macro Trend Filter

已更新
A simple indicator that adds a background fill to your chart based on a fast and slow moving average.
When the fast moving average is above the slow moving average, the background is green.
When the slow moving average is above the fast moving average, the background is red.
If the fast and slow moving average don't agree on direction, the background is yellow.

  • Pick between EMA, SMA, RMA, WMA
  • Select different timeframes for chart, slow MA, and fast MA
版本注释
Updated default values for slow/fast EMA
版本注释
Fixed timeframe defaults.
macroMoving Averagesmovingaveragecrossover

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明