functions: exponential moving average

This commit is contained in:
Alexander Zobnin
2017-07-03 23:01:18 +03:00
parent 273e6df7e3
commit f3ee574619
12 changed files with 89 additions and 4 deletions

View File

@@ -66,6 +66,15 @@ addFuncDef({
defaultParams: [10],
});
addFuncDef({
name: 'expMovingAverage',
category: 'Transform',
params: [
{ name: 'smoothing', type: 'float', options: [0.001, 0.01, 0.05, 0.1, 0.2, 0.3, 0.5, 0.7, 0.9] }
],
defaultParams: [0.2],
});
// Aggregate
addFuncDef({