Login Page - Create Account

Support Board


Date/Time: Fri, 24 Jan 2025 18:24:37 +0000



Post From: Highest High within the range from current bar to bar, which fulfills condition

[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.