Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 13:58:01 +0000



Help with spreadsheet functions

View Count: 314

[2023-04-21 18:59:56]
Skipp - Posts: 6
Hi I am trying to build a spreadsheet that calculates autocorrelation however I am having issues implementing the formula required to generate it. The formula requires an average to be calculated and subtracted from numbers in a range in a SUMPRODUCT function, =SUMPRODUCT(E3:E15-AVERAGE(E3:E16), E4:E16-AVERAGE(E3:E16)). However I cannot appear to be able to get this to work in Sierra Charts spreadsheet, it works in excel fine. Do spreadsheets not support this type of function within a function? Find attached in the text doc the details output for the formula. Any help on the matter would be much appreciated.
Date Time Of Last Edit: 2023-04-21 19:01:37
Private File
[2023-04-21 20:28:56]
John - SC Support - Posts: 36350
The problem is this particular entry:
E3:E11-AVERAGE(E3:E12)

And others like it. You can not subtract a single value that results from the Average from a range. We are very surprised that this works in Excel, but we did try it and it does do it - but the Sierra Chart Spreadsheet can not do this. You would have to subtract the Average from each item in the Range first and have that in another column, then you can perform the SUMPRODUCT() on the new set of Ranges.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-21 21:11:51]
Skipp - Posts: 6
Thanks for the reply, I have managed to do it this way but it isn't quite as elegant. Is there any chance that Sierra might add a built in autocorrelation function at some point?
[2023-04-24 14:18:14]
John - SC Support - Posts: 36350
There is always a chance, but it is not going to be something that would happen anytime soon. And we can't say that it will ever occur.
For the most reliable, advanced, and zero cost futures order routing, use 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