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:

(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:

The instructions are available in the “ReadMe” file ( Help->Read Me menu from AmiBroker )


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)

  1. 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:

    ColorHSB( ( BarIndex() + ) % 256255-i255 ) );
  2. List control code reviewed for better 64bit compatibility
  3. List selection is maintained after sorting
  4. 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 again

    To 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 ‘…’)

  5. 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) 

    (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 ); 

    Name() == "SYMBOL2" 

    SetOption("EarlyExitBars"25 ); 
  6. 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)

  7. OLE: ExportImage() now supports Width and Height parameters

    ExportImage function that now allows to specify width and height. So to export say 640×480 gif image you need to write:

    AB = new ActiveXObject("Broker.Application");
    Win AB.ActiveWindow;
    Win.ExportImage"test.gif"640480 );

    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.

  8. fix: customColor1 can be selected again using color picker

5 Responses to “AmiBroker 4.78.0 BETA released”

  1. Pierre
    March 10th, 2006 | 11:59 am

    Hi Tomasz,

    Let’s me tell you yhe real pleasure I get to work with you AB ; then, i hope a new Portofolio Manager soon !

    best regards,

  2. Guno van Engel
    March 11th, 2006 | 7:36 am

    Hi Tomasz,

    Thanks for this great release, do you have plans to add market profile charts to Amibroker.



  3. March 11th, 2006 | 8:04 am

    Market Profile (or Volume-At-Price) charts are already available:

  4. Willem
    March 22nd, 2006 | 8:36 pm

    The AA multi-column sort is very usefull, thank you.

  5. September 10th, 2006 | 6:01 pm