XAGUSD–MCX Silver Cross-Market Arbitrage Trading Bot

MQL5 专家 外汇

指定

🧠 Project Overview

We require an automated trading system that performs statistical arbitrage between:

XAGUSD (MT5 account)

MCX Silver (separate broker / API / account)


The bot will calculate custom percentage movement from a daily anchor time and trade based on spread convergence, not broker-provided percentage values.


---

🧩 Core Concept

The system must:

1. Capture daily anchor prices at 11:30 PM IST


2. Compute true percentage movement from anchor for both instruments


3. Compute SPREAD = XAG% − MCX%


4. Execute paired trades using a multi-leg ladder strategy


5. Close trades on mean reversion




---

🕦 Daily Initialization

At 11:30 PM IST (configurable):

Store:

XAG_anchor_price

MCX_anchor_price


Reset all strategy state



---

🔢 Live Calculations (Continuous Loop)

Every tick / configurable interval:

XAG_pct  = (XAG_now − XAG_anchor) / XAG_anchor × 100
MCX_pct  = (MCX_now − MCX_anchor) / MCX_anchor × 100
SPREAD   = XAG_pct − MCX_pct

Ignore broker % values completely.


---

🪜 Entry Strategy (Multi-Leg Ladder)

Configurable Spread Levels & Capital Allocation

Leg Spread Trigger Capital

1 0.40% ₹10,00,000
2 0.60% ₹12,00,000
3 0.80% ₹17,00,000
4 1.00% ₹21,00,000


Execution Rules

When abs(SPREAD) reaches a trigger and that leg is not active:

If SPREAD > 0
→ Sell XAGUSD and Buy MCX Silver

If SPREAD < 0
→ Buy XAGUSD and Sell MCX Silver

Stop opening new legs if abs(SPREAD) ≥ 1.25%.


---

🎯 Exit & Profit Logic

Full Exit Condition

Close all positions when:

abs(SPREAD) ≤ 0.10%

Optional Scalping Overlay

Partial profit booking when spread moves:

0.40 → 0.30

0.60 → 0.50

0.80 → 0.70

1.00 → 0.90



---

🧯 Risk & Safety Controls

No new entries when abs(SPREAD) ≥ 1.25

Resume entries only when abs(SPREAD) < 1.00

Block trading if free margin < 2× required margin

Must support separate accounts for XAGUSD and MCX execution



---

🧩 System Requirements

MT5 EA for XAGUSD

External bridge/API support for MCX execution

All parameters configurable

Detailed logs & on-chart dashboard:

XAG%

MCX%

Spread

Active legs

Margin status




---

🧪 Expected Behavior

Market neutral

Direction-independent

Fully automated

No broker % usage

Robust to session resets



---

📦 Deliverables

Compiled EA + source

Setup instructions

Parameter documentation

Test logs / demo verification



反馈

1
开发者 1
等级
(32)
项目
35
34%
仲裁
5
0% / 80%
逾期
0
工作中
发布者: 2 代码
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(15)
项目
34
24%
仲裁
4
0% / 50%
逾期
2
6%
工作中
4
开发者 4
等级
(52)
项目
89
25%
仲裁
8
75% / 13%
逾期
44
49%
空闲
5
开发者 5
等级
(16)
项目
19
21%
仲裁
0
逾期
1
5%
空闲
6
开发者 6
等级
项目
0
0%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
(71)
项目
254
53%
仲裁
16
50% / 38%
逾期
83
33%
空闲
相似订单
SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next steps. My requirements are screenshot, backtes results, demo fileS Let me know if you have anything that fits the bill
iF you already have an successful EA for scalping in M5 XAUUSD [and eventually EURUSD and USDJPY] working essentially ON the trend when there is an Break Of Structure but also on reversal eventually with strategy Martingale with param ON/OFF eventually with strategy Grid with param ON/OFF eventually with HEDGING with param ON/OFF and on each trade : Stop loss, Trailing sl without High Frequency Trades [means average
Double trade 30+ USD
1-tow trades with take profit stop loss pips trade with take profit stop loss pips trade with stop loss pips take profit candle close 2-buy or sell look for last candle buy or sell 3-trade stop loss stop loss martingale trade lot zise in intry candle running candle or new candle
can you help me with the strategy for my mt4 or mt5 bot? I am learning trading, while working and I was thinking this could be a good way to still earn from the market while learning. If I have someone like you to guide me on strategy and maintaining the trading bot going forward. I do not have anything setup, I am going to pay a ten to build the EA, I just need the mentorship and we can agree on a unique price to
I’m looking for a NinjaTrader 8 developer to build or customize a fully automated futures strategy . Goals: Target ~$100/day (consistency over aggression) Long-term survivability (not scalping hype) Requirements: Trade ES/MES or NQ/MNQ Fixed risk per trade Daily profit & loss limits Time/session filters Break-even & trailing stop logic Full NT8 strategy (not indicator) Nice to have: Backtest + optimization
Je cherche un développeur pour un bot Fundednext pour le passage de challenge jusqu'au trading quotidien après le passage.le robot va s'occuper du compte du début à la suite du compte de 15k chez Fundednext.après le passage aux challenges,le robot doit être capable de me fournir 6-10% mensuel de rendement de ce compte. Il doit être capable de passer le challenge dans un bref délai de 2-3 semaine ou soit 10-15 jours
Job Title MT5 Developer Needed – Sync Data Feed Between Two MT5 Accounts Job Description I am a trader using multiple MT5 accounts and need a reliable way to have the same market data from one MT5 account reflected in another MT5 account. One account already has a stable and accurate data feed, and I want the second MT5 account to receive identical pricing and symbols for analysis and execution purposes. What I Need
hello great developer We are looking for someone to create a Ninja Trader bot that can identify liquidity sweeps using lux algos indicator. once liquidity sweep occurs we need the bot to use the fibonnachi tool to idenfity the 61% level and 71% level. then enter the trade for us please check the video for better understanding Here is first video: https://youtu.be/ZaGZGNgzZlc?si=we3poeWB91nWqkz5 Here is Second video
Beschreibung: Ich suche einen erfahrenen MQL5-Entwickler, der meinen bestehenden Expert Advisor für MT5 fertigstellt und optimiert. Der EA basiert auf einer 30-Minuten-Breakout-Strategie für XAUUSD (Gold) und enthält bereits die Grundlogik sowie FTMO-Regeln (Tagesverlust, Gesamtverlust, Handelszeiten, Spread-Filter, Lotbegrenzung). Was gemacht werden muss: Code-Feinschliff und Debugging Überprüfung der Breakout-Logik
Greeting Im in need of a programmer that can help me convert from TOS to trading view? The script is available with me, kindly bid if it is what you can do for me Thanks

项目信息

预算
30 - 50 USD
截止日期
 1  5 天

客户

所下订单1
仲裁计数0