MQL4 code for indicator/EA on Metatrader4 platform to trade FX