Move custom indicator code into class