Category: Advanced Indicator Set 2
Input parameters
Name
|
Setting
|
Default
|
Input
|
Input time series
|
Close
|
Period
|
Integer >= 2
|
5
|
Calculations
Computes the statistical median of recent bars. The indicator output is the input time series value of a bar located at the middle of the Period most recent bars (including the current bar and sorted by input). If Period is an odd number, then the output is the middle bar value. If Period is an even number, then the output is an average between two bars immediately adjacent to the hypothetical middle bar.
For example, if the most recent bars are 45, 45.5, 47, 46.5, and 44 then this indicator returns 45.5. If the most recent bars are 10, 11, 13, and 14.5 then this indicator returns 12.
|