Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 09:13:36 +0000



[User Discussion] - Outside bar

View Count: 2043

[2013-08-27 21:16:29]
Allan Stevenson - Posts: 9
Is it possible to change the outside bar study so that it only highlights as an outside bar if it closes above/below the previous bar?

Thanks
[2013-08-27 23:37:09]
Sierra Chart Engineering - Posts: 104368
Yes of course. You could hire a programmer to do this:

http://www.sierrachart.com/index.php?l=doc/SierraChartStudyAndSystemProgrammers.html
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: 2013-08-28 06:44:19
[2013-08-28 00:08:24]
Sawtooth - Posts: 3952
You can easily color bars based on your own conditions using the Color Bar Based On Alert Condition study.

Try this formula on the Alerts tab of the Color Bar Based On Alert Condition study:
=OR(AND(C>O,C>H[-1],L<L[-1]),AND(C<O,C<L[-1],H>H[-1]))


[2013-08-28 06:37:29]
Allan Stevenson - Posts: 9
Perfect, thanks! Using the same logic I tried to use the Line study and an alert to dynamically draw the day's midpoint.

Is this not right? I get an error

=H-((H-L)/2)
[2013-08-28 06:43:36]
Sierra Chart Engineering - Posts: 104368
Yes, this is correct. You can use the Color Bar Based on Alert Condition study to do this or anything like this:
http://www.sierrachart.com/index.php?l=doc/doc_TechnicalStudiesReference.html#s245

You can also alter the source code for the built-in study to your requirements. Refer to this page for instructions:
http://www.sierrachart.com/index.php?l=doc/doc_BuildCustomStudiesDLL.html
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: 2013-09-03 17:18:56
[2013-08-28 13:06:31]
Sawtooth - Posts: 3952
The Line study won't do what you want. You could draw a line with the Color Bar Based On Alert Condition study by setting the Draw Style to Line, but the formula for a daily line would not be simple.

You can more easily get a dynamic daily midpoint line using the Daily OHLC study.
-Set the Reference Days Back to 0
-Set the Graph High and Low Historically to Yes
-Set SG9's draw style to Dash
-You can set the other SG draw styles to Ignore.
[2013-08-28 20:42:22]
Allan Stevenson - Posts: 9
Thanks. Seems like it works in the main. A couple of issues I need to look at more

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

Login

Login Page - Create Account