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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。