PROTECTED SOURCE SCRIPT

SMA TR 30 90 180 360

32


Pine Script version 6 script that displays simple moving averages (SMAs) of 30, 90, 180, and 360 periods.

The indicator will plot these four moving averages on the chart, each with a different color for easy identification.

It also includes the option for the user to choose whether to show or hide each moving average individually.

Colors:

SMA30: Blue

SMA90: Red

SMA180: Green

SMA360: Orange

You can also adjust the width of the lines so they are visible but not too thick.

Note: Since 360 ​​periods is a long moving average, it may not be fully displayed on charts with limited data.

However, the calculation will be performed using the available data.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。