Class SimpleMovingAverageIndicator

java.lang.Object
com.bluebell.greenhouse.radicle.services.technical.indicators.impl.SimpleMovingAverageIndicator
All Implemented Interfaces:
TechnicalIndicator

@Component("simpleMovingAverageIndicator") public class SimpleMovingAverageIndicator extends Object implements TechnicalIndicator
A Simple Moving Average (SMA) calculates the average price of an asset, typically closing prices, over a selected. number of time periods, smoothing out price volatility and revealing trends. The formula for calculating an SMA involves summing the asset's prices over the chosen period and dividing by the number of periods. Source
Version:
1.0.12
Author:
Stephen Prizio