As a former plumber -- held a master's license for 30 years -- I can assure you that you do NOT want to hook up an electric water heater.

The ONLY cheap heat for pool is solar. The black plastic panels can add 5 - 10 degrees to your pool.