Quaisquer perguntas de recém-chegados sobre MQL4 e MQL5, ajuda e discussão sobre algoritmos e códigos - página 852
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
Olá desenvolvedores,
Veja qualquer testador de estratégia com data personalizada ou qualquer opção de data
Ver imagem:
Quero obter os valores das datas de início e fim em meu programa na função OnInit ().
Como posso obtê-lo?
Formar todo o laço em uma função, e retornar o número da barra se encontrado, ou WRONG_VALUE se não for encontrado.
Boa tarde. Acho que terminei de trabalhar com o problemático iCustom de ontem. Fiz tudo sob a forma de uma função e usei"Comentar" e "Imprimir" para controle.
A idéia deste Expert Advisor experimental é capturar sinais na forma de setas para cima/para baixo do indicador iCrossAD e transformá-los em comando BUY ou SELL para serem usados em um programa futuro.
Tenho um pouco de experiência, portanto, não julgue severamente, mas críticas e conselhos bem fundamentados sobre como fazê-lo melhor seriam apreciados.
Na verdade, por causa disso e escreveu um post. EA e arquivos indicadores anexados, o código abaixo.
Olá!
Eu converti o indicador de MT4 para MT5. Quero usar o indicador como um filtro adicional.
Eu estou estudando apenas o MT5. Mas eu não consigo encontrar o erro. Minhas reflexões МТ4 e МТ5 são diferentes.
Tenho um pedido aos especialistas - por favor, me ajude a encontrar um erro no arquivo *.mql5.
Estou anexando o código fonte.
Estou muito, muito grato por sua ajuda.
Olá, eu tenho uma função em meu EA para apagar pedidos pendentes quando outro pedido é acionado. Como posso prescrever nos parâmetros externos para poder desativar esta função? Muito obrigado de antemão.
Este é o seu código, é melhor anexar desta forma.
É claro que não sou muito adequado para o papel de conselheiro, mas a tarefa parece não ser difícil.
Note que não vou entrar no seu código em si, há muita controvérsia, mesmo para mim (dummies), a começar pelo fato de que sua função é do tipo void. Este tipo é usado ou para indicar que a função não retorna um valor, ou como um parâmetro de função indica a ausência de parâmetros. E você tem retorno(Existente) no final de seu código;
Declare uma variável de entrada, escreva-a como um parâmetro para sua função e saia da função se você definir 'esta variável como Falsa'.
Olá, tenho em minha EA a função de apagar pedidos pendentes quando outro pedido é acionado. Como posso prescrever nos parâmetros externos que esta função pode ser desativada. Muito obrigado de antemão.
Encontre tudo Falso e Verdadeiro no texto de seu código. Substituí-los por falsos e verdadeiros. Esta linguagem é sensível a maiúsculas e minúsculas.
Encontre tudo Falso e Verdadeiro no texto de seu código. Substituí-los por falsos e verdadeiros. Esta linguagem é sensível a maiúsculas e minúsculas.