Erros, bugs, perguntas - página 2331

 
pavlick_:

Bem, não sei, tem a certeza que me entendeu? Só por precaução, listando qq.mqh e ee.mqh (uma entidade, mudar uma muda a outra)

Tudo como ordenado, classe não inmacros, quase o mesmo excepto _M.

Entrei no seu método. É já ao nível do sistema operativo que o mesmo ficheiro tem dois nomes. É suposto ser fácil transferir o código para qualquer máquina, no entanto. Fazer mklink todas as vezes por causa disto é uma muleta.

 
pavlick_:

Atiro-o ao EURUSD, o terminal cai após 4 segundos.

Pode ser importante: x64, Vinho

Obrigado pelo EX5 fornecido.

Erro muito suspeito.

Por favor forneça o código fonte para exame (através de mensagem privada).

Após revisão, o seu código será removido.

 
pavlick_:
Sim, algo do género.
 
O botão "enviar uma mensagem" está inactivo, preciso de ser adicionado como amigo primeiro?
 
pavlick_:
O botão "escreve-me um PM" está inactivo, devo acrescentar-te primeiro como amigo?

Permitiu-me a todos os PM e adicionou-o como amigo

 
Como acrescentar XAUUSD ou por exemplo AMAZON à minha conta de demonstração? Posso acrescentar um gráfico, mas não me permite negociar. O botão está inactivo.
 
Para um principiante, analisar as flutuações do par euro-dólar é demasiado complicado. Mas seria bom treinar na demonstração sobre metais e acções. Haverá tal oportunidade?
 
Bukmop2018:
Para um principiante, a análise das flutuações euro-dólares é demasiado complicada. Mas seria bom treinar na demonstração sobre metais, stocks. Haverá tal possibilidade?

É necessário ligar-se a um servidor de demonstração onde estes símbolos estejam activos.

 

bool file_exists=(bool)FileGetInteger(FileName,FILE_EXISTS);

Em qualquer caso, retorna verdadeiro se há ou não ficheiro, e erro 5019 se não há ficheiro. De acordo com a ajuda, deve retornar falso se não houver ficheiro.

bool file_exists=FileIsExist(FileName); Funciona correctamente
 

Consegui-o no mt 5

2018.11.27 18:07:07.512 VR Watch list and linker (EURUSD,H1)    Access violation at 0x00007FF7EBB4D5E2 read to 0xFFFFFFFFFFFFFFFF
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D580 4053              push       rbx
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D582 56                push       rsi
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D583 57                push       rdi
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D584 4883 EC20          sub        rsp, 0x20
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D588 418 BF0            mov        esi, r8d
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D58B 4 C8BDA            mov        r11, rdx
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D58E 488 BF9            mov        rdi, rcx
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D591 4885 D2            test       rdx, rdx
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D594 7406              jz         0x7ff7ebb4d59c
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)    
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D596 66833 A00          cmp        word [rdx], 0x0
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D59A 7507              jnz        0x7ff7ebb4d5a3
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)    
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D59C 4 C8D9950340000    lea        r11, [rcx+0x3450]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5A3 8 B9980E30000      mov        ebx, [rcx+0xe380]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5A9 4533 C9            xor        r9d, r9d
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5AC 48896 C2448        mov        [rsp+0x48], rbp
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5B1 4 C89742450        mov        [rsp+0x50], r14
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5B6 85 DB              test       ebx, ebx
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5B8 7466              jz         0x7ff7ebb4d620
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)    
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5BA 8 BA988E30000      mov        ebp, [rcx+0xe388]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5C0 4 C8BB178E30000    mov        r14, [rcx+0xe378]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5C7 660 F1F8400000000  o16 nop        [rax+rax+0x0]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                                   00
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5D0 8 BC5              mov        eax, ebp
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5D2 410 FAFC1          imul       eax, r9d
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5D6 4 E8B1430          mov        r10, [rax+r14]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5DA 4 D85D2            test       r10, r10
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5DD 7439              jz         0x7ff7ebb4d618
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)    
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5DF 4 D8B02            mov        r8, [r10]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)       crash -->  00007 FF7EBB4D5E2 413 BB098020000    cmp        esi, [r8+0x298]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5E9 752 D              jnz        0x7ff7ebb4d618
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)    
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5EB 4981 C0B0020000    add        r8, 0x2b0
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5F2 498 BC3            mov        rax, r11
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5F5 4 D2BC3            sub        r8, r11
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D5F8 0 F1F840000000000  nop        [rax+rax+0x0]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)                  00007 FF7EBB4D600 0 FB710            movzx      edx, word [rax]
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)    
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)    00: 0x00007FF7EBB4D5E2
2018.11.27 18:07:07.592 VR Watch list and linker (EURUSD,H1)