March 11, 2006
AmiBroker 4.78.1 BETA released
A new beta version (4.78.1) of AmiBroker has just been released.
It is available for registered users only from the members area at:
http://www.amibroker.com/members/bin/ab4781beta.exe
(File size: 1 099 218 bytes, 1 MB)
If you forgot your user name / password to the members area you can use automatic reminder service at: http://www.amibroker.com/login.html
The instructions are available in the "ReadMe" file ( Help->Read Me menu from AmiBroker )
IMPORTANT NOTES:
If you are using Firewall you may need to check if it did not block Broker.EXE file after upgrade. (It happened to some users that firewall blocked AmiBroker after upgrade and they could not connect to RT data sources due to that)
CHANGES FOR VERSION 4.78.1 (as compared to 4.78.0)
- atcFlagEnableInPortfolio now works fine with atcFlagCompositeGroup flag
Previously using atcFlagCompositeGroup (or atcFlagDefaults) prevented creation of composite in custom backtest procedure (even if atcFlagEnableInPortfolio was specified). atcFlagEnableInPorfolio worked only without it. Now it is fixed (works fine with or without atcFlagCompositeGroup) - AFLEditor: Edit->Replace fixed
- HTMLExport: fixed crash occuring sometimes when lots of columns were used
- HTMLExport: fix: colorDefault is not BLACK for background (bgcolor in
tag is skipped) - this fix also reduces file size - HTMLExport: header row is in separate line (CR at the end)
- backward compatiblity fix for ExportImage() function (when width and height are not provided then default - current window size - is used). (NOTE: this also fixes Edit->Image->Export )
Filed by Tomasz Janeczko at 3:04 pm under Beta,Releases
Comments Off on AmiBroker 4.78.1 BETA releasedMarch 10, 2006
AmiBroker 4.78.0 BETA released
A new beta version (4.78.0) of AmiBroker has just been released.
It is available for registered users only from the members area at:
http://www.amibroker.com/members/bin/ab4780beta.exe(File size: 1 098 846 bytes, 1 MB)
If you forgot your user name / password to the members area you can use automatic reminder service at: http://www.amibroker.com/login.html
The instructions are available in the "ReadMe" file ( Help->Read Me menu from AmiBroker )
IMPORTANT NOTES:
If you are using Firewall you may need to check if it did not block Broker.EXE file after upgrade. (It happened to some users that firewall blocked AmiBroker after upgrade and they could not connect to RT data sources due to that)
CHANGES FOR VERSION 4.78.0 (as compared to 4.77.0)
- AA: HTML export added that supports FULL COLOR output
To export to HTML just click "EXPORT" button in AA window and select "HTML files" from "Files of type" combo box in file dialog.You can also use OLE interface Export method - if EXTENSION provided in the file name is .html then AmiBroker will output HTML file, otherwise it will output CSV (text) file. If you want colorful output in Excel, just EXPORT the file to HTML and load it into Excel (or drag-drop to excel).
Please note that Excel color palette is limited (not all 16 million colors available in AmiBroker can be represented in Excel).
Example colorful test exploration:Filter=1;
for( i = 0; i < 256; i = i + 16 )
AddColumn( C, "C"+i, 1.2, colorDefault,
ColorHSB( ( BarIndex() + i ) % 256, 255-i, 255 ) ); - List control code reviewed for better 64bit compatibility
- List selection is maintained after sorting
- Multiple column sort implemented in AA result list (and other list controls as well)
To sort by more than one column:
a) click the FIRST column then
b) SHIFT-click second, third, fourth column ... and so on (upto 40 columns can be sorted at once)
(to SHIFT-click means to click with left mouse button while having SHIFT key pressed down)
c) to change the Asc/Desc order click on the same column againTo restart sorting, release SHIFT key and click on column (it will become first).
Subsequent columns (in the order you have clicked on them) are marked with 1, 2, 3, 4, 5, 6, 7, 8, 9 numbers
(if you select more than 10 columns, then all columns above 10th will be marked with '...') - Backtester: added EarlyExitBars/EarlyExitFee functionality (not supported by old (v.4.4) backtester)
Early exit (redemption) fee is charged when trade is exited during first N bars since entry.
The fee is added to exit commission and you will see it in the commissions reported for example in detailed log. It is also reflected in the portfolio equity (so for first N bars since entry portfolio equity is lower by early exit fee).// these two new options can be set on per-symbol basis
// how many bars (trading days)
// an early exit (redemption) fee is applied
SetOption("EarlyExitBars", 128 );
// early redemption fee (in percent)
SetOption("EarlyExitFee", 2 );(note 180 calendar days is 128 or 129 trading days)
// how to set it up on per-symbol basis?
// it is simple - use 'if' statement
if( Name() == "SYMBOL1" )
{
SetOption("EarlyExitBars", 128 );
SetOption("EarlyExitFee", 2 );
}
if( Name() == "SYMBOL2" )
{
SetOption("EarlyExitBars", 25 );
SetOption("EarlyExitFee", 1 );
} - AA: "Scan every" feature has been renamed to "Run every" and allows automatic repeat of scan or exploration (new feaeture) it allows also shorter intervals
Run every intervals can now be defined in MINUTES (default) or SECONDS.
To enter run-every interval in seconds simply add "s" or "sec" at the end of interval value, for example:10 sec - for run every 10 seconds
5 s - for run every 5 seconds
13 min - for run every 13 minutes
35 m - for run every 35 minutes
7 - for run every 7 minutes (if time unit is not specified then by default minutes are used) - OLE: ExportImage() now supports Width and Height parameters
ExportImage function that now allows to specify width and height. So to export say 640x480 gif image you need to write:
AB = new ActiveXObject("Broker.Application");
Win = AB.ActiveWindow;
Win.ExportImage( "test.gif", 640, 480 );and you will get perfect image with no jagginess or any scaling artifacts.
And it works independently of your current window size and it does NOT affect your current window size. - fix: customColor1 can be selected again using color picker
Filed by Tomasz Janeczko at 11:48 am under Beta,Releases
5 Comments