The "bollingerrev" strategy is a default strategy provided by the freqtrade bot. It is a trading strategy that uses Bollinger Bands, a popular technical analysis indicator, to generate buy and sell signals. Here's a breakdown of how the strategy works:
The strategy sets a minimal ROI (Return on Investment) and stoploss values.
The minimal ROI determines the minimum desired return for a trade, while the stoploss value sets a maximum acceptable loss.
The ticker interval is set to '1h', which means the strategy operates on hourly price data.
The strategy defines the order types for buying and selling. In this case, both buying and selling orders are set as 'stop' orders. The stoploss order type is set as 'market', which means it will be executed at the current market price. The strategy specifies the time in force for orders. Both buy and sell orders are set as 'gtc' (Good 'Til Canceled), which means the orders remain active until they are executed or manually canceled. The informative_pairs method is empty, indicating that there are no additional informative pair/interval combinations to be cached from the exchange. The populate_indicators method adds the Bollinger Bands indicator to the DataFrame. It calculates the lower, middle, and upper bands based on the typical price of the asset and a specified window length of 20. The populate_buy_trend method generates a buy signal when the closing price crosses below the lower Bollinger Band. The populate_sell_trend method generates a sell signal when the closing price crosses above the upper Bollinger Band. Overall, the strategy aims to identify potential buying opportunities when the price is below the lower Bollinger Band and selling opportunities when the price is above the upper Bollinger Band.