I had to build an app where you could draw a trend line over a stock chart, and it would set up an alert notification that would alert your phone if the price tripped the line. The math that goes into this is absolutely insane.
I should add that I never really solved it, as the solution didn't work very well.
I should add that I never really solved it, as the solution didn't work very well.