Especialistas: Hedge any positions

 

Hedge any positions:

O EA abre uma posição oposta ao alcançar um lucro de N pips

Autor: Vladimir Karputov

 

Olá, Vladimir.

Desculpe-me pela pergunta idiota, mas você tem essa versão para MT4?

Cordiais cumprimentos

Antônio

 
SunnyCoast :

Oi Vladimir.

Desculpe-me pela pergunta idiota, mas você tem essa versão para MT4?

Cordiais cumprimentos

Anthony

Sinto muito por você :)

Há mais de sete anos, desisti de escrever o código para o terminal antigo.

 
oi vladimir, estou testando o seu ea com 0.01 lotsize, mas ele trava em 0.32 lot e não faz mais hedge, o que devo fazer?
 
Nazli Yildirim :
oi vladimir, estou testando o seu ea com tamanho de lote de 0,01, mas ele trava no lote de 0,32 e não faz mais hedge, o que devo fazer?

Leia as mensagens na guia Diário do terminal.

 
Vou dar uma olhada quando estiver no computador. É possível fazer com que esse sistema para fazer hedge também tenha lucro em pontos?
 
Nazli Yildirim:
Verificarei quando estiver no computador. É possível fazer com que esse EA para fazer hedge também tenha lucro em pontos?

Não, apenas: "Abrir uma posição oposta ao atingir um lucro de N pips"

 
Vladimir Karputov:

Não, apenas: "Abrir uma posição oposta ao atingir um lucro de N pips"

N significa negativo, certo? Se não estiver usando o incremento de lote, pode ser útil para parar o sangramento
 
Nazli Yildirim:
N significa negativo, certo? Se não estiver usando o incremento de lote, ele pode ser útil para parar o sangramento

Assim que uma posição (aberta por outro EA ou manualmente) apresenta uma perda maior ou igual a Perda, uma posição oposta é aberta. O volume da posição aberta é calculado considerando o coeficiente do lote.

[Excluído]  
Good afternoon my friend...
First I would like to congratulate you for the indicators and Open Source EA that you have made available, they are incredible.
I accessed an EA made by you, and I am using it as a basis for mine, but I have observed "irregular" behavior and I am not able to correct it ... could you help me?

What happens is that in some situations, he opens a duplicate hedge position, suppose the following;
-I set the distance to 5 pips and a coefficient of 2
-I open a BUY position with lot 0.01
-The price drops and the EA opens a position of 0.02
-The price goes up again and the EA opens two positions of 0.04 (total of 0.08)

I believe this is some kind of delay from the broker or something, but I am not managing to get around this problem, which occurs few times and in some cases only.

Would you help me?
Hedge any positions
Hedge any positions
  • www.mql5.com
The EA tracks all positions regardless of the symbol or magic number. As soon as a position (opened by another EA or manually) features a loss exceeding or equal to Losing , an opposite position is opened. The volume...
 
rmca :
Good afternoon my friend...
First I would like to congratulate you for the indicators and Open Source EA that you have made available, they are incredible.
I accessed an EA made by you, and I am using it as a basis for mine, but I have observed "irregular" behavior and I am not able to correct it ... could you help me?

What happens is that in some situations, he opens a duplicate hedge position, suppose the following;
-I set the distance to 5 pips and a coefficient of 2
-I open a BUY position with lot 0.01
-The price drops and the EA opens a position of 0.02
-The price goes up again and the EA opens two positions of 0.04 (total of 0.08)

I believe this is some kind of delay from the broker or something, but I am not managing to get around this problem, which occurs few times and in some cases only.

Would you help me?

Acho que, neste caso, nada pode ser feito - esta não é uma estratégia muito perfeita.