PROTECTED SOURCE SCRIPT
SMA TR 30 90 180 360

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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.