Australian (ASX) Stock Market Forum

Amibroker, change Volume format so easier to read

lockscombi

lockscombi
Joined
27 July 2016
Posts
44
Reactions
0
Hey guys

Loving this program now. Flying through it :)

One thing that bothers me is when i move my mouse cursor over a volume candle, it brings up a new box which will say the volume price amount for eg: 24675345

That's great but is there a way to change the format so it can read: 24m 675 or 24.67534? This simple change will speed up my analytical process greatly. I have looked in tools preferences etc but can't find a section for this

Thanks in advance
 
Hey guys

Loving this program now. Flying through it :)

One thing that bothers me is when i move my mouse cursor over a volume candle, it brings up a new box which will say the volume price amount for eg: 24675345

That's great but is there a way to change the format so it can read: 24m 675 or 24.67534? This simple change will speed up my analytical process greatly. I have looked in tools preferences etc but can't find a section for this

Thanks in advance

I'm sure there is a proper way, but you could just make a custom volume function like:

n = 1000000;
V2 = V / n;
Plot(V2, "Percent V", colorBrightGreen, styleHistogram);
 
And in case you're quite new to the coding also

To insert it.

Go to Analysis > Formula Editor
Paste the code in and save it as whatever name you like

The function will show up in custom and you can drag it on to your chart.
 
One thing that bothers me is when i move my mouse cursor over a volume candle, it brings up a new box which will say the volume price amount for eg: 24675345

That's great but is there a way to change the format so it can read: 24m 675 or 24.67534? This simple change will speed up my analytical process greatly. I have looked in tools preferences etc but can't find a section for this

The cursor cross hair and x-y labels can be turned off in View -> x-y labels -> off. There is no adjustment to decimal places for the cursor/crosshair feature. To get the volume amount in easier to see format then as Rowan posted, code it onto the volume chart like so ...
Code:
_SECTION_BEGIN("Volume");
SetChartOptions(0, chartHideQuoteMarker);

Title = EncodeColor(colorYellow)+ " Volume : "+ WriteVal(V, 1);

Plot(V, "", colorWhite, styleHistogram | styleOwnScale | styleThick);
_SECTION_END();

Untitled.png

AFL is very flexible. Good for imaginative types that like colourful displays of price or volume.
 
Top