0

I'm working on a script to show the extremes (highest high and lowest low) from a specific time range, for example last X days, or between two timestamp inputs.

I want to get a single value for high and low that I can plot as a horizontal line on a chart.

All I was able to achieve was a series of local extremes, but not a single value.

cornisto
  • 119
  • 2
  • 9
  • Check [This](https://stackoverflow.com/a/75447399/5577188) – Gu5tavo71 Mar 29 '23 at 18:51
  • @Gu5tavo71 It almost works, however highestbars function returns offset relative to previous lowest price, so I get different values across the range. – cornisto Mar 30 '23 at 17:13

0 Answers0