Block Trade Flag from Time & Sales Module

Hi, i read all posts from this forum and the old forum, but i did not find a solution.

I have programmed several indicators based on the OnMarketData() function, i don’t know how to get the Block Trade Flag from the Time & Sales Module.

This block trade flag is not based on volume, i have seen block trades as low as 6 contracts, so the volume filter is not a valid option.

I guess the Block Trade Flag is coming from CME Block trade reporting. Anyone know a way to get thi info to add it to personal development?

I also have the OrdeFlow+ Addon, and the OrderFlow Trade Detector using block mode is less accutare than the Time & Sales.

Thanks.

I went looking at this in 8.1.8.4. MarketDataEventArgs only carries Ask, Bid, Last, Price, Volume, Time, MarketDataType and IsReset. There’s no trade-condition or block field, so OnMarketData() has nothing to read it from.

The Block highlight in Time & Sales also isn’t an exchange flag as far as I can tell. It’s driven by the window’s own “Block alert trade size” property (right-click > Properties > General), so it’s a size threshold you set. If yours is set low, that would explain blocks showing up at 6 contracts. To match it in your own code, compare e.Volume against the same number you use there.