[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] LineArray confusing.



PureBytes Links

Trading Reference Links

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.



__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

JPEG image