The invention discloses die casting machine with L-shape frame, including at least one L-shape frame, fixed die plate, fixed on end of upward extending side of frame, moving die device, disposed on other side of frame and slidable relative to frame, including moving die plate opposite to fixed die plate, lockable to frame by mold clamping device; a notch, formed on bottom of frame, first deformation compensation device, provided in notch, adapted for applying forces in opposite directions on sides of notch, while moving die plate is clamped with fixed die plate. First deformation compensation device of the present invention is adapted to applying forces on sides of the notch in lower position of the frame, to compensate squeeze to central section on the bottom of frame, weakening elastic distortion of the track on the frame, and eliminates effects of die casting or injection molding products due to deformation.