Codes

MQTTFive — MQTT 5.0 Client Library for MetaTrader 5

MQTTFive — a fully-featured implementation of the MQTT 5.0 client for MQL5. Features: • MQTT v5.0 — all packet types, properties, QoS 0/1/2 • TCP + TLS via the native MQL5 Socket API • Will messages with properties (will_delay_interval, payload_format, message_expiry) • Topic aliases for outgoing

Forum

Compilation errors when using -> for methods on pointers in MQL5

I get compilation errors in MQL5 when trying to use methods on pointers via the -> operator (e.g. ptr->SayHello()). Errors: '>' - operand expected, 'SayHello' - undeclared identifier and others. MetaEditor build 4873 (February 2025) is used, file .mq5, code is entered manually without typos. The