Half of that article is junk, but i could not find the original article i read on the subject some years ago.
I see what you're saying about the curve fitting and this usually only occurs if you would set the parameters for success of the program to be show a profit by entering and exiting at...