Navigation: Function Reference > Stream Functions > TEStream.getBarState()

TEStream.getBarState()

Top  Previous  Next

TEStream.getBarState : Integer;

 

Returns the current bar state of the specified stream. There are two constants that are defined:

 

BARSTATE_CURRENTBAR - current bar is developing

BARSTATE_NEWBAR - triggered on first tick of a new bar

 

 

Parameters

 

none

takes no parameters

 

getBarState