Bollinger Bands and Doji candlestick#
This strategy uses the famous Bollinger Bands and the Doji candlestick. Here is the source for the strategy.
Buy Rules#
Close is lower than Lower Bollinger Band.
Close is greater than the Open.
Close from one period ago is equal to the Open from one period ago.
Close from two periods ago is less than the Open from two periods ago.
Sell Rules#
Close is greater than Upper Bollinger Band.
Close is less than the Open.
Close from one period ago is equal to the Open from one period ago.
Close from two periods ago is greater than the Open from two periods ago.
Sample of Signal Points#
Results#
Source Code#
Here is the link to the source code for this zeta-zetra/code.