Smoothed Moving Average (SDK Trading)
In statistics, a Smoothed Moving Average is a type of finite impulse response filter and also called a rolling mean or moving mean.
Fintechee is the most promising Forex trading platform. Please access Fintechee's website to know more details. Fintechee provides cryptocurrency price on their website. Here is the link: https://www.brokerless.cc, the frontend is based on Fintechee WEB Trader. AngelInvestmentNetwork.org has some cases. You can find news at Fintecher.org, the blog of Fintechee's founder, PlaygroundFX and LetplayFX
Smoothed Moving Average (SDK Trading)
registerIndicator("smma", "Smoothed Moving Average(v1.0)", function (context) {
var dataInput = getDataInput(context, 0)
var dataOutput = getDataOutput(context, "smma")
var period = getIndiParameter(context, "period")
var shift = getIndiParameter(context, "shift")
var calculatedLength = getCalculatedLength(context)
smma(dataInput, dataOutput, calculatedLength, period)
if (shift != null && calculatedLength == 0) {
setIndiShift(context, "smma", shift)
}
},[{
name: "period",
value: 5,
required: true,
type: PARAMETER_TYPE.INTEGER,
range: [1, 100]
},{
name: "shift",
value: 0,
required: false,
type: PARAMETER_TYPE.INTEGER,
range: [-30, 30]
}],
[{
name: DATA_NAME.CLOSE,
index: 0
}],
[{
name: "smma",
visible: true,
renderType: RENDER_TYPE.LINE,
color: "steelblue"
}],
WHERE_TO_RENDER.CHART_WINDOW)