MQL4: Calculating Statistical Ratios and Using Them to Optimize Expert Advisors