First CoIntegration Tests in Python second if criterias are met then execution in MT5

Python Experts Integration Python

Job finished

Execution time 2 days
Feedback from customer
Great. Does the job as expected. Fast done.

Specification

Hello,


I want a cointegration test running in Python with either MT5 or IQfeed data where I have control over the settings and second where I can filter the results, so I can choose which pairs should be run on MT5 for execution.

Cryptowizard has already done a lot of work here if you are familiar with that website or youtube channel. There is a cointegration function on Python, so nothing to reinvent again here.


But I must choose the following settings to be tested. Length in number of bars to lookback period where the cointegration test is applied. (like 7 to 60 bars for example). Second, the deviation from the mean of 2 currency pairs (so 1.70 to 2.10).

Third a time exit in bars (2 to 10 bars for example). Then Profit Target exit in standard deviation (like Zero = 0 to 0.50 e.g.). And I need to choose the symbol set of currency pairs and the timeframe (1 hour, 5 minute, 4 hours bars for example), and lenght of time to go through (like test it on 1 years data or 1 month data and so on).


For the currency pairs data, it should be either MT5 from (IC Markets best) or from IQfeed data where I have a subscription. For example AUDUSD can be obtained from MT5 too, but to get USDAUD as pair you need to 1/AUDUSD on MT5 or just take USDAUD.COMP as symbol in IQfeed. IQfeed should be integrated because it has clean data.


Then if all pairs are in combination tested (this can take some time). Then I need to filter the results. I need total net profit, number of trades, max. Drawdown, Profit Factor, max. loss on worst trade, win rate of all trades. And maybe if it is possible to do a In sample versus Out-of-sample backtest so I can see how long it worked in the future within the past. As optional feature here.


Last the chosen pair combination from Python should be executed on MT5 Terminal. Here you need to be aware that all the deviations are calculated in percentage from its mean, so the US Dollar value for any pairs combination must be the same. So for all USDXXX pairs it is 1 lot = $100k in value but for GBPUSD as example you need to divide 1 lot here through the quote of GBPUSD so you get something ca. 0.8 lot for the same $100k value. Because 1 pair means 1 long $100k value and 1 short $100k value too. And there should be kind of manual and user interface where I can put in the settings and then after cointegration test within Python (it has a built-in cointegration test) I should make the filtering from the user interface and able to mark the pairs combination which I want to be executed in realtime to MT5 Terminal.


If you are interested to do this project could you little bit describe yourself and how you would do this project so I can get a better impression. Thanks.

------

1. Ingest and collect historical data

2. Calculate cointegration

3. Ability to backtest and sort results

4. Monitor data live and update results

5. Generate signals or code for MT5


Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(31)
Projects
56
21%
Arbitration
12
67% / 8%
Overdue
2
4%
Free
3
Developer 3
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
4
Developer 4
Rating
(250)
Projects
256
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
Similar orders
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
Patrick 30 - 200 USD
//+------------------------------------------------------------------+ //| EURUSD Daily Strategy EA | //+------------------------------------------------------------------+ extern int MA_Fast = 50; extern int MA_Slow = 200; extern int RSI_Period = 14; extern double RiskReward = 2.0; extern double StopLossMultiplier = 1.5; void OnTick() { if (TimeCurrent() != iTime(NULL, PERIOD_D1, 0)) return;
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks
I’m seeking an experienced developer to create an AI-powered trading system integrated with MetaTrader 5. The scope includes delivering a fully functional MT5 module, an AI component a compatible language, and complete source code for both. This will focus exclusively on the core trading logic and AI integration UI elements or dashboards are not required. Apply only if you have proven experience with AI integrations
I’m seeking an experienced developer to create an AI-powered trading system integrated with MetaTrader 5. The scope includes delivering a fully functional MT5 module, an AI component a compatible language, and complete source code for both. This will focus exclusively on the core trading logic and AI integration UI elements or dashboards are not required. Apply only if you have proven experience with AI integrations
Requirements: - Convert my written trading rules into TradingView Pine strategy - Then convert into MT5 EA - Entry must be next candle open after signal candle close - Stop loss on signal candle high/low - Position sizing: fixed % risk per trade - Portfolio risk cap across symbols - One trade per symbol at a time - Must understand backtesting differences (spread, slippage, fill logic) Important: I want to be able to
Hey guys, I’ve been trading for 6 years now and I need to automate a strategy that is really simple and ove developed by myself. Can you help me on that? Here is my e-mail angelocherubini24@gmail.com
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides

Project information

Budget
150+ USD
Deadline
from 1 to 20 day(s)