That's good to hear and you are welcome.
For your earlier questions:
" I want to know average consumption of chlorine when there is no issue." It depends on the level of chlorine you maintain in the pool. For a pool with 40 ppm of stabilizer the minimum chlorine level is 3 ppm with the ideal range between 5 and 7 ppm. I keep the chlorine level at 5 ppm. Some nights it has gone down to 4 ppm, some nights 3.5, some nights 3 and occasionally 2.5. This is dictated by how many hours of full sun the pool gets, how hot it gets, how much debris blows into the pool, bather load, etc.
On average you can figure 1 - 2 ppm per day. If you keep the level at the minimum and the circumstances are right, it's possible that the water could consume all the chlorine in a day and when that happens you risk another algae bloom.
"And if i get into this situation again i should bring stabilizer to proper range between 30 and 60 and then based on that reading, i should find the ppm based on chart to shock the pool. I mean this time it was 16ppm because my stabilizer was around 40.Is my understanding correct?"
Correct. But if it happens again you could also just take a stabilizer reading and adjust the shock level to that new reading
And remember this. If you continue to use Trichlor tablets, each table adds about 3 ppm of stabilizer to the water so it won't take long until you reach stabilizer levels that aren't recommended.