Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 22:50:51 +0000



[Programming Help] - Pivot Points - Treating Sunday as its Own Session

View Count: 166

[2024-01-23 22:14:17]
RaviM - Posts: 1
Hi there,

I use the camarilla pivots in my strategy, but I have noticed that on Mondays my levels are incorrect because Sierra does not treat Sunday as its own session - the High, Low and Close values from the previous session (that are used when calculating the pivot levels) are incorrect as they are taken from Friday's session (rather than Sunday's).

Is there any way to fix this through chart configuration? Alternatively, is it possible to make this change using ASCIL?

Thanks in advance for any advice on this ticket!
[2024-01-24 14:57:09]
John - SC Support - Posts: 36286
The only way to change this would be to modify the code. The area that has the check for the days is in the 'scstudyfunctions.cpp' file in the "CalculateDailyPivotPoints()" function. The file is in the ACS_Source folder under your main Sierra Chart installation folder. The Pivot Points function is in the 'Studies8.cpp' file. Refer to the following:
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