I'm trying to process the price movements on a last-price chart on NT8, so I'm using " OnMarketData " and checking whether the ticks/events equals "MarketDataType.Last". If so, I process it.
The problem is that price on the chart makes movements not because of "last-price ticks" but other type. I've tried processing both Last and Bid ticks, but then I've realized not every Bid move chart price, so again my code doesn't process same movements as price chart.
Actually I've checked that there are movements on price that doesn't fit with any MarketDataEvent catched on OnMarketData, so I guess there is another way of detecting these price movements?
So, in short, my question is how could I process in my code exactly the same movements that price-chart shows? Am I right using OnMarketData for both Simulation and Real-Time?
Thanks in advance.
Comment