# AURA XAU EA: Demo setup guide (Hinglish) Sirf DEMO account. Live (real money) account par EA start nahi hoga aur backend bhi live account mana kar dega. EA abhi tak compile nahi hua hai. Ye file aapko apne computer par MetaEditor mein compile karni hai. ## Step 1: Files download karo (Windows computer par) - EA: https://connectx.website/api/ea/download/latest.mq5 (file ka naam: UniversalXAUUSD_M5_Scalper.mq5) - Poori technical guide (English): https://connectx.website/api/ea/download/README.md - News CSV template (sirf Strategy Tester ke liye; demo forward test ke liye zaroori nahi): https://connectx.website/api/ea/download/AURA_USD_high_impact_utc.csv - Dependencies: koi nahi. Sirf MetaTrader 5 chahiye. .ex5 file abhi available nahi hai. ## Step 2: MT5 aur demo account 1. Apne broker ki website se MetaTrader 5 (Windows) install karo. 2. MT5 mein File → Open an Account → apna broker → **Demo account** banao. Login, password aur server likh lo. 3. Navigator mein account ke saath "Demo" likha hona chahiye. Neeche right corner mein ping dikhna chahiye ("No connection" nahi). ## Step 3: Compile (MetaEditor) 1. MT5: File → Open Data Folder → `MQL5\Experts` folder kholo → `UniversalXAUUSD_M5_Scalper.mq5` yahan copy karo. 2. MT5 mein F4 dabao (MetaEditor khulega). Navigator → Experts → file par double-click karo. 3. **F7** dabao (Compile). Neeche Errors tab mein `0 errors` aana chahiye. Iske baad `UniversalXAUUSD_M5_Scalper.ex5` apne aap ban jayegi. 4. Error aaye toh Errors tab ka poora text copy karke mujhe bhejo. Main code theek kar dunga. Errors ke saath aage mat badhna. 5. MT5 mein Navigator → Expert Advisors → right-click → Refresh. "UniversalXAUUSD_M5_Scalper" dikhna chahiye. ## Step 4: Activation token lo (website) 1. Website kholo: https://connectx.website → Start free → account banao (risk wala checkbox tick karo). 2. Dashboard → **Start 14-day demo trial** → "Activation token" (AURA-...) ke paas copy button dabao. 3. Zaroori: token jis website se liya hai, EA ka backend URL bhi wahi hona chahiye. Agar aap deployed (production) website use karte ho, toh neeche Step 5 aur Step 7 mein bhi wahi domain daalo. ## Step 5: Algo Trading + WebRequest 1. MT5: Tools → Options → **Expert Advisors** tab. 2. "Allow algorithmic trading" par tick lagao. 3. "Allow WebRequest for listed URL" par tick lagao → list mein ye URL add karo (bilkul aise hi, aakhir mein `/` nahi): `https://connectx.website` 4. OK dabao. Toolbar ka **Algo Trading** button green hona chahiye. ## Step 6: Broker ke symbol, spread aur commission check karo 1. **Symbol:** Market Watch → right-click → Symbols → gold dhundo (jaise XAUUSD, XAUUSD.m, GOLD). Exact naam likh lo. 2. **Specification:** symbol par right-click → Specification. Digits aur "Trade: Full access" check karo. 3. **Spread:** Market Watch mein right-click → Columns → Spread. Spread **points** mein dikhta hai. Price mein badalna: Digits=2 ho toh points ÷ 100; Digits=3 ho toh points ÷ 1000. Example: Digits=2 aur spread 25 points = 0.25 price. EA mein spread cap **price** mein bharna hai (`InpApprovedSpreadCap`). Placeholder 0.35 hai; apni approved value daalo. 4. **Commission:** broker ki account-type page par "commission per lot per side" dekho. Round trip = per side × 2. Example: $3.50 per side → `InpCostReservePerLot = 7`. Pata na chale toh EA lagane se PEHLE manually 0.01 lot kholo aur band karo. History → Deals mein dono deals ka commission jodo aur 0.01 se bhaag do (Example: −0.035 aur −0.035 → 0.07 ÷ 0.01 = 7). Ye value 0 rahi toh EA nayi entry nahi lega (jaan-boojh kar). ## Step 7: EA chart par lagao 1. Gold symbol ka chart kholo (koi bhi timeframe; EA andar M5 use karta hai). 2. Navigator → Expert Advisors → EA ko chart par drag karo. 3. **Common** tab: "Allow Algo Trading" tick. 4. **Inputs** tab mein sirf ye bharo: - `InpActivationToken` = Step 4 ka token - `InpBackendURL` = `https://connectx.website` - `InpSymbol` = Step 6 ka exact symbol naam (chart usi symbol ka ho toh khaali chhod sakte ho) - `InpCostReservePerLot` = Step 6 ka round-trip commission - `InpApprovedSpreadCap` = Step 6 ki price value - Baaki sab default rehne do. Session/news filter band mat karo. Trade force mat karo. 5. OK. Chart ke upar right corner mein EA ka naam aur icon dikhega. ## Step 8: Asli connection check karo 1. MT5 ke neeche Toolbox → **Experts** tab mein dikhna chahiye: `init`, `symbol_spec`, `config spread_cap=...`, `measured_costs`, `activate | http=200`. - `webrequest_blocked` dikhe → Step 5 dobara karo. - `activate http=401/403` dikhe → token galat hai ya website/URL alag hai. 2. 30–60 second mein website Dashboard par "**Demo connected**" dikhega. 3. Dashboard ka "Broker settings reported by EA" section MT5 se milao: MT5 build, digits, live spread points, symbol naam, aur account number ke aakhri 2 digit. Ye match karein toh heartbeat aapke terminal se hi aa raha hai. ## Step 9: Signal ka intezaar (force nahi) - EA sirf London 08:00–12:00 aur New York 08:30–12:00 (local time) ke beech, aur saari PDF conditions sach hone par trade karta hai. Kai ghante ya din trade na aana normal hai. - Dashboard par "New entries: blocked: ..." mein wajah dikhegi (jaise outside_session, news_window, spread_gate). - Computer, MT5 aur internet chalu rehne chahiye, aur sleep mode band rakho. 24/5 ke liye Windows VPS behtar hai. ## Step 10: Trade aane par verify karo 1. Experts tab mein ye sequence: `signal BUY/SELL ...` → `order_send ... retcode=10009` → `position_protected ... sl=... tp=...`. 2. MT5 Toolbox → **Trade** tab: position par S/L aur T/P dono bhare hone chahiye. Comment "AURA ..." se shuru hota hai. 3. Position band hone par (SL, TP ya 12 candle ke baad) → **History** tab → right-click → Positions. Open/close price, S/L, T/P, commission dekho. 4. Dashboard par Open positions / Closed trades mein wahi ticket numbers hone chahiye. 5. EA log file: File → Open Data Folder → `MQL5\Files\AURA_XAU_.csv`. ## Step 11: Mobile par wahi demo account dekhna 1. Phone par "MetaTrader 5" app (MetaQuotes) install karo: Android Play Store ya iPhone App Store. 2. Settings → New account → "Login to an existing account" → apna broker server dhundo → demo login aur password daalo. 3. **Trade** tab mein khuli positions (S/L, T/P ke saath) aur **History** tab mein band trades dikhenge. 4. Note: EA sirf computer wale MT5 mein chalta hai. Mobile app sirf dekhne ke liye hai, wahan EA nahi chalta. Computer band hua toh naye trades nahi aayenge. 5. Website dashboard bhi phone ke browser mein khul jata hai. ## Mujhe kya bhejna hai 1. MetaEditor screenshot: `0 errors`. 2. MT5 screenshot: Demo account, green Algo Trading, chart par EA. 3. Dashboard screenshot: Demo connected + Broker settings. 4. Trade ke baad: MT5 History (Positions) screenshot + `AURA_XAU_.csv` file + Experts tab ka log. Risk: no profit guarantee. Ye sirf demo test hai.