how to define 'current bar' in MT4??

 

Does anyone familiar with how to use MT4 code to define the 'current bar'? Many thx!!

 
WAVERIDER2512:

Does anyone familiar with how to use MT4 code to define the 'current bar'? Many thx!!


The "current bar" is the one with the zero index in a time-series array, such as Open[], High[], Low[], Close[], Time[], and Volume[].

Read about time-series arrays here