Trailling Stop, um seguidor de stop para dólar e índice brasileiro

MQL5 Experts Scripts

Trabalho concluído

Tempo de execução 3 dias
Comentário do desenvolvedor
Excelente cliente. Objetivo no requisitos e rápido no caminhamento do processo do MQL5

Termos de Referência

Já vi alguns aqui no market mas a certeza que tenho é que foram feitos para forex e não mercado brasileiro, logo não há certeza de que funcionará.

- Ferramenta deve somar a saída e o stop móvel com a minha entrada e ir monitorando a distância.
Imagino que seria contabilizado em quantidade de ticks (ja vi chamarem de pips no mql5) que é o menor movimento no gráfico do preço.

Eu por exemplo, opero dólar no mercado brasileiro, eu definiria que ao entrar comprado quero que ele marque automaticamente:

Take Profit em 6 ticks 
Stop Loss em 2 ticks
Stop Móvel (trailling stop) comece a contar com 3 ticks de TP
A distancia entre o stop móvel e o TP seja de 4 ticks.

Dessa forma eu tenho uma posição inicial de entrada e saída, eles são necessário caso haja uma oscilação rápida a ponto de o script não executar a operação em tempo hábil.

De acordo que a operação for evoluindo, ela bate os 3 ticks de TP e dá inicio ao stop móvel, como o stop loss está configurado para 2 ticks, neste momento ele move o SL para 1tick de ganho e o TP para 7 ticks e assim ele vai reajustando o stop e o gain e ganhando posição na operação.

Quando a operação bater no SL ou no TP ele executa a venda 

* Opcional de parâmetro: 
- Caso todos os contratos não tenham sido zerados ele executa uma segunda ordem de venda/compra a mercado para zerar posição.
- Inserir como opção (deixando livre para a pessoa escolher) é o TP baseado em HiLo, se o candle virar, sai da operação.

** Importante lembrar que ele tem que identificar a quantidade de contratos que estiver no jogo.

 

 ---------- English Version -----------

I've seen some here in the market but the certainty I have is that were made to forex and not Brazilian market, so there is no certainty that it will work.

- Tool to add the output and the trailing stop with my input and go the distance monitoring.

I imagine it would be counted in number of ticks (already seen call of pips in MQL5) which is the smallest movement in the price chart.

I for example, operate dollar in Brazil, I would provide that upon entering purchased want it to automatically check:

Take Profit 6 ticks

Stop Loss in 2 ticks

Trailling stop start counting with 3 ticks TP

The distance between the movable stop and the PT 4 is ticks.

Thus I have a starting position of input and output, they are necessary if there is a rapid oscillation to point the script does not perform the operation in a timely manner.

According to the operation evolves, it hits the 3 ticks TP and initiates the trailing stop as the stop loss is set for 2 ticks at this time it moves the SL to 1tick gain and TP 7 ticks and so it will reset the stop and the gain and gaining position in the operation.

When the operation hit the SL or TP it performs sale

* Optional parameter:

- If all contracts have not been zeroed it performs a second order of sale / purchase market for zero position.

- Insert as an option (leaving the person free to choose) is the TP based on HiLo if the candle turn, leaves the operation.

** Important to remember that he has to identify the number of contracts that are in the game. 

Respondido

1
Desenvolvedor 1
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(414)
Projetos
670
33%
Arbitragem
60
17% / 32%
Expirado
114
17%
Trabalhando
3
Desenvolvedor 3
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre

Informações sobre o projeto

Orçamento
10 - 25 USD
Desenvolvedor
9 - 22.5 USD