ONGC gains for fifth straight trading session on strong Q3 earnings