Simple script to use horizontal lines as triggers for buying and selling

MQL5 Experts Scripts

Termos de Referência

I'm looking for someone to develop a very simple script that meets the following criteria:

I want to have two horizontal lines plotted on the chart (one for buying and one for selling).

1) These lines need to be adjustable, meaning I should be able to move them on the chart according to my preference and at any time.

2) When the price touches the buy line, immediately after the touch, an alarm will sound, and it will place a market order to buy "X" contracts 30 points above the region where the line was touched. In other words, the price will touch the line, and it will automatically open a buy order 30 points above to capture the market rebound. If the order is executed, it will also set a stop loss of 300 points.

3) The same applies to the sell line. If the market is going up and touches the sell line, an alarm will sound, and I want it to place an order to sell "X" contracts 30 points below the line as soon as it is touched, with a stop loss of 300 points.

That's basically it. A very simple script for someone who is proficient in the programming language.

Respondido

1
Desenvolvedor 1
Classificação
(10)
Projetos
11
36%
Arbitragem
0
Expirado
1
9%
Livre
2
Desenvolvedor 2
Classificação
(356)
Projetos
632
26%
Arbitragem
89
73% / 13%
Expirado
12
2%
Livre
3
Desenvolvedor 3
Classificação
(11)
Projetos
17
59%
Arbitragem
2
0% / 100%
Expirado
2
12%
Livre
4
Desenvolvedor 4
Classificação
(23)
Projetos
29
14%
Arbitragem
3
0% / 67%
Expirado
3
10%
Trabalhando
Pedidos semelhantes
Hi, I've been developing a Scalping strategy that now I want to apply to a bot in order to save me some time. Requirements: - Trade Timeframe: M1 - Indicators: EMA (Exponential Moving Average), SMA (Simple Moving Average) Based on indicators above, bot will buy assets applying Stop Loss and Take Profit values. Let me know if you are interested... Thanks
Robô para negociação automática: Variáveis de negociação: Lote, hora de negociação, horário de zeragem de ordens. trail stop sim ou nao: cada canal rompido a favor da operação, sobe x canal Stop do dia: em pontos Take do dia: em pontos Quantidade de operações no dia: x Quantidade de ganhos no dia: x Quantidade de perdas no dia: x Variáveis dos indicadores: Media móvel, período e tipo de calculo e quantidade de pontos
Boa tarde ! tenho um EA baseado na estratégia do MACD e gostaria de incluir um parâmetro de definição de horário em que o EA trabalhe, similar a tela acima e gostaria de poder definir por exemplo, similar abaixo: Segunda: 02:00-16:00 ; 17:00-20:00 Terça: 02:00-16:00 ; 17:00-20:00 Quarta: 02:00-16:00 ; 17:00-20:00 Quinta: 02:00-16:00 ; 17:00-20:00 Sexta: 02:00-16:00 ; 17:00-20:00 consegue executar este trabalho, se
Robot limited 30+ USD
I need an order-limiting robot for MT4 or MT5. Either one is fine. I’m following a copy trade, but there’s a problem. The trader opens many orders at once, and I don't want that. I want a robot that limits the number of open orders in my account. So, I want to limit the number of orders that will open in my MT4 or MT5. Instead of opening 10 orders, I only want it to open 1. I want a robot with these parameters: Order
Gostaria de corrigir 2 erros em meu EA, ele é complexo e tem mais de 6k linhas. Quero saber sua experiência antes de firmarmos qualquer acordo. Conversaremos mais a respeito e tenho que colocar palavras aqui para dar 30 palavras e eu poder postar

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD
Prazo
de 1 para 10 dias