Hans Alexander Nolawon Djurberg / Publications
Codes
CLiveTradeInfo - CHistoryTradeInfo for MetaTrader 5
The library reconstructs a complete MQL4-style order model on top of the native MQL5 Position, Order, Deal, and History APIs. This design allows legacy MQL4 Expert Advisors to operate with minimal code changes while preserving MQL5
Articles
Try/Catch style in MQL5: Bringing Modern Error Management to Algorithmic Trading for MetaTrader 5
This article presents an exception-like model for MQL5 that prevents VM faults through defensive guards and cooperative TRY/CATCH/FINALLY macros. It introduces structured error objects (CException), result propagation (CResult), manual stack tracing, and integrated logging for clear diagnostics
Database Is Easy (Part 1): A Lightweight ORM Framework for MQL5 Using SQLite for MetaTrader 5
This article presents a structured way to manage SQLite data in MQL5 through an ORM layer for MetaTrader 5. It introduces core classes for entity modeling and database access, a fluent CRUD API, reflection hooks for OnGet/OnSet, and macros to define models quickly. Practical code shows creating


