The "BinHV45" strategy is a backtesting strategy that uses Bollinger Bands as one of its indicators. Here is a brief description of what the strategy does:
It calculates the Bollinger Bands for the closing prices of the stock using a window size of 40 and a standard deviation factor of 2. It populates additional indicators based on the Bollinger Bands, including:
'mid': The rolling mean of the closing prices.
'lower': The lower band of the Bollinger Bands.
'bbdelta': The absolute difference between 'mid' and 'lower'.
'pricedelta': The absolute difference between the open and close prices. 'closedelta': The absolute difference between the current and previous closing prices. 'tail': The absolute difference between the close price and the low price. It determines buy signals based on the following conditions:
The previous lower band is greater than 0. 'bbdelta' is greater than 0.008 times the current close price. 'closedelta' is greater than 0.0175 times the current close price. 'tail' is less than 0.25 times 'bbdelta'. The current close price is less than the previous lower band. The current close price is less than or equal to the previous close price. It does not provide any specific sell signals. The strategy has a minimal return on investment (ROI) of 0.0125 and a stop loss of -0.05. It operates on 1-minute ticker intervals.