trailing pending stop
-
I want to trail the market with sell or buy stop
So in short when market moves up, I place a sell stop at the fixed distance from iOpen(symbol(),0,1) (the open of the previous bar)
then if the a new bar is formed and its open is above previous open, I want to move the pending to its new value -- previous open - fixed_distanceWhen I create the original order I can input my formula as described above
But when I want to trail the pending by modifying the original price, I cannot manage itIs ot possible, or do I have to delete the existing pending and create a new one each new bar?
Thanks
-
What means that you cannot manage the pending order after it's open price is modified? Errors?