Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 16:27:00 +0000



Normalize Calculation from Slope Function

View Count: 1814

[2017-11-02 17:10:02]
knoxville1915 - Posts: 38
Good afternoon,

I was wondering if there is any way to normalize the calculation from the slope function. I'm specifically getting the slope of a linear regression. Considering slope calculates the difference in price over time, the output range is starkly different between a $100 stock and a $10 stock - which makes it difficult to compare the two.

Perhaps there is a way to use percent change instead of price change? Alternatively, is there a way to calculate the angle in degrees?
[2017-11-02 17:37:09]
Sierra Chart Engineering - Posts: 104368
What do you mean by Slope function? Are you referring to a study?

We have no context for what you are referring to.
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
[2017-11-02 17:40:38]
knoxville1915 - Posts: 38
In ACSIL, using sc.Slope.
[2017-11-02 18:09:56]
Sierra Chart Engineering - Posts: 104368
We are going to add a sc.CalculateAngle function which will give a result in degrees.
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