Login Page - Create Account

Support Board


Date/Time: Fri, 14 Nov 2025 01:22:30 +0000



Post From: Number Bars Calculated Values

[2025-11-13 15:44:21]
User431178 - Posts: 809


I am working on automated trading system using Footprint charts and Number Bars Calculated Values (NBCV). As I am reding values from NBSV I follow indexing as I can see in Subgraphs:

Ask Volume Total -- SG6
Bid Volume Total -- SG7

.....

Total Volume -- SG13

=====

What is the correct way to read Ask Volume and Bid Volume from Numbers Bars Calculated Values study when Display Mode is set
to 'Number Bars'? I am currently reading SG6 for Ask and SG7 for Bid, but SG7 contains negative values which doesn't make sense for Bid Volume.

Problem: SG7 (mapped to "Bid Volume Total") contains negative values in 10 out of 50 bars (min=-2.00 max=234.00), which doesn't
make sense for Bid Volume.



// Fetch all required NBCV subgraphs
if (!fetchNBCV(1, aBidAskDiff) || !fetchNBCV(6, aAskVol) || !fetchNBCV(7, aBidVol) ||
!fetchNBCV(20, aPOCVol) || !fetchNBCV(42, aPOCPrice) ||
!fetchNBCV(36, aVolPerSec) || !fetchNBCV(50, aUpDnDiff) || !fetchNBCV(12, aNumTrades) ||
!fetchNBCV(15, aAvgVolPerTrade) || !fetchNBCV(41, aHiLoRange) ||
!fetchNBCV(37, aPullbackHigh) || !fetchNBCV(38, aPullbackLow))
{
// Fail if any critical SG missing
return;
}


The subgraphs are zero indexed, so you are not getting the data that you think you are.
Ask Volume Total -- SG6 --> index = 5 (not 6)
Bid Volume Total -- SG7 --> index = 6 (not 7)