Here's a TradingView Pine Script that combines both a Simple Moving Average (SMA) and an Exponential Moving Average (EMA) into a single indicator. This script allows you to customize the lengths of both moving averages and displays them on the chart.