Detect double bottom in stocks with python

Example of double bottom forming in a downtrend (graph for MCHI China ETF):

It is optimal to combine double bottom pattern with other signals such as RSI (Relative Strength Index), Stochastic RSI, MACD (Moving Average Convergence Divergence), SMA and EMA ribbons (Simple and Exponencial Moving Averages), Parabolic SAR indicator can also help with determination of the end of a down trend.
At the suspected bottom it is also handy to check if P/E values are attractive for the stock (Price to Earnings ratio).

Clone the repository:
git clone


  1. It is in point of fact a great and useful piece of info. I抦 happy that you just shared this useful info with us. Please keep us up to date like this. Thank you for sharing.

  2. Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

Leave a Reply

Your email address will not be published.