Support Board
Date/Time: Fri, 14 Mar 2025 22:45:11 +0000
Change from the daily open
View Count: 586
[2022-06-28 18:21:58] |
DCSaba - Posts: 113 |
Dear Sierra, I'd like to create a chart the show on a 5 or 1 minute (preferrably in bars, but a line will do, too) ONLY the Change since the Open, ie. a difference between the Last Trade and the Open of the Day. I have experimented with the Bar Difference Study as suggested by another Thread, but that was only for the current Bar's open and not useful for my purpose. I understand there is a Study called Difference (Bar or Line) but I can't see how that would achieve this. Could you please guide me to the right way of achieving this? |
[2022-06-28 18:38:54] |
John - SC Support - Posts: 38678 |
Refer to the following study: Percent Change Since Open For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-06-29 12:37:24] |
DCSaba - Posts: 113 |
Yes, I've seen that one, too, but I need not the percentage chnage, but the Change in Points. If there is no such, then is there a way to calculate backwards the change in Points, by somehow Multiplying the chart witht the Daily Open? Thank you, |
[2022-06-29 15:07:30] |
John - SC Support - Posts: 38678 |
The calculation is the following: (CurrentValue - CurrentPeriodOpenValue) / CurrentPeriodOpenValue * Input_Multiplier So if you just want the points difference, you just multiply the result by the "CurrentPeriodOpenValue" and ensure you multiplier is set to 1.0. Refer to the Arithmetic Studies here: Using the Basic Arithmetic Studies Or you can change the code in the study (it is located in the Studies8.cpp file under the ACS_Source folder under your main Sierra Chart installation. 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 |
[2022-06-29 21:51:57] |
DCSaba - Posts: 113 |
So 1) the Mutiplier stays 1. That's ok (see picture attached). And 2) I can use and Arithmetic Study to multiply this %-Change-Study. But where do I get the 'CurrentPeriodOpenValue' in the hyopthetical formula above? |
![]() |
[2022-06-30 17:01:37] |
John - SC Support - Posts: 38678 |
You would have to figure that out. You can manually look it up for each day and enter it, or you could use a Spreadsheet Study to get work out all the pieces. Refer to the information for the Spreadsheet Study functions here: Spreadsheet Functions 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: