Add functions to expert and Convert it from mql to mq5

MQL4 Experts Scripts

Spécifications

Add 4 functions to expert.


the ea is copier, I want add  a function is reverse copier.


How to control?


My computer open two MT4.


Two MT4 is master and slave.


Slave copy master trading order.


part1:

the EA copy times is 2 second above, I want copy time is 1 second.


part2:

Add a usage deadline in the code, for example, the expiration date is 2022/12/31.


part3:

Because the prefix and suffix cannot be copied, for example, EURUSD.a cannot copy to EURUSDm.


part4:

MODE1 Just convert COPY SELL to BUY, without COPY SL and TP.

MODE2 Just swap SL and TP.

MODE3 Calculate the gap between SL and TP.

MODE4 Convert COPY buy stop/buy limit to sell. Convert COPY sell stop/buy limit to buy.



See EXAMPLE in detail below


for example 1:

Original transaction

buy

in 1.19456

sl 1.19450

tp 1.19965

Reverse trade mode1

sell buy reverses sell

in 1.19456 same as in of Original transaction

sl N/A Not need copy

tp N/A Not need copy

Reverse trade mode2

sell buy reverses sell

in 1.19456 same as in of Original transaction

sl 1.19965 copy from tp of Original transaction

tp 1.19450 copy from sl of Original transaction

Reverse trade mode3

sell buy reverses sell

in 1.19456 same as in of Original transaction

sl 1.19472 1.19456+x=1.19472 x=in of Original transaction - sl of Original 


transaction = 1.19456-1.19450=+0.00006

tp 1.18947 1.19456+y=1.18947 y=in of Original transaction - tp of Original 


transaction = 1.19456-1.19965=-0.00509

for example 2:

Original transaction

buystop

in 1.19456

sl 1.19450

tp 1.19965

Reverse trade mode1

selllimit buystop reverses selllimit

in 1.19456 same as in of Original transaction

sl N/A Not need copy

tp N/A Not need copy

Reverse trade mode2

selllimit buystop reverses selllimit

in 1.19456 same as in of Original transaction

sl 1.19965 copy from tp of Original transaction

tp 1.19450 copy from sl of Original transaction

Reverse trade mode3

selllimit buystop reverses selllimit

in 1.19456 same as in of Original transaction

sl 1.19472 1.19456+x=1.19472 x=in of Original transaction - sl of Original 


transaction = 1.19456-1.19450=+0.00006

tp 1.18947 1.19456+y=1.18947 y=in of Original transaction - tp of Original 


transaction = 1.19456-1.19965=-0.00509

for example 3:

Original transaction

sell

in 1.19456

sl 1.19466

tp 1.19065

Reverse trade mode1

buy sell reverses buy

in 1.19456 same as in of Original transaction

sl N/A Not need copy

tp N/A Not need copy

Reverse trade mode2

buy sell reverses buy

in 1.19456 same as in of Original transaction

sl 1.19065 copy from tp of Original transaction

tp 1.19466 copy from sl of Original transaction

Reverse trade mode3

buy sell reverses buy

in 1.19456 same as in of Original transaction

sl 1.19446 1.19456+x=1.19446 x=in of Original transaction - sl of Original 


transaction = 1.19456-1.19466=-0.00010

tp 1.19847 1.19456+y=1.19847 y=in of Original transaction - tp of Original 


transaction = 1.19456-1.19065=-0.00391

for example 4:

Original transaction

sellstop

in 1.19456

sl 1.19466

tp 1.19065

Reverse trade mode1

buylimit sellstop reverses buylimit

in 1.19456 same as in of Original transaction

sl N/A Not need copy

tp N/A Not need copy

Reverse trade mode2

buylimit sellstop reverses buylimit

in 1.19456 same as in of Original transaction

sl 1.19065 copy from tp of Original transaction

tp 1.19466 copy from sl of Original transaction

Reverse trade mode3

buylimit sellstop reverses buylimit

in 1.19456 same as in of Original transaction

sl 1.19446 1.19456+x=1.19446 x=in of Original transaction - sl of Original 


transaction = 1.19456-1.19466=-0.00010

tp 1.19847 1.19456+y=1.19847 y=in of Original transaction - tp of Original 


transaction = 1.19456-1.19065=-0.00391


Répondu

1
Développeur 1
Évaluation
(11)
Projets
13
15%
Arbitrage
6
17% / 33%
En retard
1
8%
Gratuit
2
Développeur 2
Évaluation
(75)
Projets
124
44%
Arbitrage
14
29% / 50%
En retard
17
14%
Gratuit
3
Développeur 3
Évaluation
(7)
Projets
15
33%
Arbitrage
4
0% / 25%
En retard
3
20%
Gratuit
4
Développeur 4
Évaluation
(390)
Projets
416
30%
Arbitrage
74
19% / 70%
En retard
52
13%
Travail
5
Développeur 5
Évaluation
(132)
Projets
178
39%
Arbitrage
4
25% / 50%
En retard
14
8%
Gratuit
6
Développeur 6
Évaluation
(26)
Projets
23
39%
Arbitrage
26
8% / 38%
En retard
0
Gratuit
7
Développeur 7
Évaluation
(21)
Projets
35
54%
Arbitrage
8
63% / 38%
En retard
1
3%
Gratuit
8
Développeur 8
Évaluation
(176)
Projets
227
19%
Arbitrage
20
40% / 20%
En retard
0
Travail
Commandes similaires
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
Platform: - MetaTrader 4 (MT4) Type: - Expert Advisor (EA) Strategy rules: - Buy when fast EMA crosses above slow EMA - Sell when fast EMA crosses below slow EMA - EMA periods must be input parameters Trade settings: - Lot size: fixed (input parameter) - Stop Loss: fixed pips (input parameter) - Take Profit: fixed pips (input parameter) - One trade at a time only Risk & filters: - No trading during high spread -
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
Hello, I’m looking for an experienced MT4 (MQL4) developer to convert the Lucky Reversal indicator from indicatorspot.com into a fully functional Expert Advisor (EA). Project Scope Code an MT4 EA that replicates the exact logic and signals of the Lucky Reversal indicator Trades should open and close automatically based on the indicator’s rules Must match indicator behavior 1:1 (no approximations) EA Requirements MT4
This is a request for a formal price quote only. No work should begin until the quote is accepted. I am requesting a quantitative audit of an existing trading strategy. Scope (strict): 10-year historical backtest Full performance metrics (expectancy, win rate, profit factor, max drawdown, trade distribution) Identification of logical flaws, bias, and overfitting Rule-based corrections only if justified by data
I am looking for a senior MQL5 developer to build a custom MT5 Expert Advisor using a dual-engine grid structure (BUY + SELL operating independently). The EA will be used in a real operating business with live clients, so the implementation must be clean, deterministic and reliable. I already have a complete specification describing all the required logic (entry rules, grid logic, basket TP, break-even behavior
I would like to request the development of an Expert Advisor (EA) for MetaTrader 5 with the following specifications: 1. Instruments: NASDAQ (US100) Dow Jones (US30) DAX (DE40) 2. Opening Range Selection: The EA should allow me to manually select a specific time range on the chart. Example: US100 opening range from 14:30 UTC to 14:45 UTC (15-minute opening range for the US market). The EA should automatically
Hello, I have the code for an indicator file that works with binary options. I want to make a simple modification to it that won't take much effort for professionals. In short, the modification I want is that if the strategy's conditions are met, a buy or sell signal should appear at 17:55. The strategy works exclusively on the 5-minute timeframe, and I want to delay the signal by 7 minutes so that it appears and
描述(项目概述): 我需要为 MetaTrader 5 平台开发一个功能完整的智能交易系统( 专家顾问 ),用于交易 XAUUSD (伦敦金)。该 艺电 的核心是基于一份详细的技术规格书,实现一个多指标共振、多层条件过滤的短线反转策略。 1. 核心策略逻辑简述: 交易品种与周期:主交易周期为 M30 ,需在代码内部动态读取 H4 周期进行趋势过滤,并监控 M5 周期以执行复杂的出场逻辑。 入场机制:采用 “ 价格触发 -> 成交量确认 -> 多指标渐进式达标 ” 的严格流程。入场信号需在特定时间窗口内,同时满足布林带突破及 5 个动量指标( CCI、RSI、MFI, 威廉指标, 随机指标)的超买 / 超卖条件,并受 H4 级别趋势过滤器约束。 出场机制:采用三层递进逻辑,包括动态保本移动、 M5 周期指标集体反转信号以及基于 K 线形态的趋势反转终极止损。

Informations sur le projet

Budget
30+ USD