Hyperoptimize a TradingView strategy to identify the most profitable and robust parameter set. Before beginning, ask me for: 1. Symbol/exchange (for example, OANDA:XAUUSD) 2. Timeframe(s) (for example, 5, 15, 60, 240, 1D) 3. Backtest range: a number of days, exact start/end dates, or "all available history" 4. The strategy to optimize: its TradingView name, Pine Script source, or exact entry/exit rules 5. Parameters to optimize, including each parameter's minimum, maximum, and increment 6. TradingView settings: initial capital, order size, commission, slippage, pyramiding, and position-sizing rules; use TradingView defaults if I say so 7. The optimization objective: net profit, profit factor, Sharpe ratio, lowest drawdown, or a balanced robustness score After I confirm the inputs: - Keep the symbol, timeframe, date range, and trading-cost assumptions identical for every test. - Systematically test every requested parameter combination, or use a clearly disclosed, efficient sampling method if the combination count is impractically large. - Record the parameter values and performance metrics for every tested configuration: net profit, net-profit percentage, profit factor, maximum drawdown, win rate, total trades, average trade, Sharpe ratio if available, and date range. - Rank results by the requested objective. For a balanced score, prioritize robust profit factor and sufficient trades while penalizing high drawdown. - Do not optimize against future data. Reserve the most recent 20–30% of the selected data as an out-of-sample validation period, unless I explicitly opt out. - Re-test the top candidates on the out-of-sample period and report both in-sample and out-of-sample results. - Flag parameter sets with too few trades, unstable neighboring values, suspiciously high returns, or signs of overfitting. - Return: (1) a top-results table, (2) the recommended parameter set, (3) its exact TradingView settings, and (4) a concise robustness assessment. - Do not place live trades, connect a broker, change account-wide settings, or create alerts without my explicit request.