Points chart and volume

Questions about MultiCharts and user contributed studies.
User avatar
Januson
Posts: 119
Joined: 18 Apr 2007
Location: Denmark

Points chart and volume

Postby Januson » 30 Sep 2008

Hello

Why cant I see any up down volume when using a Points chart?

And what exactly is a Points chart?

brodnicki steven
Posts: 407
Joined: 01 Jan 2008
Been thanked: 3 times

Postby brodnicki steven » 01 Oct 2008

I think of point bars as range bars, that is, the H-L range of a bar. For example a 6 point bar on the ES (emini s&p) is a 1.5 points from hi to lo. all bars are the same size,(1.5 points), if price exceeds 1.5 points a new bar is started.
6 points = 6* min range of whatever you're looking at. So 6 points on the ES = 1.5 points, 6 points on the EurUsd = 30 pips. (5 pip min movement*6 )

I get volume on mine, I use "build volume on tick count".

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Re: Points chart and volume

Postby Marina Pashkova » 01 Oct 2008

Hello

Why cant I see any up down volume when using a Points chart?

And what exactly is a Points chart?
Dear Januson,

Normally you should be able to see up volume and down volume on point charts.

I tested point charts with ES #F from eSignal. 5-point charts were displaying up and down volume in the hint.

What MC version are you using? What is the symbol and the data provider that you used when you were plotting point bars that weren't showing up volume and down volume?

Attached, please find a screenshot showing that these values are available for point charts.

Regards.
Attachments
Up Volume Down Volume.PNG
(85.07 KiB) Downloaded 457 times

User avatar
Januson
Posts: 119
Joined: 18 Apr 2007
Location: Denmark

Postby Januson » 03 Oct 2008

Hi again

Okay.. yes, mouseover, but not from EasyLanguage.

Here you have a normal uptick/downtick indicator, it works fine at tick charts, volume charts and secondcharts. But not Points Chart :roll:


[LegacyColorValue = true];

{ WAV_Vol_3 Indicator WAV 8/20/05

intended for intra-day sessions only

plots histogram showing both upTicks and DownTicks for a bar in
real time - the larger of the 2 is always shown on top

plots volume average

plots mid-point of total average as a dot

}
inputs:

UpColor(green),
DnColor(red);

vars:
VolAvg(0), //plotted vol avg
Vol(0); //intra-bar volume (ticks)

//only for intra-day
if BarType < 2 then
begin
Vol = ticks; //sum of upticks and downticks




//do not change order of following
//be sure both plot3 and plo4 are same width
if UpTicks < DownTicks then
begin
plot3(vol,"Total",DnColor);
plot4(UpTicks,"UpDn",UpColor);

end else
begin
plot3(vol,"Total",UpColor);
plot4(DownTicks,"UpDn",DnColor);

end;

//plot mid point of total ticks with a dot
//dot should fit within histogram


end;//if BarType

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 10 Oct 2008

Hi Januson,

If you want to have the above code to plot values when applied to point bars, line 25 of your code must be changed to:

----------------------

if (BarType < 2) or (BarType = 5) then

----------------------

In the original code you had:

if BarType < 2 then

For clarifications, please see the excerpt from MC Help below:

BarType
Returns a numerical value, indicating the resolution units of the data series that the study is applied to.
Usage

BarType

The following values are returned for each type of resolution units:
0 – Ticks (Ticks & Contracts)
1 – Intra-Day (Seconds, Minutes, & Hours)
2 – Days
3 – Weeks
4 – Months, Quarters, & Years
5 – Points & Changes






Return to “MultiCharts”