amibroker afl to plot trend line

#1
Dear traders,

Pls help me to make an AFL, to draw/plot a line which join Day's open and Day's low.

I think //LineArray( x0, y0, x1, y1, extend = 0, usebarindex = False ) // this syntax is useful.But i don't know to obtain value of x axis(time)?
 

Trade in Rs 20, No more % brokerage

Name:Phone:
Email:City:
State:
Are you a day trader?