XAGUSD–MCX Silver Cross-Market Arbitrage Trading Bot

MQL5 Asesores Expertos Fórex

Tarea técnica

🧠 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



Han respondido

1
Desarrollador 1
Evaluación
(32)
Proyectos
35
34%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(15)
Proyectos
34
24%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
4
Desarrollador 4
Evaluación
(52)
Proyectos
89
25%
Arbitraje
8
75% / 13%
Caducado
44
49%
Libre
5
Desarrollador 5
Evaluación
(16)
Proyectos
19
21%
Arbitraje
0
Caducado
1
5%
Libre
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Libre
Solicitudes similares
Dear Developers. I need at trading bot based on scaping and very fast in making decisions , placing stop lost and take profit. The bot should be able to place 5 to 10 trades on one candle stick of 1 minute time frame and close profits without lost. Please for more information and to see a sample of what am taking about from a friend please whatsapp me +237678620856. I can better explain by the example. Thanks
Looking for experience MT5 developer to build a rule-based EA using Volume Profile concept. Only developer with proven past experience working with Volume Profile indicator (ie, VAH, VAL, POC, session profiles or anchored profiles) will be considered. Interested developer must submit a screenshot or video clip of a past project involving Volume Profile, before being shortlisted. Specification will only be shared and
My expert already has the rest of the required features implemented . Bring in your support and resistance expert to save time . My expert already has money management , session filter etc . Trailing is threshold based . Please send a picture as well to show your expert on a live chart . Most specific is the 5m tf , to 1m execution
Ai bot 100 - 300 USD
I’m looking for one person who is both a Forex trader and a programmer . I don’t want a coder who only writes code without understanding the market, and I don’t want a trader who can’t program. I want someone who actively trades and understands market behavior, liquidity, volatility, and risk management. Most importantly, the bot must be built using real artificial intelligence that learns and adapts , not just
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Project Title: Convert Pinescript TradingView Strategy to MQL5 to EA bot Project Description: I am looking for an experienced MQL5 developer to convert a TradingView Pine Script strategy into a fully automated MetaTrader 5 Expert Advisor (EA). The goal is to have an identical replication of the strategy logic and backtest results. Key Requirements: Logic Conversion: Translate all Pine Script indicators, entry
描述(项目概述): 我需要为 MetaTrader 5 平台开发一个功能完整的智能交易系统( 专家顾问 ),用于交易 XAUUSD (伦敦金)。该 艺电 的核心是基于一份详细的技术规格书,实现一个多指标共振、多层条件过滤的短线反转策略。 1. 核心策略逻辑简述: 交易品种与周期:主交易周期为 M30 ,需在代码内部动态读取 H4 周期进行趋势过滤,并监控 M5 周期以执行复杂的出场逻辑。 入场机制:采用 “ 价格触发 -> 成交量确认 -> 多指标渐进式达标 ” 的严格流程。入场信号需在特定时间窗口内,同时满足布林带突破及 5 个动量指标( CCI、RSI、MFI, 威廉指标, 随机指标)的超买 / 超卖条件,并受 H4 级别趋势过滤器约束。 出场机制:采用三层递进逻辑,包括动态保本移动、 M5 周期指标集体反转信号以及基于 K 线形态的趋势反转终极止损。
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 MT4 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
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

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 1 a 5 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0