gitlabEdit

KeyReversalDownAtEMA

Description

KeyReversalDownAtEMA searches within a predefined number of periods to find a reversal formation with the following characteristics:

1 The current close is lower than the previous close 2 The current high is larger than or equal to the highest high of the last n bars 3 The current high has touched or breached an EMA

See KeyReversalUparrow-up-right, KeyReversalDownarrow-up-right, KeyReversalUpAtSMAarrow-up-right, KeyReversalDownAtSMAarrow-up-right, KeyReversalUpAtEMAarrow-up-right.

Parameters

inSeries Input data series for the indicator period Number of bars included in the calculations EMAperiod Number of periods used to calculate the EMA

Return value

double

0 – No reversal formation found

1 – Reversal formation found

Usage

KeyReversalDownAtEMA(int period, int EMAperiod)
KeyReversalDownAtEMA(IDataSeries inSeries, int period, int EMAperiod)
KeyReversalDownAtEMA(int period, int EMAperiod)[int barsAgo]
KeyReversalDownAtEMA(IDataSeries inSeries, int period, int EMAperiod)[int barsAgo]

Example

Last updated