Note from Akram El Sherbini (original author of the indicators)
From page 13 : for errorneous data or one trade where H=L a fix is to add a negligible fraction to the range (H-L+0.0001)
To fix this special case of division by zero RI=0.0001 has been added to the range