formatData returns correct formatter based on indicator source