This index contrasts the near-infrared (NIR) band 5, which is sensitive to the reflectance of leaf chlorophyll content to the mid-infrared (MIR) band 6, which is sensitive to the absorbance of leaf moisture. This formulation of NDMI produces an image in which the positive data values are typically moist areas; while the negative values are typically non-water features. NDWI has a native scaling of -1 to +1.
If I'm not wrong, NDMI is a measure of the leaf moisture content and not the soil moisture content. To get the soil moisture values from the pixels, there is another index called Soil Moisture Index which can be calculated for landsat data using NDVI values and surface temperature values.
SMI = (LSTmax - LST) / (LSTmax - LSTmin)
LSTmax = a1 * NDVI + b1
LSTmin = a2 * NDVI + b2
where a1 and a2 are the slopes and b1 and b2 are the intercepts of the dry edge and the wet edge of the LST vs NDVI scatter plot.