Name

BarsAgoHighestSinceEvent — Bars since highest value since a condition met

Synopsis

BarsAgoHighestSinceEvent (ARRAY,
  ARRAY,
  Nth = 1);

Returns

ARRAY

Parameters

Name Type Default Description
ARRAY array
ARRAY array
Nth number 1

Description

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

Bars since highest value since a condition met