Script for pending order after open a pending order

Hi guys, I have a pleasure to ask you.
I’m looking for a very simple script but can not find.
The task of the script is to place an order pendetente after the opening of another ordinde pending.
An example:
I position it manually, the first pending order, when it is opened, it must scirpt open another pending order. Point, that’s all, it’s nothing complicated.
I hope I explained clearly.
I can not program for this reason I asked for your help.