Skip to main content

IBigTradeIndicator

IBigTradeIndicator provides programmatic access to the mzBigTrade chart indicator. It exposes filtered trade lists, trade filter configuration (volume, iceberg, DOM pressure, aggression), and presentation settings.

Namespace: MZpack Inheritance: IBigTradeIndicator : IOrderFlowIndicator : ITickIndicator : IIndicator Source: MZpackBase/mzBigTrade/IBigTradeIndicator.cs

Key Data Properties

PropertyTypeDescription
TradesList<ITrade>All trades that pass the current filter
ChartTradesSortedDictionary<int, List<ITradeView>>Filtered trades as displayed on the chart, indexed by bar
SingleTradesList<ITrade>All single (unfiltered) trades
ReconstructedTradesList<ITrade>All reconstructed (unfiltered) trades

Trade Filter Properties

PropertyTypeDescription
TradeFilterTypeTradeFilterTypeType of filter
FilterLogicTradeFilterLogicALL (all filters must match) or ANY (any filter matches)
TradeFilterEnableboolEnable volume filter
TradeFilterMindoubleMinimum volume threshold
TradeFilterMaxdoubleMaximum volume threshold
TradeMultipleOfFilterEnableboolEnable multiple-of filter
TradeMultipleOfFilterValuedoubleVolume must be a multiple of this value

Iceberg Filter Properties

PropertyTypeDescription
IcebergFilterEnableboolEnable iceberg detection filter
IcebergFilterMindoubleMinimum iceberg volume

DOM Pressure and Support Filters

PropertyTypeDescription
DomPressureFilterEnableboolEnable DOM pressure filter
DomPressureFilterMindoubleMinimum DOM pressure
DomPressureFilterMaxdoubleMaximum DOM pressure
DomSupportFilterEnableboolEnable DOM support filter
DomSupportFilterMindoubleMinimum DOM support
DomSupportFilterMaxdoubleMaximum DOM support

Aggression and Smart Filters

PropertyTypeDescription
AggressionFilterEnableboolEnable aggression filter
AggressionFilterMinintMinimum aggression ticks
AggressionFilterMaxintMaximum aggression ticks
SmartFilterEnableboolEnable smart trade filter

Auto Filter Properties

PropertyTypeDescription
TradeFilterSelectionEnableboolEnable auto filter selection
TradeFilterSelectionTradeFilterSelectionAuto filter mode
TradeFilterSelection_PercentOfVolumesdoublePercentage of volumes for auto filter
TradeFilterSelection_PercentOfNumberdoublePercentage of trade count for auto filter
AutoFilterDaysintNumber of days for auto filter calculation
AutoFilterTradesPerDayintTarget trades per day

Presentation Properties

PropertyTypeDescription
PresentationTypePresentationTypeTrade marker presentation style
MarkerTypeTradeMarkerTypeTrade marker shape
MarkerPositionTradeMarkerPositionMarker position on chart
ColorModeColorModeColor coding scheme
ShowDomPressureboolShow DOM pressure with trades
ShowDomSupportboolShow DOM support with trades
ShowTradePOCboolShow trade POC

Example: Read Filtered Trades

IBigTradeIndicator btIndicator = ...;

// Get all filtered trades
foreach (ITrade trade in btIndicator.Trades)
{
double price = trade.Price;
long volume = trade.Volume;
TradeSide side = trade.Side;
DateTime time = trade.Time;
}

// Get trades for a specific bar
if (btIndicator.ChartTrades.ContainsKey(CurrentBar))
{
foreach (ITradeView tradeView in btIndicator.ChartTrades[CurrentBar])
{
// Process trades on this bar
}
}

See Also