When placing an order slip and no test.
I don't follow. What does 'no test' mean? You want to execute orders unconditionally (i.e., without an if statement to test a certain condition)?
how to add code to limit the price moved
I suppose you're saying here "adding code to the limit order once the price moved". What does 'adding code' mean in this context? For what purpose do you want to add more code?
If the price goes below that limit order, too, it is rearranged. Add the function code. please
I think we're having some Google Translate difficulties.
What do you mean with rearranging the prices?
And why do you want to use a function? Functions can't submit orders, after all.