EventWithin

Modified on 2013/05/11 11:00 by Eugene — Categorized as: Community Components

Syntax

public static bool EventWithin(this int bar, DataSeries Series1, DataSeries Series2, int WithinBars)

public bool EventWithin(int bar, DataSeries Series1, DataSeries Series2, int WithinBars)


Parameter Description

bar Bar
Series1 First data series
Series2 Second data series
WithinBars Within N bars

Description

Returns true for the specified bar if Series1 > Series2 within the specified number of WithinBars.

Original function created for WL4 by Robert Sucher.

Example

No example currently available.