How does one construct a moving average of a moving average on esignal?
Announcement
Collapse
No announcement yet.
Moving Average of a Moving Average
Collapse
X
-
gdfee
There are several ways it can be done. If you are unfamiliar with programming in efs then you can use the Formula Wizard. For instructions on how to use the Formula Wizard inclusive of a specific example of a study on study see the Formula Wizard Guide in the EFS KnowledgeBase.
If you are instead familiar with efs and specifically with efs2 then you can use the functions directly eg sma(period,sma(period,source)) for a simple moving average. Replace sma() with ema(), etc for other types of averages. For information on the efs2 functions see the EFS2 Function Reference in the EFS KnowledgeBase
Also you can find a pre-programmed moving average of moving average study here. The script is called MAofMA.efs and is also enabled for use with multiple intervals.
Alex
Comment