Expert Advisor - Order Management

MQL4 专家

工作已完成

执行时间2 天
客户反馈
Very professional. He sent a very detailed video of the EA, highlighting all my requirements. He worked very fast to fix a few details according to my needs. Highly recommended!
员工反馈
Great Customer. Clearly requirment, fast test and fast payment. Hope work with him again. thank for all.

指定

I have a robot that always opens two trades simultaneously, with the same signal.

The stop loss is the same for both trades. The first trade is given a take profit and the 2nd trade doesn't have a take profit.
When the first trades reaches the take profit, it closes. At the same time, the 2nd trade moves the stop loss to breakeven.

If a certain condition happens meanwhile, both trades are closed.
Otherwise, if the first trade is already closed, the 2nd trade is closed when that condition appears.


TO DO:

  • Work with 4 and 5 digit brokers.
  • Move Stop Loss to breakeven on the 2nd order when price reaches a certain condition, or if first trade closed due to hitting take profit.
  • If certain condition happens before price reaches TP or SL, close both trades. Otherwise, if the first trade is already closed, the 2nd trade is closed when that condition appears.
  • For each signal, open only the two trades, even if the conditions that triggered the trade remain active. Only open a new set of trades in the next valid signal.
  • Check if the both trades really opened. If one the trades didn't open, retry next tick.
  • Open lot size based on percentage of balance (based on stop loss amount).

- If the lot size is odd, like 0.07, it'll round to the nearest, smaller, even number: 0.06 (and divide by 2, opening 0.03 for each trade).
- If the account does not have enough money for the risk percentage, open smaller lots. In extreme case (account is too small for the risk), open 0.01 for each of the two trades, but still, open the trades.
- If the account only accepts mini lots and not micro lots, and it cannot open the trades based on the risk, show error to user.

Example:
stop loss: 50 pips
balance: 1000
risk percentage: 2%

lot size: ((1000 * 0.02) / 50) / 10 = 0.04 lots. Each of the two trades will open with 0.02 lots.

 

Notes:

I have attached the current mq4 file. It doesn't work well and the entry/exit conditions are random, but it's only for you to get an idea.

I am only interested in the trade management part of the EA, as I'll write the entry conditions myself.

反馈

1
开发者 1
等级
(467)
项目
701
56%
仲裁
44
30% / 32%
逾期
114
16%
工作中
2
开发者 2
等级
(182)
项目
342
42%
仲裁
118
12% / 73%
逾期
104
30%
空闲
3
开发者 3
等级
(118)
项目
201
42%
仲裁
44
9% / 68%
逾期
47
23%
空闲
4
开发者 4
等级
(62)
项目
140
46%
仲裁
19
42% / 16%
逾期
32
23%
空闲
5
开发者 5
等级
(90)
项目
159
61%
仲裁
40
18% / 63%
逾期
70
44%
空闲
6
开发者 6
等级
(54)
项目
164
43%
仲裁
43
47% / 16%
逾期
58
35%
空闲
7
开发者 7
等级
(266)
项目
540
50%
仲裁
55
40% / 36%
逾期
224
41%
空闲
8
开发者 8
等级
(71)
项目
254
53%
仲裁
16
50% / 38%
逾期
83
33%
空闲
9
开发者 9
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
Create hedging grid EA with my own logic. Add a Moving Avarage Filter. 2 engine with same logic. Sl TP by $ amount. Add Profit loss Dashboard Virtual all trade close Button
Hi There, my name is Jordan and I’m based in Australia. I’m looking to get an EA developed through freelance work and I’ve outlined some rough details of the intended EA, which is a similar concept to an existing EA by Andrii Hurin called “Time Range Sweep EA”. There are quite a lot of similarities to the reference EA and these include: · Trade on any market and instrument or on several pairs at the same time
Hello, Looking to create an arbitrage EA for MT5. The EA will run on two local MT5 instances (ex. 2 different accounts) and keep track of a certain pair price every 10 seconds. The EA will send data from instance #1 to instance #2 and vice versa. The EA will execute trades on the two accounts if a set of conditions are met. Apply if you have the experience and knowledge
I have an algo that is running on ProRealTime, they have their own language. It is a simple strategy with 5 conditions + SL/TP settings, very basic. I need someone that can convert or just create a functional MT5 algo (EA) from these conditions for me, if you do a good job I have around 10+ more algos that need to be transferred to MT5
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators. Posted earlier
Dear Developers, I would have a very simple request. I have a ML model developed in Python for EURUSD daily trading. I would like to backtest it in Meta Trader 5 using the Strategy Tester tool. For that I would need an Expert Advisor program. The input would be a csv file that contains two columns: - dates (going back for a few years on a daily basis) - trading signal (it can have only 2 values, either 1: Buy, or -1
Good day i will need a developer to create an EA for me using existing trading view indicator .The EA will open after the indicator has given signal and will close if altenate signal comes.The trading view indicator will be shared and improvement is welcome
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA

项目信息

预算
10 - 40 USD
VAT (23%): 2.3 - 9.2 USD
总计: 12.3 - 49.2 USD
开发人员
9 - 36 USD
截止日期
 1  7 天