DUCKQUANT / THE QUANT & AI DIRECTORY

Strategy001 — daily signal variant

Public rule reference · Heikin-Ashi trend

Published variant · Freqtrade · source checked 2026-10-25

Strategy research profile

Strategy overview

Moving-average crossings are combined with Heikin-Ashi candle direction. The source's unusual bullish EMA50/100 crossing in the exit is retained, so the exit is not silently rewritten as a conventional bearish crossover.

Strategy style
Trend following
Rule family
Heikin-Ashi trend
Source platform
Freqtrade
Source attribution
Gerald Lonlas
Source example / declared timeframe
5m
Benchmark timeframe
1D · completed bars
Primary tested assets
Bitcoin · GLD gold ETF · QQQ Nasdaq-100 ETF
Supplementary asset
Ethereum · Binance spot
Direction / sizing
Long / cash · all available cash at entry
Evaluation window
2024-01-01 → 2025-12-31
Indicator warm-up
Crypto 2022–2023; ETFs Jun 2021–2023
Execution
Next daily open · fractional units
Initial capital
10,000 quote units · USD or USDT

Source attribution and native timeframe are transcribed only from hash-matched reviewed source text. These are source example/declaration values, not verified authorship or the timeframe of this benchmark.

Theoretical basis

Persistent directional movement can keep a smoothed trend state aligned with price. Smoothing reduces short-term variation but delays both entry and exit.

Market-regime hypothesis

Sustained directional moves with limited back-and-forth crossing.

DuckQuant editorial interpretation of the rule. These mechanisms and regime expectations are hypotheses, not independently established explanations of the measured returns.

Risks and failure modes

Sideways whipsaws, late reversals and overnight gaps can erode a lagging trend filter.

  • A retrospective two-year window and ETF proxy choices do not establish general robustness.
  • Daily-open fills omit order-book depth, lot constraints, taxes and intrabar stop behavior.
  • Related rules and identical execution paths are not independent evidence.

Exact rule

EMA20 crosses EMA50 up, HA close>EMA20 and HA candle green enters; EMA50 crosses EMA100 up with HA close<EMA20 and HA red exits, preserving source condition.

Indicators and rule tokens

EMA20EMA50EMA100

All thresholds, lookbacks and timing conventions are specified in the exact rule above and the downloadable adapter. Source platform settings do not override this frozen benchmark rule.

Original source

View original public source ↗

Reviewed source SHA256: 2357996e6594458e8db45b5f757918462afa3c998de9d06e2af0c009ddc4b80d

Reading and theoretical references

Adaptation and interpretation

Daily closed-bar signals, next-open all-in long/cash, fixed fees/slippage. Short entries become cash. Source risk sizing, intraday orders, ROI, TP/SL, trailing stops, pyramiding, sessions and protections are NOT native replicas unless explicitly implemented in the stated rule. Source conflict signals resolve to cash. Common indicators are not certified TA-Lib/Pine identical. Uses declaration defaults unless rule explicitly states published buy_params/sell_params. Some source parameters were previously optimized by their author; this is retrospective evidence, not an independently sealed test.

These are normalized daily long/cash rule tests. They do not reproduce every original platform order, risk control or indicator initialization. Indicator-rule references are explicit interpretations of teaching documentation, rather than complete original published systems.

Standardized backtest results

2024-01-01 → 2025-12-31 · crypto 2022–2023 / ETF Jun 2021–2023 warm-up · 10,000 quote units initial capital · 10 bps fee + 5 bps adverse slippage per side · completed-bar signals, next-open execution.

Strategy001 — daily signal variant — actual Bitcoin, gold ETF and Nasdaq-100 ETF backtest report, equity, drawdown and monthly returns
Actual browser capture of the DuckQuant standardized backtest report · captured 2026-10-25. Teal equity is the strategy; dashed equity is same-asset buy and hold with the same modeled costs. Monthly cells follow the continuous account; annual subtests restart cash. This is our measured report, not an original-platform screenshot. Open the image for full-resolution inspection. Download this report's data.
Asset cohorts rank independently by net daily Sharpe. Annual subtests restart in cash; cost stress doubles fees and slippage.
AssetRank / 100Net returnCAGRMax drawdownSharpeOrders2024 restarted return2025 restarted returnDouble-cost return
BTCUSDT15106.67%43.69%-32.02%1.002120.64%-6.62%106.05%
GLD4106.40%43.59%-10.13%2.16226.10%61.79%105.78%
QQQ1652.30%23.38%-22.63%1.12226.29%19.63%51.85%
ETHUSDT3529.84%13.93%-63.75%0.53245.84%-11.24%29.45%

BTCUSDT: low activity, fewer than ten orders in the evaluation period.

BTCUSDT executed targets match these versions during this period:

Matching paths are not independent performance evidence and need not imply identical rules outside this sample.

GLD: low activity, fewer than ten orders in the evaluation period.

GLD executed targets match these versions during this period:

Matching paths are not independent performance evidence and need not imply identical rules outside this sample.

QQQ: low activity, fewer than ten orders in the evaluation period.

QQQ executed targets match these versions during this period:

Matching paths are not independent performance evidence and need not imply identical rules outside this sample.

ETHUSDT: low activity, fewer than ten orders in the evaluation period.

ETHUSDT executed targets match these versions during this period:

Matching paths are not independent performance evidence and need not imply identical rules outside this sample.

Additional measured diagnostics

AssetAnnualized volatilitySortinoCalmarvs buy & hold (pp)Double-cost drag (pp)Longest underwater (days)
BTCUSDT47.75%1.531.360.000.62237
GLD17.60%3.204.300.000.6291
QQQ20.82%1.651.030.000.45124
ETHUSDT70.03%0.810.220.000.39515
Metric definitions and unavailable statistics
annualized volatility
Sample standard deviation of daily equity returns, including initial cash, multiplied by sqrt(365) for crypto or sqrt(252) for ETFs.
sortino
Mean daily return / sqrt(mean(min(return,0)^2)) × sqrt(asset annualization sessions); minimum acceptable daily return 0; N/A without downside.
calmar
Evaluation CAGR / absolute evaluation maximum drawdown; N/A with zero drawdown.
relative return pp
Strategy total net return minus same-asset buy-and-hold total net return, in percentage points; not factor-adjusted alpha.
cost drag pp
Base net return minus doubled-cost net return, in percentage points.
longest underwater days
Longest observed calendar duration from a daily equity peak until a later below-peak close, including initial cash. Unrecovered runs are censored at sample end; closed-market days between observations count as calendar time.
monthly returns
Continuous account month-end equity change from preceding month-end (initial cash for first month); differs from yearly cash-restart subtests.

Orders are entry/exit operations. Round-trip win rate, profit factor and trade-level holding periods are not available in the stored run and are not estimated.

Primary coverage: BTCUSDT, GLD gold ETF and QQQ Nasdaq-100 ETF; ETH is supplementary. ETF prices are raw traded USD OHLCV. Dividend entitlements accrue for prior-close holders and settle on official payment dates; paid dividends remain cash until a later entry, with no automatic reinvestment. Sharpe uses 252 ETF sessions or 365 crypto days. CAGR uses 731 calendar days. Gold spot and the Nasdaq-100 index are represented by traded proxies; USD and USDT are not FX-normalized.

Retrospective historical comparison; no sealed out-of-sample validation or future return claim. Read the complete evaluation protocol.

Data and reproduction

GLD gold ETF results · QQQ Nasdaq-100 ETF results · Asset definitions and data conventions

BTC daily equity JSON · ETH daily equity JSON · Source registry · Download engine, data and tests

Strategy identifier: community-freq-strategy001

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.