Техническое задание

Okay, this is a big one for MT5 traders. Let's do it properly.

In Python, the "Merge Tool" usually means 2 things:
1. *Merge MT5 data from different symbols / timeframes into one DataFrame*
2. *Plot it as a clean graph*

Here is a complete working setup:

*Step 1: Install*

pip install MetaTrader5 pandas matplotlib mplfinance

*Step 2: Full Code - Get MT5 Data + Merge + Plot*

import MetaTrader5 as mt5
import pandas as pd
import mplfinance as mpf
from datetime import datetime

# 1. CONNECT TO MT5
if not mt5.initialize():
 print("MT5 failed, open MT5 terminal first")
 quit()

# 2. FUNCTION TO GET DATA
def get_data(symbol, timeframe, bars=500):
 rates = mt5.copy_rates_from_pos(symbol, timeframe, 0, bars)
 df = pd.DataFrame(rates)
 df['time'] = pd.to_datetime(df['time'], unit='s')
 df.set_index('time', inplace=True)
 df.rename(columns={'tick_volume': 'volume'}, inplace=True)
 return df

# 3. GET 2 DIFFERENT DATA SETS
# Example: XAUUSD M1 + XAUUSD H1
df_m1 = get_data("XAUUSD", mt5.TIMEFRAME_M1, 500)
df_h1 = get_data("XAUUSD", mt5.TIMEFRAME_H1, 100)

# 4. MERGE TOOL - Merge M1 and H1 on time
# We merge the H1 close as a trend filter onto M1 chart
df_h1_trend = df_h1[['close']].rename(columns={'close': 'h1_close'})
df_merged = pd.merge_asof(
 df_m1.sort_index(),
 df_h1_trend.sort_index(),
 left_index=True,
 right_index=True,
 direction='backward'
)

# Add indicators
df_merged['EMA_20'] = df_merged['close'].ewm(span=20).mean()
df_merged['EMA_50'] = df_merged['close'].ewm(span=50).mean()

print(df_merged.tail())
mt5.shutdown()

# 5. PLOT GRAPH
# Create extra plots for EMAs
ap = [
 mpf.make_addplot(df_merged['EMA_20'], color='blue', width=1),
 mpf.make_addplot(df_merged['EMA_50'], color='orange', width=1),
 mpf.make_addplot(df_merged['h1_close'], color='purple', width=1, linestyle='--')
]

mpf.plot(
 df_merged.tail(200), # plot last 200 candles
 type='candle',
 style='charles',
 title='XAUUSD M1 Merged with H1 Trend',
 ylabel='Price',
 volume=True,
 addplot=ap,
 figsize=(14, 7),
 savefig='merged_chart.png'
)
print("Chart saved as merged_chart.png")

*What this does:*
- Pulls live data straight from your MT5 terminal
- Merges the H1 close price onto the M1 chart, so you can see the higher timeframe trend while scalping
- Plots candles + EMA 20 / EMA 50 + H1 trend line

*If you want to merge 2 SYMBOLS instead (e.g. XAUUSD + EURUSD):*

# Get both
gold = get_data("XAUUSD", mt5.TIMEFRAME_H1, 500)[['close']].rename(columns={'close': 'GOLD'})
eur = get_data("EURUSD", mt5.TIMEFRAME_H1, 500)[['close']].rename(columns={'close': 'EURUSD'})

# Merge on time
merged_symbols = pd.merge(gold, eur, left_index=True, right_index=True, how='inner')

# Plot correlation
merged_symbols.plot(figsize=(14,6), title='GOLD vs EURUSD - Merged')

Which merge do you want to build?
1. Same symbol, different timeframes (M1 + H1) - for trend filter
2. Different symbols together - for correlation
3. Merge MT5 data from a CSV file + live MT5

Tell me which one and your symbol, I'll give you the exact code for it.

Откликнулись

1
Разработчик 1
Оценка
(64)
Проекты
145
46%
Арбитраж
21
38% / 24%
Просрочено
32
22%
Свободен
2
Разработчик 2
Оценка
(19)
Проекты
22
18%
Арбитраж
9
33% / 44%
Просрочено
3
14%
Работает
Опубликовал: 2 примера
3
Разработчик 3
Оценка
(23)
Проекты
34
53%
Арбитраж
1
100% / 0%
Просрочено
1
3%
Свободен
4
Разработчик 4
Оценка
(1)
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
5
Разработчик 5
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Работает
6
Разработчик 6
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
7
Разработчик 7
Оценка
(5)
Проекты
7
86%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 4 примера
8
Разработчик 8
Оценка
(1)
Проекты
1
100%
Арбитраж
0
Просрочено
0
Свободен
9
Разработчик 9
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
10
Разработчик 10
Оценка
(2)
Проекты
3
33%
Арбитраж
0
Просрочено
2
67%
Свободен
11
Разработчик 11
Оценка
(1)
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 4 примера
12
Разработчик 12
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
13
Разработчик 13
Оценка
(49)
Проекты
74
18%
Арбитраж
30
17% / 53%
Просрочено
31
42%
Свободен
14
Разработчик 14
Оценка
(29)
Проекты
36
39%
Арбитраж
0
Просрочено
2
6%
Свободен
15
Разработчик 15
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
16
Разработчик 16
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
18
Разработчик 18
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 11 примеров
19
Разработчик 19
Оценка
(24)
Проекты
35
40%
Арбитраж
9
22% / 33%
Просрочено
5
14%
Загружен
Опубликовал: 8 статей, 35 примеров
20
Разработчик 20
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 2 примера
21
Разработчик 21
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 2 примера
22
Разработчик 22
Оценка
(1)
Проекты
2
0%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 17 примеров
23
Разработчик 23
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 10 примеров
24
Разработчик 24
Оценка
(180)
Проекты
276
63%
Арбитраж
4
50% / 25%
Просрочено
10
4%
Работает
25
Разработчик 25
Оценка
(14)
Проекты
23
35%
Арбитраж
0
Просрочено
2
9%
Работает
26
Разработчик 26
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
27
Разработчик 27
Оценка
(216)
Проекты
284
20%
Арбитраж
28
61% / 14%
Просрочено
0
Свободен
28
Разработчик 28
Оценка
(365)
Проекты
507
40%
Арбитраж
159
17% / 74%
Просрочено
99
20%
Загружен
29
Разработчик 29
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Похожие заказы
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
//+------------------------------------------------------------------+ //| Durban Gold Hunter.mq5 (v3.00) | //| Multi-pair EA for MetaTrader 5 (Razor Markets, XM). | //| Strategy modules (each can be switched on/off): | //| 1. EMA crossover | //| 2. 714 method (EMA 7 + RSI 14) | //| 3. CRT (Candle Range Theory: range sweep and close back inside)| //| 4. Trend line breakout (auto-drawn from swing highs/lows) | //| 5
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
Hello, I already have an MT5 Expert Advisor for XAUUSD based on Fibonacci, market structure, BOS/CHoCH and swing trading. I need an experienced MQL5 developer to modify my existing EA, not develop a completely new one. Required modifications: Partial take-profit system with multiple TP levels. Keep profit targets conservative, using Fibonacci extension levels. Stop-loss placement beyond liquidity areas, not exactly
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
The objective is to develop a custom technical indicator for MetaTrader 5 (MQL5) that replicates the exact visual structure, inputs, and features of the "AYN-Indicator by Snurk" as shown in the provided screenshot. The indicator must analyze price actions based on a flexible lookback period, plot dynamic trend filters, and render precise Buy/Sell breakout labels without any lagging or repainting
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
Winter 500+ USD
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Here is the clean final summary of your Confluence Alignment Indicator: 📊 Confluence Alignment Indicator – Final Logic 🔒 Mandatory Filters (Must Be True) These do NOT count toward score. They only allow scoring to activate. 1️⃣ Bid Ratio – Must confirm direction. 2️⃣ CSI – Must NOT be strongly against the trade. Does not need to support. Only blocks if strongly opposite. If either fails → No signal, score ignored

Информация о проекте

Бюджет
30+ USD

Заказчик

Размещено заказов1
Количество арбитражей0