Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 14:29:57 +0000



Calculate the area between 2 lines. The integral.

View Count: 666

[2019-09-05 15:07:25]
User452567 - Posts: 38
How can I calculate the integral (area) between 2 lines?
Thank you
[2019-09-06 19:06:14]
Sierra Chart Engineering - Posts: 104368
There is no built-in method to perform a true integral, in which you would find the area between the lines over the entire x-coordinate system. This is because the chart bars are quantums, therefore most (maybe even all) studies deal with the data from bar to bar and do not deal with the space between them.

But, if you want to find the area between the lines based on the bar data, then use the Study Subgraph Subtract study to get your difference at each bar, then use the Cumulative Sum of Study to sum up those results.

Refer to the following for the Study Subgraph Subtract study:
Study Subgraph Subtract

Refer to the following for the Cumulative Sum of Study study:
Cumulative Sum of Study
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account