import type { Metadata } from "next"; import Link from "next/link"; export const metadata: Metadata = { title: "Backtest Results", description: "ARES backtest results: M5 Momentum FVG scalper on XAUUSDm. Best run: PF 1.42, +43.2% net return, −11.5% max drawdown.", }; const results = [ { period: "1 Month", tf: "M5", risk: "1%", trades: 159, wr: 55.3, pf: 1.42, ret: 43.2, dd: -11.5, highlight: true }, { period: "1 Month", tf: "M5", risk: "5%", trades: 159, wr: 55.3, pf: 1.26, ret: 390, dd: -156, highlight: false }, { period: "1 Week", tf: "M5", risk: "1%", trades: 34, wr: 47.1, pf: 0.94, ret: -6.2, dd: -8.1, highlight: false }, { period: "Yesterday", tf: "M1", risk: "1%", trades: 36, wr: 47.2, pf: 1.05, ret: 6.6, dd: -51, highlight: false }, { period: "Yesterday", tf: "M5", risk: "1%", trades: 3, wr: 66.7, pf: null, ret: null, dd: null, highlight: false, note: "Too few trades" }, ]; const params = [ ["Timeframe", "M5"], ["Symbol", "XAUUSDm"], ["EMA Period", "20"], ["Min FVG Pips", "3"], ["Min SL Pips", "5"], ["Min RR", "1.5×"], ["FVG Expiry", "10 candles"], ["Body PCT Min", "60%"], ["Close PCT Min", "80%"], ]; export default function BacktestPage() { return ( <>

Quantitative Analysis

Backtest Results

Historical simulation on real MT5 tick data. Includes spread costs, commission, and slippage.

{/* Highlight */}
Recommended

M5 · 1 Month · 1% Risk

XAUUSDm · Exness Demo

View Live Trades →
{[ { label: "Profit Factor", value: "1.42", note: "> 1.3 = good" }, { label: "Net Return", value: "+43.2%", note: "on $600 balance" }, { label: "Max Drawdown", value: "−11.5%", note: "manageable" }, { label: "Win Rate", value: "55.3%", note: "159 trades" }, ].map(({ label, value, note }) => (

{label}

{value}

{note}

))}
{/* Results table */}

All Runs

{["Period", "TF", "Risk", "Trades", "Win Rate", "Profit Factor", "Return", "Max DD", ""].map(h => ( ))} {results.map((r, i) => ( ))}
{h}
{r.period} {r.tf} {r.risk} {r.trades} {r.wr.toFixed(1)}% {r.pf != null ? = 1.3 ? "text-bull" : r.pf < 1 ? "text-bear" : "text-ink-md"}>{r.pf.toFixed(2)} : } {r.ret != null ? = 0 ? "text-bull" : "text-bear"}>{r.ret >= 0 ? "+" : ""}{r.ret.toFixed(1)}% : } {r.dd != null ? 30 ? "text-bear" : Math.abs(r.dd) > 15 ? "text-amber-400" : "text-ink-md"}>{r.dd.toFixed(1)}% : } {r.note ?? ""}
{/* Params + How it works */}

Parameters

{params.map(([k, v]) => (
{k}
{v}
))}

How It Works

    {[ ["Detect Impulse", "3-candle momentum: body ≥ 60% of range, close in top/bottom 20%."], ["Find FVG", "Measure gap between candle 1 high and candle 3 low (bull) or reverse."], ["EMA Filter", "Long only above EMA-20, short only below. Strict trend confirmation."], ["Place Limit", "Set limit at FVG midpoint. Auto-cancel after 10 candles if unfilled."], ["Manage Risk", "SL at FVG boundary, TP at ≥ 1.5× RR, size at exactly 1% risk."], ].map(([title, desc], i) => (
  1. {i + 1}

    {title}

    {desc}

  2. ))}
{/* Disclaimer */}

Disclaimer — Backtests simulate on historical data and do not account for requotes, broker restrictions, or changing market regimes. Past results do not guarantee future performance. For informational purposes only.

); }