NinjaScript > Language Reference > Indicator Methods >

Volume (VOL)

Print this Topic Previous pageReturn to chapter overviewNext page


Volume is simply the number of shares (or contracts) traded during a specified time frame (e.g., hour, day, week, month, etc). The analysis of volume is a basic yet very important element of technical analysis. Volume provides clues as to the intensity of a given price move.


... Courtesy of Market In Out




VOL(IDataSeries input)


Returns default value
VOL()[int barsAgo]
VOL(IDataSeries input)[int barsAgo]



Return Value

double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.





Indicator source data (?)




// Prints the current value VOL
int value = VOL()[0];
Print("The current VOL value is " + value.ToString());



Source Code

You can view this indicator method source code by selecting the menu Tools > Edit NinjaScript > Indicator within the NinjaTrader Control Center window.