AmiBroker 5.49.2 BETA released

Stability: Rank 3 – Regular BETA, pretty stable, should work fine in most environments

This is a BETA version. Make a backup first

A new beta version (5.49.2) of AmiBroker has just been released.

32-bit version:
(1 976 976 bytes)

64-bit version:
(9 015 664 bytes)

If you forgot your user name / password to the members area you can use automatic reminder service at:

IMPORTANT: Unauthorized copying and/or distribution of materials found on members’ only page is STRICTLY PROHIBITED and will result in IMMEDIATE termination of license.

Note that this version can only be installed onto previous full installation of version 5.40 or higher from


  1. New Analysis: Individual Backtest mode
  2. New Analysis: persistence of customized column layout. Implemented in 5.49.3
  3. New Analysis: saving analysis project into XML file. Implemented in 5.49.3
  4. IQFeed plugin: speed enhancement, backfill queuing and new API support
  5. New Analysis: OLE interface access. Removed from 5.50 to-do list

CHANGES FOR VERSION 5.49.2 (as compared to 5.49.1)

  1. New Analysis: added Optimize->3D Optimzation chart menu
  2. New Analysis: buttons for Portfolio Equity/Individual Equity charts added
  3. New Analysis: Info Bar added (that duplicates some of the info that normally appears on the Info Tab). It can be turned on using Settings->Info Bar
  4. New Analysis: Report generation is now OFF by default when running optimization/walk forward as in old AA. This gives about 0.9 sec gain per step.
  5. New Analysis: Single-symbol optimization made faster by caching already compressed quote array on subsequent steps
  6. New Analysis: the check for Status(“StockNum”) was sensitive to blanks between parenthesis, function name and string parameter. Now it is made insensitive to blanks.
  7. New Analysis: when “Range” was “n last bars” or “n last days”, Status(“rangefromdate”) gave date of preceding bar. Fixed.
  8. UI: “Performance” tooltip title was not always updated on time. Fixed.
  9. UI: “Wait for plugin” window displays progress bar with “marquee” style instead of circle of dots

CHANGES FOR VERSION 5.49.1 (as compared to 5.49.0)>

  1. New Analysis: “Backtest started”, “Exploration started” text in the info tab appeared twice per run (instead of once). Fixed
  2. New Analysis: Backtest report did not include formula code. Fixed.
  3. New Analysis: Fixed crash that could occur when running analysis with Range set to “N recent bars” and N was exceeding number of quotes.
  4. New Analysis: Float/Normal/Close popup menu RMB menu was active everywhere in floating window instead of only caption area. Fixed.
  5. New Analysis: Implement single-thread start when Status(“StockNum”) is detected in the code. Other threads are started when first symbol processing is completed.
  6. New Analysis: Send to Analysis did not update formula combo box properly in certain scenarios: when formula X was selected, then formula Y, then formula X again. Fixed.
  7. New Analysis: Testing on unaligned data sometimes took longer than expected because of the work necessary to bring signals in order. Now a smart method avoids most of the memory transfers and can give 10x speedup on backtesting very long unaligned intraday data.
  8. Old AA: status bar displays true timing for fair comparisons between old AA and new Analysis. Watching progress bar numbers was misleading as it closed before all processing was truly complete, so it looked like old AA completed sooner than it really did
  9. UI: menu item for Old Automatic Analysis restored as apparently some users got lost. Also attempt to run old Automatic analysis displays an information about new Analysis window

CHANGES FOR VERSION 5.49.0 (as compared to 5.48.0)

  1. Web Research: turned on “silent” mode – should prevent error message boxes displayed by IE engine.
  2. UI: when focus is switched to floating document window, the application menu is switched to proper context
  3. UI: When File->Close was used on floating pane, document was closed but docking pane was not. Fixed.
  4. UI: The toolbar button and menu option to launch old Automatic Analysis window are now hidden (can be brought back by using Tools->Customize), old AA can also be launched from new Analysis via Analysis->Old Analysis menu
  5. UI: New menu options and toolbar button to launch new analysis window
  6. UI: Moved all menu items controlling visibility of docking windows to “Window” menu
  7. UI: floating state of windows can now be turned on/off using right-click menu over tab / floating window caption
  8. UI: File->Save (when currently selected window is a chart) command now saves Chart template. To save database use “Save database” instead.
  9. UI: Defaults for data window are changed, so extra OHL display is turned off by default as currently PlotOHLC displays all 4 prices in the tooltip and data window already
  10. UI: Data window scroll bars are hidden and do not flicker when updating
  11. UI: Adjusted item Y offset for owner drawn listviews for consitent look with old layout of system listviews in Windows XP and earlier OSes
  12. UI: Account, Analysis and Web research windows don’t use client edge/border anymore – gives slicker / less crowded look
  13. UI: “Save All” toolbar button removed, “Save database” button added to replace it
    QuoteEngine: Range bars algorithm improved significantly

  14. Quote array uses 20480 bytes (512 quotes) allocation chunk size (exactly 5x4KB page) now
  15. New Analysis: when floating pane is made normal from/to dates were reset to today. Fixed.
  16. New Analysis: when Apply To: Filter is defined so NO symbol matches the criteria, appropriate message is displayed when trying to run Analysis and action is terminated instead of displaying progress bar forever
  17. New Analysis: when analysis window is “floating” double click/show arrows/sync affects active MDI chart just like old AA did, as opposed to last one (when analysis is not floating)
  18. New Analysis: Optimization parameter setup stage uses now not more than 100 bars. This reduces setup time.
  19. New Analysis: implemented import / export, File menu now has Import HTML and Export HTML/CSV commands
  20. New Analysis: Implemented “Wait for backfill” option. This slows down analysis sequence so AmiBroker waits for external RT data source to deliver backfill data
  21. New Analysis: Custom backtester uses “last backtest settings” when calling GetStatus() instead of old AA settings
  22. New Analysis: auto-repeat interval edit field did not allow to enter values if moved to main toolbar via customization. Fixed.
  23. Formula Editor Analysis toolbar button now operates on New Analysis window
  24. Default for timestamping of intraday compression changed to “Show START time of interval”
  25. Charts: Tooltips automatically display also OHL prices (in addition to close) when Plot style is set to candlestick, bar or when PlotOHLC was used
  26. Charts: AFL error message color is now definable in Tools->Preferences, “Color” tab

CHANGES FOR VERSION 5.48.0 (as compared to 5.47.0)

  1. New Analysis: custom metrics columns were invisible in backtest/optimizations. Fixed. (#91031)
  2. New Analysis: backtest did not display proper column names when Report mode was different than trade list. Fixed. Also added support for changing report mode via SetOption().
  3. New Analysis: Auto-repeat Scan/Explore implemented (aka. “Run every” in old AA) (use drop down menu next to “Settings” button)
  4. New Analysis: Showing arrows by double click implemented
  5. New Analysis: Sync chart on select option implemented (use drop down menu next to “Settings” button)
  6. Fixed window activation issue after RMB click in chart window when non-chart floating windows are active
  7. New Analysis: Cancelling walk-forward did not restore date range and settings and didn’t reset internal step counter. Fixed.
  8. New Analysis: Formula path disappeared when window was made floating. Fixed.
  9. New Analysis: in 5.47 non-exhaustive optimizers sometimes stopped after first step in walk-forward. Fixed.
  10. Charting: scroll bar zoom function remains active even at extreme zoom in levels
  11. New Analysis: Fixed problem with opt steps warning dialog appearing sometimes in the out-of-sample tests in walk forward sequence
  12. New Analysis: Signal heaps are separated now, allowing to run concurrent backtest/optimizations in many analysis windows
  13. New Analysis: removed unnecessary refreshes of symbol list during optimizations that caused slowdowns when user had large database
  14. New Analysis: The size of control fields is properly adjusted with regards to DPI
  15. New Analysis: Status(“StockNum”) was always zero in 5.47 and earlier. Now it is set properly.
  16. Fixed Error 53 message that was giving an error when proper \” (quotation mark espace sequence) was used

CHANGES FOR VERSION 5.47.0 (as compared to 5.46.0)

  1. New Analysis: implemented Walk-Forward testing (use drop arrow next to Optimization button)
  2. New Analysis: last used ApplyTo/Range/From/to dates/filters and other settings are saved when Analysis window is closed
  3. Fibonacci retracement- modifying Z-order affected only control trendline, not all lines as it should. Fixed.
  4. Default title for new analysis window is “AnalysisX” (instead of “Unnamed”) where X is consecutive number 1, 2..
  5. attempt to use Say() on computer without sound card or without driver installed does not result in throwing exception/crash report, but it is rather silently ignored
  6. AFL engine: new error 53: incorrect \ espace sequence. Error is issued when user forgets that single slash must be written as \\
  7. Fixed “slow response” problems some users reported when switching symbols)

CHANGES FOR VERSION 5.46.0 (as compared to 5.45.0)

  1. New Analysis: Exhaustive multi-threaded optimization implemented
  2. New Analysis: Smart (non-exhaustive) multi-threaded optimization implemented in a way compatible with existing optimizer plugins
  3. Slight modification to the way how compressed bar charts are drawn (so bars with H==L are better visible)

CHANGES FOR VERSION 5.45.0 (as compared to 5.44.1)

  1. 64-bit version compiled with new version of C runtime (Microsoft security update)
  2. Fixed date/time column sorting in virtual list views when regional date format was different than yyyy-MM-dd
  3. AFL: ClipboardSet() returns True (1) when clipboard has been successfully set. Sometimes clipboard is locked by another applications and then write can fail (ClipboardSet() will return zero/False then)
  4. New Analysis: Changed alignment of Date/Time column to left in backtest result list.
  5. Most AFL engine setup moved to worker threads. Result – smaller UI thread load in MT charts (better scalability) and much faster (upto 2x) explorations/scans in New Analysis window
  6. New Analysis: added “Info” tab that provides some summary information about analysis (number of rows, timings, backtest summary) – contents can be copied using Ctrl+C / Edit->Copy
  7. New Analysis: first-phase backtest signal processing and ranking moved to non-UI threads, enabling better parallelism, results in better backtest performance (upto 2x in with trivial codes)

CHANGES FOR VERSION 5.44.1 (as compared to 5.44.0)

  1. Removed dialog box with partial timings that appeared after backtest in the new analysis window. (It was introduced in 5.44.0 for performance fine-tuning purposes, but not really needed for end-user).

CHANGES FOR VERSION 5.44.0 (as compared to 5.43.1)

  1. New Analysis: fixed AddToComposite()
  2. New Analysis: Interval() function was working incorrectly in new analysis window. Fixed.
  3. New Analysis: Backtest ~~~EQUITY symbol did not have “use only local database” set in 5.43.1. Fixed.
  4. New Analysis: Backtest performance improved by removing some unnecessary list view refreshes (now it should never be slower than old AA even with simplest formulas)

CHANGES FOR VERSION 5.43.1 (as compared to 5.43.0)

  1. When range different than “All quotes” was selected, backtest in new Analysis window could produce incorrect results in 5.43.0. Fixed.

CHANGES FOR VERSION 5.43.0 (as compared to 5.42.0)

  1. New Analysis Window: multi-threaded Backtest feature implemented (experimental)
  2. Load/Unload buttons removed from Plugins dialog.
  3. ListViews: the last line (partially shown) in RT quote window was not easily selectable. Fixed
  4. New Analysis window: Implemented Parameters dialog
  5. AFL: GetCursorMouseButtons() sometimes missed clicks when multithreading was on and formula took ages to execute. Now it is now 100% reliable.
  6. Auto-selection of proper layer based on selected viewing interval
  7. IRA accounts support – implemented Settlement delay in backtester, via SetOption(“SettlementDelay”, x )
  8. Zoom in/out toolbar buttons zoom in finer steps (+/-10%)
  9. Analysis ListView, RMB menu new option: “Add Rank column” – adds a column with ordinal rankings based on current sort or just row number column when list is not sorted
  10. New feature: Adding new chart/research/account/analysis via (+) tab
  11. New Analysis window: Implemented SetSortColumns
  12. New Analysis window: Implemented AddSummaryRows

CHANGES FOR VERSION 5.42.0 (as compared to 5.41.0)

  1. Implemented right click menu in new Analysis windows (Add symbols to watchlist/Show arrows functionality)
  2. Zoom in/out toolbar buttons now have auto-repeat feature
  3. In 5.41.0 Ctrl+C from list view copied text without tabs (column separators). Fixed
  4. In 5.41.0 did not refresh progress dialog optimization status list. Fixed. (owner draw list view initial size is retrieved in PreSubclass now)
  5. In 5.41.0 did not display Time&Sales in reverse order (newest on top). Fixed.

CHANGES FOR VERSION 5.41.0 (as compared to 5.40.0)

  1. New Analysis window (File->New->Analysis) – featuring multithreaded Scan and Exploration
    Performance note: to fully benefit from multithreading it is best to use AmiBroker local NATIVE database (not external) as it is the only database that can deliver data quickly enough. Tests show that on AmiBroker native databases scans and explorations are 100% scalable to multiple cores
    – i.e. for example would run upto 8 times faster on 8 CPU/core machine. IMPORTANT: This window is work-in-progress. Multithreaded Backtest and Optimization features will be added later.

  2. Totally rewritten listview with very efficient owner draw code speeds up list view scrolling/resizing/repainting more than 10 times. Native system ListView control is terribly slow on Windows XP/Vista/7 (surprisingly it was many times faster in Win9x!)
  3. AFL: AddColumn – added mini bar charts to explorations
  4. Mini-chart in RT Quote window. Mini chart shows where LAST price is within LOW-HIGH range.
  5. AFL: Percentile() does a param check for range > 0 now
  6. Errors and warnings are now displayed in red color in the indicator pane
  7. During actual GDI chart rendering AmiBroker measures time and if it exceeds 500ms timeout it stops rendering with Warning 901.
  8. Warning 502: Calling Plot()/PlotOHLC over 500 times is displayed in indicator in runtime to prevent abuse
  9. All list views, pressing Ctrl and NumPad’+’ automatically adjusts column widths to content
  10. If data are missing in the in-memory cache, Foreign() calls from non-GUI threads use synchronous retrieval method for reliability.
  11. Old and new Analysis window: outputting millions of rows to listview is much faster now
  12. All list views – Ctrl+A (Select All) made much faster

For more details, instructions and examples how to use new features see the 5.49.2 BETA READ ME.

Comments are closed.