The invention belongs to the metal sheet and strap straighten technology field, which is a technical parameter optimizing method of straightening the metal sheet and strap automatically. The existing technology is complexity during the process of the straighten of the sheet and strap, the effect factors of straightener such as bounce, abrasion and clearance of axletree etc, more wrap of the technical initialization between the theoretic calculation and factual operation that lead the request about the flat and straight of the production can not be satisfied. The invention is making the least optimizing process for the difference of the theoretic value and the fact measure value, that is correcting the undetermined variable in the theoretic calculating formulary of the straighten force - regressive coefficient a0, a1, a2, a3, a4, a5, a6, a7, that is the nearest value between the theoretic value and the fact measure value. The method of the invention can setup the technical parameter automatically, improve the quality and the efficiency of straighten, the online system base on the invention has successful apply on the 3500 millimeters thick sheet straightener, the average value of the measure straighten force is discrepance smaller +5% with the calculation value, the remnants curvature of the production is less than 1.5mm/m.