I would be interested to know how we could create a function with the "D'Alembert" money management for example, or another unusual money management system : Dual Win (Binary), Incremental Recovery, "SuperSafe" MM, "Extreme" MM.
Here is a code (attached) developed by Derk and shared on TSD. It is a very impressive expert advisor, but the functions are very complicated. It uses mqh files and libraries.
Maybe someone has an idea about how we could program simple functions based on these systems ?