Evaluates the Minus Directional Movement Indicator (MDMI) over a number of periods using price data only.
|Visual Basic (Declaration)|| |
Public Overloads Shared Function MinusDirectionalMovement( _
ByVal seriesName As String, _
ByVal s As Series _
) As Series
- The name of the series which will be displayed on the chart, i.e. its label.
- A financial series where the first element contain the prices of last trading period,
the second element represents the prices of the previous periods and so on. Please note that in order
to calculate this indicator the elements of the financial series must contain
High, Low and Close values.
A series with the k-th term corresponds to the MDMI of the k-th Bar. Please note that if the asset
price is constant over any period considered then the Minus Directional Movement Indicator for that
period is taken to be zero.