If this was an up bar (green candle) it would be part of a long setup and I want to submit a limit order to buy at the mid-point, but in this case the instrument trades in whole ticks, so I need to submit at the nearest whole tick ABOVE the midpoint, which is 8.
The concept is reversed for a short where the bar is down (or red candle) so the required valued is 6.
I'm familiar with MasterInstrument.Round2TickSize(), but I don't think I can count on this round according to my requirements. So, how would I go about doing this?

Comment