Unknown variables
- www.mql5.com
They are also undefined in MQL4. Maybe PostMessageA is a custom function and WM_COMMAND is a custom define?
Thank you enivid, but this is what is written in MQ4 indicator:
//---- refresh window not frequently than 1 time in 2 seconds
if(hwnd!=0 && cur_time-last_time>=2)
{
PostMessageA(hwnd,WM_COMMAND,33324,0);
last_time=cur_time;
}
Can somebody help...?
Thank you enivid, but this is what is written in MQ4 indicator:
//---- refresh window not frequently than 1 time in 2 seconds
if(hwnd!=0 && cur_time-last_time>=2)
{
PostMessageA(hwnd,WM_COMMAND,33324,0);
last_time=cur_time;
}
Can somebody help...?
Yeah, that can be written in MQ4 indicator but for it to work even in MT4 hwnd, WM_COMMAND and PostMessageA() should be defined somewhere in this indicator or in the included file.
Yes, My freind You right.
Sorry.
Hello freinds,
I have an indicator in MQL4, with the following code line:
PostMessageA(hwnd,WM_COMMAND,33324,0);
The 2 colored builtin indicator are not known at MQL5.
Can somebody explain how to imigrate these 2?
Thanks.