The Mass Index was designed to identify trend reversals by measuring the narrowing and widening of the range between the high and low prices. As this range widens, the Mass Index increases; as the range narrows the Mass Index decreases. The Mass Index was developed by Donald Dorsey.
You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.