Support Board
Date/Time: Tue, 04 Feb 2025 14:34:05 +0000
[Programming Help] - Safe Depth of Market Data in Spreadsheat
View Count: 543
[2020-01-20 16:23:23] |
Tom_Tom - Posts: 40 |
Hello, i use a Stair Step Chart with a Bar Period Time of one second. All my studies go to a Spreadsheet. For the Bid Stack/Pull Value and the Ask Stack/pull Value i use the Market Depth Data Study. It sseems the Data for the Market Depth Data are not able to store. Is there a way to store the Data? Thanks for help! Sincerely Thomas |
[2020-01-22 11:19:23] |
Tom_Tom - Posts: 40 |
Hello, now i have done a code. For the first time this is what i want and i think it is working. If someone has a note for me to do better, please post. Thanks! #include "c:\sierrachart\acs_source\sierrachart.h" SCDLLName ("Projet 1") SCSFExport scsf_Demo(SCStudyGraphRef sc) { if (sc.SetDefaults) { sc.GraphName = "Demo"; sc.AutoLoop = 1; sc.FreeDLL = 1; sc.Subgraph[1].Name = "Bid Stack Pull Value"; sc.Subgraph[2].Name = "Ask Stack Pull Value"; return; } int BidStackPullValue = sc.GetBidMarketDepthStackPullValueAtPrice(sc.Bid); int AskStackPullValue = sc.GetAskMarketDepthStackPullValueAtPrice(sc.Ask); sc.Subgraph[1].Data[sc.Index] = BidStackPullValue; sc.Subgraph[2].Data[sc.Index] = AskStackPullValue; } Sincerely Thomas |
To post a message in this thread, you need to log in with your Sierra Chart account: