Execute after the last Tick New comment Hoi Cheng 2020.09.10 03:29 The OnTick() function is driven by the receiving of a new tick. But what if I want to execute a block of code immediately after the last tick of the trading week, long before the first tick of the following trading week? Any suggestions on how this can be done? Thank you Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions www.mql5.com //| Expert initialization function | //| Expert deinitialization function | //| Expert tick function | //| test1 |... Errors, bugs, questions execute order after candlestick closes When does it make sense to keep part of the robot code in an indicator? New comment
The OnTick() function is driven by the receiving of a new tick.
But what if I want to execute a block of code immediately after the last tick of the trading week,
long before the first tick of the following trading week?
Any suggestions on how this can be done?
Thank you