Login Page - Create Account

Support Board


Date/Time: Thu, 28 Aug 2025 18:14:24 +0000



[Programming Help] - Draw Horizontal Line at Bollinger Band High/Low at Specific Time

View Count: 191

[2025-03-14 22:47:40]
User303857 - Posts: 157
Thanks
Date Time Of Last Edit: 2025-08-25 06:11:11
[2025-03-14 23:55:03]
Sawtooth - Posts: 4261
is it possible to identify one of those value points in time and then draw the line from that point?
You can do it with the Spreadsheet Formula study, with a formula like this in its Formula field:
=IF(BARTIME=TIME(9,30,0),ID4.SG1,ID5.SG1[-1])
where ID4.SG1 is the BB Top Band, and ID5 is this Spreadsheet Formula study.

Also, set the Chart Region to 1.
[2025-03-15 21:25:57]
User303857 - Posts: 157
Thanks Sawtooth
Date Time Of Last Edit: 2025-08-25 06:11:34
[2025-03-15 22:42:36]
Sawtooth - Posts: 4261
Which do you think is more accurate?
I would expect them to be the same.
[2025-03-16 16:49:23]
User303857 - Posts: 157
Thank You
Date Time Of Last Edit: 2025-08-25 06:11:48
[2025-03-16 19:24:38]
Sawtooth - Posts: 4261
Is it possible to draw and extended rectangle from the same points on the bands?
Using the A1 for the high or top of the Extended rectangle & A2 anchor points for the low of the Extended rectangle?
You can fill the area between the lines using the Study Subgraphs Reference study.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account