Definition
Syntax
DMI(int period)
DMI(IDataSeries inputData, int period)
Returns default value
DMI(int period)[int barsAgo]
DMI(IDataSeries inputData, int period)[int barsAgo]
Return Type
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
|
Parameters |
|
|
period |
The number of bars to include in the calculation |
|
inputData |
Indicator source data (?) |
Examples
|
// Prints the current value of a 20 period DMI using default price type
|
Source Code
You can open up the indicator source code via the NinjaScript Editor.