Turn my trading-strategy description into a Pine Script strategy and backtest it in TradingView. Before writing code, 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. My complete strategy rules, including: - Long-entry conditions - Short-entry conditions, or whether shorts are disabled - Exit conditions - Stop-loss, take-profit, trailing-stop, break-even, and time-based exit rules - Indicators and their periods/sources - Session, day-of-week, news, or volatility filters - Position sizing, maximum concurrent positions, and pyramiding rules 5. TradingView settings: initial capital, order size, commission, slippage, and pyramiding; use TradingView defaults if I say so Then: - Restate my rules as an unambiguous checklist and identify any missing or contradictory conditions before coding. - Write a Pine Script v6 strategy, not an indicator. Use strategy.entry and strategy.exit/strategy.close as appropriate. - Make all important settings configurable through inputs. Avoid repainting, look-ahead bias, and unsupported assumptions. - Compile the script in TradingView, fix all compile/runtime errors, and add it to the specified chart. - Backtest it using the confirmed symbol, timeframe, range, and costs. - Return the complete Pine Script source plus a clear explanation of how each rule was implemented. - Report: net profit, net-profit percentage, profit factor, maximum drawdown, win rate, total trades, average trade, Sharpe ratio if available, and tested date range. - Flag limitations, ambiguous interpretations, insufficient trades, overfitting risk, and any rule that cannot be represented faithfully in Pine Script. - Do not place live trades, connect a broker, change account-wide settings, or create alerts without my explicit request.