amibroker

HomeDevLog

AmiBroker 6.39.1 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.39.1) of AmiBroker has been released.

32-bit version:
http://www.amibroker.com/members/download.php?AmiBroker6391.exe
(10 316 744 bytes)

64-bit version:
http://www.amibroker.com/members/download.php?AmiBroker6391x64.exe
(10 924 560 bytes)

If you can not log in into members’ area please get your new password by filling the form at: http://www.amibroker.com/login.html

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

UPGRADE POLICY
This version is a free upgrade only for users who registered AmiBroker after March 5, 2019. Users who registered earlier, would need to purchase license upgrade. To find out the version you currently have use Account Information page at http://www.amibroker.com/members/info.php

Remember to BACKUP YOUR FILES FIRST !
Note that this version can only be installed onto previous full installation of version 6.30 or higher from http://www.amibroker.com/download.html

FEATURE HIGHLIGHTS 6.39

6.39 provides 30 new features and enhancements

  • AFL editor enhancements
  • new AFL functions
  • support for gzip and deflate compression in Internet functions
  • in-place matrix copy
  • backtester enhancements
  • improved text tool with per-study selectable font size
  • new 8-digit ICB structure
  • plugin interface backward compatibility with changing function signatures
  • improved performance
  • more runtime checks to prevent user errors and other fixes

CHANGES FOR VERSION 6.39.1 (as compared to 6.39.0)

  1. 64-bit uses a bit faster float versions powf and modf instead of double pow/mod for ^ and % operators (non integers)
  2. Analysis/Settings: added 3 checks and warnings to prevent users from entering combination of MinPosValue/MaxPosValue/AllowPosShrinking/RoundLotSize that are likely to prevent all trades from being taken at all
  3. array ^ (exponentation) operator made 50-100x faster in special cases of small INTEGER, scalar exponents of 2, 3, 4 and 5 by using multiplication instead of calls to C runtime powf()
  4. calling GuiSetText from AFL formula caused notifyEditChange notification to be sent. If user formula responded to notification with another GuiSetText this could create loops. Now notifications are silenced if changes come from user code
  5. When one pane had Gui controls and the other pane on another chart sheet was completely blank, then GUI controls from populated tab remained displayed after switching to completely blank sheet. Fixed

CHANGES FOR VERSION 6.39.0 (as compared to 6.38.0)

  1. 64-bit: AmiBroker, AmiQuote, AFL Code Wizard migrated to newest VC++ 2019 for even better performance
  2. AFL Editor: @link commands are executed at mouse up (instead of previous mouse down) to prevent unwanted text selection when message boxes are dismissed
  3. AFL Editor: call tips (parameter information tooltips) now provide extra description about the function and its parameters (as of v6.39 only 20 functions have this extra info)
  4. AFL Editor: debugging session is automatically terminated with appropriate notice when user attempts to edit the code during debugging (this saves mouse clicks that were needed to stop debug session in order to edit)
  5. AFL Editor: previously when no text was selected and Prettify Code was choosen, the message box caused main frame to get focus instead of focus staying in AFL frame. Fixed
  6. AFL Editor: when an runtime error is detected debugging session the message bar shows now number of detected errors (as it did previously during normal “verify”
  7. AFL Editor: when dark mode list views are used watch window default text color was black making it hardly visible, changed to white
  8. AFL/CBT: AmiBroker now displays an error when user passes incorrect bar number to ProcessTradeSignals() instead of silently skipping wrong arguments
  9. AFL: added protection against assigning wrong types to some built-in variables such as *Price arrays. If wrong type is assigned the error 71 Type mismatch in assignment is displayed
  10. AFL: ADX() function vectorized in 64-bit version (2x faster than before)
  11. AFL: backtester crashed when user incorrectly assigned string value to BuyPrice/ShortPrice/CoverPrice arrays. Fixed.
  12. AFL: Error(“text”, stop=False) function – added extra parameter to stop execution regardless of “stop execution at first error” preference setting
  13. AFL: FindIndex( array, value, start_from = 0, dir = 1 )
  14. AFL: If warning level >= 3, InternetOpenURL() function now displays a warning 507 if OS generated exception when accessing remote resource, the same way as InternetPostRequest
  15. AFL: increased calculated bar requirements for Wilders() function for better conformance with QuickAFL
  16. AFL: Last OS error code is set by Internet* functions regardless of warning level so you can always retrieve it using GetLastOSError()
  17. AFL: MA( C, BarCount ), StDev( C, BarCount ) return non-Null value
  18. AFL: new field added to SetOption/GetOpion function calls “MaxPosValue” (per backtest setting)
  19. AFL: new function InternetSetHeaders( “headers” ) – set custom HTTP headers for subsequent web requests
  20. AFL: new function InternetSetOption( option, value ) – set HTTP option for internet session
  21. AFL: new function MxCopy – for copying rectangular blocks from one matrix to the other (copy portions of one matrix to the other matrix)
  22. AFL: new function: _exit() – that gracefully ends AFL execution at the point of the call
  23. AFL: new function: InternetGetStatusCode function – returns HTTP status code of last InternetOpenURL or InternetPostRequest call
  24. Analysis/Backtest: added “Max. position value” option in the settings allowing to specify maximum dollar value of position. Zero (0) means no maximum. Positions larger will be shinked (if shrinking is enabled) or won’t be entered at all (if shrinking is d
  25. Charts/Preferences: added Text Tool font setting independent from Axis font (Preferences->Miscellaneous page)
  26. Charts: Text Box tool supports user-selectable font size now (selectable in Study Properties window)
  27. Database: new 8-digit ICB structure implemented: https://www.ftserussell.com/data/industry-classification-benchmark-icb
  28. Got rid of obsolete “Request data on save” setting that wasn’t performing as expected
  29. Plugin interface: added compatibility layer allowing old plugins to safely call functions even when they have modified signature (added new default parameters). When plugin calls function with less than expected number of arguments, missing some of default
  30. When variable was passed to user function by reference, ++ operator inside had no effect on referenced variable (outside of function). Fixed.

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 https://en.wikipedia.org/wiki/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

KNOWN ISSUES:

  1. None

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

Comments are closed.