new approach top and bottom see fixed lines, please check how to calculated new bottoms and tops
Trend Analysis

Disclaimer