| / | Forum |
|
hansH
2011.07.23 20:25
Hi all together, how is the code for ExpertAdvisor disable??? |
|
Testing Visualization: Functionality Enhancement The article describes software that can make strategy testing highly similar to the real trading. |
|
RaptorUK
2011.07.23 20:30
Click the Expert Advisors button so it shows a white cross in a red circle. Or remove the EA from your chart.
|
|
hansH
2011.07.23 20:36
RaptorUK: 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. |
|
RaptorUK
2011.07.23 20:42
Take a look here http://forum.mql4.com/17473
|
|
WHRoeder
2011.07.23 22:39
from Known Commands and 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); } |