Download the source code for the Expert Advisor Programming books below. Be sure to extract the files into the MQL4 or MQL5 folder of your MetaTrader data folder. Make sure that your ZIP program is set to preserve folder paths.

Hedging Update for Expert Advisor Programming for MetaTrader 5

If you purchased the first edition of the book, please read the “Hedging Addendum (First Edition).pdf” file in the source code download for an explanation of the changes made to MQL5 and to the source code to support hedging accounts.

Older Versions