Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 13:23:00 +0000



Study displaying the range of a bar

View Count: 2909

[2013-06-05 21:51:55]
al-right - Posts: 24
Hello. I searched through the available studies but I couldn't find anything to show the range of a bar in pips. Is there anything available that would allow this? What I'm thinking about is a histogram like shown on this screenshot taken on Metatrader http://screencast.com/t/5VqXBug8d
Each bar shows with the colour if its bigger, equal or smaller than the previous bar.
[2013-06-05 22:04:06]
Sawtooth - Posts: 3973
Use the Bar Difference study, set the inputs to High and Low, set the Draw Style to Bar, and set the Auto-Coloring to Based on Slope.
[2013-06-06 00:06:46]
Sierra Chart Engineering - Posts: 104368
Use the Bar Difference study.
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
[2013-06-06 12:08:01]
al-right - Posts: 24
That's a nice one, thank you. I guess there's no way to set a 3rd colour indicating the current bar has the same size as the previous one...
[2013-06-06 12:39:45]
Sawtooth - Posts: 3973
Yes, there is.

Add the Color Bar Based On Alert Condition study
-set the Based On to the Bar Difference study,
-set the Chart Region to the same as the Bar Difference study
-set the Output When Condition True to Use Input Data
-set the Input Data to Difference
-set the Draw Style to Bar, and the Width to the same as the Bar Difference study.
-use this formula on the Alerts tab:
=ID1.SG1=ID1.SG1[-1]

The assumes the Bar Difference study is ID1; edit as necessary.
[2013-06-06 13:35:28]
al-right - Posts: 24
Well, this is amazing! I read we shouldn't post to express thanks... Sorry but I need to thank you tomgilb. I used Sierrachart some years ago for a while, then I dropped and just went back to it. I have to admit that has been improved greatly. Also, even knowing that study I wouldn't certainly know how to set it correctly. Thanks so very much again! :)

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

Login

Login Page - Create Account