PureBytes Links
Trading Reference Links
|
Yo, H:
You need to get up to speed on that -1e10 thingy. Its now called "Null"
(see release notes 4.28.0)
Just don't want you to fall behind on this AFL stuff!
8-)
d
-----Original Message-----
From: Herman vandenBergen [mailto:psytek@xxxxxxxx]
Sent: Friday, May 02, 2003 12:09 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Arrays handling
You can pre-fill arrays with empty values (-1e10) so they don't plot.
Herman
-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
Sent: May 2, 2003 2:41 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Arrays handling
Hello,
Currenly all AFL arrays are setup so they have equal length (equal to
number of data points available for given symbol)
This is essential to enable them to match with price arrays. This way
given array element refers to the same date/time as in other array. So
70th element of your custom array x[ 70 ] refers to 70th bar of Close
array and they both represent value at given date.
If they were not one would never be sure if shorter array refers to
FIRST or LAST part of price array (or maybe some part in the middle).
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Listes trading" <listes.trading@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 01, 2003 6:10 PM
Subject: [amibroker] Arrays handling
> Tomasz
>
> I am playing a little bit with loops and I encounters the following
problem.
> In AFL , all arrays have the length of the current price array and
> this causes some troubles.
> Example:
> for(i=1; i<=100; i++)
> {
> X[i} = i;
> }
> mini = lowest(X);
> last = lastvalue(X);
>
> I would expect to have mini = 1 and last=100
> Unfortunately, AFL stores the values from 1 to 100 in the first one
hundred
> elements of the array and then pads with 0.
> This causes the results to be mini =0 and last=0.
> How to handle this kind of situation?
> Would it be possible to add the capability to define array with length
> different than the price array?
>
> Waz
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web
> page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web
page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/cjB9SD/od7FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|