There is such a function code. In MT4 beta, when compiling it, I get "expression not boolean" warning in lines marked with an arrow. Can you suggest how to fix it?
void WindowCaptions()
{
int hwnd = GetAncestor(WindowHandle(Symbol(),Period()),1);
int ret = GetWindowLongA( hwnd, GWL_STYLE );
if (bool(ret & WS_MAXIMIZE)) return; //<---if (bool(ret & WS_DLGFRAME)) ret -= WS_DLGFRAME; else ret += WS_DLGFRAME; //<---//это если совсем без рамочек // if (ret & WS_THICKFRAME) ret -= WS_THICKFRAME; else ret += WS_THICKFRAME;
SetWindowLongA( hwnd, GWL_STYLE, ret );
SetWindowPos ( hwnd, 0,0,0,0,0, 39);
}
Hello, I've started to study the basics of trading robot programming. I can't figure out how to connect a third-party indicator to a robot, i.e. an indicator downloaded from the Internet, so that it can be displayed in the list of indicators and be able to work with it.... If anyone has any difficulty, please advise...
What changes should I make to the code of the indicator to be able to attach this indicator on a five-minute chart on a higher timeframe, for example on a thirty-minute or one-hour chart?
Actually: zero corresponds to false, and any other value other than zero corresponds to true
This is true for BOOL type. That is, for the bool from the old version of MQL4. This is not true for a single-byte bool. An overflow will occur if the value is greater than zero.
There is such a function code. In MT4 beta, when compiling it, I get "expression not boolean" warning in lines marked with an arrow. Can you suggest how to fix it?
Check out this website, how to test an EA with 99% simulation quality
http://tradelikeapro.ru/kak-poluchit-kachestvo-modelirovaniya-99/
Hello!
The question is as follows. I have a Heiken Ashi Smoothed indicator https://www.mql5.com/ru/code/7930.
What changes should I make to the code of the indicator to be able to attach this indicator on a five-minute chart on a higher timeframe, for example on a thirty-minute or one-hour chart?
Thank you.
Hello, could you please tell me what the record should look like so that TRUE and FALSE can be optimised...I have it like this at the moment
I.e. I would like to put a flag on this parameter when optimising...Hello, could you please tell me what the record should look like so that TRUE and FALSE can be optimised...I have it like this at the moment
I.e. I would like to put a flag on this parameter when optimising...Thank you very much!
is not exactly true, but the gist is correct.
Actually: zero corresponds to false, and any other value other than zero corresponds to true
is not exactly true, but the gist is correct.
Actually: zero corresponds to false, and any other value other than zero corresponds to true
What does the test quality depend on and how can I raise it to the maximum?
Check out this website, how to test an EA with 99% simulation quality
http://tradelikeapro.ru/kak-poluchit-kachestvo-modelirovaniya-99/