minute()

eSignal EFS 2

minute()

Top  Previous  Next

 

minute( barIndex [, sym()] [, inv()] )

 

Returns the minute at the specified bar index.

 

Parameters

 

barIndex

bar index of series to retrieve

sym()

optional. specify a symbol to use

inv()

optional. specify a bar interval to use

 

Usage

 

function main() {

 

       ...

       ...

       //retrieve the value for the current price bar

       myVar = minute(0);

       //retrieve the value for the previous price bar

       myVar = minute(-1);

       //retrieve the value for a specific symbol

       myVar = minute(0, sym("IBM") );

       //retrieve the value for a specific symbol/interval

       myVar = minute(0, sym("IBM,5") );

       //retrieve the value for a specific bar interval

       myVar = minute(0, inv("15") );

 

 

}