there are some wires in front of your front sprocket and may be some of them teared off by your broken chain ... that's why your gear indicator is not working.