OK-- I've tried posting this over on the TradeStation forums, but they seem to be swamped w/ newbies these days, so I thought I'd give ET a bash. Every now & again I think it would be nice to have code that identifies V-tops & V-bottoms, especially something that quantifies how extreme the turn was. We all know what these look like, but it's not immediately obvious to me what their mathematical signature would look like (i.e., using standard TA indicators.) Over the years I've tried a few things, but none have ever worked particularly well. Low R-squared values, for example, work some of the time, but pick up many other completely unrelated waveshapes. I've played with standard deviation, kalman filter overshoots, & all sorts of other silliness. You could use pivot functions & compare price action before & after a pivot, but it seems like there must be a simpler solution. Any ideas?