- Implemented 1-second cache for TERMINAL_TRADE_ALLOWED and MQL_TRADE_ALLOWED
- Pre-calculated trading hour bounds in seconds during OnInit
- Optimized time filtering using fast modulo arithmetic (now % 86400)
- Optimized daily reset logic to avoid expensive TimeToStruct conversions
- Improved OnTick execution speed and reduced terminal API overhead