Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 17:32:01 +0000



Post From: Smoothed MA in ACSIL differs significantly from study

[2021-07-20 13:50:08]
SC Support Tom - Posts: 450
One last note on the opening post:


I am computing the smoothed MA in my ACSIL study using any of the three following options:

sc.SmoothedMovingAverage(sc.Close, subgraph_Smooth, 50);
sc.MovingAverage(sc.Close, subgraph_Smooth, MOVAVGTYPE_SMOOTHED, 50);
SmoothedMovingAverage_S(sc.Close, subgraph_Smooth, i, 50, 0);

All of the above produce the same results (they look close but not exactly like simple-moving-avg 50 period), but they differ significantly from the study in SierraChartStudies_64 "Moving Average - Smoothed."

Please be advised that the study function Moving Average - Smoothed is the correct version. I changed sc.SmoothedMovingAverage() to match that function.
Date Time Of Last Edit: 2021-07-20 13:51:51