Strange order behavior with [MouseEvents(true)] attribute.
Posted: Mar 17 2015
Hi.
If using [MouseEvents(true)], and clicking on the chart when automatic trading enabled, current already sent orders to behave strangely. They are cancelled on the next tick after click, and re sent again after some ticks (one or two, rarely more). Moreover in orders tracker windows appears cancelled excess order, which was sent as "manual trading" order. It turns out that when you work with the mouse on the chart, orders constantly flash, disappears and appears again.
This happens even if "protected override void OnMouseEvent(MouseClickArgs args)" method is empty or missing.
If using [MouseEvents(true)], and clicking on the chart when automatic trading enabled, current already sent orders to behave strangely. They are cancelled on the next tick after click, and re sent again after some ticks (one or two, rarely more). Moreover in orders tracker windows appears cancelled excess order, which was sent as "manual trading" order. It turns out that when you work with the mouse on the chart, orders constantly flash, disappears and appears again.
This happens even if "protected override void OnMouseEvent(MouseClickArgs args)" method is empty or missing.