Questions from Beginners MQL4 MT4 MetaTrader 4 - page 98 1...919293949596979899100101102103104105...268 New comment Sobaka777 2017.10.06 03:34 #971 Please advise where exactly it is inserted.#include <WinUser32.mqh>#define VK_HOME 0x24 Where can I find out all variables for all keys?void start() { int handle=WindowHandle(Symbol(),Period());PostMessageA(handle,WM_KEYDOWN,VK_HOME,0);}at compilation it says void start...in the source code of the ready EA? If there is an allert that this script should be attached to, it should push the button from the keyboard login to an account Execute EA without waiting [ARCHIVE]Any rookie question, so Kirill Belousov 2017.10.06 13:29 #972 Sobaka777: Please advise where exactly it is inserted.#include <WinUser32.mqh>#define VK_HOME 0x24 Where can I find out all variables for all keys?void start() { int handle=WindowHandle(Symbol(),Period());PostMessageA(handle,WM_KEYDOWN,VK_HOME,0);}at compilation it says void start...in the source code of the ready EA? If there is an alt to which this script should be attached, it should push the button from the keyboardput in the program header from where the PostMessage is launched leonerd 2017.10.08 13:28 #973 What is the magic of a manually opened order? What will OrderMagicNumber() return? 0? Kirill Belousov 2017.10.08 13:35 #974 leonerd: What is the magic of a manually opened order? What will OrderMagicNumber() return? 0? yes leonerd 2017.10.08 13:37 #975 Kirill Belousov: yesThank you. leonerd 2017.10.10 11:28 #976 What does the error mean.cannot set timer It's popping up in the tester. Alekseu Fedotov 2017.10.10 12:36 #977 leonerd: What does the error mean.cannot set timer In the tester, it pops up.Unable to set the timer leonerd 2017.10.10 13:01 #978 Alekseu Fedotov: impossible to set the timerThanks for the translation :) leonerd 2017.10.10 13:03 #979 Why doesSymbolInfoInteger(sym,SYMBOL_SELECT) return true if sym=="" ?Same with MarketInfo(sym,MODE_TRADEALLOWED). [Deleted] 2017.10.11 18:11 #980 leonerd: Why does SymbolInfoInteger(sym,SYMBOL_SELECT) return true if sym=="" ?Same with MarketInfo(sym,MODE_TRADEALLOWED).How should it be? 1...919293949596979899100101102103104105...268 New comment
Please advise where exactly it is inserted.
#include <WinUser32.mqh>
#define VK_HOME 0x24 Where can I find out all variables for all keys?
void start() { int handle=WindowHandle(Symbol(),Period());
PostMessageA(handle,WM_KEYDOWN,VK_HOME,0);}
at compilation it says void start...
in the source code of the ready EA? If there is an allert that this script should be attached to, it should push the button from the keyboard
Please advise where exactly it is inserted.
#include <WinUser32.mqh>
#define VK_HOME 0x24 Where can I find out all variables for all keys?
void start() { int handle=WindowHandle(Symbol(),Period());
PostMessageA(handle,WM_KEYDOWN,VK_HOME,0);}
at compilation it says void start...
in the source code of the ready EA? If there is an alt to which this script should be attached, it should push the button from the keyboard
put in the program header from where the PostMessage is launched
What is the magic of a manually opened order? What will OrderMagicNumber() return? 0?
What is the magic of a manually opened order? What will OrderMagicNumber() return? 0?
yes
Thank you.
What does the error mean.
cannot set timer
What does the error mean.
cannot set timer
Unable to set the timer
impossible to set the timer
Thanks for the translation :)
Why doesSymbolInfoInteger(sym,SYMBOL_SELECT) return true if sym=="" ?
Same with MarketInfo(sym,MODE_TRADEALLOWED).
Why does SymbolInfoInteger(sym,SYMBOL_SELECT) return true if sym=="" ?
Same with MarketInfo(sym,MODE_TRADEALLOWED).
How should it be?