MQL4: Writing an Expert Advisor for the Pyramiding Strategy

MQL4 programming: What pyramiding is in trading. How to write a Forex expert advisor for MetaTrader 4 based on a pyramiding / order grid strategy. History tests, download the EA source code.