carlosduna / Publications
Forum
How to close Strategy Tester Visualization from custom configuration file?
Hello guys, I'm calling the Strategy Tester Visualization using command line + custom configuration file (https://www.metatrader5.com/en/terminal/help/start_advanced/start). The thing is: ShutdownTerminal=1 closes only the terminal, leaving the Strategy Tester Visualization open. How can I close it
MT5 toggle AutoTrading button
Hello. Can Anybody help me? I found the following code that works on MT4 to toggle AutoTrading button: #include <WinUser32.mqh> #import "user32.dll" int GetAncestor( int , int ); #define MT4_WMCMD_EXPERTS 33020 #import void OnTick () { int main=GetAncestor( WindowHandle ( Symbol (), Period ())