stepper motor code on arduino uno stack with motor shield v2.0

So i change it to using 4 AA batteries to supply, but there another problem occurred. which is the motor is not moving at all even though there's no more orange light and the green light on the motor shield is lighted not blinking.

What stepper motor do you have? I think that you are seriously underestimating the amount of current (and voltage) that a stepper motor needs. And, I mean seriously. A car battery is more like what you should be using.