Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 04:19:12 +0000



[Programming Help] - Show Bar Difference Value only when exceed a said value.

View Count: 687

[2018-08-29 09:09:58]
User164231 - Posts: 278
Hi Team SC,

1. The Bar Difference study is a good tool. However, it is too cluttering by showing ALL number/value. I only need the number/value when it exceeds a certain level. How do I set that?

2. Also, what is the formula to code a color background based on alert study every time it exceeds a certain level?

Thanks.
[2018-08-29 16:56:50]
Sierra Chart Engineering - Posts: 104368
1. The following Study Collection contains an example of what you are trying to do. You will need to modify the alert to the particular values you want to use.
https://www.sierrachart.com/AdditionalFiles/BarDifferenceOverValueOnLow.StdyCollct

In order to use this Study Collection, follow the instructions here:
How to Use an Advanced Custom Study or a Study Collection: How to Use an Advanced Custom Study Provided To You

2. We would need more information to help you with this. But in general, the formulas are just like what you would use in Excel for an IF statement. For example, =C > 10 is a formula which will be true when the Close is Greater than 10. You will find the information for how to create alerts here:
Study/Chart Alerts And Scanning: Alert Condition Formula Format
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
[2018-08-30 06:41:40]
User164231 - Posts: 278
Thanks for the reply.

Sorry that I have given you wrong information.

What I want is an alert when relative volume hits a certain level. Example; average volume per bar is 10,000 per 30min bar, I want an alert if the latest volume hits 30,000 or above. How do I code it?

Thanks in advance.
Date Time Of Last Edit: 2018-08-30 06:42:15

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

Login

Login Page - Create Account