In fact his test was most likely not out-of-sample. If he mined price patterns that cover hundreds of days, he must have ended up with millions of profitable patterns. When he then selects the single pattern that was most profitable with 2003-2013 data, it's just as in-sample as if he had used that data for mining.

For a real out-of-sample test he had to include all mined patterns in the system.