Strategy: Discord_MultiRSI2
Downloaded: 20220726
Stoploss: -0.2
The MultiRSI2 strategy is a trading strategy designed to generate buy and sell signals based on the Relative Strength Index (RSI) indicator. Here's a brief description of what the strategy does: It defines a set of predefined return on investment (ROI) levels for selling positions at different time intervals (e.g., 180 minutes, 30 minutes, 20 minutes, and immediate). These ROI levels determine when to sell a position if a certain profit threshold is reached.

It sets a stop loss level (-20%) to limit potential losses if the trade goes against the expected direction.

The strategy operates on a 5-minute timeframe.

The populate_indicators function resamples the input dataframe to create shorter and longer timeframes. It computes the RSI indicator for both the short and long timeframes and merges them back into the original dataframe. The populate_buy_trend function identifies buy signals based on the following conditions: The RSI of the longer timeframe (12 times the ticker indicator) has increased compared to the previous value. The RSI of the current timeframe (5 minutes) is above 35. The RSI of the previous timeframe (5 minutes ago) is below or equal to 35. The populate_sell_trend function does not contain any specific conditions for selling positions, so additional conditions would need to be implemented for determining the sell signals. Overall, the strategy aims to capture potential buying opportunities when the RSI indicator shows favorable conditions and applies predefined ROI levels and a stop loss to manage the risk associated with the trades.

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 1374, in start min_date, max_date = self.backtest_one_strategy(strat, data, timerange) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 1308, in backtest_one_strategy results = self.backtest( ^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 1186, in backtest data: Dict = self._get_ohlcv_as_lists(processed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 375, in _get_ohlcv_as_lists df_analyzed = self.strategy.ft_advise_signals(pair_data, {'pair': pair}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1348, in ft_advise_signals dataframe = self.advise_entry(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1381, in advise_entry df = self.populate_entry_trend(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 225, in populate_entry_trend return self.populate_buy_trend(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/user_data/strategies/Discord_MultiRSI2.py", line 61, in populate_buy_trend (dataframe_long['rsi'] > dataframe_long['rsi'].shift(1)) & ^^^^^^^^^^^^^^ NameError: name 'dataframe_long' is not defined
stoploss: -0.2
timeframe: 5m
hash(sha256): 798ceffc4fc93c22f902bae34c645a3111216e01d7c7918d96205613b59c3814
_long _short _longrsi _shortrsi rsi

No similar strategies found. (based on used indicators)

last change: 2024-01-22 20:08:44