Wordcloud
Strategy: BinHV27
Downloaded: 20220111
Stoploss: -0.5


Not Enough Data to display!

Average Overall
Not Enough Data! / Avg statistics not populated yet.
The BinHV27 strategy is a trading strategy sponsored by a user named BinH. Here's a description of what the strategy does: Timeframe: The strategy operates on 5-minute candlestick data. Indicators: RSI (Relative Strength Index): Calculated with a time period of 5.

EMA (Exponential Moving Average) of RSI: Calculated with a time period of 5.

ADX (Average Directional Index): Used as is.

MINUS_DI: Calculated using ADX. EMA of MINUS_DI: Calculated with a time period of 25. PLUS_DI: Calculated using ADX. EMA of PLUS_DI: Calculated with a time period of 5. EMA of Low prices: Calculated with a time period of 60. EMA of High prices: Calculated with a time period of 120. SMA (Simple Moving Average) of Fast prices: Calculated with a time period of 120. SMA of Slow prices: Calculated with a time period of 240. Buy Conditions: The strategy generates a buy signal when the following conditions are met: Slow SMA is greater than 0. Close price is below the High EMA and Low EMA. MINUS_DI is greater than EMA of MINUS_DI. RSI is greater than or equal to its previous value. One of the following conditions is true: Prepare change in trend is False, continue up is False, ADX is greater than 25, bigdown is True, and EMA of RSI is less than or equal to 20. Prepare change in trend is False, continue up is True, ADX is greater than 30, bigdown is True, and EMA of RSI is less than or equal to 20. Continue up is False, ADX is greater than 35, bigup is True, and EMA of RSI is less than or equal to 20. Continue up is True, ADX is greater than 30, bigup is True, and EMA of RSI is less than or equal to 25. Sell Conditions: The strategy generates a sell signal based on the following conditions: The last buy signal is retrieved from the dataframe. If no buy signal is found, no sell signal is generated. Based on the characteristics of the last buy signal (bigup, bigdown, trend, price), the following conditions are checked to generate a sell signal: If bigup is True, prepare change in trend confirm is False, continue up is False, close price is above Low EMA or High EMA, High EMA is greater than 0, and either bigdown is True or the current trend is less than the trend at the time of the buy signal. If bigdown is True, prepare change in trend confirm is False, continue up is False, close price is above High EMA, High EMA is greater than 0, EMA of RSI is greater than or equal to 75 or close price is above Slow SMA, and either bigdown is True or the current trend is less than the trend at the time of the buy signal. If prepare change in trend confirm is False, close price is above High EMA, High EMA is greater than 0, ADX is greater than 30, EMA of RSI is greater than or equal to 80, and bigup is True. If prepare change in trend confirm is True, continue up is False, slowing down is True, EMA of RSI is greater than or equal to 75, and Slow SMA is greater than 0. If prepare change in trend confirm is True, MINUS_DI is less than PLUS_DI, close price is above Low EMA, and Slow SMA is greater than 0. Note: This description is based on the provided code, and the effectiveness or profitability of the strategy cannot be guaranteed. It's important to thoroughly test and validate any trading strategy before using it in a live trading environment.

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: 'buy' 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 1335, in backtest_one_strategy results = self.backtest( ^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 1213, in backtest data: Dict = self._get_ohlcv_as_lists(processed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 381, in _get_ohlcv_as_lists df_analyzed = self.strategy.ft_advise_signals(pair_data, {'pair': pair}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1392, in ft_advise_signals dataframe = self.advise_exit(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1443, in advise_exit df = self.populate_exit_trend(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 244, in populate_exit_trend return self.populate_sell_trend(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/user_data/strategies/BinHV27.py", line 93, in populate_sell_trend buyframe = dataframe[dataframe['buy'] == 1].tail(1) ~~~~~~~~~^^^^^^^ 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: 'buy'
stoploss: -0.5
timeframe: 5m
hash(sha256): 5bde3870d984ddfff86b6e7fcd086150d42f2a74c8d2404cb319d93d1e8ada90
indicators:
preparechangetrend close lowsma delta trend
minusdi slowingdown continueup slowsma highsma
bigdown emarsi bigup buy minusdiema
adx plusdi fastsma preparechangetrendconfirm rsi
dataframebuy plusdiema

Similar Strategies: (based on used indicators)

Strategy: BinHV27_4, Similarity Score: 95.65%
Strategy: BinHV27_5, Similarity Score: 95.65%

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