Spécifications
ubject: Urgent Code Fixes + 4K Dashboard + Optimal Gold Settings
Dear Developer,
I need you to fix the following critical issues in the EA code, add a professional 4K dashboard, and implement the optimal gold settings below. These are essential requirements for the EA to work properly and profitably.
🔴 PART 1: CRITICAL ISSUES (MUST BE FIXED)
1. Trailing Stop Not Working ❌
-
The trailing stop does not move at all, even when profit exceeds SL_Trailing_Start
-
No updates appear in the Experts tab
-
Expected behavior: Stop Loss should automatically trail behind profitable trades according to set values
2. Pending Orders Not Working ❌
-
When Entry Type = PENDING_ORDERS is selected, the EA still opens Market Orders
-
The pending order function is either missing or not implemented correctly
-
Expected behavior:
-
Place both Buy Stop and Sell Stop simultaneously
-
When one is triggered, cancel the other immediately
-
Set Stop Loss and activate Trailing Stop after entry
-
Pending orders should expire after 4 hours if not triggered
-
3. Stop Loss Calculation is Wrong ❌
-
Currently using 200 pips which equals 2000 points (not 200 points)
-
This is causing huge losses
-
Expected behavior: Stop Loss should be calculated correctly:
-
20 pips = 200 points
-
30 pips = 300 points
-
40 pips = 400 points
-
-
The current value of 200 should mean 20 pips, not 200 pips
4. Sacred Phi System Not Working ❌
-
Sacred Phi / Symmetry system does not actually affect trading decisions
-
Settings exist but have no real impact
-
Expected behavior: Sacred Phi should actively manage positions using mathematical rules
🟠 PART 2: ALL SETTINGS MUST BE REAL (NOT COSMETIC)
Every single input parameter in the EA must have real code implementation and genuinely affect trading behavior:
| Setting | Must Actually... |
|---|---|
| Max_Spread_Pips | Block trades when spread exceeds value |
| Min_Volatility | Prevent trading in low volatility (based on ATR) |
| Max_Directional_Currencies | Limit correlated trades in same direction |
| Drawdown | Close positions / stop EA when drawdown reached |
| Margin Limit | Block new trades when margin level is low |
| Gain Staging | Stop trading when daily/weekly/monthly profit targets reached |
| Rollover Filter | Block trading during rollover period |
| News Filter | Pause/resume trading around news events |
| Lot Size Calculations | Correctly calculate position sizes (all 3 methods) |
| Trading Time Filter | Accurately restrict trading hours |
🎨 PART 3: ADD PROFESSIONAL 4K DASHBOARD
I want to add a professional high-end 4K dashboard that displays all EA information visually and attractively.
Dashboard Specifications:
| Specification | Details |
|---|---|
| Resolution | 4K Ultra HD with proper DPI scaling |
| Transparency | Sleek transparent background with modern effects |
| Animation | Animated AI indicator (pulsing/spinning) |
| Interaction | Clickable buttons (minimize/close/drag) |
| Themes | Light/Dark mode switchable |
Data to Display:
╔════════════════════════════════════╗ ║ 🤖 SYNA AI DASHBOARD 4K ║ ╠════════════════════════════════════╣ ║ AI Status : 🟢 Online (Gemini) ║ ║ Fallback : 🟡 DeepSeek Ready ║ ║ Current Pair : XAUUSD ║ ║ AI Decision : HOLD ⏳ ║ ║ Last Update : 12:34:56 ║ ╠════════════════════════════════════╣ ║ Open Trades : 2 ║ ║ Daily P&L : +$45.20 (2.3%) ║ ║ Weekly P&L : +$128.50 (6.4%) ║ ╠════════════════════════════════════╣ ║ Balance : $2,500.00 ║ ║ Equity : $2,545.20 ║ ║ Margin Level : 85% 🟢 ║ ╠════════════════════════════════════╣ ║ Spread : 25 (OK) ║ ║ Volatility : 72% 🟡 ║ ║ Next News : 15 min (FOMC) ⚠️ ║ ╚════════════════════════════════════╝
Technical Requirements:
-
Use CCanvas for smooth rendering
-
Support 4K and HiDPI with proper scaling
-
Handle mouse events (drag, click, close)
-
Real-time updates without lag
-
Compatible with Build 5430+ and Blend2D engine
🏆 PART 4: OPTIMAL GOLD SETTINGS (XAUUSD M15)
Please implement these settings as defaults for maximum profitability:
Section 4.1: Primary Strategy Settings
| Variable | Value |
|---|---|
| Entry Type | MARKET_ORDERS |
| Take Profit [Pips] | 600 |
| Stop Loss [Pips] | 200 |
| Use AI TP Values | false |
| Use AI SL Values | false |
| SL Trailing Start | 80 |
| SL Trailing Distance | 40 |
| Max Spread in pips | 50 |
| Min Volatility [%] | 65 |
| Max Directional Currencies | 1 |
Section 4.2: Secondary Strategy Settings
| Variable | Value |
|---|---|
| Sacred_Phi_Entry | true |
| Symmetry_Type | SYM_COMBINED |
| Adaptive_Mode | true |
| Max_Symbol_DD | 10.0 |
| Share_SL_Level | false |
Section 4.3: Risk Management (Most Important)
| Variable | Value |
|---|---|
| Lot Size Calculation | RISK_PERCENT |
| If Stop Loss Risk % | 0.5 |
Section 4.4: Trading Times GMT
| Variable | Value |
|---|---|
| Start Trading Hour | 12 |
| Start Trading Minute | 0 |
| End Trading Hour | 18 |
| End Trading Minute | 0 |
Section 4.5: News Filter
| Variable | Value |
|---|---|
| Enable News Filter? | true |
| Currencies | USD |
| Stop Before News [minutes] | 90 |
| Start After News [minutes] | 45 |
| High Impact | true |
| Bank Holidays | true |
Section 4.6: AI Model Selection
| Variable | Value |
|---|---|
| Bar Configuration | MACRO |
| AI prediction update frequency | 20 minutes |
| Allow Weak Signals | false |
| Enable XGBoost | true |
Section 4.7: Gain Staging (Profit Protection)
| Variable | Value |
|---|---|
| Daily Profit Target [%] | 3 |
| Weekly Profit Target [%] | 8 |
| Monthly Profit Target [%] | 15 |
Section 4.8: Master Stop Loss
| Variable | Value |
|---|---|
| Drawdown [%] | 15 |
| Margin Limit [%] | 200 |
✅ PART 5: WHAT IS WORKING (DON'T CHANGE)
| Feature | Status |
|---|---|
| AI Integration (Gemini, Grok, DeepSeek, OpenRouter) | ✅ Working |
| News Filter Structure | ✅ Good |
| Risk Management Inputs | ✅ Good (just need activation) |
| Telegram Integration | ✅ Ready |
| API Fallback System | ✅ Working |
🎯 SUMMARY OF REQUIRED WORK
Please include all of the following in the next update:
-
✅ Trailing Stop – Make it work 100%
-
✅ Pending Orders – Implement Buy/Sell Stop with cancellation
-
✅ Stop Loss Calculation – Fix pip to point conversion
-
✅ Sacred Phi System – Make it actually work
-
✅ ALL Settings – Ensure every parameter has real impact
-
✅ 4K Dashboard – Add professional dashboard with specs above
-
✅ Optimal Gold Settings – Implement all values in Part 4 as defaults
💰 PAYMENT & TIMELINE
I have already paid for the Grok API ($25 credits) and completed all other integrations. Please provide:
-
for all fixes + dashboard
-
Expected delivery timeline
Thank you for your attention to these critical requirements. I look forward to your response.
Best regards.