Mohammed I will PM this to you.
Regards ChrisB Mohammed wrote: > > Hi ChrisB; > > Thanks and How can I see the Attachment?? > > Regards > > --- In [EMAIL PROTECTED] ps.com > <mailto:amibroker%40yahoogroups.com>, ChrisB <[EMAIL PROTECTED] ..> wrote: > > > > LINEARRAY > > - generate trend-line array Exploration / Indicators > > (AFL 2.5) > > > > > > SYNTAX LineArray( x0, y0, x1, y1, extend = 0, usebarindex = > False ) > > RETURNS ARRAY > > FUNCTION The LineArray function generates array equivalent to > trend > > line drawn from point (x0, y0) to point (x1, y1). x coordinates are > in > > bars (zero based), y coordinates are in dollars. > > Note:* x0 must be SMALLER than x1. * > > > > Note 2: the function *accepts only **numbers *therefore generates > single > > line. To produce multiple lines you have to call it many times with > > different co-ordinates > > > > See attached > > > > Regards > > > > ChrisB > > > > Mohammed wrote: > > > > > > Hello, > > > > > > I'm new to AB Coding and I have some confusing in LineArray. > > > > > > Can any one clarify which is the start point of draw ( Is it x0 > OR x1 > > > OR y0 OR y1). AND why we use four points here ( x0, y0, x1, y1). > > > > > > All the best. > > > > > > >
