The SMA calculates the average of a selected range of prices by the number of periods in that range. It is the most fundamental trend indicator.
//@version=6
indicator('SMA', overlay=true)
len = input.int(9, 'Length')
plot(ta.sma(close, len), 'SMA', color=color.blue)Enhance your trading workflow with these professional tools and platforms.
Keep 100% of the first $12.5K. EOD Drawdown and flexible evaluation types to suit your style.
Secure, reliable, and fully licensed. The best crypto experience for US traders.
The professional's choice for futures trading with minimal slippage and stable API.
Mirror the positions of top-tier traders instantly without writing code.