Formula of AdvVolume(). AdvIssues(), UncIssues()?

I’ve a market with only 4 symbols, where
1st symbol = Close of Bar1 = 361 (Vol 898); Bar2=364 (Vol 1032);
2nd symbol = Close of Bar1 = 88.3 (Vol 24); Bar2=88.45 (Vol 14);
3rd symbol = Close of Bar1 = 314.2 (Vol 20); Bar2=314.2 (Vol 10);
4th symbol = Close of Bar1 = 324 (Vol 2); Bar2=320 (Vol 2);
//
According to data above, I guess, values at bar2 should be:
AdvVolume()
= 1032 (because the close price from 361 up to 364 on 1st symbol)
+14 (because the close price from 88.3 up to 88.45 on 2nd symbol)
+0 (because the close price from 314.2 equal to 314.2 on 3rd symbol)
+0 (because the close price from 324.0 down to 320.0 on 4th symbol);
= 1046; // actually it shows 0 on my chart, why?
//
AdvIssues()
= 3 (because the close price from 361 up to 364 on 1st symbol)
+0.15 (because the close price from 88.3 up to 88.45 on 2nd symbol)
+0 (because the close price from 314.2 equal to 314.2 on 3rd symbol)
+0 (because the close price from 324.0 down to 320.0 on 4th symbol);
= 3; // actually it also shows 0 on my chart, why?
//
UncIssues()
= 0 (because the close price from 361 up to 364 on 1st symbol)
+0.15 (because the close price from 88.3 up to 88.45 on 2nd symbol)
+1 (because the close price from 314.2 equal to 314.2 on 3rd symbol)
+0 (because the close price from 324.0 down to 320.0 on 4th symbol);
= 1; // actually it also shows 0 on my chart, why?
//
Please help, Thank you :smiley:!

Thanks to your kindness reply :smile:,
after some over night study,
I find that AdvVolume() is
the total volume of given market (except the volume of base index),
when given market is AdvIssues(),
that is, when given market is going up,
it will return the volume as the value of AdvVolume();
//
Also, I find that my data got some un-syncnized between all symbols
on given market, so I cannot identify correct AdV*() by my eyes,
so I post this article,
after installed an all new AmiBroker,
and try to choose only two symbol for testing, every thing is clear.

but there still something confuse me, that is,
I assign only AAPL, MSFT to market2, use AAPL as base index,
use Quote editor to cut data to the same (all from 2014/01/09),
then amazingly, the DecIssues() of first bar = 1,
other value seems normal, I just don't know why,
(I'm testing on beta v6.35).
//
To my knowledge :thought_balloon: AvdVolume(), AdvIssues(), DecIssues() should be all zero :egg: on first bar.

How about using Google search?

If you used Google: https://www.google.com/search?q=adline+amibroker

You would find this
http://www.amibroker.com/kb/2007/07/30/how-to-display-the-indicators-based-on-advancesdeclines/

2 Likes