sma function

Add Simple Moving Average (SMA) indicators to the chart