Order Creating EA (Buy Limit, Buy Stop, Sell Limit, Sell Stop)

MQL4 Experts

Specification

EA funciton

Create Limit and Stop orders at Multiple of the Order Distance to form a Grid. & Maintain the Grid All the time


Example

Order distance pips = 2,500 = $25, Use Buy Limit=True,  TP_[Buy_Limit] =5000, Current Price=995,  Max_Orders_[Buy_Limit]=5, Order_Gap_Pips=500=$5

Then,


1) At the beginning of the EA, Create buy Limit orders -> 975,950,900,925,900 --> Each one should have the Take Profit of 5000 since  TP_[Buy_Limit] =5000

2) When to place new limit order? When the price moves up and touches the grid+order gap [Example, if price moves upto 1005 (ie. 1000+ Order_Gap of $5 = 1005 , then place buy limit order of 1000]

3) Don't create duplicate pending order, if there is a Market order Exists (Eg. Suppose price comes down and converts the 975 pending order into buy order, and then moves up   Order_Gap_Pips of 500=$5, then, the EA will not create a pending order at 975, because a Buy order exists at 975)

4) Maintain the Grid all the time by Filling the Grid Gap - Suppose, a Buy order gets closed by Take Profit, the EA should place a pending order in it's place (eg. suppose order 975 hit by take profit at 1020, then the EA shd place a pending order to fill the gap of the grid at 975)



INPUTS
Stopout_Margin_Level 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)
Restart_Margin_Level 500% Restart the process of creating Limit orders once the margin level is greater than Y%
Use Buy_Limit True/False
Use Sell_Limit True/False
Use Buy_Stop True/False
Use Sell_Stop True/False
Order_Gap_Pips 500 Once this pips is hit, the pending order will be placed.
Eg. Order_Gap_pips=500, then if price touches 1005, pending order of 1000 will be placed
Lot_Size_[Buy_Limit] 0.01
Lot_Size_[Sell_Limit] 0.01
Lot_Size_[Buy_Stop] 0.01
Lot_Size_[Sell_Stop] 0.01
Order_Distance_[Buy_Limit] 2500
Order_Distance_[Sell_Limit] 2500
Order_Distance_[Buy_Stop] 2500
Order_Distance_[Sell_Stop] 2500
Max_Orders_[Buy_Limit] 25
Max_Orders_[Sell_Limit] 25
Max_Orders_[Buy_Stop] 25
Max_Orders_[Sell_Stop] 25
Lot_Size_Multiplier_[Buy_Limit] 1.06
Lot_Size_Multiplier_[Sell_Limit] 1.06
Lot_Size_Multiplier_[Buy_Stop] 1.06
Lot_Size_Multiplier_[Sell_Stop] 1.06
TP_[Buy_Limit] 5000
SL_[Buy_Limit] 5000
TP_[Sell_Limit] 5000
SL_[Sell_Limit] 5000
TP_[Buy_Stop] 5000
SL_[Buy_Stop] 5000
TP_[Sell_Stop] 5000
SL_[Sell_stop] 5000
TP_Order_Distance_Multiple_[Buy_Limit] 2 If TP Buy Limit is set, it will be taken, else this multiple will be taken as TP Buy Limit
SL_Order_Distance_Multiple_[Buy_Limit] 3 If If SL Buy Limit is set, it will be taken, else this multiple will be taken as SL Buy Limit
TP_Order_Distance_Multiple_[Sell_Limit] 3 If If TP Sell Limit is set, it will be taken, else this multiple will be taken as TP Sell Limit
SL_Order_Distance_Multiple_[Sell_Limit] 5 If If SL Sell Limit is set, it will be taken, else this multiple will be taken as SL Sell Limit
TP_Order_Distance_Multiple_[Buy_Stop] 1 If If TP Buy Stop is set, it will be taken, else this multiple will be taken as TP Buy Stop
SL_Order_Distance_Multiple_[Buy_Stop] 2 If If SL Buy Stop is set, it will be taken, else this multiple will be taken as SL Buy Stop
TP_Order_Distance_Multiple_[Sell_Stop] 3 If If TP Sell Stop is set, it will be taken, else this multiple will be taken as TP Sell Stop
SL_Order_Distance_Multiple_[Sell_stop] 1 If If SL Sell stop is set, it will be taken, else this multiple will be taken as SL Sell stop


Responded

1
Developer 1
Rating
(42)
Projects
47
30%
Arbitration
12
17% / 75%
Overdue
6
13%
Free
2
Developer 2
Rating
(57)
Projects
75
25%
Arbitration
9
33% / 56%
Overdue
8
11%
Free
3
Developer 3
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
4
Developer 4
Rating
(5)
Projects
9
11%
Arbitration
5
40% / 60%
Overdue
1
11%
Free
5
Developer 5
Rating
(40)
Projects
60
8%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
6
Developer 6
Rating
(4)
Projects
9
11%
Arbitration
4
0% / 75%
Overdue
1
11%
Loaded
7
Developer 7
Rating
(228)
Projects
403
33%
Arbitration
52
37% / 40%
Overdue
146
36%
Loaded
8
Developer 8
Rating
(3)
Projects
3
67%
Arbitration
1
0% / 0%
Overdue
0
Free
9
Developer 9
Rating
(314)
Projects
334
71%
Arbitration
4
100% / 0%
Overdue
1
0%
Working
10
Developer 10
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
11
Developer 11
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
Similar orders
Hi, I would enlist bids to create an EA, based on the following steps 1. Session Time - the EA will only take a trade during the selected time window, Example 8.30pm to 11.00pm (GMT+8). The example is for a bulllish candle for Buys entry. Entry criteria 1 - A level for buys will be marked by drawing a horizontal line (Example GBPJPY 194.252 Green Line) Entry criteria 2 - A 15min or 30 min candle to close above the
Hello, I am looking for an expert MT4 MT5 Programmer to build an expert advisor that works perfectly for the two metatrader, I would like to work with an experieced full time coder who can be able to pay attention to details, I will be sharing my specifications regarding the development of this algorithm as expected in comment section, Kindly show up if you are the best fit thanks
I would like to calculate the deviations between the companies listed below with Meta Trader. Would you be interested? BETWEEN 01.00 AT NIGHT AND 00.00 OF THE NEXT DAY (FOR HOURS WHEN THE GOLD MARKET IS OPEN) *Instant comparison of prices of the same parities of different companies *Determination of deviation rates in downward or upward movements (average prices, prices below and above the average) *Detection of
Maybe this indicator will make a good ea but the aggressive entry moves and conservative entry is stationary and target tp2 which will make it a 0.3:1 aggressive entry is around a 1:1 with Tp 2 I want conservative entry and do aggressive entry pls do that too with the option too switch in the settings I want sl tp and trailing stop fire filter and auto lots fixed lots I get
The strategy is based on identifying overbought and oversold conditions across multiple timeframes. The primary indicator used is the stochastic indicator. Stochastic Settings: • %K period: 100 • %D period: 5 • Slowing: 4 •Price field : close/close For buying: • stochastic Signal line/Both Most be in the oversold zone (20 level of stochastic) on the H4, H1, 30m, 15m, 5m, and 1m timeframes. Final confirmation For a
Hello, I have an indicator on Trend View. I would like to convert it to a robot. The indicator is not very large, very simple, and works on a small time frame. Must be available Stop loss Setting goals Lot size time frame
3 Indicators from Trading View: Ghost Tangent Crossings [ChartPrime] SuperTrend [KivancOzbilgic] Trendline Breakouts With Targets [ChartPrime] Pair: XAUUSD - M15 If you can write code based on these 3 indicators, please confirm with me so I can send more detailed information about the trading order entry rules. Từ vựng Hán tự Dịch Đang tìm kiếm ... Tiếng Anh Từ điển JP
Fully automated with profitable setfiles. I will pass you funded challenges in few days. Included: FXIFY, FTMO, KORTANA FX, The5ers, etc. You name it You dont have to do anything, just contact me and ill do rest
MLQ4 Order: New EA Title: I need a Robot that can trade using price action and candle sticks formation + using 3 indicators: 1) RSI Ob Os_Arrow+Alerts EA (I will provide source code) 2) RSI Indicator (STANDARD) 2) A New ATR Zones indicator. I want you to create this new ATR Zones Indicator(I will provide the setting) Budget for project: US$80 - $100 Requirements of Trading Robot: 1) I want to Create a New ATR Zones
Breakout EA 100+ USD
EA based on the "Universal Breakout" https://www.mql5.com/en/market/product/84400?source=Site +Market+MT4+Expert+Free+Rating006 is needed. This means I need the exact same settings as defined in this specific EA, but I need the following input parameters as well: 1) If stop loss type = "Coefficient from box" the EA must have input parameter to define a minimum of stop loss points in range to open the order. 2) I need

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD
Deadline
to 2 day(s)