Wordcloud
Strategy: bbl3rsih2
Downloaded: 20220112
Stoploss: -0.263
The BBL3RSIH2Strategy is a trading strategy that uses several technical analysis indicators to generate buy and sell signals. Here is a breakdown of what the strategy does: populate_indicators: This function adds various technical indicators to the provided DataFrame. The indicators used are: RSI (Relative Strength Index): Calculates the RSI value based on the price data.

Bollinger Bands: Calculates the upper and lower bands of Bollinger Bands with different standard deviations (3, 2, and 1) using the typical price.

populate_buy_trend: This function populates the "buy" column in the DataFrame based on the indicators.

The buy signal is generated when the following conditions are met: The close price is below the lower band of Bollinger Bands (with 3 standard deviations). The RSI value is less than or equal to 30. populate_sell_trend: This function populates the "sell" column in the DataFrame based on the indicators. The sell signal is generated when the close price is above the upper band of Bollinger Bands (with 2 standard deviations). The strategy aims to identify potential buying opportunities when the price is at the lower band and the RSI is low, and potential selling opportunities when the price reaches the upper band of Bollinger Bands.

Traceback (most recent call last): File "/home/ftuser/.local/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3791, in get_loc return self._engine.get_loc(casted_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "index.pyx", line 152, in pandas._libs.index.IndexEngine.get_loc File "index.pyx", line 181, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 7080, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 7088, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'middle' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/freqtrade/freqtrade/main.py", line 42, in main return_code = args['func'](args) ^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/commands/optimize_commands.py", line 58, in start_backtesting backtesting.start() File "/freqtrade/freqtrade/optimize/backtesting.py", line 1401, in start min_date, max_date = self.backtest_one_strategy(strat, data, timerange) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 1318, in backtest_one_strategy preprocessed = self.strategy.advise_all_indicators(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1378, in advise_all_indicators return {pair: self.advise_indicators(pair_data.copy(), {'pair': pair}).copy() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1378, in return {pair: self.advise_indicators(pair_data.copy(), {'pair': pair}).copy() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1410, in advise_indicators return self.populate_indicators(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/user_data/strategies/bbl3rsih2.py", line 172, in populate_indicators dataframe['bb_middleband'] = bollinger3['middle'] ~~~~~~~~~~^^^^^^^^^^ File "/home/ftuser/.local/lib/python3.11/site-packages/pandas/core/frame.py", line 3893, in __getitem__ indexer = self.columns.get_loc(key) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ftuser/.local/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3798, in get_loc raise KeyError(key) from err KeyError: 'middle'
stoploss: -0.263
timeframe: 1h
hash(sha256): b9cb311d15fc7d759f4d4548997552fd7a95880066fc62f03e115f28bcf01791
indicators:
bids bb_upperband1 upper lower asks
bb_middleband rsi middle close best_bid
bb_lowerband3 best_ask bb_upperband2

No similar strategies found. (based on used indicators)

last change: 2024-07-26 23:42:43