My question is simple. I need help coding a script that places a pending prder that is exactly the same as the last order closed by SL or TP.
It should be placed at the same place with the same SL and TP as the last order and right after the last order is closed.
I place a buy order at 1.19400 with SL 1.19200 and TP 1.19600.
Market goes from 1.19400 to 1.19600 and that order is closed by TP.
Right after that order is closed i want a new pending buy-limit order to be created exactly like the one that was just closed: buy at 1.19400 with SL 1.19200 and TP 1.19600.
I also want this to work with multiple orders open at the same time.
Thanks in advance!! <3
That isn't a question. Help you with what?
You haven't stated a problem, you stated a want.
You have only four choices: