View Single Post
  #10 (permalink)  
Old 11-30-2005, 05:52 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by TheExponential
Codesgure,
I'm not too sure if this is correct. Volume[0] normally means the first tick of the new bar. It's basically the first quote (or tick) at the beginning of new bar. For example, on an hourly chart, it's the first tick for the new hour.
TheExponential,

Try this code (in any time frame) and tell me what did you get:

PHP Code:
int start()
  {
   
Alert("Current market volume = " DoubleToStr(Volume[0],0));
   return(
0);
  } 
Attached what I've got.
Attached Images
File Type: jpg volume.JPG (29.0 KB, 1948 views)
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Reply With Quote