Name

BarsFromRecentHighest — Bars since highest high

Synopsis

BarsFromRecentHighest (ARRAY,
  ARRAY_OR_NUMBER);

Returns

ARRAY

Parameters

Name Type Default Description
ARRAY array
ARRAY_OR_NUMBER array_or_number

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/hhvbars.html

Bars since highest high