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.
TimeCurrent()https://www.mql5.com/ru/docs/dateandtime/timecurrent
use the second version of this function's signature:
ZS: I will write at once - it works in MT4, I used it ;)
UPD: in MT4 I also used Hour() and Minute() - I don't use them for a long time, but they should give the last server time in hours and minutes
Can you advise or guide on how to make a template function with more than 10 input parameters of any type ?
Please advise or guide how to make a template function with more than 10 input parameters of any type ?
2020.09.13 08:33:57.508 tst (EURUSD,H1) v1 = 1
2020.09.13 08:33:57.508 tst (EURUSD,H1) v2 = 1.01
2020.09.13 08:33:57.508 tst (EURUSD,H1) v3 = qwerty
2020.09.13 08:33:57.508 tst (EURUSD,H1) v4 = 3.1415
2020.09.13 08:33:57.508 tst (EURUSD,H1) v5 = 777
2020.09.13 08:33:57.508 tst (EURUSD,H1) v6 = 1
2020.09.13 08:33:57.508 tst (EURUSD,H1) v7 = 1.01
2020.09.13 08:33:57.508 tst (EURUSD,H1) v8 = qwerty
2020.09.13 08:33:57.508 tst (EURUSD,H1) v9 = 3.1415
2020.09.13 08:33:57.508 tst (EURUSD,H1) v10 = 777
2020.09.13 08:33:57.508 tst (EURUSD,H1) v11 = Value_11
How to understand the following line, if(OrderSymbol()==Symbol()&& OrderMagicNumber()==MAGICMA
if(OrderSymbol()==Symbol() && OrderMagicNumber()==MAGICMA)
cool
how to understand
If the order symbol (EURUSD) is equal to the chart symbol and the order magik (12345) is equal to the EA magik, then.....
If the order symbol (EURUSD) is equal to the chart symbol and the order magik (12345) is equal to the EA magik, then.....
thanks!!!
How to understand the following line, if(OrderSymbol()==Symbol()&& OrderMagicNumber()==MAGICMA
if(OrderSymbol()==Symbol() && OrderMagicNumber()==MAGICMA)
SHAITANA_MA.
Sometimes people write such funny variables :)
how do you know if the chart has moved? - Maybe the price has gone down. put a stop - really one point, it won't work.