Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 09:27:29 +0000



Reset at Start of Trading Day

View Count: 240

[2023-12-16 16:55:31]
moe1up - Posts: 22
Hello,

Hoping I can get help with the ability to reset the Correlation Coefficient study at the beginning of the trading day. I can reference the study in a spreadsheet, but can't figure out how to reference A1 to start the study from 0 at 18:00 or if it's even possible as it has length as an input. I am using range bars, so a set bar length isn't an option for me.

Thanks.
[2023-12-18 14:39:57]
John - SC Support - Posts: 36286
As you state, there is only the Length option within the Correlation Coefficient study.

To do what you want would require that you modify the code for the study. The code is available in the file named Studies5.cpp in the ACS_Source folder under your main Sierra Chart installation folder.

Refer to the following for how to build a study:
How to Build an Advanced Custom Study from Source Code
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