{"id":1155,"date":"2014-10-31T08:36:54","date_gmt":"2014-10-31T13:36:54","guid":{"rendered":"http:\/\/www.amibroker.com\/devlog\/?p=1155"},"modified":"2014-10-31T08:56:01","modified_gmt":"2014-10-31T13:56:01","slug":"amibroker-5-89-0-beta-released","status":"publish","type":"post","link":"http:\/\/www.amibroker.com\/wordpress\/devlog\/2014\/10\/31\/amibroker-5-89-0-beta-released\/","title":{"rendered":"AmiBroker 5.89.0 BETA released"},"content":{"rendered":"

Stability: \"Rank - Regular BETA, pretty stable, should work fine in most environments<\/em><\/p>\n

This is a BETA version. Make a backup first<\/strong><\/font><\/p>\n

A new beta version (5.89.0) of AmiBroker has just been released.<\/p>\n

ATTENTION:<\/strong> This version is free only for users who registered after October 31, 2012<\/strong>. See Upgrade Policy and Pricing<\/strong> section below for more details.<\/p>\n

32-bit<\/strong> version:
\nhttp:\/\/www.amibroker.com\/members\/bin\/ab5890beta.exe<\/a>
\n(2 371 080 bytes) <\/p>\n

64-bit <\/strong>version:
\n
http:\/\/www.amibroker.com\/members\/bin\/AmiBroker5890x64.exe<\/a>
\n(9 756 216 bytes) <\/p>\n

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<\/a><\/font><\/p>\n

IMPORTANT: Unauthorized copying and\/or distribution of materials found on members' only page is STRICTLY PROHIBITED and will result in IMMEDIATE termination of license.<\/font><\/p>\n

Remember to BACKUP YOUR FILES FIRST !
\nNote that this version can only be installed onto previous full installation of version 5.80 or higher from
http:\/\/www.amibroker.com\/download.html<\/a><\/strong><\/p>\n

CHANGES FOR VERSION 5.89.0<\/strong> (as compared to 5.88.1)<\/p>\n

    \n
  1. AFL: Performance of variable-length Sum() improved significantly in some common scenarios. Accurracy improved too.\n
  2. AFL: Sort displayed an error message if first == last even though this case is perfectly fine. Fixed (no error and no sorting of single-element array)\n
  3. AFL: Sort() with indexmode = True could cause immediate app exit in 64-bit version only. Fixed.\n
  4. AFL: when negative 'range' was passed to variable-length version of Sum() an application exited immediately. Fixed.\n
  5. Charts: Left\/right extended Trend lines and Rays now use user-definable Extension Factor (new field in Study properties) instead of always infinite extent. Ext. Factor equal to ZERO means INFINITE, other values 0.1 ... 26 define how far to the left\/right line is extended\n
  6. Charts: max zoom achievable via View->Zoom Out is increased to 5 million bars, also Pref\/Charting\/Default zoom limit set to 5 million. Note that it is still possible to zoom to \"all\" quotes regardless of number of bars using View->Zoom->All\n
  7. Debug: Crash recovery window now requires to enter steps required to reproduce problem. Without knowing what you did before it is very difficult to find out the reason and fix the problem.\n
  8. Debug: Turned off remove frame pointers optimization in 32-bit builds for better stack traces\n
  9. New Analysis: Exploration: default column width is increased automatically to fit %6.2f number when there is a free space available in the right margin\n
  10. New Analysis: Optimization: when user-selected \"Optimization target\" can not be found in the backtest results an error 711 is displayed and optimization process is stopped\n
  11. New Analysis: trying to bring up \"Parameters\" window when currently selected symbol had no quotes resulted in access violation. Fixed.\n
  12. New Analysis: Walk forward tab - when you click on result list Begin\/End column headers - these columns are now sorted by date instead of alphabetically.\n<\/ol>\n

    CHANGES FOR VERSION 5.88.1<\/strong> (as compared to 5.87.0)<\/p>\n

      \n
    1. 5.88.1 quick fix addresses problem with QuickAFL\/Backtest using earlier dates than selected.\n
    2. AFL: new function NullCount( array, mode = 1 ) - counts the number of consecutive nulls at the beginning of the array (mode = 1), at the end of the array (mode=2), from both ends (mode=3) and all nulls in the array (including non-consecutive) (mode=0)\n
    3. AFL: Sort() now has additional \"indexmode\". If indexmode is turned on, Sort() function returns array of indexes to the sorted values instead of values themselves. So if first returned value is 2923 it means that input array[ 2923 ] is the smallest element\n
    4. Charts: line drawings now have user definable line width in pixels (new \"Line width\" field in Study Properties dialog). In addition to that \"Thick line\" box makes line twice as wide (so actual width of thick line is 2 * lineWidth instead of adding 1 pixel to width)\n
    5. Charts: when formula causes an exception and Preferences are set NOT to catch exceptions within indicator, then further execution of formula that caused exception is blocked until Bug recovery window is dismissed (to prevent stacking multiple bug recovery windows)\n
    6. Debug: 64-bit version now implements invalid parameter handler for catching wrong C runtime calls\n
    7. Debug: 64-bit version: Crash recovery window now includes call stack to allow better debugging of 64-bit app (previously only available in 32-bit)\n
    8. Debug: when AFL engine can not allocate memory for variable a proper message is displayed instead of plain crash\n
    9. Debug: when program can not allocate memory for static variable you will get actual message \"Out of memory during creation of static variable\");\n
    10. New Analysis: program checks From-To dates and if From > To it displays error 710 instead of starting analysis\n
    11. New Analysis: QuickAFL finally implemented. To turn it on go to Settings and check \"Use QuickAFL\" box. Gives very significant speed-ups (>2x) when range is smaller than \"All quotes\"\n
    12. Prefs\/Backtest: Number of user-definable currencies in Tools->Preferences increased from 20 to 100.\n
    13. Prefs\/Charting: \"Default zoom (number of bars in a chart)\" can now be greater than 32767 (previous limit). Now it can be in range from 10 to 10 000 000.\n
    14. UI: when free virtual memory drops below 200 MB a popup is displayed in the status area\n<\/ol>\n

      CHANGES FOR VERSION 5.87.0<\/strong> (as compared to 5.86.0)<\/p>\n

        \n
      1. AFL Editor: in-line error reporting use bold font to highlight identifiers in the error messages for better readability\n
      2. AFL: GetOption can now read BuyDelay\/SellDelay\/ShortDelay\/CoverDelay which makes it easier to write like this: Ref( Buy, -GetOption(\"BuyDelay\" );\n
      3. AFL: new function: Reverse( array, first = 0, last = -1 ) - returns a new array with the order of the elements in specified range reversed\n
      4. AFL: new function: Sort( array, first = 0, last = -1 ) - sort a numerical array in ascending order starting from 'first' element ending at 'last' element. If 'last' is not specified or negative then AmiBroker will use BarCount - 1\n
      5. AFL: new function: StrSort( \"item,list,to,be,sorted\", caseSensitive = True, separator = ',' ) - perform sorting of comma-separated string (case sensitive\/insensitive, separator definable!)\n
      6. AFL: new function: StrTrim( \"string\", \"targets\", side = 3 ) - a function to trim extra characters (specified in \"targets\") from either left (1), right(2) or both(3) sides of the string. If \"targets\" parameter is an empty string, then function trims whitespaces (i.e. space, tab, newline)\n
      7. AFL: StrExtract has now extra parameter allowing to specify separator character, example StrExtract(\"This;Is;Semicolon;Separated\", 3, ';' );\n
      8. AFL: StrMid( \"string\", start, count ) now allows to skip \"count\" parameter. If you skip count, then a substring starting from 'start' to the end of the string will be returned.\n
      9. AFL\/Charts: added ability to control number of decimals in chart value labes via GraphLabelDecimals variable (example, adding GraphLabelDecimals = 2; to the formula would give you value lables with 2 decimal places\n
      10. Removed old-style Graph3*, Graph4*, Graph5*, Graph6*, Column3, 4, 5, 6 identifiers from auto-complete lists (only 0..2 left)\n
      11. Report Explorer: Edit->Copy now copies selection only (not entire table)\n<\/ol>\n

        CHANGES FOR VERSION 5.86.0<\/strong> (as compared to 5.85.0)<\/p>\n

          \n
        1. AFL Editor: repeat replace + wrap around restarts only once and if no further matches\/replaces are found it displays \"no more matching texts\" instead of restarting again.\n
        2. AFL Editor: when user closed Find&Replace dialog and then pressed F3 (find next) a couple of times to pass thru the end of document a crash could occur. Fixed.\n
        3. Analysis: HTML report generator - settings page used <\/TD> tags to close some tags which is formally incorrect, even if it works. Fixed.\n
        4. Charts: Extreme descenders in text could be truncated (by one pixel) in multiple line Title strings. Fixed.\n
        5. HTMLView - Backtest report viewer - added Edit\/Copy, Edit\/Select All and Edit\/Copy TABLE. The last command transforms HTML tables into CSV format and copies it into clipboard so tables can be pasted easily to Excel. Also it divides Entry\/Exit columns into separate Entry\/exit date\/price columns\n
        6. Parameter window: mouse wheel scroll is now supported\n
        7. Realtime Quote window: added Bid\/Ask trend - a graphical indicator showing the direction of 10 most recent changes in bid\/ask prices\n
        8. Realtime Quote window: Sorting by Full name column did no work. Fixed\n
        9. Report Explorer: Column layout (order and sizes) is now saved and restored between runs\n
        10. Report Explorer: Loading and refresh performance significantly improved (5x) using owner draw\/ virtual mode\n
        11. Report Explorer: Multi-column sorting implemented\n
        12. Report Explorer: Numeric columns are now right aligned for better readability\n
        13. Report Explorer: visuals significantly improved (list uses modern style, grid lines, immediate column resizing, double buffering for no flicker, thousand separators, negative values are displayed in dark red, HighDPI aware, changed toolbar)\n
        14. Snippet properties window now includes formula field for quick reference (no highlighting here - it is by design)\n<\/ol>\n

          CHANGES FOR VERSION 5.85.0<\/strong> (as compared to 5.84.0)<\/p>\n

            \n
          1. AFL Editor: backtest* mode constants added to auto-complete list\n
          2. AFL Editor: now Code snippets are available in auto complete list (type @ plus first letter of snippet key trigger), and even without auto complete activated @keytrigger is replaced by snippet text\n
          3. AFL: added support for single-character literals, so you don't need to use Asc() funciton.\n
          4. AFL: adding\/removing symbols to\/from watch list via CategoryAddSymbol\/CategoryRemoveSymbol wasn't thread safe. Fixed.\n
          5. AFL: AmiBroker now checks number passed to SetOption(\"MaxOpenPosition\", x ) and SetOption(\"WorstRankHeld\",x ) and trims down the request to number of symbols in database to prevent running out of memory when user specifies some absurdly high values,\n
          6. AFL: new function SendEmail( \"subject\", \"message\", ShowUI = False )\n
          7. AFL: SetOption(\"MarginRequirement\", x ) checks if x is in the range 1..100 and displays an error if not.\n
          8. Backtest: backtestRegular now keeps detailed info on sequencing of signals within single bar to avoid problems with premature exit of just opened trade when same bar exits were allowed and previous trade was not open due to insuffcient funds leaving an unmatched exit signal.\n
          9. Code Snippets: added \"Properties\" button to the toolbar that allows editing name\/description\/key trigger without re-inserting snippet\n
          10. Code Snippets: New snippet\/Properties dialog is now resizable\n
          11. UI: changed cursor shape in all tree views from \"hand\" to normal arrow\n
          12. UI: Code snippet window is now also available when AFL editor is in MDI mode (use Window->Code Snippet menu when AFL editor is open)\n
          13. UI: Interpretation window: Ctrl+C (clipboard copy) did not copy the interpretation text in 5.8x. Fixed.\n<\/ol>\n

            CHANGES FOR VERSION 5.84.0<\/strong> (as compared to 5.83.0)<\/p>\n

              \n
            1. AFL Editor: Idle-time Info tips were positioned incorrectly in 5.83. Fixed.\n
            2. AFL Editor: Text of inserted snippet is selected so one can easily see what was inserted and delete it if was a mistake.\n
            3. AFL: added Error 57. Invalid quotation mark (when user uses curly quotation marks instead of straight quotation marks \" to type a string literal)\n
            4. OLE: Document object has new property Interval (integer, read\/write) - selected Interval in seconds (tick\/range\/volume intervals are represented by negative values)\n
            5. Report Charts: now it is possible to output HTML instead of graphics in report chart formulas using AFL: EnableTextOutput( 3 ) - HTML output to backtest report\n
            6. Report Charts: rewritten 3. Profit Table.afl using HTML embedding features auto-scalable layout (so it enlarges when numbers are bigger), bold summary columns, negative values in red, boundary date changed to last day of year\/month\n
            7. UI: added Code Snippets window - allows inserting\/deleting\/saving selected parts of the formula as snippets. Also implemented is convenient drag-drop of snippet to the formula edit window\n
            8. UI: Further display improvements of Parameter window for high-DPI displays (ParamList bullet point is bigger and positioned better, Slider is resized when resizing param window, etc, etc)\n
            9. UI: On non-standard DPI displays Parameter window could show some visual artifacts when scrolling. Fixed.\n<\/ol>\n

              CHANGES FOR VERSION 5.83.0<\/strong> (as compared to 5.82.1)<\/p>\n

                \n
              1. AFL Editor: Parameter info tip AND auto-complete list can be displayed simultaneously\n
              2. AFL Editor: parameter info tip does not disappear on pressing Backspace key anymore.\n
              3. AFL Editor: Parameter info updates highlighted parameter when moving cursor inside function's param list\n
              4. AFL Editor: Verify formula run on symbol without any quotes could cause access violation. Fixed (proper error message is displayed).\n
              5. AFL Editor: when syntax check is performed and errors are detected, the editor is immediately scrolled to first error\n
              6. AFL engine: brand new custom micro allocator speeds up AFL execution of complex formulas with nested loops upto 3 times.
                \n

                \/\/ example benchmark showing 3x speedup<\/p>\n

                GetPerformanceCounter(1);
                \n x = Close[ 0 ];
                \n for( i = 0; i < 100; i++ )\n for( k = 0; k < BarCount; k++ )\n {\n x = IIf( x < Close[ k ], x, Close[ k ] );\n }\n\nprintf(\"Time = %g\", GetPerformanceCounter() );\n\nTimings (4000 bars)\n 5.83 time 146ms,\n 5.82 time 450ms,\n 5.80 time 440ms<\/p><\/blockquote>\n

              7. AFL: Since v5.65 RestorePriceArrays() did nothing when there was no preceding SetForeign\/TimeFrameSet. Now restores data if user explicitely overwrote OHLC arrays in the code preceding it.\n
              8. Analysis: Detailed Log message \"Symbol not entered bcause of insufficient funds\" improved to display requested position size in units such as shares\/% of equity instead of just encoded negative value\n
              9. Analysis: Minimum value for \"Margin Requirement\" is now 1 (1%)\n
              10. Analysis: Table header in the HTML report trade list is now right aligned (to match number alignment) (affects newly generated reports only)\n
              11. Analysis: fixed HoldMinBars check for scenario 3 with both buy and sell generated on all bars and random scores.\n
              12. Code snippets: New line \\n was truncated from \"data export\" snippet. Fixed.\n
              13. Commentary: attempt to display commentary on symbol without any quotes could cause access violation. Fixed.\n
              14. New Analysis: Less refreshes of Info page provide some extra speed\n
              15. New Analysis: Watch list 0 was used automatically (without opening WL selection dialog) when new watch list is created between scan and RMB click->Add results. Fixed.\n
              16. Turned on LowFragmentationHeap in number of places\n
              17. UI: Parameter window look and feel improved. Item height is increased and slider thumb made wider for easier use on small size\/high DPI screens\n<\/ol>\n

                CHANGES FOR VERSION 5.82.1<\/strong> (as compared to 5.82.0)<\/p>\n

                  \n
                1. AFL Engine: fixes for stability issues in 5.81.0\/5.82.0\n
                2. Filter dialog: a matching count wasn't updated on opening the dialog. Fixed.\n
                3. Bug report window made a little bigger so at least crash address is seen when someone sends screenshot instead of text\n<\/ol>\n

                  CHANGES FOR VERSION 5.82.0<\/strong> (as compared to 5.81.0)<\/p>\n

                    \n
                  1. UI: Interpretation and Commentary windows now support color text (via EncodeColor), bold and italic styles (tags: <\/b> for bold, <\/i> for italic)\n
                  2. UI: Notepad, Interpretation and Commentary windows use default GUI font instead of hard-coded Tahoma now\n
                  3. AFL: functionality of PlotGrid() function extended\n
                  4. UI: Filter dialog now displays number of matching symbols in real-time as selections are made\n
                  5. AFL Editor: added 4 new snippets under \"Function\" category\n
                  6. AFL: In 5.81.0 CategoryGetName returned nothing (void) instead of string type when specified category did not exist. Fixed (empty string is returned now)\n
                  7. AFL engine: in v5.81 access violation could occur when AFL array size was 0. Fixed.\n
                  8. New Analysis: portfolio backtest processing was attempted even if there was no symbols that matched \"apply to\" filter. Fixed (unnecesary processing is skipped now).\n
                  9. AFL: CCI function speeded up by 50%\n
                  10. Inserting indicator with Param() calls into chart when currently selected symbol had no quotes caused exception. Fixed.\n<\/ol>\n

                    CHANGES FOR VERSION 5.81.0<\/strong> (as compared to 5.80.3)<\/p>\n

                      \n
                    1. AFL Engine: custom memory allocator does not use Microsoft runtime lib for reference tracking anymore. Result - complex formulas with lots of loops and OLE (especially low-level custom backtests) run upto 3 times faster in 32 bit and 4 times faster in 64-bit\n
                    2. AFL Editor: Parameter info tip significantly enhanced - now it re-opens on typing each , (comma) and highlights current parameter to be entered.\n
                    3. UI: Column setup dialog: added Mark All \/ Toggle All buttons\n
                    4. AFL: GetFormulaPath() function added - returns full formula file path\n
                    5. AFL Editor: Smart reference highlighting implemented (usage: mark a word and all references become highlighted).\n
                    6. AFL Editor: Find\/Replace shows a message box when reached the end of the file and offers restarting from the beginning if new \"Wrap around\" option is turned on.\n
                    7. AFL Engine: code refactoring for reduced size and improved speed\n
                    8. AFL Engine: when value of unsupported type was appended to string a crash could occur. Fixed.\n
                    9. AFL Engine: when IIf was called the memory upsized from scalar to array could get freed twice (wrong). Fixed\n
                    10. AFL: MACD() and Signal() functions made faster (approx 1.5-2x times)\n
                    11. Analysis: Interest is added at the beginning of next bar (instead of end of current bar), to account for overnight rate. This also fixes the problem of ignoring interest in v.> 5.69\n
                    12. UI: fixed yet another place where entering customization changed working dir\n<\/ol>\n

                      KNOWN ISSUES:<\/strong><\/p>\n

                        \n
                      1. None\n<\/ol>\n

                        UPGRADE POLICY AND PRICING <\/strong><\/p>\n

                        The upgrade to version 5.89 BETA and subsequent official version 5.90 is FREE for all users who purchased AmiBroker after October 31, 2012<\/strong>.
                        \nUsers who purchased AmiBroker before October 31, 2012 or on that day would need to buy upgrade if they want to use this newest version ($139 - Standard Edition, $169 - Professional). If you don’t want to pay – you may continue using previous version(s) infinitely. To find out when you have purchased AmiBroker and how long your free upgrade period is, use “Account Information” page in the members area at: http:\/\/www.amibroker.com\/members\/info.php<\/a><\/p>\n

                        To purchase new license or upgrade please use our ordering page at: http:\/\/www.amibroker.com\/order.php<\/a><\/p>\n

                        For more details, instructions and examples how to use new features see the 5.89.0 BETA READ ME<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

                        Stability: – Regular BETA, pretty stable, should work fine in most environments This is a BETA version. Make a backup first A new beta version (5.89.0) of AmiBroker has just been released. ATTENTION: This version is free only for users who registered after October 31, 2012. See Upgrade Policy and Pricing section below for more […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts\/1155"}],"collection":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/comments?post=1155"}],"version-history":[{"count":0,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts\/1155\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/media?parent=1155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/categories?post=1155"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/tags?post=1155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}