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精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明