Hi there,
I try to print the Volume but the result is the following.
Why the Volume is always 0? In the chart the Volume is present.
Thanks in advance
Print Volume = 0
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
Re: Print Volume = 0
As shown below the volume are present in the chart
Ho Can I print the volume?
Thanks
Ho Can I print the volume?
Thanks
- Attachments
-
- Volume2.jpg
- (47.37 KiB) Not downloaded yet
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Print Volume = 0
I think you need the `Ticks` keyword for this. Because depending on your chart settings, that keyword returns a bar's total volume.
The `Volume` keyword, on the other hand, only returns the number of up ticks. (I know, confusing right!)
The `Volume` keyword, on the other hand, only returns the number of up ticks. (I know, confusing right!)
Re: Print Volume = 0
Damn right it's confusing. It's actually stupid but I suppose we have to live with it. I wasted many months before realising this point. It ought to be changed but I know it won't be. Every other platform would use "volume" for total volume and "ticks" for tick count.The `Volume` keyword, on the other hand, only returns the number of up ticks. (I know, confusing right!)