Script to create a grid of Limit Orders up or down from current order on chart, if buy, then set Buy Limits in a Grid below the order, if sell, then set Sell Limits in a Grid above the order

MQL5 Scripts Other

Job finished

Execution time 22 hours
Feedback from customer
Great job, got it done quick, and also exactly what I wanted!
Feedback from employee
Friendly, courteous, and communicated requirements very clearly. Pleasure working with him.

Specification

1. I want a script, that will first determine if I have a trade on the chart, is it a buy or sell, and the size of the trade in lots to be used in the calculations of the grid of limit orders being created:

a. If no trade is on chart, tell me "You need to first place a trade" then the script takes no further action

b. If multiple trades are already on chart, tell me "Can can have only one trade on chart to run this script" then the script takes no further action

c. If one trade is on chart, the script will take actions below

2.  User input: Ask me lot size of each grid level  "Spacing of grid levels:  ____"  and then I enter a number, example 5,

3.  User input: Ask me how many grids to place on the chart "How many grid levels below price:  ____" and then I enter a number, example 3

4.  Using data about the existing trade on the chart, and the two user inputs, take the following action:

a. If buy is on chart, place a number of limit orders equal to what user entered on number of grid levels, below current order, at spacing specified in pips by user

b. If sell is on chart, place a number of limit orders equal to what the user entered on the number of grid levels, above current order, at spacing specified in pips by user

5.  Size of each grid level will be in increasing increments depending upon the size of the original trade on the chart

a.  If trade on chart is 0.50 lots, 

(1) 1st Limit order placed will be 1.00 lots

(2) 2nd Limit order placed will be 1.50 lots 

(3) 3rd Limit order placed will be 2.00 lots

etc... to the number of levels indicated by the user

b. If trade on chart is 1.00 for example

(1) 1st Limit order placed will be 2.00 lots

(2) 2nd Limit order placed will be 3.00 lots

(3) 3rd Limit order will be 4.00 lots

c. So each grid level will have limit orders that are incrementally larger than the previous level, based upon the existing trade size on the chart

Example from a chart



Responded

1
Developer 1
Rating
(43)
Projects
56
38%
Arbitration
1
0% / 100%
Overdue
7
13%
Working
2
Developer 2
Rating
(68)
Projects
81
11%
Arbitration
12
67% / 25%
Overdue
5
6%
Free
3
Developer 3
Rating
(126)
Projects
160
36%
Arbitration
4
25% / 50%
Overdue
13
8%
Free
4
Developer 4
Rating
(236)
Projects
440
26%
Arbitration
125
21% / 56%
Overdue
96
22%
Working
5
Developer 5
Rating
(65)
Projects
96
52%
Arbitration
3
33% / 67%
Overdue
24
25%
Free
6
Developer 6
Rating
(488)
Projects
1014
58%
Arbitration
29
28% / 24%
Overdue
131
13%
Working
7
Developer 7
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
8
Developer 8
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
Similar orders
Hi i am programmer on MT5 and mt4 and i am looking for a way to extract specific data from a website. Is is possible to display on chart and/or send notification to android for https://www.fxstreet.com/news Breaking news only
I am looking for a skilled developer to assist me with a project involving the following tasks: Convert Pine Script to MQL4/MQL5: I have an existing script written in Pine Script that is already functioning well. I need it converted to MQL4 or MQL5 for use on MetaTrader. Licensing System Implementation: I require a system where I can sell my trading bot and manage access through licenses. This system should allow me
Goodday, I developed a very simple strategy. But but I would need some help now. The strategy is as follows: With each new candle, there is a Buy Stop and a Sell Stop which are placed 1-2 pips from the opening price of the candle and a SL of 1-2 pips as well as a TS which increments. Once the Buy Stop or Sell Stop is triggered the other cancels. Now the problem I have is that sometimes on certain trades the SL does
I'm looking to make some edits to an existing pinescript indicator. I created a quick 5 minute video that showcases what I need. Please let me know when you have taken a look at it and how quickly you can complete this. Looking for a quick turnaround, today would be great
I'm looking for an experienced MQL5 developer to create a script or Expert Advisor (EA) that can identify the requested price/order price, executed price, and slippage for any closed order in MT5. The script or EA should be able to: - Identify the requested price/order price for each order - Identify the executed price for each order - Calculate the slippage for each order (the difference between the requested price
Hello, I'm looking for someone to build an EA that will copy trades from MT4 & 5 over to DX trade and Match Trader. If you already have one built even better, I'll buy it. Talk soon
Hello Everyone. I need a very competent programmer who can develop a mobile APP for me. Requirement: 1, The programmer will design the sport app from A-Z, and it will have login interface for registered users, 2, Users will automatically be denied access after s specific time expiration 3, It will have 5 to 7 different sections where sporting games (Text) can be uploaded by the admin on a daily based or as admin
Hello how are you doing? Can you help me with a projects connecting trend lines to pivot points on a wave, for trendlines, color detention, and dynamic visualization? I have a project I’d like you to look at. I need a pine script code to capture the different Trendline colors that cross both above and below horizontal lines on the wave indicator
I'm looking for a good developer to help me develop EA Just add judgment sentences in EA This is a recurring transaction Developers who know how to write MT4 and MT5 can apply It's just a simple transaction

Project information

Budget
100+ USD
For the developer
90 USD
Deadline
from 1 to 7 day(s)