KeyReversalDown

Description

KeyReversalDown searches within a predefined number of periods to find turning points with the following characteristics:

1 The current close is lower than the previous close 2 The current high is higher than or equal to the highest high of the last n bars

See KeyReversalUp, 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

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

Example

// Look for a short entry
if (KeyReversalDown(10)[0] == 1)
Print("A short reversal formation has occurred.");

Last updated