Login Page - Create Account

Support Board


Date/Time: Thu, 31 Oct 2024 10:13:04 +0000



Alert condition to draw a Vertical line on New High/Lows using the Daily OHLC study

View Count: 769

[2022-06-12 01:17:15]
Dan the Man - Posts: 89
Hi,

If I used the Daily OHLC study what would be the Alert condition to have a vertical line drawn at a new daily high/low?

Or, is there is another way to have a vertical line drawn at a new daily high/low?

As per the attached screen shot

Kind Regards,
imageVertical line.png / V - Attached On 2022-06-12 01:15:45 UTC - Size: 47.17 KB - 154 views
[2022-06-12 08:46:32]
User431178 - Posts: 524
Here is an example of one way you can do this.
attachmentVerticalLineHighLow.Cht - Attached On 2022-06-12 08:46:01 UTC - Size: 3.77 KB - 275 views
[2022-06-12 16:09:04]
Dan the Man - Posts: 89
Thanks User431178 !

You pointed me in the right direction.

When I try to duplicate your setting on my chart the "Color Bar Based on Alert Condition", for some reason, I'm not getting the same results.

I had to use the "Color Background Based on Alert Condition" but still struggling.

Besides plotting Daily High/Low on the ES, I would also like to plot a Daily High/Low on on the TICK in chart range 2

If I could encroach on you would you be able to look at this.
I attached your cht file with a copy of my chart next to yours.

Is there a way to remove the previous (old) Daily High/Low as the day develops?

Kind Regards,
attachmentVerticalLineHighLow.Cht - Attached On 2022-06-12 16:07:18 UTC - Size: 9.47 KB - 240 views
[2022-06-13 11:16:06]
User431178 - Posts: 524
I added another copy of your chart and changed some settings so you can compare.
attachmentVerticalLineHighLow.Cht - Attached On 2022-06-13 11:15:59 UTC - Size: 14.14 KB - 240 views
[2022-06-13 11:32:50]
Sierra Chart Engineering - Posts: 104368
Also have a look at this study:
Daily OHLC - Single Point
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
[2022-06-13 16:56:12]
Dan the Man - Posts: 89
Thank-you User431178 and Sierra !

Working with the settings

Kind Regards,
[2024-10-30 10:25:15]
User357489 - Posts: 71
Hey all, is it possible to display the OHLC based on candles where an alert condition is true?
[2024-10-30 15:49:46]
John - SC Support - Posts: 35639
Hey all, is it possible to display the OHLC based on candles where an alert condition is true?

We are not understanding what exactly you are wanting to do. Please give us more specific information.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-10-30 16:00:52]
User357489 - Posts: 71
for example, when
=AND(ID23.SG1[0] > ID23.SG1[-1], ID23.SG41[0]<ID23.SG41[-1],L[0]<L[-1],ID23.SG10<0,OR(AND(ID23.SG1[0]>ID23.SG1[-1],ID23.SG10[0]>ID23.SG10[-1]),AND(ID23.SG12[0]>ID23.SG12[-1],ID23.SG13[0]>ID23.SG13[-1])))
is true, a white triangle is displayed.

Likewise when,
=AND(ID23.SG1[0] < ID23.SG1[-1],ID23.SG41[0] > ID23.SG41[-1],H[0] > H[-1],ID23.SG10 >0,OR(AND(ID23.SG1[0<ID23.SG1[-1],ID23.SG10[0<ID23.SG10[-1]),AND(ID23.SG12[0]>ID23.SG12[-1],ID23.SG13[0]>ID23.SG13[-1])))
is true a purple triangle is displayed, as per the CBBOAC.

When either of these alert conditions are met, i want the study to auto draw an extending rectangle drawstyle around the range of the candle in which the alert conditions are true.

Please see attached a manually drawn example, note where i colored the areas green this is "active" or the most recent instance of my alert condition, i want this to turn "blue" when new alert conditions are met, ie instead of resetting the drawing, turn diff color to indicate the area being "older", likewise for red being active and orange older.
imageScreenshot 2024-10-30 091347.png / V - Attached On 2024-10-30 16:00:43 UTC - Size: 81.46 KB - 3 views
[2024-10-30 16:17:34]
John - SC Support - Posts: 35639
There is no support for what you are wanting to do. The only way to do this would be to create a custom study. Refer to the following:
Using Drawing Tools From an Advanced Custom Study

https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php
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