指定
Here is the full strategy and all requirements for my custom MT5 EA. Please follow everything exactly as written. --- 📛 EA Name: PYTHON SWING TRADER ROBOT Must appear on the top-left corner of the chart Bold black text, clearly visible against orange background --- 🟧 CHART SETTINGS: Background Color: Orange Foreground (text & axes): Black Candlesticks: Black Grid: OFF Zoom: Always fully zoomed out > EA must enforce zoom-out at startup and on chart changes --- 📊 INDICATORS USED (4 TOTAL): --- 1. RSI #1 Period: 1 Apply to: Close Levels: 95, 80, 15, 5, 0 Line Color: Black, 3-pixel Includes a 10-period Moving Average inside it --- 2. MA (inside RSI #1) Period: 10 Shift: 1 Method: Linear Weighted Apply to: Close Color: Green, 3-pixel Level line at 0: Grey, 1-pixel --- 3. RSI #2 Clone of RSI #1 Includes Ichimoku inside it --- 4. Ichimoku Kinko Hyo (inside RSI #2) Tenkan-sen: 9 Kijun-sen: 9 Senkou Span B: 9 Fill: OFF Colors: Kijun-sen: Black (visible) All others: Orange (to blend into background and stay invisible) --- 📈 ENTRY CONDITIONS: --- ✅ Buy Entry: MA in RSI #1 and Kijun-sen in RSI #2 must both enter oversold zone (15 to 5) When both exit by crossing above 15, open a Buy > Must only open trade if both confirm --- ✅ Sell Entry: MA in RSI #1 and Kijun-sen in RSI #2 must both enter overbought zone (95 to 80) When both exit by crossing below 80, open a Sell > Same rule — trade only if both confirm --- 💰 RISK MANAGEMENT: --- 1. Risk Mode (input): 1 = Low (1% of balance) 2 = Medium (2%) 3 = High (3%) --- 2. Risk Amount: RiskAmount = AccountBalance * (RiskMode / 100.0) --- 3. Stop Loss (based on ATR): ATR Period: 14 SL = ATR × ATRMultiplier (default = 1.5) --- 4. Lot Size Calculation: LotSize = RiskAmount / (SL_Pips × PipValue) PipValue must auto-adjust for each symbol --- 5. Trade Management: When trade profit = +5 pips, move SL to breakeven Then activate ATR-based trailing SL: Trailing SL = Price - (ATR × TrailingMultiplier) Only update if new SL is tighter than current SL --- ⚙️ OTHER EA SETTINGS: Slippage: 3 Magic Number: 12345 (must be editable input) Execution: OnBar only (not every tick) Must support multi-chart and multi-symbol trading using Magic Number tracking.