volume calculation on charts

Questions about MultiCharts and user contributed studies.
fibdax
Posts: 88
Joined: 03 Jan 2011
Has thanked: 5 times
Been thanked: 4 times

volume calculation on charts

Postby fibdax » 11 Jan 2011

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");

User avatar
piranhaxp
Posts: 236
Joined: 18 Oct 2005
Has thanked: 4 times
Been thanked: 29 times

Re: volume calculation on charts

Postby piranhaxp » 11 Jan 2011

var:totalvolume(0);
totalvolume=totalvolume+ticks; /// PLEASE USE TICKS IN CHARTS WITH BARTYPE <=2 !!!!
plot1(totalevolume,"TotVol");

User avatar
TJ
Posts: 6585
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 971 times
Been thanked: 1907 times

Re: volume calculation on charts

Postby TJ » 11 Jan 2011

fibdax wrote: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");


look up the definition of the following would help:

ticks
volume
upticks
downticks

fibdax
Posts: 88
Joined: 03 Jan 2011
Has thanked: 5 times
Been thanked: 4 times

Re: volume calculation on charts

Postby fibdax » 12 Jan 2011

thanks


Return to “MultiCharts”