Our line scoring algorithm is state-of-art engineering. It blends trend detection on different windowed weightings, root mean squared error calculation with hand-tuned tolerances and error decay, generalized pattern matching (e.g., Procrustes analysis) for shapes of curves and lots of smoothing to evaluate different volatility profiles (Savitzky, Golay, etc.)