OnStart()
(MQL5) or start()
(MQL4) function once when launched. Scripts are used for single actions (e.g. close all trades, create orders). In MT4 they are stored in MQL4\Scripts
, in MT5 in MQL5\Scripts
.
OnStart()
(MQL5) or start()
(MQL4) function once when launched. Scripts are used for single actions (e.g. close all trades, create orders). In MT4 they are stored in MQL4\Scripts
, in MT5 in MQL5\Scripts
.