Login Page - Create Account

Support Board

Date/Time: Wed, 29 Jun 2022 01:41:29 +0000

[User Discussion] - crossfrombelow complications

View Count: 1062

[2013-09-22 21:28:10]
toews&kane - Posts: 205

I am working with the crossfrombelow function.
So what happens is the previous cell was 0, the current value is -14 which for me triggers a sell signal, now the value drops to -83.

What I want to do in intrabar is monitor if the value climbs back above -80
how I am doing it is crossfrombelow(O3,-80) but it does not trigger when it crosses that point.
and also I can't use crossfrombelow(O3:O4, -80) because the previous value was 0

Any ideas of how to tackle this problem?
[2013-09-22 23:15:35]
tomgilb - Posts: 3327
The CROSSFROMBELOW function requires two ranges, and the minimum range is the previous bar. It cannot compare two values in the same bar.

Here's the documentation:

One possible way to tackle the problem would be to add a shorter timeframe chart that uses the CROSSFROMBELOW function, and then use the Study/Price Overlay study to bring it to the longer timeframe chart.

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


Login Page - Create Account