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

RE: [amibroker] AmiBroker 4.31.0 BETA released



PureBytes Links

Trading Reference Links










WOW ($B!F(Bnuff said)

 

Thanks as always,

Peter

 

<span
>-----Original Message-----
From: Tomasz Janeczko
[mailto:tj@xxxxxxxxxxxxx] 
Sent: Sunday, April 13, 2003 5:07
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] AmiBroker
4.31.0 BETA released

<span
> 



<span
>Hello,





<span
> 





<span
>A new beta version (4.31.0) of AmiBroker has just been
released.





<span
> 





<span
>It is available for registered users only from the
members area at:





<span
><a
href="">http://www.amibroker.com/members/bin/ab4310beta.exe





<span
> 





<span
>If you forgot your user name / password to the members
area





<span
>you can use automatic reminder service at: <a
href="">http://www.amibroker.com/login.html





<span
> 





<span
>This release brings huge improvement to AFL: 





<font size=2
face="Times New Roman">for<font
size=2> and <font
face="Times New Roman">while loops and <font
face="Times New Roman">if-else flow control statements.





<span
> 





<span
>Native AFL loops run 2..3 times faster than JScript
(according to my





<span
>preliminary tests on arrays with 1000-5000 bars)





<span
> 





<span
>For more details and example code please read the
following "READ ME" text.





<span
> 





<span
>NOTE: from now on all beta releases will be available
to registered





<span
>users only (in member area).





<span
> 





<span
>Best regards,
Tomasz Janeczko
amibroker.com





<span
> 





<span
> 





<span
>AmiBroker 4.31.0 Beta Read Me

<font size=3
face="Times New Roman">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 size=3 color="#cc0000"
face="Times New Roman">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.

CHANGES FOR VERSION 4.31.0 (as compared
to 4.30.0)

<font
size=2 face=Symbol><span
>·<span
>        
Workspace window uses "icon
font" set in the Windows settings instead of hard coded Tahoma 8 

<font
size=2 face=Symbol><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. 

<font
size=2 face=Symbol><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. 

<font
size=2 face=Symbol><span
>·<span
>        
implemented IF/ELSE statement,
WHILE and FOR loops:
The same basic 'for' loop in AFL is 2..3 times faster than in JScript
Syntax 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;
else
statement;

<span
><span
>·<span
>        
implemented compound statements:
these are blocks of statements enclosed
in 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 size=2
face="Courier New">
while( i < 20 )
{
Plot( MA( Close, i ), "MA" + WriteVal(
i, 0 ), colorBlack + i );
i = i + 1;
}

<span
><span
>·<span
>        
implemented C-style postfix and
prefix increment/decrement operators

<span
>i = 10;<font size=2
face="Courier New">
WriteIf( i++ );
WriteIf( ++i );
WriteIf( i );

<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 ];

<span
>for( i = 1; i < BarCount; i++ )<font
size=2 face="Courier New">
{
myema[ i ] = 0.1 * Close[ i ] + 0.9 * myema[ i -
1 ];
}

<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

<span
><span
>·<span
>        
implemented infinite-loop
protection. Nice if you forgot to increment counter variable in 'for' loop :-)

<span
><span
>·<span
>        
tab key now works without need to
press ALT/CTRL in AFL editors

<span
><span
>·<span
>        
added C-like synonyms for logical
ADD/OR/NOT: &&, ||, ! 

<span
>
/* 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++ )<font
size=2 face="Courier New">
{
     if( priceatbuy ==
0 && Buy[ i ] ) 
     priceatbuy =
BuyPrice[ i ];

<span
>     if( priceatbuy > 0
&& SellPrice[ i ] > 1.1 * priceatbuy )<font
size=2 face="Courier New">
     {
       Sell[
i ] = 1;
       SellPrice[
i ] = 1.1 * priceatbuy;
       priceatbuy
= 0;
     }
     else
       Sell[
i ] = 0;
}

<span
>/* sample EMA rainbow */

<span
>Plot( Close, "Price", colorBlack,
styleCandle );<span
>
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 



<span
>



<font size=2
face="Courier New">Send BUG REPORTS to
bugs@xxxxxxxxxxxxx<span
>
Send 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 Yahoo!
Terms of Service. 










Yahoo! Groups Sponsor


  ADVERTISEMENT









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.