That's not Wilder's RSI on Vol, Craig, but it guess it doesn't matter as long as Equis blessed it. Re the div by0, its probably safe to do as they did -- simply ignore the possibility of NegMF being zero because its rather unlikely that the vol won't increase for 14 consecutive days. Might want to file away for another time the workaround that follows -Bob ---------------------- print symbol,",",close(0):8:2; if NegMF < .0001 then MFI:= 100-100/(1+PosMF/.0001); print ",","MFI is < ",MFI; else MRatio:=PosMF/NegMF; MFI:=100- 100/(1+MRatio); print",","MFI: ",MFI:8:4; endif; println ",",PosMF:8:4,",",NegMF:8:4; |