---
name: mlp-results
description: Print a backtest results table for all MLP timeframes (PnL %, Max DD %, Win Rate) for quick comparison against TradingView's Strategy Tester.
---

Run the MLP backtest table tool and display the results.

```bash
source .venv/bin/activate && python3 tools/mlp_results_table.py $SKILL_ARGS
```

After printing the table:

1. **Recommend one TF for production** in bold, chosen by best risk-adjusted IS performance (highest Calmar = annualised return / Max DD), breaking ties with win rate and OOS sign. State the reasoning in one sentence.

2. Briefly note:
   - Which TFs have data / winner CSVs available
   - Any TFs that were skipped (missing data file or winner CSV)
   - Remind the user they can pass `--tfs 4H 8H` to filter timeframes

The table columns map directly to TradingView Strategy Tester:
- **PnL %** → "Net Profit"
- **Max DD %** → "Max Drawdown"
- **Win Rate** → "Percent Profitable (wins/total)"
