Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 21:49:18 +0000



How to set an alert based on Boolean type indicator?

View Count: 356

[2023-03-30 08:49:41]
BenjFlame - Posts: 324
Hi,
let's take for exemple, the "Halftrend" indicator, which displays up or down arrow based on its specific calculation.
How to set an audio alert for when current bar has an up arrow for exemple, but do nothing on bars with no arrows ?

If possible, from study and not from ACSIL.
[2023-03-30 09:06:02]
User907968 - Posts: 823
If you want separate alert sounds for up and down, use Color Bar Based on Alert Condition - Color Bar Based on Alert Condition
If not then set alert condition in study itself.
In either case all you are testing for is non-zero on the arrow subgraph.

Using HalfTrend example, setting up arrow alert within study: SG2<>0

Using HalfTrend example and alert in CBBoAC: =ID??.SG2<>0
[2023-03-30 09:12:55]
BenjFlame - Posts: 324
Ah, testing for non zero, ok got it thanks.

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

Login

Login Page - Create Account