In a volatile market, investors can put themselves on the right path by focusing on companies with durable competitive advantages.