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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.