Definition
The Ease of Movement indicator was designed to illustrate the relationship between volume and price change. It shows how much volume is required to move prices.
High Ease of Movement values occur when prices are moving upward with light volume. Low values occur when prices are moving downward on light volume. If prices are not moving or if heavy volume is required to move prices then the indicator will read near zero. A buy signal is produced when it crosses above zero. A sell signal is produced when the indicator crosses below zero (prices are moving downward more easily).
Syntax
EaseOfMovement(int smoothing, int volumeDivisor)
EaseOfMovement(IDataSeries inputData, int smoothing, int volumeDivisor)
Returns default value
EaseOfMovement(int smoothing, int volumeDivisor)[int barsAgo]
EaseOfMovement(IDataSeries inputData, int smoothing, int volumeDivisor)[int barsAgo]
Return Type
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
|
Parameters |
|
|
smoothing |
The number of bars used to smooth the signal |
|
volumeDivisor |
The value used to calculate the box ratio |
|
inputData |
Indicator source data (?) |
Examples
|
// Prints the current value of Ease of Movement using default price type
|
Source Code
You can open up the indicator source code via the NinjaScript Editor.