Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 05:43:53 +0000



[Programming Help] - Highest High within the range from current bar to bar, which fulfills condition

View Count: 627

[2019-01-22 16:58:58]
User674948 - Posts: 3
Hello,
As part of an alert for the "Color Bar Based On Alert Condition", I want to use the Highest High within the range of the current bar to the bar, which marks the lowest Low within Bar [-1] to Bar [-10].

Unfortunately the formula "=MAX(H[0:MIN(L[-1:-10])])" doesn´t work, I suppose because the term "MIN(L[-1:-10])" only puts out the price value of this lowest low, but not the (number of) the bar, which fulfilled this lowest low.

However, is it somehow possible (maybe by using another study) to implement my requirement?

Kind regards.

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

Login

Login Page - Create Account