Forums › ProRealTime English forum › ProOrder support › Trying to work out how to code a sell market order › Reply To: Trying to work out how to code a sell market order
Thanks @Nicolas
Heres what am trying to achieve;
On Long, if buy price is less then -4pips then sell
On short, if buy price is more then +4pips then sell
I guess what am trying to do is sell should the market run up/down in the correct direction and then reverse on itself.
Here is scenario #1: I buy long at 1.556 and the market goes up by 10pip and the order is sold at 95% sells which is perfect and a win
Here is scenario #2:I buy long at 1.556 and the market goes up by 3pip at and suddenly crashes, I would like to sell as soon as -0.002pip ????
Thanks gents, appreciate the replies