RS_BarsPerDay (Function)

image\trumpet2.gif Disclaimer

The RS_BarsPerDay function returns an estimate of the number of bars in a typical day for the chart it is applied to.

Syntax

RS_BarsPerDay

Returns (Integer)

An estimate of the number of bars in a typical day for the chart it is applied to.

Parameters

None.

Remarks

The estimate returned by this function does not make an adjustment for empty bars. If a 24hr custom session is used, with 1-min bars, the estimate returned will be 1440 bars per day, even though many of those bars will typically be empty.

Example

Value1 = RS_BarsPerDay;