Choose the clock that matches the rule
TimeCurrent reports the last known quote-server time. In OnTick it is the time of the handled tick; elsewhere it is the last server time available in Market Watch. It does not depend on the workstation clock.
TimeLocal and TimeGMT depend on the computer environment. They are useful for local operations, but mixing them with broker session rules can shift behavior when server offsets or daylight-saving policies differ.
| Function | Clock | Typical use |
|---|---|---|
| TimeCurrent | Trade server | Broker session and current market time |
| TimeLocal | Computer | Local workstation tasks |
| TimeGMT | Calculated GMT | External UTC comparison |
| iTime | Series bar time | Bar alignment |
