Looking for a function or code to determine the Highest high(Lowest Low) of a variable calculated in the study.
Announcement
Collapse
No announcement yet.
Highest High or Lowest low of a calculated variable
Collapse
X
-
Phil
If you are using version 7.9 and the calculated variable is a series then you can use highest(length,series) or hhv(length, series) or upperDonchian(length,series) for the highest value and lowest(length,series), llv(length,series) or lowerDonchian(length,series) for the lowest value.
Otherwise you will need to create an array and then determine the highest/lowest values. You can find an example of the latter in this post
Alex
Comment