How to use TrailingStop method to modify a OrderSend()

 

I want to open a sell order,I hope the open price the higher the better, I want to use TrailingStop method, using OrderModify() function to modify the OrderSend() function, will you write the code for me?

 

how can someone know where is gonna be the highest price

 
qjol:

how can someone know where is gonna be the highest price


Hi qjol, thank you again, this time I want to open a selling order in every 100*Point, if possible, I want to open sell order higher using TrailingStop method to modify the OrderSend() function,but I don't know how to write it.
 
jxll:

I want to open a sell order,I hope the open price the higher the better, I want to use TrailingStop method, using OrderModify() function to modify the OrderSend() function, will you write the code for me?



This is a little unclear...

But much of what you will need is here https://www.mql5.com/en/code/8714

-BB-