Support Board
Date/Time: Thu, 28 Nov 2024 22:34:56 +0000
Charting the difference between yesterdays close and the current price
View Count: 1636
[2017-09-01 12:22:04] |
User771280 - Posts: 4 |
I'm plotting the difference between yesterdays close and the current price of the ES. I'm using: 1. One main 5 minute ES chart that is set to start: 15:30 stop 15:14:59 2. Added Study/Price Overlay for another daily ES chart that is set to start: 8:30 stop 15:14:59 3. Added study subgraph subtract/difference: Input study #1 = main5 minute ES chart using the Last option Input study #2 = main5 minute ES chart using the Last option Study 2 subgraph offset = 1 Draw zeros = yes Perform subtract with zero value = yes Problem: The study subgraph subtract/difference doesn't look at the current last daily bar (item #2) correctly throughout the trading session. Normal output currently: During the regular trading of 8:30 - 15:14:59 the plot has the correct value, looks at the last daily bar which is 1 day. During the after hours trading of 15:30 - 8:29:59 the plot has the incorrect value...it still uses 2 days prior instead of 1 day. I can change the "Study 2 subgraph offset = 1" to "Study 2 subgraph offset = 0" and I get the correct value. |
[2017-09-01 12:24:24] |
User771280 - Posts: 4 |
Sorry...mistake in the prior post! Please use this one. I'm plotting the difference between yesterdays close and the current price of the ES. I'm using: 1. One main 5 minute ES chart that is set to start: 15:30 stop 15:14:59 2. Added Study/Price Overlay for another daily ES chart that is set to start: 8:30 stop 15:14:59 3. Added study subgraph subtract/difference: Input study #1 = main 5 minute ES chart using the Last option Input study #2 = main daily ES chart using the Last option Study 2 subgraph offset = 1 Draw zeros = yes Perform subtract with zero value = yes Problem: The study subgraph subtract/difference doesn't look at the current last daily bar (item #2) correctly throughout the trading session. Normal output currently: During the regular trading of 8:30 - 15:14:59 the plot has the correct value, looks at the last daily bar which is 1 day. During the after hours trading of 15:30 - 8:29:59 the plot has the incorrect value...it still uses 2 days prior instead of 1 day. I can change the "Study 2 subgraph offset = 1" to "Study 2 subgraph offset = 0" and I get the correct value. Thanks |
[2017-09-01 18:41:38] |
Sierra Chart Engineering - Posts: 104368 |
We have prepared a Study Collection to accomplish what you want: http://www.sierrachart.com/image.php?Image=1504290339783.png It is attached. Here are the instructions to use it: http://www.sierrachart.com/index.php?page=doc/StudyCollections.html#UsingStudyCollectionProvidedBySierraChartSupport Also you have the ability to edit a post by clicking the "Edit" link at the lower right of the post. 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 Date Time Of Last Edit: 2023-03-20 21:01:28
|
[2017-09-07 12:49:53] |
User771280 - Posts: 4 |
This is what I want to do: https://imgur.com/a/uSWVv Not sure how to adapt the stdycollt to make it work. Thanks |
[2017-09-07 18:53:16] |
Sierra Chart Engineering - Posts: 104368 |
When posting an image of a chart, always use this method here: https://www.sierrachart.com/index.php?page=PostingInformation.php#Image For the Daily OHLC study which displays the current price, set the study Input Graph Open and Close Historically to Yes. 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 Date Time Of Last Edit: 2017-09-07 18:54:38
|
[2023-03-18 17:54:21] |
User708541 - Posts: 87 |
Support, Two Things: Can you update this Study Collection so it is compatible with current version of SC? (Thank you) Also, I want to have a Study that plots a 'cumulative' line for the difference between yesterday's (or prior bar's) close with today's (or current bar's) Open - on a cumulative basis. I'm wondering if the Study above is similar enough to be easily modified for what I'm looking for. Thank you. |
[2023-03-20 16:36:33] |
John - SC Support - Posts: 36350 |
We have updated the Study Collection so it works with current releases. It is attached to this thread. Refer to the following for how to use it: http://www.sierrachart.com/index.php?page=doc/StudyCollections.html#UsingStudyCollectionProvidedBySierraChartSupport Use the Cumulative Sum of Study set to whatever it is you want to accumulate. Refer to the following: Cumulative Sum of Study For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-03-20 17:27:18] |
User90125 - Posts: 715 |
I only see the following: Attached On 2017-09-01 18:10:08 UTC - Size: 28 KB - 257 views Is there a new collection attached somewhere? May want to remove the old one, if that's the case. |
[2023-03-20 21:01:13] |
John - SC Support - Posts: 36350 |
Sorry, neglected to actually attach the file. Here is the updated one.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
YesterdaysCloseTodaysCloseDifference.StdyCollct - Attached On 2023-03-20 21:01:04 UTC - Size: 48.19 KB - 153 views |
To post a message in this thread, you need to log in with your Sierra Chart account: