Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 12:57:05 +0000



Question about a Cumulative Study

View Count: 643

[2018-07-12 21:27:07]
a Gem Tree - Posts: 60
I'm wondering if SC has a study that aggregates (+=) the difference between two objects (Ex: 2 MAs).
I see that you have something similar - The ZigZag Aggregate-Volume Study... but I see nothing that aggregates the spread of two different objects.
If you don't have anything like this tool (adding the historical differences between 2 objects for the last X bars),
would this be something you might create in the future?
Date Time Of Last Edit: 2018-07-12 21:27:57
[2018-07-12 21:45:45]
John - SC Support - Posts: 30401
Yes, the study you are looking for is called Summation of Study Subgraph - Periodic. You just have to create the difference in a different study first (look at Study Subgraphs Difference).

The documentation for the Summation of Study Subgraph - Periodic can be found here:
Summation of Study Subgraph - Periodic

The documentation for the Study Subgraphs Difference can be found here:
Study Subgraphs Subtract/Difference

And just to help you out, we have attached an example of how you could put this together as a Study Collection using the difference of 2 Moving Averages with different lengths. You can find the information for how to load a study collection we provide here:
Study Collections: Using a Study Collection Provided by Sierra Chart Support
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
attachmentCumulativeMovingAverageDiff.StdyCollct - Attached On 2018-07-12 21:45:22 UTC - Size: 37.3 KB - 267 views

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

Login

Login Page - Create Account