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.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.