How to identify the significant bottom(Valley)? We need two parameters:- 1. Width:- Should be more than 31 days(≈ 4 weeks), 2. Depth:- Should be more than 4%, in the valley we measure Depth by looking from top to the bottom (visualizing as seeing a pool of water from the surface and measuring its depth). Both…