Convert a mean reverting ea from python to MQL5

Spécifications

Hi,

I am looking for someone to convert this strategy in Python to MQL5: QuantConnect.com - Embedded Backtest Results

The idea behind it is that, if you get two pairs of instruments that move in a similar direction (such as Gold and Silver), they will tend to revert to a mean that can be estimated using the Ornstein-Uhlenbeck Process. It is then used to maximize a log function.


There is a tutorial for it here:  Tutorials - Strategy Library - Optimal Pairs Trading - QuantConnect.com

And the paper for the strategy is here: 1411.5062.pdf (arxiv.org)

A video with an explanation is here: ATC Workshop 7: Optimal Pairs Trading with Ornstein-Uhlenbeck modeling (1.5x speed rec.) - YouTube


"STEPS FOR TRADING:

  1. Estimate Ornstein-Uhlenbeck (OU) Coefficients (theta, mu, sigma)

    1. Note for paper: Theta- long-term mean, mu is the force pulling our values back to theta, sigma is noise 

  2. Solve the Optimal Stopping problem, which gives us the best prices to buy and sell. This way we can buy low sell high

    1. b = optimal value at which we sell, d = optimal value at which we buy

    2. b > d, so we can buy low sell high

  3. Buy at the optimal entry, and sell at the optimal exit"


Répondu

1
Développeur 1
Évaluation
(258)
Projets
265
29%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
2
Développeur 2
Évaluation
(174)
Projets
199
12%
Arbitrage
38
37% / 34%
En retard
5
3%
Travail
Publié : 2 codes
3
Développeur 3
Évaluation
(3)
Projets
4
0%
Arbitrage
2
0% / 100%
En retard
1
25%
Gratuit
4
Développeur 4
Évaluation
(51)
Projets
66
30%
Arbitrage
2
0% / 0%
En retard
0
Gratuit
5
Développeur 5
Évaluation
(1)
Projets
1
0%
Arbitrage
2
0% / 50%
En retard
0
Gratuit
Commandes similaires
El 3aksiyat 0 35+ USD
//@version=6 indicator("منظومة El_3aksiiya 0 المتكاملة", overlay=true, max_labels_count=500, max_boxes_count=500, max_lines_count=500) // الألوان color_accum = color.new(#0000FF, 85) color_manip = color.new(#FFFF00, 80) color_dist = color.new(#FFC0CB, 80) color_elliot = #FF8C00 color_fib = #FFFF00 color_entry = #00FFFF color_tp = #00FF00 rsiVal = ta.rsi(close, 14) // نموذج AMD var int barCount = 0 if
I am looking to buy a ready-made automated trading robot / EA that works on the Tradovate platform and is proven to pass prop firm challenges for Apex Trader Funding, Tradeify, and Lucid Trading.Key Requirements (must be ready-made or very close to plug-and-play):Fully functional on Tradovate (native or via stable bridge/copier/webhook/API integration – MT5 EA + Tradovate bridge is acceptable if it works reliably)
Alex 1000+ USD
Нужен бот для скальпинга именно на Python. Работа напрямую через API биржи (без привязки к TradingView и MetaTrader). Бот будет запускаться локально на ноутбуке / VPS. Критически важна скорость (использование асинхронности, WebSockets
Mambo 30+ USD
I need a bot that can trade weltrade synthetic indices that can be consistently making profits if you have one for deriv its also fine a bot that executes and closes trades automat Will be ideal
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
I need a very advanced and intelligent MT5 Expert Advisor coded in MQL5 for XAUUSD, based on ICT + CRT + Smart Money Concepts. The goal is not a simple robot, but a professional decision-making system with strong filters, risk control, and high-quality trade selection. The EA must include: 1. Multi-Timeframe Analysis - D1 / H4 / H1 bias - M15 / M5 entry confirmation - Bullish or bearish market structure - BOS, CHoCH
I have a 90% completed project with the execution part left to complete, I have been struggling to complete this section and I need help from someone expert in MQL5 with knowledge on forex trading and ICT Concepts coding. Contact me for further details
Patricia Ukawilu 6:43 PM I need help creating an EA to optimize my trade. I already have a preliminary pine script which I will want optimized and create an EA from it to optimize my trade on MT4. I also subscribed to a signal app. I’m looking to automate the execution of the signal from the app so as not to miss out on good trades
I am looking for an experienced MQL5 developer with Python/data analysis skills. I have my own MT5 Strategy Tester reports, exported trade history, and market CSV data. I need help analyzing these files and developing a new independent Expert Advisor based on clearly defined, statistically tested, and validated trading rules. Tasks: Analyze my MT5 Strategy Tester reports and exported trade history. Compare historical
We are looking for a developer to finish and stabilize an existing Kalshi trading bot (~60% complete) built in TypeScript. This is not a MetaTrader EA. The system interacts with the Kalshi API and requires strong understanding of execution logic, order handling, and state management. Scope of Work: Review and understand existing TypeScript codebase Complete missing functionality Fix execution issues (order placement

Informations sur le projet

Budget
200 - 500 USD