Login Page - Create Account

Support Board


Date/Time: Mon, 09 Jun 2025 19:01:39 +0000



3 period moving average

View Count: 566

[2022-11-29 16:19:46]
MPicciuto - Posts: 9
Hello, I was wondering if there was a preset indicator for a 3 period moving average or one that I can customize? More specifically a 16 period moving average of (CLOSE - CLOSE[2]) + CLOSE[1]. Any information will be appreciated. Thanks.
[2022-11-30 14:03:21]
Ackin - Posts: 1865
See the following two links in the SC documentation:

arithmetic operations (where you make the result three close in the equation)
Using the Basic Arithmetic Studies

Based on (where the moving average will have your equation as input)
Chart Studies: Settings and Inputs Tab >> Based On - Basing a Study on Another Study
[2022-11-30 14:55:26]
Sierra_Chart Engineering - Posts: 19872
You can also make your own study:
Advanced Custom Study Interface and Language (ACSIL)
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-11-30 15:31:24]
Sawtooth - Posts: 4224
More specifically a 16 period moving average of (CLOSE - CLOSE[2]) + CLOSE[1].
Try this:

1. Add the Spreadsheet Formula study.
- Set the Chart Region to 1.
- Use this formula in its Formula field:
=C - C[-2] + C[-1]
- Hide the study.

2. Add the moving average of your choice.
- Set the Based On to the Spreadsheet Formula study
[2022-12-04 15:24:39]
MPicciuto - Posts: 9
Thanks for all your replies! What worked the easiest was using spreadsheets. Looking into rewriting some of my custom ToS indicators with ACSIL now. Thanks again everyone.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account