Hi, I'm evaluating MC and I have some doubts about the use of volumes in powerlanguage. Data Supplier is Zen Fire trial, in this very moment I see volumes are 64554(InteractiveB), building a 1 minute chart using builvolumeon tick I got a cumulative volume of 14033, building the same chart but using buildolumeon tradevolume I get 33422. The same happens plotting tick by tick, I get 42282 using builvolumeon tradevolume and 27340 with buildvolumeon tick. In any case I never get the totale volume which is higher, is there something wrong in my instructions? Thanks
var:totalvolume(0);
totalvolume=totalvolume+volume;
plot1(totalevolume,"TotVol");
volume calculation on charts
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: volume calculation on charts
look up the definition of the following would help:Hi, I'm evaluating MC and I have some doubts about the use of volumes in powerlanguage. Data Supplier is Zen Fire trial, in this very moment I see volumes are 64554(InteractiveB), building a 1 minute chart using builvolumeon tick I got a cumulative volume of 14033, building the same chart but using buildolumeon tradevolume I get 33422. The same happens plotting tick by tick, I get 42282 using builvolumeon tradevolume and 27340 with buildvolumeon tick. In any case I never get the totale volume which is higher, is there something wrong in my instructions? Thanks
var:totalvolume(0);
totalvolume=totalvolume+volume;
plot1(totalevolume,"TotVol");
ticks
volume
upticks
downticks