Login Page - Create Account

Support Board


Date/Time: Fri, 14 Mar 2025 13:22:00 +0000



Post From: MBO DATA

[2025-03-10 02:32:11]
User628340 - Posts: 3
I have MBO working on the DOM, but when can we have the option to display it on the chart?
I tried another study (gc study) that moves the mbo from the ladder, into the chart area, but not quite the same.

I tried making a study to display on the chart, and it gives error. Thanks

minimbo.cpp: In function 'void scsf_TestMBO(SCStudyInterfaceRef)':
minimbo.cpp:6:58: error: cannot bind non-const lvalue reference of type 's_MarketDepthEntry&' to an rvalue of type 's_MarketDepthEntry'
6 | sc.GetBidMarketDepthEntryAtLevelForSymbol(sc.Symbol, 0, DepthEntry);
| ^
In file included from scstructures.h:104,
from sierrachart.h:23,
from minimbo.cpp:1:
scconstants.h:1986:2: note: after user-defined conversion: 's_MarketDepthEntry::s_MarketDepthEntry(int)'
1986 | s_MarketDepthEntry(int DummyValue = 0)
| ^~~~~~~~~~~~~~~~~~