Create Buy Limit Orders

MQL4 专家

指定

EA Name: Create Buy Limit Orders

Inputs:
1) CreateBuyOrder = Yes / No --->If it is Yes, the EA will create Buy limit orders
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) Lot size = ___ (eg. 0.01)     ---> Create Limit orders at this Lot Size
5) OrderDistance = X USD (eg. 25 USD) -----Create Limit orders at this OrderDistance - All prices are in terms currency USD & not pips
6) TakeProfit = N USD (eg. 20 USD) --  (When limit orders are created, they should have this TP. Eg. Order opened at $750, should have TP as 770)
7) StopLoss = M USD (eg. 10 USD) -- (When limit orders are created, they should have this SL Eg. Order opened at $750, should have SL as 740)
8) Limit orders Qty (Q) = ___ (Number of Buy Limit Orders to Maintain at any time)
9) Create_After_Before = ___ (eg. 6$)


Process:
Step1 Clear open limit orders: At the start of the EA ---> Close all limit orders created by this EA in the past

Step2 - Order creation : Create (Q) number of Buy limit orders at the given "OrderDistance" below the current price. Use the following formula to create the buy limit orders for the first time.

Create buylimit orders at 950,925,900,875,850,825,800,775,750,725

(Assume Q=10)
First Buy limit order to create is ---> Current Price-Current Price mod OrderDistance - OrderDistance = 995-995 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


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 OR need to create the lowest limit order when price moved down.

(a) Example - When price goes to 1006 (ie. 1000 + Create_After_Before), then need to create a buy limit order of 975
ie. 1006-1006mod 25-25 =975
AND - Delete the least price order of 725


(b) When price goes to 944(ie. 950-Create_After_Before), only 9 buy orders will be remaining 
(since Buy limit order of $950 has already converted to buy order just a little while ago)

Hence, should create a last 1 more buy limit order of $700 and so on.

反馈

1
开发者 1
等级
(879)
项目
1394
67%
仲裁
117
32% / 42%
逾期
215
15%
空闲
2
开发者 2
等级
(42)
项目
62
8%
仲裁
12
58% / 42%
逾期
1
2%
空闲
3
开发者 3
等级
(482)
项目
511
53%
仲裁
10
60% / 20%
逾期
3
1%
空闲
4
开发者 4
等级
(379)
项目
404
31%
仲裁
64
19% / 69%
逾期
51
13%
已载入
5
开发者 5
等级
(197)
项目
320
35%
仲裁
64
13% / 56%
逾期
83
26%
空闲
6
开发者 6
等级
(7)
项目
17
41%
仲裁
3
0% / 100%
逾期
3
18%
空闲
7
开发者 7
等级
(249)
项目
447
34%
仲裁
57
35% / 37%
逾期
165
37%
繁忙
8
开发者 8
等级
(42)
项目
47
30%
仲裁
12
17% / 75%
逾期
6
13%
空闲
9
开发者 9
等级
(564)
项目
933
47%
仲裁
303
59% / 25%
逾期
125
13%
已载入
10
开发者 10
等级
(96)
项目
143
76%
仲裁
0
逾期
2
1%
空闲
11
开发者 11
等级
(19)
项目
22
77%
仲裁
1
0% / 100%
逾期
13
59%
空闲
12
开发者 12
等级
(67)
项目
144
34%
仲裁
10
10% / 60%
逾期
26
18%
空闲
相似订单
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
I need someone who can make an expert advisor for me using the high and low of certain sessions or time frames. All orders should be market orders It's based on high and lows (LONGS) When a session low is created I wait until the 14 ema crosses above the 20 ema for comfirmation of going long, and I enter when price touches on the 14 ema. My SL automatically is placed on the session low. (SHORTS) When a session high
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month
Hello my developer colleagues, am also a developer like you but i just hear about this mql site and i will like to sell, develop and build bots for buyer. But i don't know how to become a seller here please i need help in helping me to create a seller account on mql and i will be very glad if you can help me out and i will appreciate you
Preciso de um EA que abra ordens a mercado a partir de um indicador, Ele precisa obter take e stop loss fixos, spread máximo, horários de início e final das operações, meta e stop diário, martingale, painel e a função no script para que eu possa ceder o EA apartir do id do mt4 de terceiros
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards

项目信息

预算
30 - 50 USD
开发人员
27 - 45 USD