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 | # for live trailing_stop = False and use_custom_stoploss = True # for backtest trailing_stop = True and use_custom_stoploss = False # --- Do not remove these libs --- 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, DecimalParameter, IntParameter, CategoricalParameter import technical.indicators as ftt # @Rallipanos # Buy hyperspace params: entry_params = {'base_nb_candles_entry': 14, 'ewo_high': 2.327, 'ewo_low': -19.988, 'low_offset': 0.975, 'rsi_entry': 69} # Sell hyperspace params: exit_params = {'base_nb_candles_exit': 24, 'high_offset': 0.991, 'high_offset_2': 0.997} 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['close'] * 100 return emadif class Elliotv8(IStrategy): INTERFACE_VERSION = 3 # ROI table: minimal_roi = {'0': 0.215, '40': 0.032, '87': 0.016, '201': 0} # Stoploss: stoploss = -0.32 # SMAOffset base_nb_candles_entry = IntParameter(5, 80, default=entry_params['base_nb_candles_entry'], space='entry', optimize=True) base_nb_candles_exit = IntParameter(5, 80, default=exit_params['base_nb_candles_exit'], space='exit', optimize=True) low_offset = DecimalParameter(0.9, 0.99, default=entry_params['low_offset'], space='entry', optimize=True) high_offset = DecimalParameter(0.95, 1.1, default=exit_params['high_offset'], space='exit', optimize=True) high_offset_2 = DecimalParameter(0.99, 1.5, default=exit_params['high_offset_2'], space='exit', optimize=True) # Protection fast_ewo = 50 slow_ewo = 200 ewo_low = DecimalParameter(-20.0, -8.0, default=entry_params['ewo_low'], space='entry', optimize=True) ewo_high = DecimalParameter(2.0, 12.0, default=entry_params['ewo_high'], space='entry', optimize=True) rsi_entry = IntParameter(30, 70, default=entry_params['rsi_entry'], space='entry', optimize=True) # Trailing stop: trailing_stop = True trailing_stop_positive = 0.001 trailing_stop_positive_offset = 0.02 trailing_only_offset_is_reached = True # Sell signal use_exit_signal = True exit_profit_only = False exit_profit_offset = 0.01 ignore_roi_if_entry_signal = False ## Optional order time in force. order_time_in_force = {'entry': 'gtc', 'exit': 'ioc'} # Optimal timeframe for the strategy timeframe = '5m' inf_1h = '1h' process_only_new_candles = True startup_candle_count = 400 plot_config = {'main_plot': {'ma_entry': {'color': 'orange'}, 'ma_exit': {'color': 'orange'}}} def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: # Calculate all ma_entry values for val in self.base_nb_candles_entry.range: dataframe[f'ma_entry_{val}'] = ta.EMA(dataframe, timeperiod=val) # Calculate all ma_exit values for val in self.base_nb_candles_exit.range: dataframe[f'ma_exit_{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) # Elliot dataframe['EWO'] = EWO(dataframe, self.fast_ewo, self.slow_ewo) # RSI dataframe['rsi'] = ta.RSI(dataframe, timeperiod=14) dataframe['rsi_fast'] = ta.RSI(dataframe, timeperiod=4) dataframe['rsi_slow'] = ta.RSI(dataframe, timeperiod=20) return dataframe def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: conditions = [] conditions.append((dataframe['rsi_fast'] < 35) & (dataframe['close'] < dataframe[f'ma_entry_{self.base_nb_candles_entry.value}'] * self.low_offset.value) & (dataframe['EWO'] > self.ewo_high.value) & (dataframe['rsi'] < self.rsi_entry.value) & (dataframe['volume'] > 0) & (dataframe['close'] < dataframe[f'ma_exit_{self.base_nb_candles_exit.value}'] * self.high_offset.value)) conditions.append((dataframe['rsi_fast'] < 35) & (dataframe['close'] < dataframe[f'ma_entry_{self.base_nb_candles_entry.value}'] * self.low_offset.value) & (dataframe['EWO'] < self.ewo_low.value) & (dataframe['volume'] > 0) & (dataframe['close'] < dataframe[f'ma_exit_{self.base_nb_candles_exit.value}'] * self.high_offset.value)) 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['hma_50']) & (dataframe['close'] > dataframe[f'ma_exit_{self.base_nb_candles_exit.value}'] * self.high_offset_2.value) & (dataframe['rsi'] > 50) & (dataframe['volume'] > 0) & (dataframe['rsi_fast'] > dataframe['rsi_slow']) | (dataframe['close'] < dataframe['hma_50']) & (dataframe['close'] > dataframe[f'ma_exit_{self.base_nb_candles_exit.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 279.4s
ℹ️ This strategy uses a trailing stop — 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 94% 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 |
|---|---|---|---|---|---|---|---|---|---|
| Nov 2025 | bearish trending high vol | 49 | +3.01 | 0.61 | 38 | 11 | 77.6 | -0.4 | 0h 51m |
| Oct 2025 | bearish trending low vol | 29 | +10.27 | 3.54 | 25 | 4 | 86.2 | -0.13 | 0h 37m |
| Sep 2025 | bullish choppy low vol | 12 | -0.13 | -0.11 | 5 | 7 | 41.7 | -0.1 | 1h 20m |
| Aug 2025 | bullish choppy low vol | 1 | +0.07 | 0.75 | 1 | 0 | 100.0 | 0.0 | 0h 35m |
| Jul 2025 | bullish choppy low vol | 9 | +0.53 | 0.59 | 6 | 3 | 66.7 | -0.11 | 0h 50m |
| Jun 2025 | bearish choppy low vol | 4 | -0.08 | -0.20 | 2 | 2 | 50.0 | -0.2 | 0h 58m |
| May 2025 | bullish trending low vol | 7 | +1.20 | 1.71 | 6 | 1 | 85.7 | -0.41 | 0h 29m |
| Apr 2025 | bullish choppy low vol | 3 | +0.01 | 0.02 | 2 | 1 | 66.7 | -0.57 | 1h 02m |
| Mar 2025 | bearish trending high vol | 6 | +0.11 | 0.19 | 4 | 2 | 66.7 | -0.52 | 1h 20m |
| Feb 2025 | bearish trending low vol | 2 | -0.29 | -1.44 | 1 | 1 | 50.0 | -0.53 | 1h 45m |
| Jan 2025 | bearish choppy low vol | 9 | +0.16 | 0.18 | 6 | 3 | 66.7 | -0.56 | 1h 09m |
| Dec 2024 | bullish trending low vol | 45 | +1.01 | 0.22 | 27 | 18 | 60.0 | -0.54 | 1h 03m |
| Nov 2024 | bullish trending low vol | 126 | +7.94 | 0.63 | 84 | 42 | 66.7 | -0.5 | 0h 49m |
| Oct 2024 | bullish choppy low vol | 1 | -0.01 | -0.06 | 0 | 1 | 0.0 | -0.23 | 1h 05m |
| Jul 2024 | bearish trending low vol | 6 | +1.19 | 1.99 | 6 | 0 | 100.0 | -0.54 | 0h 11m |
| Jun 2024 | bearish choppy low vol | 3 | +0.39 | 1.29 | 2 | 1 | 66.7 | -0.7 | 1h 27m |
| May 2024 | bullish choppy high vol | 1 | +0.16 | 1.57 | 1 | 0 | 100.0 | -0.76 | 0h 40m |
| Apr 2024 | bearish choppy high vol | 3 | -1.79 | -5.97 | 2 | 1 | 66.7 | -0.81 | 1h 52m |
| Mar 2024 | bullish trending high vol | 23 | +2.96 | 1.29 | 20 | 3 | 87.0 | -0.21 | 0h 40m |
| Feb 2024 | bullish trending low vol | 12 | +1.63 | 1.36 | 10 | 2 | 83.3 | -0.08 | 0h 39m |
| Jan 2024 | bearish choppy high vol | 23 | +2.03 | 0.88 | 17 | 6 | 73.9 | -0.15 | 0h 47m |
| Dec 2023 | bullish trending low vol | 39 | +2.78 | 0.71 | 30 | 9 | 76.9 | -0.25 | 0h 45m |
| Nov 2023 | bullish trending low vol | 16 | +0.44 | 0.27 | 9 | 7 | 56.2 | -0.12 | 0h 47m |
| Oct 2023 | bullish trending low vol | 6 | +0.48 | 0.79 | 3 | 3 | 50.0 | -0.05 | 0h 42m |
| Sep 2023 | bearish choppy low vol | 2 | +0.22 | 1.11 | 2 | 0 | 100.0 | 0.0 | 1h 08m |
| Aug 2023 | bearish choppy low vol | 7 | +0.74 | 1.05 | 6 | 1 | 85.7 | -0.02 | 0h 34m |
| Jul 2023 | bullish trending low vol | 17 | +1.45 | 0.85 | 12 | 5 | 70.6 | -0.19 | 0h 54m |
| Jun 2023 | bullish trending low vol | 22 | +1.85 | 0.84 | 14 | 8 | 63.6 | -0.25 | 0h 57m |
| May 2023 | bearish choppy low vol | 1 | +0.20 | 2.01 | 1 | 0 | 100.0 | 0.0 | 0h 25m |
| Apr 2023 | bullish trending low vol | 4 | +0.08 | 0.20 | 2 | 2 | 50.0 | -0.05 | 1h 25m |
| Mar 2023 | bullish trending high vol | 15 | +2.45 | 1.63 | 15 | 0 | 100.0 | -0.06 | 0h 31m |
| Feb 2023 | bullish trending low vol | 7 | -0.09 | -0.12 | 5 | 2 | 71.4 | -0.21 | 1h 10m |
| Jan 2023 | bullish trending low vol | 40 | +0.84 | 0.21 | 25 | 15 | 62.5 | -0.4 | 1h 04m |
| Nov 2022 | bearish trending high vol | 33 | +1.03 | 0.31 | 21 | 12 | 63.6 | -0.72 | 1h 07m |
| Oct 2022 | bullish choppy low vol | 14 | +1.19 | 0.85 | 10 | 4 | 71.4 | -0.04 | 0h 34m |
| Sep 2022 | bearish choppy high vol | 6 | +0.13 | 0.22 | 4 | 2 | 66.7 | -0.09 | 0h 58m |
| Aug 2022 | bullish choppy high vol | 11 | +1.99 | 1.81 | 9 | 2 | 81.8 | -0.09 | 0h 32m |
| Jul 2022 | bearish trending high vol | 29 | +2.43 | 0.84 | 21 | 8 | 72.4 | -0.26 | 0h 48m |
| Jun 2022 | bearish trending high vol | 30 | +1.77 | 0.59 | 20 | 10 | 66.7 | -0.51 | 1h 01m |
| May 2022 | bearish trending high vol | 34 | +2.05 | 0.60 | 23 | 11 | 67.6 | -0.41 | 1h 03m |
| Apr 2022 | bearish choppy high vol | 6 | -0.59 | -0.98 | 4 | 2 | 66.7 | -0.28 | 1h 42m |
| Mar 2022 | bullish choppy high vol | 10 | +1.31 | 1.31 | 9 | 1 | 90.0 | -0.02 | 0h 28m |
| Feb 2022 | bearish trending high vol | 17 | +3.52 | 2.07 | 14 | 3 | 82.4 | -0.11 | 0h 35m |
| Jan 2022 | bearish trending high vol | 5 | +0.67 | 1.33 | 5 | 0 | 100.0 | -0.01 | 0h 32m |
| Dec 2021 | bearish trending high vol | 15 | +1.33 | 0.89 | 10 | 5 | 66.7 | -0.09 | 0h 45m |
| Nov 2021 | bullish trending high vol | 12 | +0.98 | 0.82 | 10 | 2 | 83.3 | -0.18 | 0h 54m |
| Oct 2021 | bullish trending high vol | 20 | +2.05 | 1.03 | 16 | 4 | 80.0 | -0.37 | 0h 40m |
| Sep 2021 | bearish trending high vol | 59 | +6.69 | 1.14 | 48 | 11 | 81.4 | -0.37 | 0h 36m |
| Aug 2021 | bullish trending high vol | 40 | +2.10 | 0.53 | 30 | 10 | 75.0 | -0.48 | 0h 54m |
| Jul 2021 | bearish trending high vol | 28 | -0.31 | -0.11 | 17 | 11 | 60.7 | -0.71 | 1h 16m |
| Jun 2021 | bearish trending high vol | 33 | +3.42 | 1.04 | 27 | 6 | 81.8 | -0.18 | 0h 45m |
| May 2021 | bearish trending high vol | 307 | +51.53 | 1.68 | 249 | 58 | 81.1 | -0.79 | 0h 35m |
| Apr 2021 | bearish choppy high vol | 192 | +23.56 | 1.23 | 154 | 38 | 80.2 | -0.54 | 0h 31m |
| Mar 2021 | bullish choppy high vol | 73 | +8.41 | 1.15 | 58 | 15 | 79.5 | -0.47 | 0h 37m |
| Feb 2021 | bullish trending high vol | 277 | +23.64 | 0.85 | 227 | 50 | 81.9 | -2.88 | 0h 39m |
| Jan 2021 | bullish trending high vol | 365 | +41.30 | 1.13 | 294 | 71 | 80.5 | -2.39 | 0h 34m |
Yearly breakdown
| Year | Trades | Profit % | Avg % | Win | Loss | Win % | DD % | Avg dur |
|---|---|---|---|---|---|---|---|---|
| 2025 | 131 | +14.86 | 1.13 | 96 | 35 | 73.3 | -0.57 | 0h 53m |
| 2024 | 243 | +15.51 | 0.64 | 169 | 74 | 69.5 | -0.81 | 0h 50m |
| 2023 | 176 | +11.44 | 0.65 | 124 | 52 | 70.5 | -0.4 | 0h 52m |
| 2022 | 195 | +15.50 | 0.79 | 140 | 55 | 71.8 | -0.72 | 0h 53m |
| 2021 | 1421 | +164.70 | 1.16 | 1140 | 281 | 80.2 | -2.88 | 0h 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-bias patterns detected
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 25.0s