Create Buy Limit Orders at Multiples of Order Distance

MQL4 Эксперты

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

EA Name: Create Buy Limit Order

Inputs:
1) LimitOrderType = Buy Limit (Put this in a Dropdown)

2) Stopout Margin Level = X% (300%) ---> Must close all the open limit orders if margin level reaches X% & Should not create any new Limit order (Stop the EA and not create any Limit Orders)
3) RestartMarginLevel = Y% (500%) --- Restart the process of creating Limit orders once the margin level is greater than Y%
4) BUY_Lot size = ___ (eg. 0.01)     ---> Create Buy Limit orders at this Lot Size

5) BUY_Order_Distance = X Pips (eg. 2500 PIPS) -----Create Limit orders at this OrderDistance Pips
6) BUY_TakeProfit = N PIPS (eg. 5000 PIPS) --  (When limit orders are created, they should have this TP. Eg. Order opened at $1000, should have TP as 1050)
7) BUY_StopLoss = M PIPS (eg. 1000 PIPS) -- (When limit orders are created, they should have this SL Eg. Order opened at $1000, should have TP as 1010)
8) BUY_Max Order Qty (Q) = ___ (Number of Orders to Maintain at any time)

Process:
Step1- Once the EA is initialized/started, Close all limit orders created by this EA in the past + Remove any object list in the chart.

Step2 - Order creation : Create (Q) number of limit orders at MULTIPLES OF THE ORDER DISTANCE ONLY below the current price.
Use the following formula to create the buy limit orders for the first time.
--> Round(Current Price)-Round(Current Price) mod OrderDistance - OrderDistance


Example:
(Assume Q=10, current Price=995.6, Order Distance=2500 PIS = 25$)

- Create buylimit orders at 950,925,900,875,850,825,800,775,750,725
- First Buy limit order to create is ---> Round(Current Price)-Round(Current Price) mod OrderDistance-Order Distance = 995.6-995.6 mod 25 -25 =950
- Second Buy limit order to create is 950-25 = 925
- Third  Buy limit order to create is 925-25 = 900
- 10th Buy limit order to create = 725

*Once the price increases and hits 1000, create an order of 1000-25=975 and so on


2) At any point in time ensure that there are Q number of buy limit orders at any point of time. For this need to create 1 more highest limit order when price moves up &delete the lowest 
OR need to create an even lower limit order when price moved down.

3) Donot create a buy limit order for an order that already exist.

eg. When a Buy order of 975 exists, then shd not create the BUY Limit order of 975

Файлы:

PNG
EA.png
55.0 Kb

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

1
Разработчик 1
Оценка
(26)
Проекты
23
39%
Арбитраж
26
8% / 38%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(24)
Проекты
28
32%
Арбитраж
1
0% / 0%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(249)
Проекты
445
34%
Арбитраж
56
36% / 38%
Просрочено
163
37%
Работает
4
Разработчик 4
Оценка
(42)
Проекты
47
30%
Арбитраж
12
17% / 75%
Просрочено
6
13%
Свободен
5
Разработчик 5
Оценка
(257)
Проекты
341
58%
Арбитраж
7
14% / 71%
Просрочено
9
3%
Свободен
6
Разработчик 6
Оценка
(769)
Проекты
1033
44%
Арбитраж
50
8% / 50%
Просрочено
117
11%
Свободен
7
Разработчик 7
Оценка
(57)
Проекты
72
22%
Арбитраж
13
46% / 15%
Просрочено
5
7%
Свободен
8
Разработчик 8
Оценка
(383)
Проекты
411
69%
Арбитраж
3
100% / 0%
Просрочено
2
0%
Занят
9
Разработчик 9
Оценка
(24)
Проекты
29
38%
Арбитраж
2
0% / 0%
Просрочено
2
7%
Свободен
10
Разработчик 10
Оценка
(261)
Проекты
425
38%
Арбитраж
86
44% / 19%
Просрочено
71
17%
Загружен
11
Разработчик 11
Оценка
(66)
Проекты
143
34%
Арбитраж
10
10% / 60%
Просрочено
26
18%
Свободен
Похожие заказы
Mega-FX Indicator 30 - 100 USD
Hello the Mega-Fx Indicator is currently running on MT4. I would need it in Mt5 and automatic trading with free setting of parameters. Specifically. When he should make a trade should be adjustable
I am looking for someone to help me to automate my trading from mt4/5 expert advisors and own trades to tradovate. My trades are generated by my expert in MT5, I want those trades copied to Tradovate's platform using their API to different accounts, that some programmers have suggested is a REST API and should be easily doable
Kindly access the vps to check out the EA, the name of the EA I'm referring to is called TOPGUN 2.0 The EA is in below VPS Server: 176.57.188.42 User:administrator Password: Test20082024! The project is to replicate the same EA in the server and code a very similar one based on the exact functionality in that existing EA
Good day. I would like to have an EA that closes all positions when a certain equity has been achieved. For example, I set balance to 100$ and equity target profit to 5$. When equity reaches 105$, it closes all positions and does the process again to 110$, 115$ and so on and so forth
*Forex Robot Requirements Specification* *General Information* - Robot Name: [Success Fighter] - Trading Platform: [MetaTrader 4/5] - Broker Compatibility: [Exness] - Currency Pairs: [ *Major Currency Pairs:* 1. EUR/USD (Euro/US Dollar) 2. USD/JPY (US Dollar/Japanese Yen) 3. GBP/USD (British Pound/US Dollar) 4. USD/CHF (US Dollar/Swiss Franc) 5. AUD/USD (Australian Dollar/US Dollar) 6. USD/CAD (US Dollar/Canadian
Hello, I need a capable programmer who can convert a Tradingview indicator I created into an EA based on a given trading strategy. I need both an MT4 and MT5 version. Thank you for your offers =)
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) using Parabolic SAR Brief Task Description: 1. This EA will use the Parabolic SAR indicator for signals, and its open and close orders will be based on the signal, as well as the "candlestick behavior of price relative to the Parabolic SAR This EA will have a time-based function, subject to the
The service of a coder is required to Add an indicator menu and indicator file to the existing ea The Indicator will work with already installed indicator Details of the strategy will discussed when you applies The ea will be proof on the live market before its approved
Hi, Project Description: Develop a sophisticated Expert Advisor (EA) for MetaTrader 5 that leverages custom indicator signals to execute trades with advanced trade management features. The EA should support dynamic trade entries, customizable stop loss (SL) and trailing stops, versatile lot sizing, handling of opposite signals, detailed trade commenting, and incorporate Inside Candle pattern detection along with
Overview: I'm searching for a highly skilled and experienced MQL5 coder to create an Expert Advisor (EA) based on a purchased indicator from the MQL5 marketplace. The EA should execute trades with specific trade management settings, allowing full customization for trade entry, stop loss, trailing, and lot sizes, as well as handling opposite signals. Only serious applicants should apply, as I have no time to waste

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

Бюджет
30 - 45 USD
Исполнителю
27 - 40.5 USD