Is there any sample to find stock pattern like head and shoulder with backtrader? Is it possible?
It is possible. The main issues is not
bt, but the logic of the pattern recognition. I didn't see
btimplementation, but seen it implemented on the different platform.
You could check out ta-lib, since it has some pattern recognition, as I remember. But not fully sure.
Here you go. Since ta lib is supported you should be able to use them with ta lib in backtrader