Apply various simple statistical measures to series of full candle ranges over user input length (in bars). Choose between AVERAGE, MEDIAN, MODE, BIGGEST. All calculations derive from the high-low range of a candle. Default length = 260, the number of daily candles in a year. MODE is calculated from pip ranges rounded to reasonable increments (to nearest 10pips...
The Market Mode Indicator was created by John Ehlers (Rocket Science For Traders pgs 114-117) and this is a handy tool that will tell you if the market is currently in a cycle or a trend. When the current market is in a cycle or choppy state then the indicator will read 0 and when it is in a trend then it will read 1. He uses some advanced digital signal...
EXPERIMENTAL: Request for GLAZ Functions to handle Mean, Median, Mode Calculation.
The related article is copyrighted material from Stocks & Commodities Mar 2010 You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...