Hi,
This is probably a very basic question but I’m keen to understand it so thanks for any help!
If I put in an order with a SL/TP, once I see a single tick at that price point for bid/ask will the that trade get successfully closed? Or do you need a sustained set of ticks at that price for it to complete? Or is it even more complex e.g. what happens if it reverts after that one tick, do you get a partial trade out?
The wider context here is I’m trying to make my own back tester and trying to work out what the logic is for matching SL/TP? i.e. if tickPrice >= SL then assume we’re done. Is that actually true for real world orders? Any suggestions on rules to follow to best emulate how a SL/TP is filled by a real broker?
Thanks!