Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 16:58:05 +0000



[Programming Help] - Having difficulty with CROSSFROMBELOW

View Count: 819

[2018-08-01 21:00:38]
User796776 - Posts: 95
I have a Daily OHLC study with the alert CROSSFROMBELOW(C,SG3)

The alert manager has the following entries:

=CROSSFROMBELOW({2808.25,2808.25,2808.25},{2808.5,2808.5,2808.5}) | No alert sound/email.
=CROSSFROMBELOW({2808.5,2808.5,2808.5},{2808.5,2808.5,2808.5}) | No alert sound/email.
=CROSSFROMBELOW({2808.5,2808.5,2808.5},{2808.5,2808.5,2808.5}) | No alert sound/email.
=CROSSFROMBELOW({2808.5,2808.5,2808.5},{2808.5,2808.5,2808.5}) | No alert sound/email.
=CROSSFROMBELOW({2808.75,2808.75,2808.75},{2808.5,2808.5,2808.5}) | No alert sound/email.
=CROSSFROMBELOW({2809.25,2809.25,2809.25},{2808.5,2808.5,2808.5}) | No alert sound/email.
=CROSSFROMBELOW({2809,2809,2809},{2808.5,2808.5,2808.5}) | No alert sound/email.

I do not understand why the alert is not triggered in the 5th log entry when C moves from 2808.5 to 2808.75.
[2018-08-02 17:10:36]
bradh - Posts: 854
CROSSFROMBELOW(A,B) wants A<B on the previous candle and A>B on the current candle. You have A=B on the previous, and A>B on the current candle.
[2018-08-02 20:34:15]
User796776 - Posts: 95
Thanks.

I do not think crossfrombelow will meet my needs.

I am trying to generate an alert when price goes above the previous days high and then comes back into the previous days range.

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

Login

Login Page - Create Account