Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 07:31:27 +0000



Programming Alarm for Studies

View Count: 1820

[2015-12-29 10:20:49]
User30653 - Posts: 13
Hi,

Can someone let me know how to apply this rule to my bollinger band study?

If bar closes outside (either up or down) the defined bollinger band study, then play / show alert.

Many thanks,
Patrik
[2015-12-29 15:12:52]
User30653 - Posts: 13
Hi again,

I went through the FAQ but can't find something similar and using one of the examples which comes close, does not work...

=OR(AND(H <= ID1.SG1, H >= ID1.SG2) , AND(L <= ID1.SG1, L >= ID1.SG2) , AND(H > ID1.SG1, L < ID1.SG2)).

I basically want to get a notification alert, if the last closed candle closes above or below my bollinger band without touching it (high/low).

Thanks again for this pretty awesome piece of software, I use it every day but just starting to explore the study alert possibilities....

Have a great new year and many thanks in advance for your help!

Patrik
Date Time Of Last Edit: 2015-12-29 15:13:35
[2015-12-29 17:56:24]
Sawtooth - Posts: 4143
Add the Color Bar Based On Alert Condition study to your chart, and put the formula in its Alerts tab.
You will see a visual where each alert happens, and when you edit the formula you'll immediately see the results.
[2015-12-30 05:09:01]
Sierra Chart Engineering - Posts: 104368
Here is the formula to use directly on the Bollinger Bands study to do what you want:
=OR(CROSSFROMBELOW(C,SG1),CROSSFROMABOVE(C,SG3))

We will add this to the Example Formulas section as well.
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
[2016-01-12 18:15:30]
User147893 - Posts: 10
hi,

how do i take this a step further...
alert when cross and close above upper bb
then
wait and alert when cross and close below lower bb
then
wait and alert when cross and close above upper bb

and so on...

thanks in advance,
Rupe
[2016-01-12 18:27:02]
Sierra Chart Engineering - Posts: 104368
The formula already does this. On the Alert settings you may want to enable "Evaluate on Bar Close".

For this and other options, refer to:

https://www.sierrachart.com/index.php?page=doc/doc_StudyChartAlertsAndScanning.php#AlertOptions
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: 2016-01-12 18:27:20
[2016-01-12 18:42:46]
User147893 - Posts: 10
i'm sorry
maybe you did not understand my question or maybe i did not explain well, let me try again please:

i need alternating alerts (upper bb and lower bb) only.

for example upper bb alert then lower bb alert then upper bb alert then lower bb alert

there should be no two or more consecutive upper bb alert and no two or more consecutive lower bb alerts.

in other words:
it should alert at cross close above upper bb (and then no more upper bb alerts) and then look for cross close below lower bb and fire alert when that happens and vice versa...

thanks guys...

Rupe
[2016-01-13 02:54:22]
Sierra Chart Engineering - Posts: 104368
For something advanced like this, you will need to use the Spreadsheet System/Alert study:
http://www.sierrachart.com/index.php?page=doc/doc_StudiesSystemsAlerts.php

You will need to use separate formula columns for each condition and work out a way to be aware of the prior alert given.

We do not provide formula programming help.

If you need more help, we recommend contacting:
http://www.sawtoothtrade.com/
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

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

Login

Login Page - Create Account