Support Board
Date/Time: Wed, 27 Nov 2024 10:32:51 +0000
Linear Regression End Channel not right when set to calculate on bar close
View Count: 1528
[2014-08-05 00:09:06] |
maxpi - Posts: 181 |
That tool will draw a channel that matches what the drawing tool will draw if it's not calculating on bar close. If it is calculating on bar close I can't get the drawing tool to match it..
|
[2014-08-05 09:07:53] |
Sierra Chart Engineering - Posts: 104368 |
We are checking on this.
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 |
[2014-08-05 13:47:04] |
Al SC Developer - Posts: 434 |
This will be addressed in ver 1170. To make the tool and the study match: * Calc On Close = No - The study will use the last N bar values to calculate the channel, and it is changing with updates to the bar. Draw the tool on the same N bars. The tool does not recalculate with bar updates, so it is a snapshot in time, so may not continue to match. * Calc On Close = Yes - The study will use the prior N bar values (offset of one bar because final bar is not included) to calculate the channel. Draw the tool on the same N bars. Note, be sure the option Chart Settings >> Advanced Settings >> Adjust Tool Values to Tick Size is disabled. If it is enabled, the channel could be slightly offset. |
[2014-08-07 16:23:08] |
maxpi - Posts: 181 |
line 1115 in Studies5 has to have the "-1" term removed.
|
[2014-08-11 05:39:40] |
Sierra Chart Engineering - Posts: 104368 |
In the latest version the calculations should be correct.
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 |
[2014-08-17 15:47:41] |
maxpi - Posts: 181 |
I started running the latest version. The Endchannel study seems to be perfect but the linreg tool seems to have changed, I cannot get it to match the Endchannel. I checked and rechecked the settings of each, same input data, same setting for standard deviations, neither the slope nor the channel width match.
|
[2014-08-18 18:08:39] |
maxpi - Posts: 181 |
The function for LinearRegression... I don't understand what exactly it does... can it be used to draw the typical linear regression line? It would be nice to have a function that returned all the values for a linear regression line or returned the variables for the ax +b formula.
|
[2014-08-19 15:51:56] |
maxpi - Posts: 181 |
Ver 1174... The Linreg drawing tool draws the same no matter the choice for "calc based on" in the Tool Config
|
[2014-08-20 04:55:12] |
Al SC Developer - Posts: 434 |
We have verified that the linear regression tool works correctly, and uses the "Calc Based On" config properly.
|
To post a message in this thread, you need to log in with your Sierra Chart account: