Support Board
Date/Time: Mon, 13 Jan 2025 06:22:27 +0000
SC code
View Count: 1047
[2017-04-11 18:32:40] |
User28682 - Posts: 233 |
1) I asked you how to get the code for particular study and I went in and I think was able to get to it. Here is what I found for On Balance Volume: SCSubgraphRef OBV = sc.Subgraph[0]; SCInputRef Length = sc.Input[3]; if (sc.SetDefaults) { sc.GraphName = "On Balance Volume - Short Term"; sc.ValueFormat = 0; sc.AutoLoop = 1; OBV.Name = "OBV Length"; OBV.DrawStyle = DRAWSTYLE_LINE; OBV.PrimaryColor = RGB(0,255,0); OBV.DrawZeros = true; Length.Name = "Length"; Length.SetInt(10); Length.SetIntLimits(1, MAX_STUDY_LENGTH); return; } sc.OnBalanceVolumeShortTerm(sc.BaseDataIn, OBV, Length.GetInt()); I assume SC has a function for all of its studies and the actual code is burried behind the OBV? I dont see any logic for OBV in this code otherwise? Where can I find this? 2) I activated a second log in. When I went to use the second login I got this error message: the log says: TD Ameritrade | Requesting account balance data. Connection will be complete once received. | 2017-04-10 21:58:11 TD Ameritrade | OnAsyncHTTP2RequestFinished did not process RequestID 76. | 2017-04-10 21:58:12 Do I need to be logged in to TD Ameritrade at all times so this second log in works? Thanks Tom |
[2017-04-12 05:36:22] |
Sierra Chart Engineering - Posts: 104368 |
I assume SC has a function for all of its studies and the actual code is burried behind the OBV? I dont see any logic for OBV in this code otherwise? Where can I find this? https://www.sierrachart.com/index.php?page=doc/BuildCustomStudiesDLL.html#SearchingSourceCodeBuiltIn In regards to your second Sierra Chart Exchange Data Feed Real-time Connection, you need to connect the instance of Sierra Chart you are using it with, just once a month to TD Ameritrade. Refer to: https://www.sierrachart.com/index.php?page=doc/SierraChartRealTimeFuturesStockDataFeed.php#ConnectingOnlyOnceAMonthToTradingAccount After that use the SC Data - All Services service at all other times. 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: