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
e, por favor, corrija seus erros ou me dê algumas dicas
"mohsin360", o compilador está lhe dizendo o que está errado. Por que você não lê o relatório de erro e o acompanhamento.
Se disser, que você tem uma variável que não foi definida, então defina a variável para que ela não cause o erro.
Se ela disser que você tem um parêntese de desequilíbrio ")" isso significa que você tem que verificar se você coloca o número correto de parênteses esquerdo e direito e que provavelmente falta um ou mais.
Estes são erros simples para alguém que já sabe como codificar um pouco.
Se você não sabe nada sobre programação, então talvez devesse dedicar algum tempo para primeiro aprender o básico da programação e usar um compilador e corrigir os erros de sintaxe no código em geral, antes de tentar escrever um EA ou Indicador.
Um bom lugar para começar é o "MQL4 Book", aqui mesmo neste site!
Alternativamente, talvez um livro para iniciantes em "Programação C" ou talvez alguns tutoriais on-line em "C" para iniciantes. Isso começará para você entender o básico e então você poderá prosseguir com a MQL4.
sim li o relatório de erro e ele contém o primeiro e o segundo erros oito em números b coz do meu código de início de rastreamento e cheguei a saber que alpari ou mt4 não permite um rastreamento mínimo de 30 pips então decidi mudar um pouco o código e usar código de modificação de ordem direta em vez de código de início de rastreamento. obrigado a todos por cooperarem tanto comigo. não fique tão relaxado pergunte novamente se preciso de ajuda depois de fazer e compilar as novas mudanças
Cumprimentos
Mohsin.meo
meu meta editor mostra alguns erros primeiro é (145,51) quando eu procuro na lista de erros eu multo no 145 dizendo que :[Modificação negada porque ordem muito próxima do mercado.O que é verdade é que, naquela linha, eu digito código para modificar a ordem em mais 5 pips, mas quando procuro outros erros como (153,62), (158,8), (164,8), (170,55), (180,60) e (185,8), não posso multar qualquer erro que não esteja listado na lista aqui é a lista onde eu multo os que significam e não encontrei outros.por favor, qualquer um pode me dizer qual é o significado dos erros e onde posso encontrar significados b porque procurei "ficha inesperada" e descobri que eu só venho quando há algum problema com a sintaxe do código, mas como você pode ver eu tenho dois erros no topo dizem que os parâmetros errados contam @(145,51) e (153,62) e apenas 145 listados no índice, mas 153,62 não é Y
meu meta editor mostra alguns erros primeiro é (145,51) quando eu procuro na lista de erros eu multo no 145 dizendo que :[Modificação negada porque ordem muito próxima do mercado.O que é verdade é que, naquela linha, eu digito código para modificar a ordem em mais 5 pips, mas quando procuro outros erros como (153,62), (158,8), (164,8), (170,55), (180,60) e (185,8), não posso multar qualquer erro que não esteja listado na lista aqui é a lista onde eu multo os que significam e não encontrei outros.por favor, qualquer um pode me dizer qual é o significado dos erros e onde posso encontrar significados b porque procurei "ficha inesperada" e descobri que eu só venho quando há algum problema com a sintaxe do código, mas como você pode ver eu tenho dois erros no topo dizem que os parâmetros errados contam @(145,51) e (153,62) e apenas 145 listados no índice, mas 153,62 não é Y
145 é o número da linha e não o número do erro . . 51 é o número da coluna de caracteres. Estes são erros de codificação e não erros de execução . . . corrija seus aparelhos.
Isto está errado . .
OrderSelect() o primeiro parâmetro deve ser uma int e não uma string, leia a documentação.
O mesmo aqui . . .
Estas são cordas e não funcionarão . .
o mesmo aqui . . .
já declarei Buy_ticket como intiger contendo o valor do ticket recebido do servidor @ orderend Buy e o mesmo para venda.
se você diz que o primeiro parâmetro de seleção de pedidos deve ser em números, então como eu consegui o "não" obviamente eu o armazenei primeiro em um intiger e depois chamei esse intiger e o que estou fazendo.
?
já declarei Buy_ticket como intiger contendo o valor do ticket recebido do servidor @ orderend Buy e o mesmo para venda.
se você diz que o primeiro parâmetro de seleção de pedidos deve ser em números, então como eu consegui o "não" obviamente eu o armazenei primeiro em um intiger e depois chamei esse intiger e o que estou fazendo.
?
Este é um número inteiro . .
isto é uma seqüência
"Buy_ticket"
se você estiver com dúvidas "" ?
eu as removi e o metaeditor perguntou a uma variável de erro pré-definida que mostrava uma variável de erro não definida
buy_ticket
sell_ticket
agora eu conserto estas vírgulas duplas e tendo apenas dois erros
aqui está o código
se você estiver com dúvidas "" ?
eu as removi e o metaeditor perguntou a uma variável de erro pré-definida que mostrava uma variável de erro não definida
buy_ticket
sell_ticket
agora eu conserto estas vírgulas duplas e tendo apenas dois erros
aqui está o código
buy_ticket não é o mesmo que Buy_ticket
Você ainda tem muitos outros erros . . .
OrderModify() (favor ler a documentação) leva pelo menos 5 parâmetros . .
OrderModify(buy_ticket, buy_open_price, slbuy);
. não três. a cor é opcional . .
mais o que ?
else{ }