ChartGetInteger(ChartID(), CHART_BRING_TO_TOP) при активности окна открытого внутри терминала, возвращает 1, но для открепленного окна от терминала данная функция всегда возвращает 0.
Question: How can I find out the activity of a detached window?
class D {};
template <typename T>
class B
{
public:
~B(void) {f1();}
void f1();
};
class C: public B<D> { };
template <typename T>
void B::f1() {}
voidOnStart()
{
C c;
}
When compiling, the error "function 'B<D>::f1' must have a body".
At the same time, if you make the B class non-template, it compiles without errors.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I've noticed green ticks in the PM section of the website.
Double - the other person has read your message, single - has not read it?
I've noticed green ticks in the PM section of the website.
Double - the other person has read your message, single - hasn't read it?
Thank you.
Can you tell me how to prevent an order ticket from going into history in the tester?
In the screenshot there is no order with ticket 6.
IndicatorReleaseПри работе в тестере стратегий функция IndicatorRelease() не выполняется.In the tester, the function returns an error:
ERR_FUNCTION_NOT_ALLOWED -System function not allowed to be called
So let it not run, why throw errors?
b3082
When compiling, the error "function 'B<D>::f1' must have a body".
At the same time, if you make the B class non-template, it compiles without errors.
Is this a bug or a bug in the code?
When compiling, the error "function 'B<D>::f1' must have a body".
Is this a bug or a fix?
It's been unchanged for years - need to swap for some reason (finish one class before starting another)
Colleagues, caught 2 errors: