Support Board
Date/Time: Tue, 26 Aug 2025 07:01:34 +0000
[Programming Help] - Data calculation by every tick
View Count: 123
[2025-08-08 12:28:52] |
User358514 - Posts: 12 |
Hey! I am working on a study which analyzes the delta(ask-bid) volume dynamics inside of a bar. What is the most efficient(performance approach) way to analyze the tick-by-tick data inside of a bar? The chatgpt says there is a "sc.NewVolume" variable, but I can't find any info about it, and it isn't in the headers(at least in my version). Thanks |
[2025-08-11 11:01:23] |
DFromeaux - Posts: 17 |
Hi, I think the best way to do this is to access the intrabar volume using the function: sc.VolumeAtPriceForBars
This way, you can retrieve the Bid and Ask for each price and either calculate the delta per price level for each bar or sum all the bids and all the asks to calculate the delta for the entire bar. Here is the documentation: ACSIL Interface Members - Variables and Arrays: sc.VolumeAtPriceForBars |
[2025-08-11 17:00:43] |
Sierra_Chart Engineering - Posts: 20734 |
Yes post #2 is good information. Not sure what else we can suggest without knowing the precise details of the calculations you need to do. 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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2025-08-11 17:00:51
|
To post a message in this thread, you need to log in with your Sierra Chart account: