At which angle do your torpedos hit the target? Early torpedos (not the electric ones) were famous for not detonating at high angles. Ideally you should chose a 90° angle at close range 1500m or so. Set them to fast speed and lead the target.
Also maybe you experience just bad RNG...
Cheers,