Short trade could made more profits

I'm working with a guy who want to make 10% on Sanofi. Why not! My script was able to find bottom and made 10% gain but not on the shortest trade.
I'll explain you that if you made more short trades you can earn more (12.6% in this exemple).
Show the picture to undertand
Beyond Technical Analysisbottombottomfindertopfinder

Disclaimer