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 Outros

Trabalho concluído

Tempo de execução 22 horas
Comentário do cliente
Great job, got it done quick, and also exactly what I wanted!
Comentário do desenvolvedor
Friendly, courteous, and communicated requirements very clearly. Pleasure working with him.

Termos de Referência

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



Respondido

1
Desenvolvedor 1
Classificação
(49)
Projetos
62
40%
Arbitragem
1
0% / 100%
Expirado
7
11%
Trabalhando
2
Desenvolvedor 2
Classificação
(68)
Projetos
81
11%
Arbitragem
12
67% / 25%
Expirado
5
6%
Livre
3
Desenvolvedor 3
Classificação
(132)
Projetos
176
39%
Arbitragem
4
25% / 50%
Expirado
14
8%
Livre
4
Desenvolvedor 4
Classificação
(236)
Projetos
440
26%
Arbitragem
125
21% / 57%
Expirado
96
22%
Trabalhando
5
Desenvolvedor 5
Classificação
(65)
Projetos
96
52%
Arbitragem
3
33% / 67%
Expirado
24
25%
Livre
6
Desenvolvedor 6
Classificação
(491)
Projetos
1017
58%
Arbitragem
29
28% / 24%
Expirado
132
13%
Livre
7
Desenvolvedor 7
Classificação
(169)
Projetos
204
30%
Arbitragem
25
40% / 44%
Expirado
12
6%
Livre
8
Desenvolvedor 8
Classificação
(119)
Projetos
169
38%
Arbitragem
9
78% / 22%
Expirado
15
9%
Livre
Pedidos semelhantes
Hello, How are you doing? I need a simple trading BOT for IBK (Interactive Brokers) and i want the BOT on work on TWS . Kindly bid if this is what you can do. Attach file will be sent via inbox. Thanks
I need a developer who can work fast on this project want to be able to send signals to the telegram bot and trades are taken immediately with the settings will give the signals format
A “grid” display style like the attached image. User can choose up to 3 EMA’s to monitor on up to 6 Time Frames. If the EMA slope is greater than 0 = Green If the EMA slope is less than 0 = Red If the EMA slope is 0 = Black The grid should be customizable on it’s size, colors, and placement on the chart. Each EMA should update per tick. A label at the top of the grid should read “SLOPES” Indicator 2: A “grid” display
I'm looking for a skilled developer to help build a custom trading strategy for NinjaTrader 8 (N8). The project involves developing and fine-tuning a strategy tailored to specific market conditions. Experience with NinjaScript, strategy optimization, and backtesting is highly preferred. If you're available and have expertise in N8 strategy development, please get in touch to discuss further details
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
I need a programmer for converting a MetaTrader indicator into ea for TradeLocker. Additionally, I would like to have a new EA built in TradeLocker that mirrors the logic of the original MetaTrader, including the specific rules and conditions I need. Please contact me only if you have prior experience converting scripts from MetaTrader to TradeLocker
Hello, How are you doing? I want an EA that will send trade signals from my MT4 to my Telegram channel. So whatever trade I take on MT4 I want the EA to then automatically send the trade details of the trade I took to the Telegram channel in a message right away. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks

Informações sobre o projeto

Orçamento
100+ USD
Desenvolvedor
90 USD
Prazo
de 1 para 7 dias