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 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 | from freqtrade.strategy.interface import IStrategy from typing import Dict, List from functools import reduce from pandas import DataFrame import talib.abstract as ta import numpy as np import freqtrade.vendor.qtpylib.indicators as qtpylib import datetime from technical.util import resample_to_interval, resampled_merge from datetime import datetime, timedelta from freqtrade.persistence import Trade from freqtrade.strategy import stoploss_from_open, merge_informative_pair, BooleanParameter, DecimalParameter, IntParameter, CategoricalParameter import math import logging logger = logging.getLogger(__name__) def EWO(dataframe, ema_length=5, ema2_length=3): df = dataframe.copy() ema1 = ta.EMA(df, timeperiod=ema_length) ema2 = ta.EMA(df, timeperiod=ema2_length) emadif = (ema1 - ema2) / df['close'] * 100 return emadif def pct_change(a, b): return (b - a) / a class DS_Green_5mv5(IStrategy): buy_params = { "lambo2_enabled": True, "ewo1_enabled": True, "ewo2_enabled": True, "cofi_enabled": True, "base_nb_candles_buy": 12, "ewo_high": 3.009, "low_offset_1": 0.988, "high_offset_1": 0.969, "rsi_buy": 51, "ewo_low": -8.929, "low_offset_2": 0.985, "high_offset_2": 1.01, "lambo2_ema_14_factor": 0.978, "lambo2_rsi_14_limit": 53, "lambo2_rsi_4_limit": 46, "buy_adx": 25, "buy_fastd": 20, "buy_fastk": 24, "buy_ema_cofi": 0.977, "buy_ewo_high": 3.767, "dca_min_rsi": 64, } sell_params = { "base_nb_candles_sell": 22, "high_offset_above": 1.05, "high_offset_below": 1.01, "pHSL": -0.397, "pPF_1": 0.012, "pPF_2": 0.07, "pSL_1": 0.015, "pSL_2": 0.068, } minimal_roi = { "0": 100, } stoploss = -0.99 trailing_stop = True trailing_stop_positive = 0.01 # Offset from the highest profit point to activate the trailing stop. trailing_stop_positive_offset = 0.0135 # Profit necessary to trigger the trailing stop. trailing_only_offset_is_reached = True # Keep stoploss static UNTIL the offset is reached then trigger trailing stop. use_custom_stoploss = False timeframe = '5m' # The primary timeframe for analysis. inf_1h = '1h' # Informative timeframe to gather additional data. use_exit_signal = True exit_profit_only = True exit_profit_offset = 0.01 # Offset added to exit signal (profitable threshold). ignore_roi_if_entry_signal = False # If True, ignore ROI when the buy signal is still present. process_only_new_candles = True startup_candle_count = 400 initial_safety_order_trigger = -0.018 # Initial trigger for the first safety order. max_safety_orders = 8 # Maximum number of safety orders to prevent overexposure. safety_order_step_scale = 1.2 # How much to increase the trigger for each additional safety order. safety_order_volume_scale = 1.4 # How much to increase the volume of each safety order. order_types = { 'entry': 'limit', 'exit': 'limit', 'trailing_stop_loss': 'limit', 'emergency_exit': 'market', 'force_entry': 'limit', 'force_exit': 'market', 'stoploss': 'limit', 'stoploss_on_exchange': False, 'stoploss_on_exchange_interval': 60, 'stoploss_on_exchange_limit_ratio': 0.99 } plot_config = { 'main_plot': { 'ma_buy': {'color': 'orange'}, # Color for the buy moving average. 'ma_sell': {'color': 'orange'}, # Color for the sell moving average. }, } order_time_in_force = { 'entry': 'gtc', 'exit': 'gtc' } is_optimize_remove = False lambo2_enabled = BooleanParameter(default=buy_params['lambo2_enabled'], space='buy', optimize=is_optimize_remove) ewo1_enabled = BooleanParameter(default=buy_params['ewo1_enabled'], space='buy', optimize=is_optimize_remove) ewo2_enabled = BooleanParameter(default=buy_params['ewo2_enabled'], space='buy', optimize=is_optimize_remove) cofi_enabled = BooleanParameter(default=buy_params['cofi_enabled'], space='buy', optimize=is_optimize_remove) is_optimize_base_nb_candles = False base_nb_candles_buy = IntParameter(8, 20, default=buy_params['base_nb_candles_buy'], space='buy', optimize=is_optimize_base_nb_candles) base_nb_candles_sell = IntParameter(8, 20, default=sell_params['base_nb_candles_sell'], space='sell', optimize=is_optimize_base_nb_candles) fast_ewo = 60 slow_ewo = 220 is_optimize_ewo = False low_offset_1 = DecimalParameter(0.985, 0.995, default=buy_params['low_offset_1'], space='buy', optimize=is_optimize_ewo) rsi_buy = IntParameter(30, 70, default=buy_params['rsi_buy'], space='buy', optimize=is_optimize_ewo) ewo_high = DecimalParameter(3.0, 3.4, default=buy_params['ewo_high'], space='buy', optimize=is_optimize_ewo) high_offset_1 = DecimalParameter(0.95, 1.10, default=buy_params['high_offset_1'], space='buy', optimize=is_optimize_ewo) is_optimize_ewo2 = False ewo_low = DecimalParameter(-20.0, -8.0,default=buy_params['ewo_low'], space='buy', optimize=is_optimize_ewo2) low_offset_2 = DecimalParameter(0.985, 0.995, default=buy_params['low_offset_2'], space='buy', optimize=is_optimize_ewo2) high_offset_2 = DecimalParameter(0.95, 1.10, default=buy_params['high_offset_2'], space='buy', optimize=is_optimize_ewo2) is_optimize_lambo2 = True lambo2_ema_14_factor = DecimalParameter(0.8, 1.2, decimals=3, default=buy_params['lambo2_ema_14_factor'], space='buy', optimize=is_optimize_lambo2) lambo2_rsi_4_limit = IntParameter(5, 60, default=buy_params['lambo2_rsi_4_limit'], space='buy', optimize=is_optimize_lambo2) lambo2_rsi_14_limit = IntParameter(5, 60, default=buy_params['lambo2_rsi_14_limit'], space='buy', optimize=is_optimize_lambo2) is_optimize_cofi = False buy_ema_cofi = DecimalParameter(0.96, 0.98, default=0.97, space='buy', optimize = is_optimize_cofi) buy_fastk = IntParameter(20, 30, default=20, space='buy', optimize = is_optimize_cofi) buy_fastd = IntParameter(20, 30, default=20, space='buy', optimize = is_optimize_cofi) buy_adx = IntParameter(20, 30, default=30, space='buy', optimize = is_optimize_cofi) buy_ewo_high = DecimalParameter(2, 12, space='buy', default=3.553, optimize = is_optimize_cofi) dca_min_rsi = IntParameter(35, 75, default=buy_params['dca_min_rsi'], space='buy', optimize=False) is_optimize_offset_sell = True high_offset_above = DecimalParameter(1.00, 1.10, default=sell_params['high_offset_above'], space='sell', optimize=is_optimize_offset_sell) high_offset_below = DecimalParameter(0.95, 1.05, default=sell_params['high_offset_below'], space='sell', optimize=is_optimize_offset_sell) is_optimize_stoploss = False pHSL = DecimalParameter(-0.500, -0.040, default=-0.08, decimals=3, space='sell', optimize=is_optimize_stoploss, load=True) pPF_1 = DecimalParameter(0.008, 0.020, default=0.016, decimals=3, space='sell', optimize=is_optimize_stoploss, load=True) pSL_1 = DecimalParameter(0.008, 0.020, default=0.011, decimals=3, space='sell', optimize=is_optimize_stoploss, load=True) pPF_2 = DecimalParameter(0.040, 0.100, default=0.080, decimals=3, space='sell',optimize=is_optimize_stoploss, load=True) pSL_2 = DecimalParameter(0.020, 0.070, default=0.040, decimals=3, space='sell', optimize=is_optimize_stoploss,load=True) def informative_pairs(self): pairs = self.dp.current_whitelist() informative_pairs = [(pair, '1h') for pair in pairs] if self.config['stake_currency'] in ['USDT','BUSD','USDC','DAI','TUSD','PAX','USD','EUR','GBP']: btc_info_pair = f"BTC/{self.config['stake_currency']}" else: btc_info_pair = "BTC/USDT" informative_pairs.append((btc_info_pair, self.timeframe)) informative_pairs.append((btc_info_pair, self.inf_1h)) return informative_pairs def base_tf_btc_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe['price_trend_long'] = (dataframe['close'].rolling(8).mean() / dataframe['close'].shift(8).rolling(144).mean()) ignore_columns = ['date', 'open', 'high', 'low', 'close', 'volume'] dataframe.rename(columns=lambda s: f"btc_{s}" if s not in ignore_columns else s, inplace=True) return dataframe def info_tf_btc_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe['rsi_8'] = ta.RSI(dataframe, timeperiod=8) ignore_columns = ['date', 'open', 'high', 'low', 'close', 'volume'] dataframe.rename(columns=lambda s: f"btc_{s}" if s not in ignore_columns else s, inplace=True) return dataframe def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: if self.config['stake_currency'] in ['USDT','BUSD']: btc_info_pair = f"BTC/{self.config['stake_currency']}" else: btc_info_pair = "BTC/USDT" btc_info_tf = self.dp.get_pair_dataframe(btc_info_pair, self.inf_1h) btc_info_tf = self.info_tf_btc_indicators(btc_info_tf, metadata) dataframe = merge_informative_pair(dataframe, btc_info_tf, self.timeframe, self.inf_1h, ffill=True) drop_columns = [f"{s}_{self.inf_1h}" for s in ['date', 'open', 'high', 'low', 'close', 'volume']] dataframe.drop(columns=dataframe.columns.intersection(drop_columns), inplace=True) btc_base_tf = self.dp.get_pair_dataframe(btc_info_pair, self.timeframe) btc_base_tf = self.base_tf_btc_indicators(btc_base_tf, metadata) dataframe = merge_informative_pair(dataframe, btc_base_tf, self.timeframe, self.timeframe, ffill=True) drop_columns = [f"{s}_{self.timeframe}" for s in ['date', 'open', 'high', 'low', 'close', 'volume']] dataframe.drop(columns=dataframe.columns.intersection(drop_columns), inplace=True) for val in self.base_nb_candles_buy.range: dataframe[f'ma_buy_{val}'] = ta.EMA(dataframe, timeperiod=val) for val in self.base_nb_candles_sell.range: dataframe[f'ma_sell_{val}'] = ta.EMA(dataframe, timeperiod=val) dataframe['hma_50'] = qtpylib.hull_moving_average(dataframe['close'], window=50) dataframe['sma_9'] = ta.SMA(dataframe, timeperiod=9) dataframe['EWO'] = EWO(dataframe, self.fast_ewo, self.slow_ewo) dataframe['rsi'] = ta.RSI(dataframe, timeperiod=14) dataframe['rsi_fast'] = ta.RSI(dataframe, timeperiod=4) dataframe['rsi_slow'] = ta.RSI(dataframe, timeperiod=20) dataframe['ema_14'] = ta.EMA(dataframe, timeperiod=14) dataframe['rsi_4'] = ta.RSI(dataframe, timeperiod=4) dataframe['rsi_14'] = ta.RSI(dataframe, timeperiod=14) dataframe['dema_30'] = ta.DEMA(dataframe, period=30) dataframe['dema_200'] = ta.DEMA(dataframe, period=200) dataframe['pump_strength'] = (dataframe['dema_30'] - dataframe['dema_200']) / dataframe['dema_30'] 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) dataframe['ema_8'] = ta.EMA(dataframe, timeperiod=8) dataframe = self.pump_dump_protection(dataframe, metadata) dataframe = super().populate_indicators(dataframe, metadata) dataframe['rsi'] = ta.RSI(dataframe, timeperiod=14) return dataframe def pump_dump_protection(self, dataframe: DataFrame, metadata: dict) -> DataFrame: df36h = dataframe.copy().shift( 432 ) # TODO FIXME: This assumes 5m timeframe df24h = dataframe.copy().shift( 288 ) # TODO FIXME: This assumes 5m timeframe dataframe['volume_mean_short'] = dataframe['volume'].rolling(4).mean() dataframe['volume_mean_long'] = df24h['volume'].rolling(48).mean() dataframe['volume_mean_base'] = df36h['volume'].rolling(288).mean() dataframe['volume_change_percentage'] = (dataframe['volume_mean_long'] / dataframe['volume_mean_base']) dataframe['rsi_mean'] = dataframe['rsi'].rolling(48).mean() dataframe['pnd_volume_warn'] = np.where((dataframe['volume_mean_short'] / dataframe['volume_mean_long'] > 5.0), -1, 0) return dataframe def custom_stoploss(self, pair: str, trade: 'Trade', current_time: datetime, current_rate: float, current_profit: float, **kwargs) -> float: 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 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 if sl_profit >= current_profit: return -0.99 return stoploss_from_open(sl_profit, current_profit) def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: conditions = [] dataframe.loc[:, 'enter_tag'] = '' dataframe.loc[:, 'enter_long'] = 0 lambo2 = ( bool(self.lambo2_enabled) & (dataframe['close'] < (dataframe['ema_14'] * self.lambo2_ema_14_factor.value)) & (dataframe['rsi_4'] < int(self.lambo2_rsi_4_limit.value)) & (dataframe['rsi_14'] < int(self.lambo2_rsi_14_limit.value)) ) dataframe.loc[lambo2, 'enter_tag'] += 'lambo2_' conditions.append(lambo2) ewo = ( (dataframe['rsi_fast'] < 35) & (dataframe['close'] < (dataframe[f'ma_buy_{self.base_nb_candles_buy.value}'] * self.low_offset_1.value)) & (dataframe['EWO'] > self.ewo_high.value) & (dataframe['rsi'] < self.rsi_buy.value) & (dataframe['volume'] > 0) & (dataframe['close'] < (dataframe[f'ma_sell_{self.base_nb_candles_sell.value}'] * self.high_offset_1.value)) ) dataframe.loc[ewo, 'enter_tag'] += 'eworsi_' conditions.append(ewo) ewo2 = ( (dataframe['rsi_fast'] < 35) & (dataframe['close'] < (dataframe[f'ma_buy_{self.base_nb_candles_buy.value}'] * self.low_offset_2.value)) & (dataframe['EWO'] < self.ewo_low.value) & (dataframe['volume'] > 0) & (dataframe['close'] < (dataframe[f'ma_sell_{self.base_nb_candles_sell.value}'] * self.high_offset_2.value)) ) dataframe.loc[ewo2, 'enter_tag'] += 'ewo2_' conditions.append(ewo2) 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) ) dataframe.loc[cofi, 'enter_tag'] += 'cofi_' conditions.append(cofi) if conditions: dataframe.loc[reduce(lambda x, y: x | y, conditions), 'enter_long'] = 1 dont_buy_conditions = [] dont_buy_conditions.append((dataframe['pnd_volume_warn'] < 0.0)) dont_buy_conditions.append((dataframe['btc_rsi_8_1h'] < 35.0)) if dont_buy_conditions: for condition in dont_buy_conditions: dataframe.loc[condition, 'enter_long'] = 0 return dataframe def adjust_trade_position(self, trade: Trade, current_time: datetime, current_rate: float, current_profit: float, min_stake: float, max_stake: float, **kwargs): if current_profit > self.initial_safety_order_trigger: return None dataframe, _ = self.dp.get_analyzed_dataframe(trade.pair, self.timeframe) last_candle = dataframe.iloc[-1].squeeze() previous_candle = dataframe.iloc[-2].squeeze() if last_candle['close'] < previous_candle['close']: return None count_of_buys = 0 for order in trade.orders: if order.ft_is_open or order.ft_order_side != 'enter_long': continue if order.status == "closed": count_of_buys += 1 if 1 <= count_of_buys <= self.max_safety_orders: safety_order_trigger = abs(self.initial_safety_order_trigger) + (abs(self.initial_safety_order_trigger) * self.safety_order_step_scale * (math.pow(self.safety_order_step_scale,(count_of_buys - 1)) - 1) / (self.safety_order_step_scale - 1)) if current_profit <= (-1 * abs(safety_order_trigger)): try: stake_amount = self.wallets.get_trade_stake_amount(trade.pair, None) stake_amount = stake_amount * math.pow(self.safety_order_volume_scale,(count_of_buys - 1)) amount = stake_amount / current_rate logger.info(f"Initiating safety order buy #{count_of_buys} for {trade.pair} with stake amount of {stake_amount} which equals {amount}") return stake_amount except Exception as exception: logger.info(f'Error occured while trying to get stake amount for {trade.pair}: {str(exception)}') return None return None def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe['exit_long'] = 0 dataframe['exit_tag'] = 'no_exit' # Default tag primary_condition = dataframe['volume'] > 0 condition_hma50_above = ( (dataframe['close'] > dataframe['hma_50']) & (dataframe['close'] > (dataframe[f'ma_sell_{self.base_nb_candles_sell.value}'] * self.high_offset_above.value)) & (dataframe['rsi'] > 50) & (dataframe['rsi_fast'] > dataframe['rsi_slow']) ) condition_hma50_below = ( (dataframe['close'] < dataframe['hma_50']) & (dataframe['close'] > (dataframe[f'ma_sell_{self.base_nb_candles_sell.value}'] * self.high_offset_below.value)) & (dataframe['rsi_fast'] > dataframe['rsi_slow']) ) combined_conditions_above = primary_condition & condition_hma50_above combined_conditions_below = primary_condition & condition_hma50_below dataframe.loc[combined_conditions_above, 'exit_long'] = 1 dataframe.loc[combined_conditions_below, 'exit_long'] = 1 dataframe.loc[combined_conditions_above, 'exit_tag'] = 'hma50_above' dataframe.loc[combined_conditions_below, 'exit_tag'] = 'hma50_below' return dataframe def confirm_trade_exit(self, pair: str, trade: Trade, order_type: str, amount: float, rate: float, time_in_force: str, exit_reason: str, current_time: datetime, **kwargs) -> bool: if trade and trade.exit_reason: trade.exit_reason = exit_reason + "_" + trade.enter_tag return True def custom_exit(self, pair: str, trade: 'Trade', current_time: 'datetime', current_rate: float, current_profit: float, **kwargs): time_held = current_time - trade.open_date_utc time_held_in_hours = time_held.total_seconds() / 3600 # Convert seconds to hours if current_profit < -0.04 and time_held_in_hours >= 6.5: return 'unclog' @property def protections(self): return [ { "method": "CooldownPeriod", "stop_duration_candles": 5 }, { "method": "MaxDrawdown", "lookback_period_candles": 48, "trade_limit": 20, "stop_duration_candles": 4, "max_allowed_drawdown": 0.2 }, { "method": "StoplossGuard", "lookback_period_candles": 24, "trade_limit": 4, "stop_duration_candles": 2, "only_per_pair": False }, { "method": "LowProfitPairs", "lookback_period_candles": 6, "trade_limit": 2, "stop_duration_candles": 60, "required_profit": 0.02 }, { "method": "LowProfitPairs", "lookback_period_candles": 24, "trade_limit": 4, "stop_duration_candles": 2, "required_profit": 0.01 } ] |
Strategy League — fixed backtest that feeds the ranking
Export report Freqtrade logsRun finished · took 619.6s
ℹ️ This strategy uses a trailing stop / 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 →
- profit isn't statistically significant (p=1.00) — hard to tell apart from luck
- only 0% of resampled runs were profitable
- profitable in only 28% of rolling 3-month windows
- did not beat simply holding the market
- very deep drawdown (-83%)
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 | 12 | -1.94 | -1.62 | 7 | 5 | 58.3 | -82.59 | 12h 02m |
| Nov 2025 | bearish trending high vol | 75 | -2.21 | -0.29 | 61 | 14 | 81.3 | -81.74 | 3h 05m |
| Oct 2025 | bearish trending low vol | 45 | -0.28 | -0.06 | 40 | 5 | 88.9 | -80.61 | 1h 28m |
| Sep 2025 | bullish choppy low vol | 10 | +1.05 | 1.05 | 10 | 0 | 100.0 | -80.54 | 2h 04m |
| Aug 2025 | bullish choppy low vol | 8 | -1.18 | -1.47 | 6 | 2 | 75.0 | -80.66 | 6h 18m |
| Jul 2025 | bullish choppy low vol | 34 | +0.75 | 0.22 | 30 | 4 | 88.2 | -80.26 | 2h 59m |
| Jun 2025 | bearish choppy low vol | 16 | -1.51 | -0.94 | 11 | 5 | 68.8 | -80.47 | 4h 07m |
| May 2025 | bullish trending low vol | 25 | -0.94 | -0.38 | 19 | 6 | 76.0 | -79.4 | 5h 32m |
| Apr 2025 | bullish choppy low vol | 24 | -0.17 | -0.07 | 19 | 5 | 79.2 | -79.65 | 5h 14m |
| Mar 2025 | bearish trending high vol | 38 | -2.90 | -0.76 | 30 | 8 | 78.9 | -78.85 | 3h 05m |
| Feb 2025 | bearish trending low vol | 60 | +0.19 | 0.03 | 50 | 10 | 83.3 | -77.09 | 4h 08m |
| Jan 2025 | bearish choppy low vol | 36 | +2.07 | 0.58 | 32 | 4 | 88.9 | -78.28 | 2h 49m |
| Dec 2024 | bullish trending low vol | 115 | -6.78 | -0.59 | 91 | 24 | 79.1 | -78.42 | 3h 10m |
| Nov 2024 | bullish trending low vol | 176 | +3.75 | 0.21 | 160 | 16 | 90.9 | -76.79 | 2h 08m |
| Oct 2024 | bullish choppy low vol | 18 | +0.99 | 0.55 | 17 | 1 | 94.4 | -77.2 | 2h 23m |
| Sep 2024 | bearish choppy low vol | 2 | +0.20 | 1.02 | 2 | 0 | 100.0 | -77.18 | 0h 45m |
| Aug 2024 | bearish choppy high vol | 27 | -2.12 | -0.78 | 18 | 9 | 66.7 | -77.26 | 6h 42m |
| Jul 2024 | bearish trending low vol | 15 | +0.11 | 0.07 | 12 | 3 | 80.0 | -76.31 | 6h 26m |
| Jun 2024 | bearish choppy low vol | 15 | -2.41 | -1.61 | 10 | 5 | 66.7 | -76.06 | 4h 20m |
| May 2024 | bullish choppy high vol | 10 | -1.73 | -1.73 | 5 | 5 | 50.0 | -74.62 | 13h 50m |
| Apr 2024 | bearish choppy high vol | 53 | -1.87 | -0.35 | 43 | 10 | 81.1 | -73.88 | 3h 40m |
| Mar 2024 | bullish trending high vol | 103 | -4.59 | -0.45 | 85 | 18 | 82.5 | -73.61 | 2h 26m |
| Feb 2024 | bullish trending low vol | 34 | +2.43 | 0.71 | 32 | 2 | 94.1 | -71.16 | 3h 46m |
| Jan 2024 | bearish choppy high vol | 76 | -1.59 | -0.21 | 62 | 14 | 81.6 | -71.51 | 4h 42m |
| Dec 2023 | bullish trending low vol | 83 | +1.22 | 0.15 | 73 | 10 | 88.0 | -71.16 | 3h 19m |
| Nov 2023 | bullish trending low vol | 71 | -2.03 | -0.29 | 57 | 14 | 80.3 | -71.42 | 3h 34m |
| Oct 2023 | bullish trending low vol | 26 | +3.26 | 1.25 | 26 | 0 | 100.0 | -71.67 | 5h 12m |
| Sep 2023 | bearish choppy low vol | 6 | -1.57 | -2.61 | 2 | 4 | 33.3 | -71.7 | 5h 37m |
| Aug 2023 | bearish choppy low vol | 18 | +0.18 | 0.10 | 15 | 3 | 83.3 | -71.28 | 6h 09m |
| Jul 2023 | bullish trending low vol | 27 | +0.24 | 0.09 | 22 | 5 | 81.5 | -71.08 | 8h 47m |
| Jun 2023 | bullish trending low vol | 50 | +2.28 | 0.46 | 47 | 3 | 94.0 | -72.97 | 3h 31m |
| May 2023 | bearish choppy low vol | 5 | +0.77 | 1.55 | 5 | 0 | 100.0 | -72.79 | 1h 24m |
| Apr 2023 | bullish trending low vol | 22 | -0.59 | -0.27 | 17 | 5 | 77.3 | -72.9 | 9h 06m |
| Mar 2023 | bullish trending high vol | 63 | +0.09 | 0.01 | 52 | 11 | 82.5 | -73.73 | 5h 22m |
| Feb 2023 | bullish trending low vol | 33 | +1.04 | 0.32 | 28 | 5 | 84.8 | -73.34 | 3h 41m |
| Jan 2023 | bullish trending low vol | 84 | +2.01 | 0.24 | 74 | 10 | 88.1 | -74.34 | 4h 15m |
| Dec 2022 | bearish trending low vol | 5 | +0.53 | 1.06 | 5 | 0 | 100.0 | -74.62 | 3h 58m |
| Nov 2022 | bearish trending high vol | 97 | -13.60 | -1.40 | 73 | 24 | 75.3 | -74.69 | 4h 12m |
| Oct 2022 | bullish choppy low vol | 32 | -0.26 | -0.08 | 27 | 5 | 84.4 | -66.7 | 2h 39m |
| Sep 2022 | bearish choppy high vol | 57 | -6.67 | -1.17 | 39 | 18 | 68.4 | -67.1 | 7h 39m |
| Aug 2022 | bullish choppy high vol | 83 | -3.55 | -0.43 | 63 | 20 | 75.9 | -62.62 | 4h 18m |
| Jul 2022 | bearish trending high vol | 105 | -1.73 | -0.17 | 85 | 20 | 81.0 | -60.88 | 3h 24m |
| Jun 2022 | bearish trending high vol | 193 | -15.96 | -0.83 | 144 | 49 | 74.6 | -59.3 | 3h 24m |
| May 2022 | bearish trending high vol | 273 | -11.57 | -0.42 | 231 | 42 | 84.6 | -52.37 | 2h 39m |
| Apr 2022 | bearish choppy high vol | 17 | +1.22 | 0.72 | 16 | 1 | 94.1 | -43.6 | 4h 30m |
| Mar 2022 | bullish choppy high vol | 55 | +3.54 | 0.64 | 53 | 2 | 96.4 | -45.63 | 1h 41m |
| Feb 2022 | bearish trending high vol | 73 | -1.18 | -0.16 | 60 | 13 | 82.2 | -46.14 | 3h 25m |
| Jan 2022 | bearish trending high vol | 123 | -17.95 | -1.46 | 81 | 42 | 65.9 | -45.64 | 4h 26m |
| Dec 2021 | bearish trending high vol | 109 | +3.09 | 0.28 | 92 | 17 | 84.4 | -36.13 | 2h 54m |
| Nov 2021 | bullish trending high vol | 54 | -4.96 | -0.92 | 38 | 16 | 70.4 | -36.6 | 4h 27m |
| Oct 2021 | bullish trending high vol | 79 | +1.53 | 0.19 | 72 | 7 | 91.1 | -34.09 | 2h 30m |
| Sep 2021 | bearish trending high vol | 215 | -14.52 | -0.68 | 176 | 39 | 81.9 | -34.38 | 2h 34m |
| Aug 2021 | bullish trending high vol | 160 | +5.39 | 0.34 | 143 | 17 | 89.4 | -28.64 | 2h 42m |
| Jul 2021 | bearish trending high vol | 139 | -8.81 | -0.63 | 102 | 37 | 73.4 | -30.01 | 5h 01m |
| Jun 2021 | bearish trending high vol | 251 | -18.59 | -0.74 | 206 | 45 | 82.1 | -24.85 | 3h 02m |
| May 2021 | bearish trending high vol | 904 | -9.62 | -0.11 | 807 | 97 | 89.3 | -16.04 | 1h 49m |
| Apr 2021 | bearish choppy high vol | 461 | +8.77 | 0.19 | 422 | 39 | 91.5 | -5.14 | 1h 35m |
| Mar 2021 | bullish choppy high vol | 227 | +10.31 | 0.45 | 211 | 16 | 93.0 | -4.17 | 2h 37m |
| Feb 2021 | bullish trending high vol | 735 | +10.44 | 0.14 | 673 | 62 | 91.6 | -6.29 | 1h 31m |
| Jan 2021 | bullish trending high vol | 758 | +27.16 | 0.36 | 705 | 53 | 93.0 | -6.37 | 1h 26m |
Yearly breakdown
| Year | Trades | Profit % | Avg % | Win | Loss | Win % | DD % | Avg dur |
|---|---|---|---|---|---|---|---|---|
| 2025 | 383 | -7.07 | -0.18 | 315 | 68 | 82.2 | -82.59 | 3h 41m |
| 2024 | 644 | -13.61 | -0.21 | 537 | 107 | 83.4 | -78.42 | 3h 25m |
| 2023 | 488 | +6.90 | 0.14 | 418 | 70 | 85.7 | -74.34 | 4h 36m |
| 2022 | 1113 | -67.18 | -0.60 | 877 | 236 | 78.8 | -74.69 | 3h 36m |
| 2021 | 4092 | +10.19 | 0.02 | 3647 | 445 | 89.1 | -36.6 | 2h 03m |
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 · 4 thing(s) worth reviewing before trusting the numbers
| Line | Pattern | Detail | |
|---|---|---|---|
| 100 | review | startup_candles_too_small | startup_candle_count is 400, but DEMA(period=200) needing 3x warmup needs at least 600 candles -- so the first 200+ 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 |
| 305 | review | dead_callback | custom_stoploss() is defined but use_custom_stoploss isn't True, and freqtrade only calls it when that flag is set -- the method never runs and every trade uses the static stoploss |
| 393 | review | dead_callback | adjust_trade_position() is defined but position_adjustment_enable isn't True -- freqtrade never calls it, so the DCA/pyramiding logic here does nothing and every trade stays at its initial stake |
| 332 | review | enter_tag_overwrite | enter_tag/exit_tag is written by 3 separate assignments -- they share one column and run in source order, so a row matching more than one condition keeps only the LAST tag. Per-tag statistics won't mean what they appear to |
ran by Ron · took s
Lookahead analysis
freqtrade lookahead-analysis: detects strategies peeking at future candles.