PureBytes Links
Trading Reference Links
|
Hmmm - now Peter's message is using Japanese, and there is no
previous Japanese message attached...probably a stupid question, but could there
be some kind of virus that is changing people's settings? Thank
you.
Steve
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=investor@xxxxxxxxxxxxx
href="">bluesinvestor
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, April 13, 2003 11:42
AM
Subject: RE: [amibroker] AmiBroker 4.31.0
BETA released
<SPAN
>WOW ($B!F(Bnuff
said)
<SPAN
>
<SPAN
>Thanks as
always,
<SPAN
>Peter
<SPAN
>
<SPAN
>-----Original
Message-----From: Tomasz
Janeczko [mailto:tj@xxxxxxxxxxxxx] <SPAN
>Sent: Sunday, April 13, 2003 5:07
AMTo: <A
href="">amibroker@xxxxxxxxxxxxxxx<SPAN
>Subject: [amibroker] AmiBroker 4.31.0
BETA released
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>Hello,
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>A new beta version (4.31.0) of AmiBroker
has just been released.
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>It is available for registered users only
from the members area at:
<FONT face="Times New Roman"
size=2><A
href="">http://www.amibroker.com/members/bin/ab4310beta.exe
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>If you forgot your user name / password
to the members area
<FONT face="Times New Roman"
size=2>you can use automatic reminder service
at: <A
href="">http://www.amibroker.com/login.html
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>This release brings huge improvement to
AFL:
<FONT
face="Times New Roman" size=2><SPAN
>for<SPAN
> and while
loops and <FONT
face="Times New Roman">if-else flow control
statements.
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>Native AFL loops run 2..3 times faster
than JScript (according to my
<FONT face="Times New Roman"
size=2>preliminary tests on arrays with
1000-5000 bars)
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>For more details and example code please
read the following "READ ME" text.
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>NOTE: from now on all beta releases will
be available to registered
<FONT face="Times New Roman"
size=2>users only (in member
area).
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=2>Best regards,Tomasz
Janeczkoamibroker.com
<FONT face="Times New Roman"
size=3>
<FONT face="Times New Roman"
size=3>
<SPAN
>AmiBroker 4.31.0 Beta Read
Me
<FONT
face="Times New Roman" size=3>April 13, 2003
10:38
<SPAN
>THIS IS AN EARLY BETA VERSION OF
THE SOFTWARE. EXPECT BUGS !!!
<SPAN
>AGAIN: THIS IS AN EARLY BETA
VERSION OF THE SOFTWARE. EXPECT BUGS !!!
<FONT face="Times New Roman" color=#cc0000
size=3>Backup
your data files and entire AmiBroker folder
first!
<SPAN
>INSTALLATION
INSTRUCTIONS
<SPAN
>IMPORTANT: This archive is
update-only. You have to install full version 4.30
first.
<SPAN
>Just run the installer and follow the instructions.
<SPAN
>Then run AmiBroker. You should see "AmiBroker 4.31.0
beta" written in the About box.
<SPAN
>CHANGES FOR
VERSION 4.31.0 (as compared to 4.30.0)
<P class=MsoNormal
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
Workspace window uses "icon font"
set in the Windows settings instead of hard coded Tahoma 8
<P class=MsoNormal
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
for better readability and
ClearType(tm) compatibility on WinXP, all dialog windows use now 'MS Shell
Dlg' face name that maps to standard MS Sans Serif on Win 9x/Me/NT and Tahoma
on Win 2K and XP.
<P class=MsoNormal
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
rewritten AFL parser, now formula
is parsed and coverted to syntax tree and then interpreted. This would allow
further improvements including compilation. This allowed also to add
loops/if-else statements.
<P class=MsoNormal
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
implemented IF/ELSE statement,
WHILE and FOR loops:The same basic 'for' loop in AFL is 2..3 times faster
than in JScriptSyntax follows C++/JScript style:
<SPAN
>while( conditional_expression )
statement;
<SPAN
>for( initializer_part;
conditional_expression; iterator_part )
statement;
<SPAN
>if( conditional_expression )
statement;
<SPAN
>if( conditional_expression )
statement;elsestatement;
<P
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
implemented compound statements:
these are blocks of statements enclosedin opening and closing curly brace
<SPAN
>{statement1;statement2;...statementN;}
<SPAN
>compound statement can appear anywhere when simple
statement can.
<SPAN
>For example:
<SPAN
>i = 10;<FONT face="Courier New"
size=2><SPAN
><FONT
face="Courier New">while( i < 20 )<FONT
face="Courier New">{Plot( MA(
Close, i ), "MA" + WriteVal( i, 0 ), colorBlack + i
);i = i +
1;<FONT
face="Courier New">}
<P
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
implemented C-style postfix and
prefix increment/decrement operators
<SPAN
>i = 10;<FONT face="Courier New"
size=2><SPAN
><FONT
face="Courier New">WriteIf( i++ );<FONT
face="Courier New">WriteIf( ++i );<FONT
face="Courier New">WriteIf( i );
<P
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
implemented array element access
(subscript) operator []:
<SPAN
>WriteVal( Close[ 0 ] ); // prints the first bar of
close array
<SPAN
>/* a sample low-level implementation of exponential
moving average in AFL */
<SPAN
>myema[ 0 ] = Close[ 0
];
<P
><FONT
face="Courier New" size=2>for( i = 1; i <
BarCount; i++ )<SPAN
><FONT
face="Courier New">{myema[ i
] = 0.1 * Close[ i ] + 0.9 * myema[ i - 1 ];<FONT
face="Courier New">}
<P
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
added built-in constant
'BarCount' that returns number of bars available in arrays (the number of
elements of array)When QuickAFL is turned on it may be less than true
number of bars because QuickAFL feature attempts to use only visible bars (and
few before). You can control how many bars the formula requires using
SetBarsRequired() function
<P
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
implemented infinite-loop
protection. Nice if you forgot to increment counter variable in 'for' loop
:-)
<P
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
tab key now works without need to
press ALT/CTRL in AFL editors
<P
><FONT
face=Symbol size=2><SPAN
><SPAN
><SPAN
>
added C-like synonyms for logical
ADD/OR/NOT: &&, ||, !
<SPAN
><FONT face="Courier New"
size=2>/* a sample low-level implementation of
Profit-target stop in AFL: */
<SPAN
>Buy = Cross( MACD(), Signal()
);
<SPAN
>priceatbuy=0;
<SPAN
>for( i = 0; i < BarCount; i++
)<SPAN
><FONT
face="Courier New">{<FONT
face="Courier New"> if( priceatbuy == 0
&& Buy[ i ] ) <FONT
face="Courier New"> priceatbuy = BuyPrice[ i
];
<SPAN
> if( priceatbuy > 0
&& SellPrice[ i ] > 1.1 * priceatbuy )<FONT
face="Courier New" size=2><SPAN
><FONT
face="Courier New"> {<FONT
face="Courier New"> Sell[ i ] =
1;<FONT
face="Courier New"> SellPrice[ i ] =
1.1 * priceatbuy;<FONT
face="Courier New"> priceatbuy =
0;<FONT
face="Courier New"> }<FONT
face="Courier New"> else<FONT
face="Courier New"> Sell[ i ] =
0;<FONT
face="Courier New">}
<SPAN
>/* sample EMA rainbow
*/
<SPAN
>Plot( Close, "Price", colorBlack, styleCandle
);<SPAN
><FONT
face="Courier New">for( Range = 15; Range < 100; Range++
) Plot( EMA(
Close, Range ), "MA"+WriteVal(Range,0), colorRose + Range % 8, styleNoLabel
);
<SPAN
>HOW TO REPORT
BUGS
<SPAN
>If you experience any problem with this beta version
please send detailed description of the problem (especially the steps needed
to reproduce it) to bugs@xxxxxxxxxxxxx
<FONT face="Times New Roman"
size=3><BR
><BR
><FONT
face="Courier New" size=2>Send BUG REPORTS to
bugs@xxxxxxxxxxxxx<SPAN
><FONT
face="Courier New">Send SUGGESTIONS to
suggest@xxxxxxxxxxxxx<FONT
face="Courier New">-----------------------------------------<FONT
face="Courier New">Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx (Web
page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT
face="Courier New">--------------------------------------------<FONT
face="Courier New">Check group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of
Service.
Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
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 the Yahoo! Terms of Service.
|