Support Board
Date/Time: Sat, 29 Aug 2026 05:04:08 +0000
Post From: GetBid/AskMarketLimitOrdersForPrice returns zero in standalone Trade DOM
| [2026-07-27 04:22:26] |
| User860690 - Posts: 12 |
|
Correction and follow-up after updating and performing controlled tests. i have updated to latest SC version. The MBO API and Label Column issues are separate: 1. On a standalone Trade DOM using the native ES 0.25 price increment, GetBidMarketLimitOrdersForPrice/GetAskMarketLimitOrdersForPrice work. Example diagnostic result: chartTick=0.25 symbolTick=0.25
bidMBOResults=15 askMBOResults=10 bidQualifying=10 askQualifying=10 liveWrites=20 2. On the same symbol with the Trade DOM combining 4 ticks into 1.00 rows, sc.TickSize and sc.SymbolData->TickSize both report 1.00, depth entries advance by 1.00, and both MBO functions return zero. The native Bid/Ask Market Orders columns still display the underlying queues, overlaid on the combined rows. Is there a documented public ACSIL method to obtain the native 0.25 tick size and query all underlying MBO prices when the Trade DOM combines four ticks? There is also a corrected finding regarding the Label Column. My original post said the forced label worked. It did not appear in the Label Column; the value was only visible in the normal chart's study-values line. The study uses the documented recipe exactly: sc.GraphRegion = 0;
Subgraph.DrawStyle = DRAWSTYLE_SUBGRAPH_NAME_AND_VALUE_LABELS_ONLY; Subgraph.LineLabel = LL_DISPLAY_VALUE | LL_VALUE_ALIGN_DOM_LABELS_COLUMN | LL_DISPLAY_CUSTOM_VALUE_AT_Y; Subgraph.Data[sc.ArraySize - 1] = 123.0f; Subgraph.Arrays[0][sc.ArraySize - 1] = currentBidPrice; The log proves ArraySize and the index are valid, the lifecycle gates have passed, and the write occurred: ArraySize=1730 lastIdx=1729 FullRecalc=0
forcedIndex=1729 forcedQty=123 forcedY=7499 liveWrites=20 Labels Column 1 is visible and the study is not hidden. The result is blank on both a chart with Chart DOM columns and a standalone Trade DOM. I also tested both the default scale behavior and SCALE_INDEPENDENT with the same result. Is another documented study or Subgraph setting required for this recipe in the current Sierra Chart version? If not, could you provide a minimal single-Subgraph example confirmed to render in a standalone Trade DOM? i have attached the CPP files for reference. |
| |
