ExpertAdvisor disable
RaptorUK:
Click the Expert Advisors button so it shows a white cross in a red circle. Or remove the EA from your chart.
Click the Expert Advisors button so it shows a white cross in a red circle. Or remove the EA from your chart.
it must be a code for my EA.
Take a look here https://www.mql5.com/en/forum/112842
from Known Commands and this
Try this
Try this
#include <WinUser32.mqh> #import "user32.dll" int GetAncestor(int, int); #import void KillMe(){ int hWnd = WindowHandle(Symbol(), Period()); #define MT4_WMCMD_REMOVE_EXPERT 33050 /* Remove expert advisor from chart */ PostMessageA(hWnd, WM_COMMAND, MT4_WMCMD_REMOVE_EXPERT, 0); }
Hi all together,
how is the code for ExpertAdvisor disable???