@jstap That you mean answer for disable Algor trade button in the Amazon web right ?
Best posts made by XDV
-
RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema
Latest posts made by XDV
-
How to solving this enum error ?
I do this with enum but cannot compile. I need to do enum with timeframe. and I have read another forum about enum but cannot solve this error.
Thank you for helping me solve this problem. -
RE: Close All MT5 trades quickly
@jstap Do you have any way to turn ON/OFF Algo Trading in MT5 ?
-
RE: MQ5 & WinAPI
And This script MQL5 can run direct on MT5 >>>
#define MT_WMCMD_EXPERTS 32851
#define WM_COMMAND 0x0111
#define GA_ROOT 2
#include <WinAPI\winapi.mqh>void AlgoTradingStatus(bool Enable)
{
bool Status = (bool) TerminalInfoInteger(TERMINAL_TRADE_ALLOWED);
if(Enable != Status)
{
HANDLE hChart = (HANDLE) ChartGetInteger(ChartID(), CHART_WINDOW_HANDLE);
PostMessageW(GetAncestor(hChart, GA_ROOT), WM_COMMAND, MT_WMCMD_EXPERTS, 0);
}
}void OnStart()
{
AlgoTradingStatus(false);
} -
MQ5 & WinAPI
I have run the MQL5 script in fxDreema, tested it in both "Custom block" and in the "Custom MQL code" block, the result appears to be the same error:
can't open "S:\www-node\Server.....\WinAPI\winapi.mqhThis is likely caused by preventing WinApi in the server. Therefore, I would like to ask the system administrator to help check this matter. Thank you in advance.
-
RE: Error after run Custom Block
For your link I make it on MT4 and Complete run and working perfectly.
But MT5 with MT5 code is not work with error >> can't open "S:\www-node\Server .... winapi.mqh