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
Favor verificar o valor "Dist".
cheque? Como? Eu copiei o código (a parte com a variável de distância) do livro da MQL4:
see also: https://book.mql4.com/trading/orderclose
1. Certifique-se de que o valor inicial de "Dist" esteja correto
2. Inserir alerta para verificar o valor de "Dist" no início do ciclo: "Alerta ( " Dist = ", Dist ) ; "
há alguma maneira de selecionar a ordem correta sem usar a variável "dist"?
Resposta 1
Os sinais ">" e "<" nas amostras estão em direções diferentes para a mesma expressão
Ver linha 22 de closeorder.mq4 e linha 6 da amostra anterior
Acho que na segunda amostra deve ser um erro...o que você acha?
Resposta 2
Depende do significado de "a ordem certa".
Eu preciso selecionar (e fechar) a ordem OP_BUY que tem o menor preço aberto e esta seleção deve começar quando houver 2 ordens OP_BUY... a mesma coisa para OP_SELL... isto é tão difícil de implementar? Estou tão confuso...
trabalho ordinário
então o que estou fazendo de errado? Como você selecionaria o OP_BUY com o preço aberto mais baixo? Eu tentei mesmo sem "Dist"...
Qual é a intenção da linha " if (Preço < Preço), Dígitos) " ??
Parece-me uma loucura.
CB
Qual é a intenção da linha " if (Preço < Preço), Dígitos) " ??
Parece-me uma loucura.
Não é só isso.
como isso poderia compilar sem erros, com um colchete esquerdo ausente.
estou cansado deste código - agarrar-nulo-idiota-folhuda-idiota-folhuda-idiota-e-folhuda-folhuda-e-não-pague-um-agente-agregando-agregando-agregando-agregando-agregando-agregando-agregando-agregando-agregando-agregando-agregando
todos os humanos cometem erros
se (a_human_made_a_mistake==verdadeiro)
{human_learn_next_lesson();}
senão
{reincarnate_as_plant=true;}
{human_learn_next_lesson();}
Se tivéssemos apenas o MT5. Então poderíamos fazer humano->learnNextLesson() em vez disso.
Se ao menos tivéssemos o MT5. Então poderíamos fazer Human->learnNextLesson() em vez disso.
Eu nunca estive familiarizado com o OOP.
Odeio isso. Muito aborrecimento por nada.
em tais casos, recuso-me a aprender... ;-)
isto->repeat->isto->repeat->isto->repeat->isto->repeat->isto->repeat->isto->repeat->isto->repeat->isto->repeat->isto;