Calculate directional movement index (dmi) in matlab

The following Matlab project contains the source code and Matlab examples used for calculate directional movement index (dmi). - this function was first written in 2006 - after several request I am finally sending it to file exchange at 2012 - please re-check function validation as it was along time ago and CALCDMI - calculate Directional Movement Index (DMI) for a given stock using high, low, close [ ADX, ADXR, PDI, MDI] = calcDMI( high, low, close, M, N), INPUT: high - data vector of high prices low - data vector of low prices close - data vector of close prices M - days to avreage, optional N- days to sum +DI and -DI, optional OUTPUT: ADX - Directional Movement Index ADXR - Directional movement rating PDI - +DM, plus Directional Indicator MDI - -DM, minus Directional Indicator EXAMPLES: % read JNJ stock from yahoo URL url2Read ='http://ichart.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
calcDMI.m 3849
license.txt 1307