OPEN-SOURCE SCRIPT

SMA (5,20,50)

This script adds three Simple Moving Averages (SMA) to your chart with periods of 5, 20, and 50. It visually highlights the trends by shading the areas between these lines:

- Green shading: Indicates an upward trend, where the shorter SMA is above the longer SMA.
- Red shading: Indicates a downward trend, where the shorter SMA is below the longer SMA.

The shading uses different opacities to show the strength of the trend. This helps you quickly identify potential buying or selling opportunities.
Moving AveragesSimple Moving Average (SMA)Trend Analysis

開源腳本

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

想在圖表上使用此腳本?

免責聲明