Errors, bugs, questions - page 2408

 
Slava:

Seems to have been around since the start of the new MQL4

I'm surprised I only noticed it. Apparently it was clicked all the time.

 
Andrey Khatimlianskii:

I'm surprised I only noticed. Apparently, it was pressed all the time.

If there's something in the code like

if(!TerminalInfoInteger (TERMINAL_TRADE_ALLOWED))
return;

Then the button works.

Without this command, the EA does not respond to the button

 
Andrey Khatimlianskii:

I'm surprised I only noticed. Apparently it was pressed all the time.


I wrote about this about two years ago.

Vladimir Pastushak:

If there's something in the code like

Then the button works.

Without this command, the EA does not respond to the button


it is exactly like that. That's why I disabled the button checks in the strategy tester.

 

A little tip (maybe someone already wrote it, I haven't seen it). If during development of MQL-program, after some harmless modification of source code, terminal suddenly starts to output something like:

        Access violation at 0x0000000203543C20 write to 0x0000000203543C20
           crash -->  memory at 0x0000000203543C20 is not readable
        00: 0x0000000203543C20
        01: 0x000000000354297C
        02: 0x000000000B33C1D0
        03: 0x0000000003558DB7
        04: 0x0000000100000000
        05: 0x0000007500000000
        06: 0x000000001A4C2B08
        07: 0x000000000B33C358
        08: 0x0000000000000075
        09: 0x000000001A4C2E08
        10: 0x000000000B33C1D0
        11: 0x00000000035409A0
        12: 0x000000000B33C1D0
        13: 0x000000000355738F
        14: 0x000000000F91CEF0
        15: 0x000000000F91CE40
        16: 0x0000000100000002

run the code under debugger - there's a good chance it will work (and will work until it's recompiled for release again). This will allow you to continue coding, though not for the marketplace.

 
Stanislav Korotky:

A little tip (maybe someone already wrote it, I haven't seen it). If during development of MQL-program, after some harmless modification of source code, terminal suddenly starts to output something like:

run the code under debugger - there's a good chance it will work (and will work until it's recompiled for release again). This will allow you to continue coding, albeit not for the marketplace.

And immediately, before running the code under debugger, send EX5 to Ilyas

 
Slava:

Please clarify when a new release build of MT5 will be released with fixes for the problems identified?

 
Good evening, friends, can you give me a hint... The error "unknown command E0" pops up in the log, and at the same second it reconnects to the dc. What is it... The Expert Advisor just goes crazy after that ((
 
The forum search doesn't work.
 
Please advise comrades. There is no built-in standard trailing in MT5. Has anyone encountered this? How is it installed? I apologize if this question has already been asked.
 
newichek:
Please advise comrades. There is no built-in standard trailing stop in MT5. Has anyone encountered this? How is it installed? I apologize if such a question has already been asked.

Help:Trailing Stop.

Общие принципы - Торговые операции - MetaTrader 5
Общие принципы - Торговые операции - MetaTrader 5
  • www.metatrader5.com
Перед тем как приступить к изучению торговых функций платформы, необходимо создать четкое представление об основных терминах: ордер, сделка и позиция. — это распоряжение брокерской компании купить или продать финансовый инструмент. Различают два основных типа ордеров: рыночный и отложенный. Помимо них существуют специальные ордера Тейк Профит...