I don't know about your particular question but i found library file inside my computer (attached). Unzip it and place to /include folder. Don't compile.
And in your EA do the following:
- place
Code:
#include <b-Lots.mqh>
after the settings of EA but before deinit(), init() and start()
- place
before OrderSend(Symbol(), ...
- delete this line in your EA:
Code:
extern double Lots=1;
And you will have several kinds of Money management:
LotsWayChoice = 1; // 0-fixed lot size.
// 1-% from deposit,
// 2-the other kind of MM
// 3-different kind of MM