KeyReversalUp

Description

The KeyReversalUp indicator searches within a predefined number of periods to find turning points with the following characteristics: 1 The current close is higher than the previous close 2 The current low is smaller than or equal to the last low of the last n bars

See KeyReversalDown, KeyReversalUpAtSMA, KeyReversalDownAtSMA, KeyReversalUpAtEMA, KeyReversalDownAtEMA.

Parameters

inSeries Input data series for the indicator period Number of bars included in the calculations

Return value

double

0 – No reversal information available 1 – Reversal information available

Usage

KeyReversalUp(int period)
KeyReversalUp(IDataSeries inSeries, int period)
KeyReversalUp(int period)[int barsAgo]
KeyReversalUp(IDataSeries inSeries, int period)[int barsAgo]

Example

// Search for an entry opportunity (longs)
if (KeyReversalUp(10)[0] == 1)
Print("A long reversal formation has occurred.");

Last updated