Support Board
Date/Time: Tue, 26 Aug 2025 05:19:49 +0000
High / Low for time Period Drawing color based on opening vs closing price
View Count: 193
[2025-08-09 15:31:02] |
DualADX - Posts: 37 |
Using Studies only, is there a way to use the High / Low for Time Period Study so the Drawing Color is based on opening vs closing price of the Time Period? Okay if it takes multiple studies to do so I just need a clue as to which ones and how to use them. Thank you |
[2025-08-10 13:54:56] |
Sierra_Chart Engineering - Posts: 20734 |
This is going to require custom programming. The source code is available and you can modify it: How to Build an Advanced Custom Study from Source Code 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, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-08-10 16:47:04] |
DualADX - Posts: 37 |
Sounds good. I always wanted to take a stab at learning to code something for SC. This is a good reason to learn and I have something to work off of. Thank you |
[2025-08-11 17:54:52] |
DualADX - Posts: 37 |
Could you tell me what would cause the lines continuously transitioning to the next start time when I include more time on the chart? One Pic has this. The other is obviously the desired effect - should be each day Start & Stop of the study even if multiple days are in view - Obviously I can only show one day for the desired effect . https://www.sierrachart.com/image.php?Image=1754934801381.png https://www.sierrachart.com/image.php?Image=1754934847833.png |
[2025-08-11 17:58:25] |
Sawtooth - Posts: 4261 |
Using Studies only, is there a way to use the High / Low for Time Period Study so the Drawing Color is based on opening vs closing price of the Time Period? Okay if it takes multiple studies to do so I just need a clue as to which ones and how to use them.
Here's a way that you could use as an example:https://www.sawtoothtrade.com/free-stuff-21.html |
[2025-08-11 18:42:06] |
DualADX - Posts: 37 |
So this can't be fixed with custom code within a Study??
|
[2025-08-11 19:05:26] |
Sawtooth - Posts: 4261 |
So this can't be fixed with custom code within a Study??
The study in post #6 uses the High / Low for Time Period study, and the Spreadsheet Study study.It's a way to do what you want without ACSIL. |
[2025-08-11 20:06:08] |
DualADX - Posts: 37 |
I have never delt with SC spreadsheets. What do i use to open and edit the scss file?
|
[2025-08-11 20:14:11] |
DualADX - Posts: 37 |
Never mind I found it in the File menu
|
[2025-08-11 20:39:54] |
Sawtooth - Posts: 4261 |
I created a chartbook of the Opening Range of the Max O,C and the Min O,C using 5 native studies, without a spreadsheet. See attached. Date Time Of Last Edit: 2025-08-11 20:42:33
|
![]() ![]() |
[2025-08-11 22:17:33] |
DualADX - Posts: 37 |
It is much appreciated since I cannot code and I have determined that I do not have the time to learn at this point in my life. I was using the free version of Claude AI. First time using AI too. Yep, I'm older. I have everything working and setup like I want except the Line End Time bug. Next run through, I am going to Start all my Deviation lines at the Beginning of the OB. When I trade I'll set the Number of Days To Calculate to 1 to avoid the line transition clutter. I really only need to see that day I'm trading. I thought it would be nice to scroll back though and see it like it's suppose to be. It's weird, when I load the study when the market is closed it appears like it's suppose to every day - no Line transition clutter. But that changes at some point once data is flowing Again I really appreciate your effort to help me. Thank you very much! |
[2025-08-11 23:27:34] |
Sawtooth - Posts: 4261 |
avoid the line transition clutter.
Use the High / Low for Time Period - Extended study instead. It has a Line Stop Time setting.If you want to us the High / Low for Time Period study, set the Draw Style to Dash. |
[2025-08-12 00:15:59] |
DualADX - Posts: 37 |
The High / Low for Time Period - Extended study is what I was using. It's what I fed into Claude AI as a base to work off of. As I was having it add the the lines in between the OB Top & Bottom and then the deviation lines it must have changed the End Time code. I'm going to feed that back into the AI as a source for the Time End only and see it that will work. Because yes, the Lines Stop in the original study. Can't use it again until 10pm EST. Limits on the free version. As a last resort I'll try it once from scratch now that I know how to specifically word everything.
|
[2025-08-12 00:50:26] |
DualADX - Posts: 37 |
You know what? I found the problem! I just made the native High / Low for Time Period - Extended study do the same crap with the lines. I changed the Draw Style from Stair Step to Transparent Fill Top/Bottom then back to Line. Line is the problem! All my Lines needs to be Stair Step Draw Style.
|
[2025-08-12 02:35:59] |
DualADX - Posts: 37 |
Got it. https://www.sierrachart.com/image.php?Image=1754965977454.png RTH only https://www.sierrachart.com/image.php?Image=1754966109780.png |
To post a message in this thread, you need to log in with your Sierra Chart account: