Login Page - Create Account

Support Board


Date/Time: Fri, 20 Jul 2018 02:42:25 +0000



Formula / study to caluculate gradient

Support Request:
[2017-12-13 17:48:18]
bala - Posts: 59
I see that you color subcharts based on gradient. I need a formula to compute a gradient as opposed to slope. Could you please post your formula or the study where I can get the code?

Thanks
[2017-12-13 19:15:35]
Sierra Chart Engineering - Posts: 61914
I see that you color subcharts based on gradient.
We do not know what you are referring to.
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2017-12-13 19:25:26]
bala - Posts: 59
Use study 'Moving average difference'.

It gets plotted in region 2. One of the options for 'AUTO COLOR' is based on the gradient. I was referring to this option.

I am trying to compute the GRADIENT of a curve as opposed to SLOPE. I was wondering if I can borrow from your computation.
[2017-12-13 19:54:24]
Sierra Chart Engineering - Posts: 61914
We can only refer you to the available documentation which is here:
https://www.sierrachart.com/index.php?page=doc/ChartStudies.html#AutoColoring
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

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

Login


Login Page - Create Account