Volume (VOL)

View as Markdown

Description

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

Syntax

VOL()

VOL(ISeries\<double\> input)

Returns default value

VOL()[int barsAgo]

VOL(ISeries\<double\> input)[int barsAgo]

Return Value

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

Parameters

ParameterDescription
inputIndicator source data (ISeriesT

Example

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

Source Code

You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.