EA opening opposite pending orders

MQL4 Experts

Job finished

Execution time 27 minutes

Specification

I need an EA for currencies on MT4, which upon activation (without any further signals) opens a pair of pending orders: A buy stop a specific distance (in %) above the current bid price and a sell stop the same distance (in %) below the current ask price. For both of these stop loss and take profit orders are placed. 
Once one of the orders is opened, the other one is deleted. The whole process starts again from the beginning, as soon as the open position is closed or if neither the level for the buy stop nor the sell stop has been reached after a certain period of time.
New orders should only be opened in a defined timeframe (for example from 9 am to 9 pm). The lot size is to be set automatically to a value, so that upon opening of one of the orders a given percentage of the available capital equals the margin.  (10000 € available capital, percentage=40%, margin=4000 €, margin rate = 3,33%, current price(EURUSD)=1,085 => lot size=1,11)

For example:
EURUSD is currently trading at 1,0841/1,0850. Distance for the order levels is 0.001%, Distance for take profit is 0,0008%, for stop loss 0,0004 points. 
=> Order level for the buy stop/long order is at 1.08609 with take profit/stop loss at 1,08696/1,08569.
=> Order level for the sell stop/short order is at 1,08302 with take profit/stop loss at 1,08216/1,08342.
  • If after the waiting period of 90 minutes neither a price of 1.08609 nor 1,08302 has been reached, the orders ar canceled and a new pair of orders is created according to then current prizes.
  • If a price of 1.08609 (for the buy stop/long order) is reached and the position is opened, the sell stop/short order is immediatley deleted. ...and the other way round, if the short position is opened.
  • As soon as the opened position is closed by reaching the take profit or stop loss level, a new pair of orders is created according to then current prizes.


The variables needed are:
- distance of the order leverls above and below the current prices. Input of the variable should be in percent. (for example 0.00085%)
- distance of take profit above or below the order levels. Input of the variable should again be in percent.
- distance of stop loss above or below the order levels. Input of the variable should bei in points. (for example 0.00055)
- the waiting period, after which unopened orders are deleted (in minutes)
- percentage of available capital, that is to be put up as margin. ( e.g. 45 %)
- (mr: margin rate - if MT cant't automatcally determine the margin rate, so that the lot size can be calculated, e.g. 3,33% for most forex)
- earliest hour for opening trades
- latest hour for opening trades (both hours in 24h-format)

Responded

1
Developer 1
Rating
(12)
Projects
16
44%
Arbitration
1
100% / 0%
Overdue
0
Free
2
Developer 2
Rating
(68)
Projects
81
11%
Arbitration
12
67% / 25%
Overdue
5
6%
Free
3
Developer 3
Rating
(201)
Projects
326
17%
Arbitration
23
35% / 30%
Overdue
17
5%
Busy
4
Developer 4
Rating
(29)
Projects
35
14%
Arbitration
5
40% / 60%
Overdue
5
14%
Free
5
Developer 5
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
(74)
Projects
121
43%
Arbitration
12
33% / 50%
Overdue
17
14%
Free
7
Developer 7
Rating
(36)
Projects
44
32%
Arbitration
6
17% / 33%
Overdue
8
18%
Working
8
Developer 8
Rating
(47)
Projects
78
50%
Arbitration
1
0% / 0%
Overdue
1
1%
Working
9
Developer 9
Rating
(10)
Projects
15
27%
Arbitration
3
67% / 33%
Overdue
0
Free
10
Developer 10
Rating
(440)
Projects
546
25%
Arbitration
21
38% / 38%
Overdue
83
15%
Working
11
Developer 11
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(300)
Projects
446
65%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
13
Developer 13
Rating
(568)
Projects
641
41%
Arbitration
21
57% / 29%
Overdue
47
7%
Working
14
Developer 14
Rating
(551)
Projects
1334
59%
Arbitration
28
82% / 0%
Overdue
10
1%
Free
15
Developer 15
Rating
(480)
Projects
509
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
16
Developer 16
Rating
(11)
Projects
16
6%
Arbitration
3
33% / 67%
Overdue
0
Free
17
Developer 17
Rating
(383)
Projects
485
39%
Arbitration
83
37% / 33%
Overdue
13
3%
Busy
18
Developer 18
Rating
Projects
0
0%
Arbitration
2
0% / 100%
Overdue
0
Free
19
Developer 19
Rating
(71)
Projects
80
10%
Arbitration
36
8% / 53%
Overdue
6
8%
Working
20
Developer 20
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
21
Developer 21
Rating
(563)
Projects
932
47%
Arbitration
302
59% / 25%
Overdue
124
13%
Busy
22
Developer 22
Rating
(2435)
Projects
3067
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
23
Developer 23
Rating
(344)
Projects
364
70%
Arbitration
4
100% / 0%
Overdue
0
Loaded
Similar orders
Location: Remote Employment Type:[Full-time/Part-time] About Us At Riskeys, we are transforming the trading experience with our state-of-the-art Smart Trading Keypad for MetaTrader 4/5. Our mission is to empower traders with innovative risk management tools, providing them with the speed, precision, and efficiency they need to succeed in today’s fast-paced financial markets. As we continue to push the boundaries of
Hi there new to this but need some assistance. I need someone to code a very simple indicator/EA (I don't know which one is going to be) with these specifications 1) I need the indicator to create a buffer line between the high and low of the printed candle, the high and low is based on the highest point or lowest point the candle has gone, not the close but the actual wick per say. 2) once the candle is created the
Good programme Skill needed, ability to built high frequency trading (hft) expert advisor that works on MT4 and MT5 no Grid, no Matin. just Short term trade that last 1sec - 5mins for profit take, that can be used to trade on demo and live accounts RAW ECN icmarket, Blackbullmarket, Fusion market, FPMarkets and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send
Hi Looking for an existing bot to create a Expert Advisor, that can pass prop firm Challenges (1 or 2 phases), like FTMO, MFF, TFF etc. Preferably EA trading GOLD With license key NO martingale strategy Need to have nice entries and exits. NO big lots and low risk. Need complied with this restrictions: -Profit 10% -Max Drawdown (DD) 10% -Max Daily Loss 4% -All trades with SL -NO trades during and after high impact
Bottrading 30 USD
// Khai báo các tham số đầu vào input int rsiPeriod = 14; // Chu kỳ RSI đầu vào mua gấp đôiLevel = 30,0; // Ngưỡng quá bán RSI để mua đầu vào bán gấp đôiLevel = 70,0; // Ngưỡng quá mua RSI để bán đầu vào int movingAveragePeriod = 50; // Chu kỳ trung bình để theo dõi tài khoản đầu vào rủi ro képPerTrade = 1,0; // Tỷ lệ sai sót của mỗi lệnh (% tài khoản) input int keyLevelPeriod = 100; // Chu kỳ tìm kiếm key level đầu
- Automation of layering entry criteria with a mix of initial market orders and subsequent limit orders. Automation of stop loss applied to all these order's with SL moving to above entry when criteria has been met. Automation of TPs - This is a drag and drop ea to the chart when I manually see price action appear. I am not looking for the EA to spot price action
Hello, I post daily analyses on my WordPress site, and I am looking for a developer capable of creating a bot that automatically retrieves trading information (buy/sell, entry, take profit, stop loss) from my analyses and replicates them on MT5 automatically. The goal is to develop a solution that is as simple as possible. This bot will also need to include a few additional features, such as money management, among
Input will be Buy Levels and Sell Level. Qty-> Addition | Multiply Buffer -> in Points with Level Taret -> in points/Lot Price close above Level1 then Buy Price close below Level2 then Sell Will close the position if in Positive, otherwise will not close the position and Open the opposite Position with added Quantity of the last open position. if Price thouches the Buffer Level, the opposite position will be created
**Project Title: Forex Layering Tool Expert Advisor (EA)** **Project Overview:** I am seeking an Expert Advisor (EA) that will simplify the process of entering multiple trade layers based on specified price ranges. **Key Features:** **Layering Capability:** - The EA will support the opening of 5 to 50 layers of a defined price entry range - Each layer will have a fixed lot size that can be defined by the user
very simple rule buy rate 2 sl 1 if market reach 3 sl 2 market reach 4 sl 3 sl hit reverse trade open too with same 1:1 trail sl system if sl hit reverse trade open with same sl trail function 1 input open trade with buy or sell option 2 sl in pip .............xyz 3 lot size ............. xyz 4 distance from sl when sl trail one step [main point] Iam buying in rate of 2 my sl is 1 market reach 3 my sl is 2 market

Project information

Budget
70 - 110 USD
VAT (19%): 13.3 - 20.9 USD
Total: 83.3 - 130.9 USD
For the developer
63 - 99 USD
Deadline
to 14 day(s)