Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 19:01:16 +0000



sc.SymbolData->AskDOM[0].Price

View Count: 620

[2020-11-11 16:20:16]
amirN - Posts: 159
I am trying to convert some of my code so that I can recompile and upgrade to the latest SC.

It seems that AskDOM is no longer available, so the following code is throwing error:

sc.Subgraph[58][ix] = (float)sc.SymbolData->AskDOM[0].Price;
sc.Subgraph[59][ix] = (float)sc.SymbolData->BidDOM[0].Price;

PLease suggest an alternative to the above.
[2020-11-11 18:32:37]
Sierra Chart Engineering - Posts: 104368
Here is the replacement function:
sc.GetAskMarketDepthEntryAtLevel

And the Bid version of it.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-11-11 18:33:02

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account