Como eu monto meu conselheiro por tentativa e erro - página 54
Você está perdendo oportunidades de negociação:
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Registro
Login
Você concorda com a política do site e com os termos de uso
Se você não tem uma conta, por favor registre-se
Outra função foi acrescentada. Só é preciso verificá-lo em tempo real no terminal.
esta versão é assim - No Jogo do Testador
Não é uma má função, eu lhe digo. Vai aqui e ali, tira seus lucros e não liga para nada.
Mas o código precisa de alguns ajustes. Está funcionando bem.
Eu tentei em uma conta real, eu queria um pequeno lucro de duas posições abertas. Eu tinha entrado 160 nas configurações, pensei que fecharia a maior posição menos, mas não, fechou
Pensei que fecharia a maior posição perdedora, mas não fechou. Fechou a que obteve 160 de lucro e fechou ambas as posições e eu sou um otário. Acontece que eu tenho que calcular a partir da primeira posição aberta, adicionando a posição menos.
#propriedade versão "1.017
Só descobri como utilizar corretamente esta função no quinto dia. Agora fecha sobre o lucro total de um par de todas as compras ou vendas
Não é uma má função, eu lhe digo. Aqui e ali, tira seus lucros e não dá a mínima para isso
Eu tenho um código para resolver - tudo parece funcionar bem assim
Eu não posso criar um código para que esta função funcione em um terminal. Quero experimentar em 4 terminais, não sei o que virá disso.
Não é possível criar código para fazer esta função funcionar em um único terminal. Quero experimentar em 4 terminais, não sei o que sairá de lá
Todos estes 4 terminais - não deram nenhum resultado. E em geral, esta função de Perda - não posso escrever o código.
Mas há muito tempo criei tal lógica de trabalho, somente com Linhas Horizontais. Resta pensar o que multiplicaria o lote
Figura 1
Colocamos uma linha Horizontal no topo
estabelecer uma linha horizontal no fundo
assim que o preço tocar estas linhas, a posição será aberta e as linhas horizontais serão definidas
estes -
e a partir destas Linhas Horizontais abrirá uma posição e colocará as primeiras Linhas Horizontais - e assim se repetirá até que o preço seja capaz de alcançá-las
figura 2
Aqui é fechado - definido nas configurações, o Lucro
figura 3
---------------------------------------------
quando atingir um lucro de 200 sobre o par - fechará a posição
figura 4
atingiu 200 e fechou todas as posições na compra ou venda - porque você pode abrir em ambas as direções e cada lado tem seu próprio, lucro ou prejuízo
- agora quando atinge a linha horizontal, abre uma posição - mas você pode movê-los manualmente
figura 5
A função aumenta o lote, a partir de uma perda .
graças a este homemhttps://www.mql5.com/ru/forum/107406#comment_3018721
Igor Kim
#propriedade versão "1.018
possibilidade adicional, para aumentar o tamanho do lote da perda em moeda
--------------------------------
aumento de lote em ação. Só é necessário pegar uma quantidade em configurações, 4 níveis - a última quantidade, mais de 2000 abrirá o lote 0,08
na imagem destas linhas, posição aberta, e também pode ser definido nas configurações de arrasto estas linhas
no lugar de 0 distância definida= 0;// Objeto: Trailing Stop (distância do preço ao objeto, em pips)
----------------------------ВАЖНО!
Quando o sinal dispara, a linha deve ser afastada mais da barra, caso contrário o sinal será disparado repetidamente.
Aqui está a situação - quando se arrasta uma linha horizontal e salta de volta para a mesma barra quando o comando é acionado
----------------------------------
Para que a linha Horizontal não seja repetida, ajuste 0 = 20;// Objeto: Passo da grade, pontos("0" -> falso)
a zero, ele executará o comando e será apagado
A função aumenta o lote, a partir de uma perda .
graças a este homemhttps://www.mql5.com/ru/forum/107406#comment_3018721
Igor Kim
Testei esta função hoje com a linha horizontal para uma perda (como o preço foi na direção errada, encontra uma linha horizontal em seu caminho, a partir dela abre uma posição e a linha salta mais longe, por uma determinada distância, a perda aumenta e na próxima vez que atingir a linha horizontal, o lote se abrirá com um aumento).
Estou atordoado. - Esta lógica, puxa tudo para o lado positivo. Por quanto se pode vender um milagre desses!
----------------------------------------- aqui está outro exemplo - o preço vai contra mim. esta é a primeira foto, vou mostrar a segunda como ela funciona.
figura 1
Figura 2
Figura 3
Para entender como tudo isso funciona
Existem botões no Utilitário (COMPRA e VENDA), eles fazem todos os comandos que as Linhas Horizontais fazem - você pode apenas olhar para cima no testador para ver como ele funciona .
Configurando os Botões ----------------
Configuração das Linhas Horizontais --------------------
Aqui estão os comandos que podem ser executados --------------------------------
Função lucro
------------ O lucro não é comum - Comprar tem seu próprio lucro Vender tem seu próprio lucro (por exemplo, você tem duas posições abertas uma nacompra e outra navenda nas configurações que você quer ganhar 100, portanto, enquanto cada um deles não vai tirar 100).
Важно!!! правильно настроить , открытии лота (До убытка валюте)
Há duas perdas no par - a perda total e (compra e venda, cada um deles tem sua própria perda)
Aqui, o cálculo é realizado na perda decomprar sua perda davenda de seu
Correção leve - para que a linha horizontal reaja mais rapidamente ao sinal.
Houve uma situação - o preço tocado, cruzou a linha horizontal, mas não acionou.
#propriedade versão "1.019
Experimentando uma nova função . O calendário dá um sinal, um comando pode ser selecionado a partir do sinal
Eu ainda preciso pensar sobre quais outros comandos são necessários para o calendário.
Eu já tenho estes.
imagem definir a Utilidade, esta é a imagem 1. a segunda será com o comando executado (Linhas horizontais a uma determinada distância)
Figura 1