bars_since_highest

bars_since_highest(series, n)
Parameters
  • series (series) – Input series

  • n (integer) – Number of bars to look behind into the history

Returns

series[integer]

Returns the number of bars since the highest value within the last n bars in the series

bars_since_highest(n)
Parameters
  • n (integer) – Number of bars to look behind into the history

Returns

series[integer]

Same as

bars_since_highest(high, n)