AmiBroker 6.38.0 RC released

Stability: Rank 3 – regular BETA should work fine in most environments

This is a BETA version. Make a backup first

A new RC version (6.38.0) of AmiBroker has been released.

32-bit version:
(10 290 624 bytes)

64-bit version:
(11 013 064 bytes)

If you can not log in into members’ area please get your new password by filling the form 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.

This version is a free upgrade only for users who registered AmiBroker after October 15, 2018. Users who registered earlier, would need to purchase license upgrade. To find out the version you currently have use Account Information page at

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


6.38 provides improvements and new functions in all areas. Details in the change log.

CHANGES FOR VERSION 6.38.0 (as compared to 6.35.1)

  1. 64-bit version uses updated VC2017/2019 runtime
  2. 64-bit version could produce “Invalid parameter” exception from CRT after backtesting when symbols under test had forbidden characters in them like “%”. Fixed
  3. 64-bit version: address space layout randomization disabled by /DYNAMICBASE:NO linker option to facilite easier crash location finding
  4. AFL: assignment new matrix value to a variable already holding matrix value did not immediately free memory (at the time of assignment). This memory was only freed at the end of the formula. Now it is freed earlier (at assignment) to lower memory usage.
  5. AFL: GetFnData(“lastsplitdate”) returns empty val instead of zero if last split date is not set
  6. AFL: GfxDrawImage with PNG file could fail if very same file was accessed simultaneously from multiple threads due to “no-sharing” mode that 3rd party XTP lib used. Fixed by using shareDenyWrite
  7. AFL: new function Chr( code ) returns string representing single character of given ascii code
  8. AFL: new function GetObject( path, class ) providing functionality equivalent to JScript GetObject and VBScript GetObject
  9. AFL: new function GuiSendKeyEvents(“ED”) – register given characters to be sent as Gui event when keyboard key is pressed. GuiGetEvent will return code == notifyKeyDown and id of given character, for example id == ‘D’ for D letter
  10. AFL: StaticVarAdd when scalar value was added to already existing static var array sometimes random value would appear. Fixed.
  11. AFL: when file creation or modication date was exact midnight fgetstatus() returned datetime indicating “eod mark” (date without time), now it gives 00:00:00
  12. Analysis: Maximum number of threads per single Analysis window has been increased to 64 (from 32)
  13. Backtester: generation of Buy&Hold stats was not working when “Allow position shrinking” was turned OFF by the user and commission > 0. Fixed
  14. Chart: Data window can now display upto 40 values per single chart pane
  15. Chart: Horizontal line snap to open price (keypress O) or close price (keypress C) was snapping to H-L instead. Fixed
  16. Charts: Snap to price – the meaning of threshold is changed – instead of % of price it now means % of chart height. So 5% will snap within +/-5 of chart height. This allows it to work universally across different securities (stocks/forex) and different zo
  17. IQFeed: improved IQFeed plugin (better support for long EOD histories in mixed mode)
    New Analysis: the name of column “contracts/shares” changes each time you change futures mode to prevent confusion among newbies

  18. Plugins: when AFL plugin crashes (throws structured exception) the editor and indicator windows will display call stack for easier debugging of 3rd party plugins
  19. UI: Dialog boxes are moved back main display screen if multi-monitor configuration was changed and multi-monitor setup is not rectangular (for example monitors of different sizes)
  20. UI: Listview sorting by (single) date column is now 10+ times faster
  21. UI: Listview uses non optimized parsing for str to date conversion for date formats that include names of the months instead of numbers (avoids problems with different names of months in different languages)
  22. UI: Main window and AFL Editor frame is moved back to (0,0) if multi-monitor configuration was changed and multi-monitor setup is not rectangular (for example monitors of different sizes), so saved position falls outside currently available working area
  23. UI: MDI Close/Minimize/Restore buttons are now HighDPI aware
  24. UI: MDI Tab client window buttons are now HighDPI aware
  25. UI: Minimized flicker during docking panes resize by disabling Windows copy bits
  26. UI: Toolbar split-popup buttons are now HighDPI aware
  27. x64 eSignal: reverted to more compatible version compiled with VC2005

CHANGES FOR VERSION 6.35.0 (as compared to 6.31.0)

  1. AFL: new function inverf(x) – inverse of erf function
  2. AFL Editor: added function navigation combo box in the toolbar – detects user defined functions and allows to quicky navigate to function definition
  3. AFL: GetOption(“PadAndAlignToReference”) allows to query Pad and align setting status (note that this is read-only field, so it will not work with SetOption)
  4. AFL: new function erf(x) – computes Error function
  5. AFL: parser warns if empty body is used in ‘for’ statement, like this: for( i = 0; i < 10; i++) ; // extra semicolon at the end - empty body Warning 510
  6. AFL: parser warns if empty body is used in ‘while’ statement, like this: while( condition ) ; // extra semicolon at the end – empty body Warning 510
  7. AFL: SafeDivide( x, y, valueifzerodiv )- safe division that handles division by zero using special handling (replace result with user-defined value)
  8. Batch: added optional parameter to Data Import ASCII command to allow specify format definition file
  9. Batch: added optional parameter to Execute and Wait command to specify current working directory for command
  10. Batch: added optional parameter to Export to File / Export walk-forward to file to specify column separator in CSV files
    -optional parameter defines the column SEPARATOR used for export. Only single character is used. When it is not supplied, comma is used.

  11. Batch: Clipboard Cut/Copy/Paste implemented in batch editor
  12. Batch: Edit->Delete (from main menu) and Edit-Delete All implemented for completeness
  13. Batch: list view uses virtual mode now (owner data)
  14. UI: All owner-draw list views (NOT in dialogs) now feature customizable theme (currently available “system (light) theme” and “black theme”) – go to Tools->Customize, “Appearance” tab, “Dark mode for listviews” checkbox
  15. UI: Analysis and RT quote window use now exactly the same RGB values for up/down (green/red) colors for consistency
  16. UI: Custom virtual listview (owner data) supports per-item data now
  17. UI: Found workaround to avoid terrible flicker and bad rendering of list view controls during fast page up/down and side scrolls (even though they are double buffered by Windows and in theory should be smooth).
  18. UI: Identified even more bottlenecks in Windows OS that caused even owner data and owner draw Listview performance to suffer with large number of columns. OS code circumvented. Listview redraw speeds increased more than 5x compared to previous speedy implementation
  19. UI: Implemented resizing of Listview column customization dialog

CHANGES FOR VERSION 6.31.0 (as compared to 6.30.0)

  1. AFL: Access violation in PercentRank when period is wrong. Now error 52 is displayed instead.
  2. AFL: InternetPostRequest now silently (or with warning 507 under debugger) returns NULL handle instead of error when remote server responds with HTTP Status 50x
  3. Analysis: manual column re-sorting could be bit off if scientific output format (xxxEyyy) was used with different exponents. Fixed.
  4. ASCII importer now handles LastSplitRatio of X:Y where X and Y are 1…32767 (previously only 1..127)
  5. Batch: add “add results to watchlist” action / WatchlistAddResults
  6. Batch: add “clear watchlist” action / WatchlistClear
  7. Batch: add “comment” action
  8. Core/DB: fixed access violation when all data were removed while QuickData was turned on
  9. DebugView: eliminated some internal messages from DebugView output (from release version)
  10. InternetPostRequest – even if URL started with https, previous version wanted to connect to port 80, instead of 443. Fixed.
  11. UI/Listview: since 6.28 exception could occur if single cell text length exceeded 1024 characters. Fixed.
  12. When database is empty, ticker box displays grayed text instead of blank or reminiscent of previous database symbol


  1. None

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