Performance Metrics
Profit Factor
${(m.profitFactor || 0).toFixed(2)}
Win Rate
${(m.winRate || 0).toFixed(1)}%
Total Trades
${m.totalTrades || 0}
BUY Trades
${m.buyTrades || 0}
SELL Trades
${m.sellTrades || 0}
Max Drawdown
${(m.maxDrawdown || 0).toFixed(2)}%
Total Profit
$${(m.totalProfit || 0).toFixed(2)}
Avg Win
$${(m.avgWin || 0).toFixed(2)}
Avg Loss
$${Math.abs(m.avgLoss || 0).toFixed(2)}
${m.hourlyStats ? `
` : ''}
${m.bestHour && m.worstHour ? `
Time-Based Performance
Best Trading Hour
${String(m.bestHour.hour).padStart(2, '0')}:00
$${m.bestHour.profit.toFixed(2)}
Worst Trading Hour
${String(m.worstHour.hour).padStart(2, '0')}:00
$${m.worstHour.profit.toFixed(2)}
` : ''}
Strategy Rules
BUY when ALL of the following conditions are true:
${buyRulesHTML}
SELL when ALL of the following conditions are true:
${sellRulesHTML}
Parameters
ATR Period: ${strategy.atrPeriod}
SL Multiplier: ${strategy.slMultiplier.toFixed(2)}
TP Multiplier: ${strategy.tpMultiplier.toFixed(2)}
${hourlyStatsHTML ? `
Hourly Performance Analysis
| Hour |
Trades |
Wins |
Losses |
Profit/Loss |
Win Rate |
${hourlyStatsHTML}
` : ''}
Complete Trading Statement
| # |
Type |
Open Time |
Close Time |
Entry |
Exit |
Profit/Loss |
Exit Reason |
${tradesHTML}