Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 18:48:54 +0000



[User Discussion] - Alert condition for Initial Balance Levels

View Count: 2165

[2014-09-29 21:37:28]
calitrader - Posts: 28
Hi
I have been trying to figure out how to write alerts with not too much success. I was wondering if I could get someone to write an example for me. I would like an alert played when price gets within 2 ticks of the IB low or high from above or below. Thank you.

Chris


Date Time Of Last Edit: 2014-09-29 21:39:00
imagestudies.png / V - Attached On 2014-09-29 21:34:32 UTC - Size: 8.43 KB - 402 views
imageib.png / V - Attached On 2014-09-29 21:34:45 UTC - Size: 17.53 KB - 357 views
[2014-09-30 02:17:18]
Sawtooth - Posts: 4120
Try this:
=OR(ABS(C-ID7.SG7)<=TICKSIZE*2,ABS(C-ID7.SG9)<=TICKSIZE*2)

You can put it on the Alerts tab of any study, or Chart Settings.
If you put the formula on the Alerts tab of the IB study, you don't need the ID#s.
[2014-10-01 19:43:18]
calitrader - Posts: 28
I tried to add the full string to the Chart Settings yesterday and today I tried to modify it for the Initial Balance indicator. Neither was successful. I wasn't able to find the error message on the board here. Please see the attached image for the error I got today. Thank you.

Chris
imagesc_error.png / V - Attached On 2014-10-01 19:42:19 UTC - Size: 14.29 KB - 344 views
[2014-10-01 21:18:52]
Sawtooth - Posts: 4120
The TICKSIZE Identifier is not supported in Simple Alerts in the New Spreadsheets version.

Ask SC Support to please add it.

In the meantime, you can use something like this:
=OR(ABS(C-ID7.SG7)<=0.5,ABS(C-ID7.SG9)<=0.5)
[2014-10-01 21:53:40]
calitrader - Posts: 28
Thank you for the reply TomGilb where do I add it the indicators properties or to the chart properties? It seemed like they both threw errors.

Best regards,
Chris
[2014-10-01 21:55:28]
Sawtooth - Posts: 4120
You can put it on the Alerts tab of any study, or on the Alerts tab in Chart Settings.
[2014-10-04 20:33:31]
calitrader - Posts: 28
Hi Tom,
Is there a way to get the alert to fire when its at the IB high/low? I am getting the alerts but they are about 20 points outside the range. Thank you.

Chris
[2014-10-05 01:48:10]
Sawtooth - Posts: 4120
If you are using the formula in post# 4, you'll need to edit the bolded value for the symbol's tick size value *2.

=OR(ABS(C-ID7.SG7)<=0.5,ABS(C-ID7.SG9)<=0.5)

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

Login

Login Page - Create Account