15 related strategies (⧉ identical code, ≈ similar name)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | # --- Do not remove these libs --- import freqtrade.vendor.qtpylib.indicators as qtpylib import numpy as np import talib.abstract as ta import pandas_ta as pta from freqtrade.persistence import Trade from freqtrade.strategy.interface import IStrategy from pandas import DataFrame, Series, DatetimeIndex, merge from datetime import datetime, timedelta from freqtrade.strategy import merge_informative_pair, CategoricalParameter, DecimalParameter, IntParameter, stoploss_from_open from functools import reduce from technical.indicators import RMI, zema # -------------------------------- def EWO(dataframe, ema_length=5, ema2_length=35): df = dataframe.copy() ema1 = ta.EMA(df, timeperiod=ema_length) ema2 = ta.EMA(df, timeperiod=ema2_length) emadif = (ema1 - ema2) / df['low'] * 100 return emadif # Williams %R def williams_r(dataframe: DataFrame, period: int=14) -> Series: """Williams %R, or just %R, is a technical analysis oscillator showing the current closing price in relation to the high and low of the past N days (for a given N). It was developed by a publisher and promoter of trading materials, Larry Williams. Its purpose is to tell whether a stock or commodity limit is trading near the high or the low, or somewhere in between, of its recent trading range. The oscillator is on a negative scale, from −100 (lowest) up to 0 (highest). """ highest_high = dataframe['high'].rolling(center=False, window=period).max() lowest_low = dataframe['low'].rolling(center=False, window=period).min() WR = Series((highest_high - dataframe['close']) / (highest_high - lowest_low), name=f'{period} Williams %R') return WR * -100 #################################################### # VWAP bands, come from vwap strategy def vmap_b(dataframe, window_size=20, num_of_std=1): df = dataframe.copy() df['vwap'] = qtpylib.rolling_vwap(df, window=window_size) rolling_std = df['vwap'].rolling(window=window_size).std() df['vwap_low'] = df['vwap'] - rolling_std * num_of_std df['vwap_high'] = df['vwap'] + rolling_std * num_of_std return (df['vwap_low'], df['vwap'], df['vwap_high']) def top_percent_change(dataframe: DataFrame, length: int) -> float: """ Percentage change of the current close from the range maximum Open price :param dataframe: DataFrame The original OHLC dataframe :param length: int The length to look back """ if length == 0: return (dataframe['open'] - dataframe['close']) / dataframe['close'] else: return (dataframe['open'].rolling(length).max() - dataframe['close']) / dataframe['close'] #################################################### class BB_RPB_TSL_RNG_VWAP(IStrategy): INTERFACE_VERSION = 3 '\n BB_RPB_TSL\n @author jilv220\n Simple bollinger brand strategy inspired by this blog ( https://hacks-for-life.blogspot.com/2020/12/freqtrade-notes.html )\n RPB, which stands for Real Pull Back, taken from ( https://github.com/GeorgeMurAlkh/freqtrade-stuff/blob/main/user_data/strategies/TheRealPullbackV2.py )\n The trailing custom stoploss taken from BigZ04_TSL from Perkmeister ( modded by ilya )\n I modified it to better suit my taste and added Hyperopt for this strategy.\n ' ########################################################################## # Hyperopt result area # buy space ## ## ## ## ## ## ## buy_params = {'buy_btc_safe': -289, 'buy_btc_safe_1d': -0.05, 'buy_threshold': 0.003, 'buy_bb_factor': 0.999, 'buy_bb_delta': 0.025, 'buy_bb_width': 0.095, 'buy_cci': -116, 'buy_cci_length': 25, 'buy_rmi': 49, 'buy_rmi_length': 17, 'buy_srsi_fk': 32, 'buy_closedelta': 12.148, 'buy_ema_diff': 0.022, 'buy_adx': 20, 'buy_fastd': 20, 'buy_fastk': 22, 'buy_ema_cofi': 0.98, 'buy_ewo_high': 4.179, 'buy_ema_high_2': 1.087, 'buy_ema_low_2': 0.97} # sell space sell_params = {'pHSL': -0.25, 'pPF_1': 0.019, 'pPF_2': 0.065, 'pSL_1': 0.019, 'pSL_2': 0.062, 'sell_btc_safe': -389, 'base_nb_candles_sell': 24, 'high_offset': 0.991, 'high_offset_2': 0.997} # really hard to use this minimal_roi = {'0': 100} # Optimal timeframe for the strategy timeframe = '5m' inf_1h = '1h' # Disabled stoploss = -0.99 # Custom stoploss use_custom_stoploss = True use_exit_signal = True process_only_new_candles = True startup_candle_count = 120 order_types = {'entry': 'limit', 'exit': 'limit', 'emergencysell': 'limit', 'forcebuy': 'limit', 'forcesell': 'limit', 'stoploss': 'limit', 'stoploss_on_exchange': False, 'stoploss_on_exchange_interval': 60, 'stoploss_on_exchange_limit_ratio': 0.99} ############################################################################ ## Buy params is_optimize_dip = False buy_rmi = IntParameter(30, 50, default=35, optimize=is_optimize_dip) buy_cci = IntParameter(-135, -90, default=-133, optimize=is_optimize_dip) buy_srsi_fk = IntParameter(30, 50, default=25, optimize=is_optimize_dip) buy_cci_length = IntParameter(25, 45, default=25, optimize=is_optimize_dip) buy_rmi_length = IntParameter(8, 20, default=8, optimize=is_optimize_dip) is_optimize_break = False buy_bb_width = DecimalParameter(0.05, 0.2, default=0.15, optimize=is_optimize_break) buy_bb_delta = DecimalParameter(0.025, 0.08, default=0.04, optimize=is_optimize_break) is_optimize_local_dip = False buy_ema_diff = DecimalParameter(0.022, 0.027, default=0.025, optimize=is_optimize_local_dip) buy_bb_factor = DecimalParameter(0.99, 0.999, default=0.995, optimize=False) buy_closedelta = DecimalParameter(12.0, 18.0, default=15.0, optimize=is_optimize_local_dip) is_optimize_ewo = False buy_rsi_fast = IntParameter(35, 50, default=45, optimize=False) buy_rsi = IntParameter(15, 30, default=35, optimize=False) buy_ewo = DecimalParameter(-6.0, 5, default=-5.585, optimize=is_optimize_ewo) buy_ema_low = DecimalParameter(0.9, 0.99, default=0.942, optimize=is_optimize_ewo) buy_ema_high = DecimalParameter(0.95, 1.2, default=1.084, optimize=is_optimize_ewo) is_optimize_ewo_2 = False buy_ema_low_2 = DecimalParameter(0.96, 0.978, default=0.96, optimize=is_optimize_ewo_2) buy_ema_high_2 = DecimalParameter(1.05, 1.2, default=1.09, optimize=is_optimize_ewo_2) is_optimize_cofi = False buy_ema_cofi = DecimalParameter(0.96, 0.98, default=0.97, optimize=is_optimize_cofi) buy_fastk = IntParameter(20, 30, default=20, optimize=is_optimize_cofi) buy_fastd = IntParameter(20, 30, default=20, optimize=is_optimize_cofi) buy_adx = IntParameter(20, 30, default=30, optimize=is_optimize_cofi) buy_ewo_high = DecimalParameter(2, 12, default=3.553, optimize=is_optimize_cofi) is_optimize_btc_safe = False buy_btc_safe = IntParameter(-300, 50, default=-200, optimize=is_optimize_btc_safe) buy_btc_safe_1d = DecimalParameter(-0.075, -0.025, default=-0.05, optimize=is_optimize_btc_safe) buy_threshold = DecimalParameter(0.003, 0.012, default=0.008, optimize=is_optimize_btc_safe) # Buy params toggle buy_is_dip_enabled = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True) buy_is_break_enabled = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True) ## Sell params sell_btc_safe = IntParameter(-400, -300, default=-365, optimize=True) base_nb_candles_sell = IntParameter(5, 80, default=sell_params['base_nb_candles_sell'], space='sell', optimize=True) high_offset = DecimalParameter(0.95, 1.1, default=sell_params['high_offset'], space='sell', optimize=True) high_offset_2 = DecimalParameter(0.99, 1.5, default=sell_params['high_offset_2'], space='sell', optimize=True) ## Trailing params # hard stoploss profit pHSL = DecimalParameter(-0.2, -0.04, default=-0.08, decimals=3, space='sell', load=True) # profit threshold 1, trigger point, SL_1 is used pPF_1 = DecimalParameter(0.008, 0.02, default=0.016, decimals=3, space='sell', load=True) pSL_1 = DecimalParameter(0.008, 0.02, default=0.011, decimals=3, space='sell', load=True) # profit threshold 2, SL_2 is used pPF_2 = DecimalParameter(0.04, 0.1, default=0.08, decimals=3, space='sell', load=True) pSL_2 = DecimalParameter(0.02, 0.07, default=0.04, decimals=3, space='sell', load=True) ############################################################################ def informative_pairs(self): informative_pairs = [('BTC/USDT', '5m')] return informative_pairs ############################################################################ ## Custom Trailing stoploss ( credit to Perkmeister for this custom stoploss to help the strategy ride a green candle ) def custom_stoploss(self, pair: str, trade: 'Trade', current_time: datetime, current_rate: float, current_profit: float, **kwargs) -> float: # hard stoploss profit HSL = self.pHSL.value PF_1 = self.pPF_1.value SL_1 = self.pSL_1.value PF_2 = self.pPF_2.value SL_2 = self.pSL_2.value enter_tag = '' if hasattr(trade, 'enter_tag') and trade.buy_tag is not None: enter_tag = trade.buy_tag buy_tags = buy_tag.split() if len(buy_tags) == 1 and 'vwap' in buy_tags: PF_1 = 0.01 SL_1 = 0.01 PF_2 = 0.05 SL_2 = 0.042 # For profits between PF_1 and PF_2 the stoploss (sl_profit) used is linearly interpolated # between the values of SL_1 and SL_2. For all profits above PL_2 the sl_profit value # rises linearly with current profit, for profits below PF_1 the hard stoploss profit is used. if current_profit > PF_2: sl_profit = SL_2 + (current_profit - PF_2) elif current_profit > PF_1: sl_profit = SL_1 + (current_profit - PF_1) * (SL_2 - SL_1) / (PF_2 - PF_1) else: sl_profit = HSL # Only for hyperopt invalid return if sl_profit >= current_profit: return -0.99 return stoploss_from_open(sl_profit, current_profit) ############################################################################ def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: assert self.dp, 'DataProvider is required for multiple timeframes.' # Bollinger bands (hyperopt hard to implement) bollinger2 = qtpylib.bollinger_bands(qtpylib.typical_price(dataframe), window=20, stds=2) dataframe['bb_lowerband2'] = bollinger2['lower'] dataframe['bb_middleband2'] = bollinger2['mid'] dataframe['bb_upperband2'] = bollinger2['upper'] bollinger3 = qtpylib.bollinger_bands(qtpylib.typical_price(dataframe), window=20, stds=3) dataframe['bb_lowerband3'] = bollinger3['lower'] dataframe['bb_middleband3'] = bollinger3['mid'] dataframe['bb_upperband3'] = bollinger3['upper'] # vmap indicators vwap_low, vwap, vwap_high = vmap_b(dataframe, 20, 1) dataframe['vwap_low'] = vwap_low dataframe['tcp_percent_4'] = top_percent_change(dataframe, 4) ### BTC protection # BTC info inf_tf = '5m' informative = self.dp.get_pair_dataframe('BTC/USDT', timeframe=inf_tf) informative_past = informative.copy().shift(1) # Get recent BTC info # BTC 5m dump protection informative_past_source = (informative_past['open'] + informative_past['close'] + informative_past['high'] + informative_past['low']) / 4 # Get BTC price informative_threshold = informative_past_source * self.buy_threshold.value # BTC dump n% in 5 min informative_past_delta = informative_past['close'].shift(1) - informative_past['close'] # should be positive if dump informative_diff = informative_threshold - informative_past_delta # Need be larger than 0 dataframe['btc_threshold'] = informative_threshold dataframe['btc_diff'] = informative_diff # BTC 1d dump protection informative_past_1d = informative.copy().shift(288) informative_past_source_1d = (informative_past_1d['open'] + informative_past_1d['close'] + informative_past_1d['high'] + informative_past_1d['low']) / 4 dataframe['btc_5m'] = informative_past_source dataframe['btc_1d'] = informative_past_source_1d ### Other checks dataframe['bb_width'] = (dataframe['bb_upperband2'] - dataframe['bb_lowerband2']) / dataframe['bb_middleband2'] dataframe['bb_delta'] = (dataframe['bb_lowerband2'] - dataframe['bb_lowerband3']) / dataframe['bb_lowerband2'] dataframe['bb_bottom_cross'] = qtpylib.crossed_below(dataframe['close'], dataframe['bb_lowerband3']).astype('int') # CCI hyperopt for val in self.buy_cci_length.range: dataframe[f'cci_length_{val}'] = ta.CCI(dataframe, val) dataframe['cci'] = ta.CCI(dataframe, 26) dataframe['cci_long'] = ta.CCI(dataframe, 170) # RMI hyperopt for val in self.buy_rmi_length.range: dataframe[f'rmi_length_{val}'] = RMI(dataframe, length=val, mom=4) #dataframe['rmi'] = RMI(dataframe, length=8, mom=4) # SRSI hyperopt ? stoch = ta.STOCHRSI(dataframe, 15, 20, 2, 2) dataframe['srsi_fk'] = stoch['fastk'] dataframe['srsi_fd'] = stoch['fastd'] # BinH dataframe['closedelta'] = (dataframe['close'] - dataframe['close'].shift()).abs() # SMA dataframe['sma_15'] = ta.SMA(dataframe, timeperiod=15) dataframe['sma_30'] = ta.SMA(dataframe, timeperiod=30) # CTI dataframe['cti'] = pta.cti(dataframe['close'], length=20) # EMA dataframe['ema_8'] = ta.EMA(dataframe, timeperiod=8) dataframe['ema_12'] = ta.EMA(dataframe, timeperiod=12) dataframe['ema_13'] = ta.EMA(dataframe, timeperiod=13) dataframe['ema_16'] = ta.EMA(dataframe, timeperiod=16) dataframe['ema_26'] = ta.EMA(dataframe, timeperiod=26) dataframe['hma_50'] = qtpylib.hull_moving_average(dataframe['close'], window=50) dataframe['ema_100'] = ta.EMA(dataframe, timeperiod=100) dataframe['sma_9'] = ta.SMA(dataframe, timeperiod=9) # RSI dataframe['rsi'] = ta.RSI(dataframe, timeperiod=14) dataframe['rsi_fast'] = ta.RSI(dataframe, timeperiod=4) dataframe['rsi_slow'] = ta.RSI(dataframe, timeperiod=20) dataframe['rsi_84'] = ta.RSI(dataframe, timeperiod=84) dataframe['rsi_112'] = ta.RSI(dataframe, timeperiod=112) # Elliot dataframe['EWO'] = EWO(dataframe, 50, 200) # Cofi stoch_fast = ta.STOCHF(dataframe, 5, 3, 0, 3, 0) dataframe['fastd'] = stoch_fast['fastd'] dataframe['fastk'] = stoch_fast['fastk'] dataframe['adx'] = ta.ADX(dataframe) # Williams %R dataframe['r_14'] = williams_r(dataframe, period=14) # Volume dataframe['volume_mean_4'] = dataframe['volume'].rolling(4).mean().shift(1) # Calculate all ma_sell values for val in self.base_nb_candles_sell.range: dataframe[f'ma_sell_{val}'] = ta.EMA(dataframe, timeperiod=val) return dataframe def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: conditions = [] dataframe.loc[:, 'enter_tag'] = '' if self.buy_is_dip_enabled.value: is_dip = (dataframe[f'rmi_length_{self.buy_rmi_length.value}'] < self.buy_rmi.value) & (dataframe[f'cci_length_{self.buy_cci_length.value}'] <= self.buy_cci.value) & (dataframe['srsi_fk'] < self.buy_srsi_fk.value) #conditions.append(is_dip) if self.buy_is_break_enabled.value: #"buy_bb_delta": 0.025 0.036 #"buy_bb_width": 0.095 0.133 # from BinH is_break = (dataframe['bb_delta'] > self.buy_bb_delta.value) & (dataframe['bb_width'] > self.buy_bb_width.value) & (dataframe['closedelta'] > dataframe['close'] * self.buy_closedelta.value / 1000) & (dataframe['close'] < dataframe['bb_lowerband3'] * self.buy_bb_factor.value) #conditions.append(is_break) # from NFI next gen is_local_uptrend = (dataframe['ema_26'] > dataframe['ema_12']) & (dataframe['ema_26'] - dataframe['ema_12'] > dataframe['open'] * self.buy_ema_diff.value) & (dataframe['ema_26'].shift() - dataframe['ema_12'].shift() > dataframe['open'] / 100) & (dataframe['close'] < dataframe['bb_lowerband2'] * self.buy_bb_factor.value) & (dataframe['closedelta'] > dataframe['close'] * self.buy_closedelta.value / 1000) # from SMA offset is_ewo = (dataframe['rsi_fast'] < self.buy_rsi_fast.value) & (dataframe['close'] < dataframe['ema_8'] * self.buy_ema_low.value) & (dataframe['EWO'] > self.buy_ewo.value) & (dataframe['close'] < dataframe['ema_16'] * self.buy_ema_high.value) & (dataframe['rsi'] < self.buy_rsi.value) is_ewo_2 = (dataframe['rsi_fast'] < self.buy_rsi_fast.value) & (dataframe['close'] < dataframe['ema_8'] * self.buy_ema_low_2.value) & (dataframe['EWO'] > self.buy_ewo_high.value) & (dataframe['close'] < dataframe['ema_16'] * self.buy_ema_high_2.value) & (dataframe['rsi'] < self.buy_rsi.value) is_cofi = (dataframe['open'] < dataframe['ema_8'] * self.buy_ema_cofi.value) & qtpylib.crossed_above(dataframe['fastk'], dataframe['fastd']) & (dataframe['fastk'] < self.buy_fastk.value) & (dataframe['fastd'] < self.buy_fastd.value) & (dataframe['adx'] > self.buy_adx.value) & (dataframe['EWO'] > self.buy_ewo_high.value) # NFI quick mode is_nfi_32 = (dataframe['rsi_slow'] < dataframe['rsi_slow'].shift(1)) & (dataframe['rsi_fast'] < 46) & (dataframe['rsi'] > 19) & (dataframe['close'] < dataframe['sma_15'] * 0.942) & (dataframe['cti'] < -0.86) is_nfi_33 = (dataframe['close'] < dataframe['ema_13'] * 0.978) & (dataframe['EWO'] > 8) & (dataframe['cti'] < -0.88) & (dataframe['rsi'] < 32) & (dataframe['r_14'] < -98.0) & (dataframe['volume'] < dataframe['volume_mean_4'] * 2.5) is_vwap = (dataframe['close'] < dataframe['vwap_low']) & (dataframe['tcp_percent_4'] > 0.04) & (dataframe['cti'] < -0.8) & (dataframe['rsi'] < 35) & (dataframe['rsi_84'] < 60) & (dataframe['rsi_112'] < 60) & (dataframe['volume'] > 0) # is_btc_safe = ( # (dataframe['btc_diff'] > self.buy_btc_safe.value) # &(dataframe['btc_5m'] - dataframe['btc_1d'] > dataframe['btc_1d'] * self.buy_btc_safe_1d.value) # &(dataframe['volume'] > 0) # Make sure Volume is not 0 # ) is_BB_checked = is_dip & is_break #print(dataframe['btc_5m']) #print(dataframe['btc_1d']) #print(dataframe['btc_5m'] - dataframe['btc_1d']) #print(dataframe['btc_1d'] * -0.025) #print(dataframe['btc_5m'] - dataframe['btc_1d'] > dataframe['btc_1d'] * -0.025) ## condition append conditions.append(is_BB_checked) # ~1.7 89% dataframe.loc[is_BB_checked, 'enter_tag'] += 'bb ' conditions.append(is_local_uptrend) # ~3.84 90.2% dataframe.loc[is_local_uptrend, 'enter_tag'] += 'local uptrend ' conditions.append(is_ewo) # ~2.26 93.5% dataframe.loc[is_ewo, 'enter_tag'] += 'ewo ' conditions.append(is_ewo_2) # ~3.68 90.3% dataframe.loc[is_ewo_2, 'enter_tag'] += 'ewo2 ' conditions.append(is_cofi) # ~3.21 90.8% dataframe.loc[is_cofi, 'enter_tag'] += 'cofi ' conditions.append(is_nfi_32) # ~2.43 91.3% dataframe.loc[is_nfi_32, 'enter_tag'] += 'nfi 32 ' conditions.append(is_nfi_33) # ~0.11 100% dataframe.loc[is_nfi_33, 'enter_tag'] += 'nfi 33 ' conditions.append(is_vwap) dataframe.loc[is_vwap, 'enter_tag'] += 'vwap ' if conditions: dataframe.loc[reduce(lambda x, y: x | y, conditions), 'enter_long'] = 1 return dataframe def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: conditions = [] conditions.append((dataframe['close'] > dataframe['sma_9']) & (dataframe['close'] > dataframe[f'ma_sell_{self.base_nb_candles_sell.value}'] * self.high_offset_2.value) & (dataframe['rsi'] > 50) & (dataframe['volume'] > 0) & (dataframe['rsi_fast'] > dataframe['rsi_slow']) | (dataframe['sma_9'] > dataframe['sma_9'].shift(1) + dataframe['sma_9'].shift(1) * 0.005) & (dataframe['close'] < dataframe['hma_50']) & (dataframe['close'] > dataframe[f'ma_sell_{self.base_nb_candles_sell.value}'] * self.high_offset.value) & (dataframe['volume'] > 0) & (dataframe['rsi_fast'] > dataframe['rsi_slow'])) if conditions: dataframe.loc[reduce(lambda x, y: x | y, conditions), 'exit_long'] = 1 return dataframe |
Strategy League — fixed backtest that feeds the ranking
Export report Freqtrade logsRun finished · took 481.1s
ℹ️ This strategy uses custom_stoploss() — freqtrade only
re-checks these once per 5m candle by default, not against the price movement within it.
For a more accurate read, re-run this backtest locally with --timeframe-detail 1m. Freqle doesn't do this for every check here: multiplying every
League/sweep backtest by a finer detail timeframe is more compute than the sandbox can sustain
across every indexed strategy. why this matters →
- did not beat simply holding the market
- statistically significant edge (p=0.00)
- 100% of resampled runs stayed profitable
- profitable across 88% of rolling 3-month windows
Resampling the trade sequence 2,000× shows the spread of results this edge could plausibly produce — separating a dependable strategy from one that got lucky once.
Loading charts…
Monthly breakdown
| Month | Regime | Trades | Profit % | Avg % | Win | Loss | Win % | DD % | Avg dur |
|---|---|---|---|---|---|---|---|---|---|
| Dec 2025 | bearish trending low vol | 20 | -4.58 | -2.29 | 1 | 19 | 5.0 | -2.71 | 4h 29m |
| Nov 2025 | bearish trending high vol | 21 | +2.09 | 0.99 | 15 | 6 | 71.4 | -2.0 | 1h 51m |
| Oct 2025 | bearish trending low vol | 18 | -8.09 | -4.49 | 8 | 10 | 44.4 | -2.25 | 2h 32m |
| Sep 2025 | bullish choppy low vol | 6 | +1.42 | 2.36 | 6 | 0 | 100.0 | 0.0 | 2h 11m |
| Aug 2025 | bullish choppy low vol | 1 | +0.38 | 3.75 | 1 | 0 | 100.0 | 0.0 | 2h 00m |
| Jul 2025 | bullish choppy low vol | 5 | +0.80 | 1.59 | 5 | 0 | 100.0 | 0.0 | 1h 37m |
| Jun 2025 | bearish choppy low vol | 2 | +0.04 | 0.18 | 1 | 1 | 50.0 | -0.0 | 2h 38m |
| May 2025 | bullish trending low vol | 12 | +1.45 | 1.21 | 12 | 0 | 100.0 | 0.0 | 1h 32m |
| Apr 2025 | bullish choppy low vol | 11 | +2.18 | 1.98 | 9 | 2 | 81.8 | -0.11 | 1h 58m |
| Mar 2025 | bearish trending high vol | 22 | +3.66 | 1.66 | 20 | 2 | 90.9 | -0.38 | 1h 56m |
| Feb 2025 | bearish trending low vol | 41 | +1.15 | 0.28 | 22 | 19 | 53.7 | -1.08 | 2h 14m |
| Jan 2025 | bearish choppy low vol | 19 | +1.60 | 0.84 | 10 | 9 | 52.6 | -0.48 | 2h 23m |
| Dec 2024 | bullish trending low vol | 64 | +3.13 | 0.49 | 38 | 26 | 59.4 | -0.81 | 2h 06m |
| Nov 2024 | bullish trending low vol | 48 | +9.31 | 1.94 | 40 | 8 | 83.3 | -0.24 | 1h 47m |
| Oct 2024 | bullish choppy low vol | 16 | +0.59 | 0.37 | 10 | 6 | 62.5 | -0.75 | 2h 52m |
| Sep 2024 | bearish choppy low vol | 1 | +0.34 | 3.40 | 1 | 0 | 100.0 | -0.49 | 1h 15m |
| Aug 2024 | bearish choppy high vol | 21 | +2.34 | 1.11 | 13 | 8 | 61.9 | -1.58 | 2h 27m |
| Jul 2024 | bearish trending low vol | 11 | -2.55 | -2.31 | 3 | 8 | 27.3 | -1.22 | 3h 15m |
| Jun 2024 | bearish choppy low vol | 21 | +2.81 | 1.34 | 14 | 7 | 66.7 | -0.54 | 2h 47m |
| Apr 2024 | bearish choppy high vol | 30 | +3.32 | 1.11 | 21 | 9 | 70.0 | -0.62 | 2h 29m |
| Mar 2024 | bullish trending high vol | 29 | +1.53 | 0.53 | 21 | 8 | 72.4 | -0.61 | 1h 50m |
| Feb 2024 | bullish trending low vol | 13 | +3.16 | 2.43 | 12 | 1 | 92.3 | -0.92 | 2h 14m |
| Jan 2024 | bearish choppy high vol | 18 | -3.50 | -1.94 | 4 | 14 | 22.2 | -1.2 | 3h 05m |
| Dec 2023 | bullish trending low vol | 22 | +7.52 | 3.42 | 21 | 1 | 95.5 | -0.04 | 2h 03m |
| Nov 2023 | bullish trending low vol | 25 | +4.55 | 1.82 | 20 | 5 | 80.0 | -0.04 | 2h 28m |
| Oct 2023 | bullish trending low vol | 1 | -0.11 | -1.14 | 0 | 1 | 0.0 | -0.04 | 4h 15m |
| Aug 2023 | bearish choppy low vol | 19 | +10.29 | 5.41 | 16 | 3 | 84.2 | -0.54 | 2h 21m |
| Jul 2023 | bullish trending low vol | 16 | +1.36 | 0.85 | 12 | 4 | 75.0 | -0.1 | 2h 25m |
| Jun 2023 | bullish trending low vol | 31 | +4.08 | 1.31 | 23 | 8 | 74.2 | -0.13 | 3h 19m |
| May 2023 | bearish choppy low vol | 5 | +0.34 | 0.69 | 4 | 1 | 80.0 | -0.04 | 2h 42m |
| Apr 2023 | bullish trending low vol | 11 | +1.34 | 1.22 | 11 | 0 | 100.0 | 0.0 | 2h 06m |
| Mar 2023 | bullish trending high vol | 42 | +2.49 | 0.59 | 28 | 14 | 66.7 | -0.62 | 2h 29m |
| Feb 2023 | bullish trending low vol | 14 | +0.32 | 0.23 | 9 | 5 | 64.3 | -0.13 | 3h 01m |
| Jan 2023 | bullish trending low vol | 31 | +5.36 | 1.73 | 26 | 5 | 83.9 | -0.67 | 2h 16m |
| Dec 2022 | bearish trending low vol | 9 | +2.12 | 2.35 | 8 | 1 | 88.9 | -1.46 | 2h 59m |
| Nov 2022 | bearish trending high vol | 81 | -2.72 | -0.34 | 49 | 32 | 60.5 | -3.18 | 2h 33m |
| Oct 2022 | bullish choppy low vol | 7 | -0.07 | -0.10 | 4 | 3 | 57.1 | -0.61 | 2h 43m |
| Sep 2022 | bearish choppy high vol | 10 | -1.23 | -1.23 | 2 | 8 | 20.0 | -0.6 | 3h 23m |
| Aug 2022 | bullish choppy high vol | 8 | -0.39 | -0.49 | 3 | 5 | 37.5 | -0.2 | 3h 45m |
| Jul 2022 | bearish trending high vol | 13 | +1.59 | 1.23 | 9 | 4 | 69.2 | -0.08 | 1h 48m |
| Jun 2022 | bearish trending high vol | 51 | +4.51 | 0.88 | 32 | 19 | 62.7 | -1.14 | 2h 00m |
| May 2022 | bearish trending high vol | 98 | +7.18 | 0.73 | 61 | 37 | 62.2 | -1.85 | 2h 06m |
| Apr 2022 | bearish choppy high vol | 8 | +1.02 | 1.29 | 6 | 2 | 75.0 | -0.13 | 2h 29m |
| Mar 2022 | bullish choppy high vol | 6 | +1.21 | 2.01 | 5 | 1 | 83.3 | -0.42 | 2h 53m |
| Feb 2022 | bearish trending high vol | 14 | -1.13 | -0.80 | 6 | 8 | 42.9 | -0.52 | 2h 19m |
| Jan 2022 | bearish trending high vol | 43 | +9.22 | 2.14 | 35 | 8 | 81.4 | -1.97 | 1h 54m |
| Dec 2021 | bearish trending high vol | 17 | -3.70 | -2.18 | 8 | 9 | 47.1 | -2.25 | 2h 32m |
| Nov 2021 | bullish trending high vol | 39 | +5.03 | 1.29 | 24 | 15 | 61.5 | -1.01 | 2h 09m |
| Oct 2021 | bullish trending high vol | 15 | +1.32 | 0.88 | 10 | 5 | 66.7 | -0.29 | 2h 37m |
| Sep 2021 | bearish trending high vol | 95 | +24.35 | 2.57 | 77 | 18 | 81.1 | -1.29 | 1h 24m |
| Aug 2021 | bullish trending high vol | 20 | +3.06 | 1.53 | 17 | 3 | 85.0 | -0.18 | 1h 48m |
| Jul 2021 | bearish trending high vol | 8 | +1.05 | 1.32 | 7 | 1 | 87.5 | -0.26 | 1h 54m |
| Jun 2021 | bearish trending high vol | 60 | +4.71 | 0.79 | 37 | 23 | 61.7 | -1.07 | 1h 55m |
| May 2021 | bearish trending high vol | 304 | +37.14 | 1.22 | 217 | 87 | 71.4 | -4.58 | 1h 41m |
| Apr 2021 | bearish choppy high vol | 165 | +33.95 | 2.06 | 130 | 35 | 78.8 | -2.65 | 1h 35m |
| Mar 2021 | bullish choppy high vol | 45 | +11.79 | 2.62 | 39 | 6 | 86.7 | -0.21 | 1h 49m |
| Feb 2021 | bullish trending high vol | 219 | +53.75 | 2.46 | 183 | 36 | 83.6 | -2.61 | 1h 25m |
| Jan 2021 | bullish trending high vol | 215 | +39.92 | 1.86 | 168 | 47 | 78.1 | -6.62 | 1h 29m |
Yearly breakdown
| Year | Trades | Profit % | Avg % | Win | Loss | Win % | DD % | Avg dur |
|---|---|---|---|---|---|---|---|---|
| 2025 | 178 | +2.10 | 0.12 | 110 | 68 | 61.8 | -2.71 | 2h 22m |
| 2024 | 272 | +20.48 | 0.75 | 177 | 95 | 65.1 | -1.58 | 2h 18m |
| 2023 | 217 | +37.54 | 1.73 | 170 | 47 | 78.3 | -0.67 | 2h 32m |
| 2022 | 348 | +21.31 | 0.61 | 220 | 128 | 63.2 | -3.18 | 2h 18m |
| 2021 | 1202 | +212.37 | 1.77 | 917 | 285 | 76.3 | -6.62 | 1h 37m |
Trade charts — best 2 and worst 2 performing pairs (full OHLC candles are expensive to render for every pair)
Backtests — over a market period
Backtest this strategy over a chosen crypto-cycle period. These don't affect the League ranking, and need that period's candle data downloaded.
Log in or sign up to run backtests.
| Period | Range | Total % | Win % | Max DD | Trades | |
|---|---|---|---|---|---|---|
| 2020 · DeFi Summer & Pre-Halving Rally | 20200101-20210101 | not run | ||||
| 2021 · Institutional Bull Market | 20210101-20220101 | not run | ||||
| 2022 · Post-Bull Crash & Macro Tightening | 20220101-20230101 | not run | ||||
| 2023–2024 · Recovery & ETF Anticipation | 20230101-20250101 | not run | ||||
| 2025–2026 · Current Cycle | 20250101-20260101 | not run | ||||
Walk forward
Out-of-sample backtest on recent data · 33 pairs · 20260101-20260701.
Backtest trust check
no lookahead patterns · 2 thing(s) worth reviewing before trusting the numbers
| Line | Pattern | Detail | |
|---|---|---|---|
| 85 | review | startup_candles_too_small | startup_candle_count is 120, but RSI(timeperiod=112) needing 8x warmup needs at least 896 candles -- so the first 776+ candles of every backtest use an indicator that hasn't warmed up. Recursive indicators (EMA/RSI/ADX/ATR) want several times their period, not exactly it |
| 140 | review | unused_informative | informative_pairs() declares an extra timeframe, but nothing merges it into the dataframe (no merge_informative_pair, no @informative) -- that data is fetched and discarded, and any higher-timeframe filter you think is running isn't |
ran by Ron · took s
Lookahead analysis
Freqtrade logsno lookahead bias detected
20 signal(s) analysed · 0 biased entries · 0 biased exits
ran by Ron · took 46.2s