Login Page - Create Account

Support Board


Date/Time: Fri, 09 May 2025 19:41:32 +0000



[User Discussion] - Help With Candlestick Wick Alert Syntax

View Count: 1340

[2014-11-02 01:41:41]
cmet - Posts: 691
Was hoping someone could help me out with this.

What I'm trying to to do: Create an audio alert for when there is a candle wick that is 3 ticks or more.

I describe these wicks the following ways:

Up Wicks

Close > Open and High > Close + 3 Ticks
Close < Open and High > Open + 3 Ticks


Down wicks


Close < Open and Low < Close - 3 Ticks
Close > Open and Low < Open - 3 Ticks

I've tried the following syntax for the up wicks (which doesn't work):

=OR(AND (C > O, H > (C + 2*TICKSIZE)), AND (C < O, H > (O + 2*TICKSIZE))

If someone who is more knowledgeable could help me get this straightened out, I'd really appreciate it.
[2014-11-02 02:57:23]
cmet - Posts: 691
Got this to work (it seems). Syntax Error.

If anyone is interested in this for any reason, here's the full alert:

=OR(AND (C > O, H > (C + 2*TICKSIZE)), AND (C < O, H > (O + 2*TICKSIZE)), AND (C < O, L < (C - 2*TICKSIZE)), AND (O > L, L < (O - 2*TICKSIZE)))

Change the number in front of the TICKSIZE variable to change the length of the wick you want for the alert.

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

Login

Login Page - Create Account