so please look at pictures only (do not mention the text is russian) -
http://codebase.mql4.com/ru/756
the x1-x4 range is 0-200 step 1, the SL range is 10-100 step 5
the Model must be "Fast method"
then pick up a pair and timeframe in StrategyTester, check "recalculate" and "optimization". press start. the author says that P-III computer will optimize ~1-2 hours at M30.
when optimization is finished then go "optimization results" and sort them by profit factor. pick up the best result keeping in mind the good number of deals for you and minimum drawdown.
press right mouse button and set the entry parameters then recalculate with them
BRGDS Dan