NexusFi: Find Your Edge


Home Menu

 



Categories Help    






 
Moving Median 5 *
Exported using NT Version 7.0.1000.3


Besides the average there are other statistical measures to describe the behavior of a sample of n values. One of these measures the median, which is the numeric value separating the higher half of the sample from the lower half of the sample. In case that the number n of the values of the sample is even, the median is defined as the mean of the two middle values.

The median is statistically more robust than any average, as it does not take into account outliers or black swans. A moving average can be replaced with the moving median for many purposes.

This indicator calculates the moving median by writing the last n values to an array, sorting the array and selecting the middle value - or in case that n is even, the two middle values of the sample.

The NinjaScript method GetMedian() is not used, because it is flawed.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: Moving Median
Category: NinjaTrader 7 Indicators 


February 13th, 2011
Size: 2.12 KB
Downloaded: 965 times

Keywords: median movingmedian
Comments/ratings
5 * maumau May 29th, 2011 04:54 PM
No Comment
5 * jwdixon March 23rd, 2012 03:09 AM
Thanks, looks vary close to median line for a price channel, which I use in my trading, Thanks!!
5 * coolfutures December 29th, 2014 12:30 PM
Thank you for this all data-points indicator !
5 * MissyM August 20th, 2015 12:15 PM
Great Work!
5 * romus April 12th, 2017 11:31 PM
Thank you

 
Sort by

 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top