For clarification diatoms are not dinoflagellates. Dosing peroxide directly to a tank is risky. It's a relatively strong oxidant and kills things seen and unseen.
How do you kill diatoms?
Use a UV Sterilizer. UV sterilizers pass water through a tube with a very bright UV or UVC light. The light can kill algae, diatoms, bacteria and even some viruses that pass by in the water. The UV can kill any floating diatoms so they don't have a chance to attach and grow on surfaces.
Does hydrogen peroxide kill algae?
Not only will it kill all pathogens and algae spores at a dilution of 1 part H202 to 150 parts water, but used in stronger concentrations of 1 part H202 to 10 parts water it is ideal for cleaning algae from glassware and ceramic diffusers. ...