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 desenvolvedor
Friendly, courteous, and communicated requirements very clearly. Pleasure working with him.
Comentário do cliente
Great job, got it done quick, and also exactly what I wanted!

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
(52)
Projetos
66
41%
Arbitragem
1
0% / 100%
Expirado
7
11%
Livre
2
Desenvolvedor 2
Classificação
(70)
Projetos
83
11%
Arbitragem
13
62% / 23%
Expirado
6
7%
Livre
Publicou: 17 artigos, 6 códigos
3
Desenvolvedor 3
Classificação
(132)
Projetos
178
39%
Arbitragem
4
25% / 50%
Expirado
14
8%
Livre
4
Desenvolvedor 4
Classificação
(252)
Projetos
462
26%
Arbitragem
139
20% / 60%
Expirado
100
22%
Livre
5
Desenvolvedor 5
Classificação
(65)
Projetos
96
52%
Arbitragem
3
33% / 67%
Expirado
24
25%
Livre
6
Desenvolvedor 6
Classificação
(493)
Projetos
1022
58%
Arbitragem
30
27% / 23%
Expirado
133
13%
Trabalhando
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
Its my analyisis 30 - 100 USD
Title: MT5 Expert Advisor (Trading Bot) Development: SMA/EMA + Smart Money Concepts Strategy Description (सीधा कॉपी-पेस्ट करें): I am an experienced trader and need a developer to build a custom trading bot (Expert Advisor) for MetaTrader 5 (MT5). My trading background: Strong knowledge of SMA and EMA (trend and crossover strategies) Full understanding of Smart Money Concepts (order blocks, liquidity, market
To build a Self-Hosted MT4/MT5 Cross-Broker Trade Copier I am looking to develop a trading and copy trading system based on an existing MT4/MT5 Client API or SDK, deployed on my own server(Windows Serve). The system should connect to standard trading accounts across different brokers and automatically copy trades from one master account to multiple follower accounts. Core requirements: The entire backend must operate
I am looking to acquire an existing, fully developed and tested XAUUSD trading signal system, either an MT5 indicator or an Expert Advisor. I am NOT looking for new strategy development, custom coding, or experimental systems. My objective is to own and independently operate a reliable gold trading signal source for personal trading and an international paid subscription service. Requirements: 1. An existing
I am looking for an experienced MT4 developer or strategy tester to run a comprehensive optimization of my existing Expert Advisor (EA). The EA is already developed and working as intended — your task will be to configure and execute the optimization process using the "Every tick based on real ticks" model. Scope of Work: Run EA optimization in MT4 Strategy Tester. Use "Every tick based on real ticks" as the

Informações sobre o projeto

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