SMA(prices, period)
Version 1.0.0.0 (345 Bytes) by
MichaelGM
This function returns the simple moving average of the values provided with the period given.
This function returns the simple moving average of the values provided with the period given.
Cite As
MichaelGM (2024). SMA(prices, period) (https://www.mathworks.com/matlabcentral/fileexchange/57837-sma-prices-period), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Transaction Cost Analysis in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |