amibroker

HomeDevLog

AmiBroker 5.38.0 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.38.0) of AmiBroker has just been released.

32-bit version:
http://www.amibroker.com/members/bin/ab5380beta.exe
(1 978 704 bytes)

64-bit version:
http://www.amibroker.com/members/bin/AmiBroker5380x64.exe
(8 450 080 bytes)

If you forgot your user name / password to the members area you can use automatic reminder service 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.

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

CHANGES FOR VERSION 5.38.0 (as compared to 5.37.1)

  1. Fixed structure packing in x64 version causing problems with display of parameter tooltips for 3rd party DLLs
  2. WMA had trouble with null handling at the beginning. Fixed.
  3. Improved CCI accuracy in x64 version (as compared to x86 version)
  4. Added switch to turn reset chart zoom level when loading layout
  5. AFL: new function FIR( array, coefficients, size ) implemented
  6. AFL: new function HMA (Hull Moving Average)
  7. AFL: new function: DateTimeAdd( datetime, amount, interval = inDaily )
  8. AFL: new function: Lookup( array, datetime, mode = 0 )
  9. AFL: function _DT( "string" ) added - this is short alias for StrToDateTime() function
  10. AFL: added new FirstVisibleValue/LastVisibleValue functions
  11. Cum( Null) was causing exception in AFL engine. Fixed
  12. Print preview flickered when moving the mouse due to frequent refreshes when crosshair was enabled. Fixed.
  13. structured exception handler is set for every thread for better exception reporting

Hint: If AmiBroker 5.38.0 crashes at start up with "multi-thread charts" option enabled, you can make it work by holding down the SHIFT key while starting AmiBroker - this will turn OFF multi-threading.

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

Next planned beta (5.39.0) should arrive next Friday.

AmiBroker 5.37.1 BETA released

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

UPDATE: Replaced 5.37.0 with 5.37.1

This is a BETA version. Make a backup first

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

32-bit version:
http://www.amibroker.com/members/bin/ab5371beta.exe
(1 974 024 bytes)

64-bit version:
http://www.amibroker.com/members/bin/AmiBroker5371x64.exe
(8 448 496 bytes)

If you forgot your user name / password to the members area you can use automatic reminder service 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.

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

CHANGES FOR VERSION 5.37.1 (as compared to 5.36.0)

  1. EncodeColor did not accept -1 (defaultColor) in 5.37.0. Fixed in 5.37.1.
  2. AFL Code Wizard 1.01: fixed incompatibility with Internet Explorer 9
  3. AFL: PlotText() internally detects if given x-coordinate is outside visible area, skips entire processing and returns zero (without plotting anything) for invisible bars. This saves execution time for inefficiently written formulas that did not check for visible bars by themselves.
  4. Report charts now use Formula path as defined in preferences not hard-coded one so they work if user has moved his/her formula folder elsewhere
  5. Fixed crash occuring sometimes on completly blank chart when user set number of blank (future) bars to zero (#75570
    )
  6. Fixed crash when trying to use Overlay onto blank chart
  7. AmiBroker is now marked as DPIaware (this ensures crisp display by turning off Win7 DPI virtualization that scales and blurs image on high DPI (>=150dpi) displays)
  8. AFL: added new message: 'Error 52. Invalid argument value. Argument must be positive (and not Null))'. The message is displayed when you pass incorrect value to a function (like Null as a range to Sum() )
  9. Layout files now include zoom factor so charts are loaded with most recently used zoom level
  10. New version of UI library featuring new appearance themes and alpha-channel resize tracker

CHANGES FOR VERSION 5.36.0 (as compared to 5.35.0)

  1. AFL Editor more detailed code checks implemented - now displays *warnings* (for code parts that are syntactically correct but likely errorneous in practice)
  2. Temporary workaround for docking window crash when Internet Explorer 9 is installed and web research window resized
  3. AFL: new functions: GicsID and InGICS added
  4. In minimised windows RequestTimedRefresh with onlyvisible parameter set to False worked unreliably when multithreading was ON. Fixed.
  5. AFL engine gives more detailed information about exceptions (including line numbers and file path)
  6. Formula editor, indicators and commentary catch all exceptions, not only system exceptions
  7. Fixed potential crash when param dialog is referring to non-existing view (NO_CHART_ID)
  8. AFL: "Unknown exception" should now be reported with line numbers for easier identification of ofending function
  9. AFL: for/while/do-while loops were not executed if syntax or runtime error occured before them and "stop parsing on first error" was turned off. Fixed
  10. 64-bit: AStyle.dll is now included in 64-bit version so AFL Editor, Edit->Pretiffy works in 64 bit too.

Hint: If AmiBroker 5.37.1 crashes at start up with "multi-thread charts" option enabled, you can make it work by holding down the SHIFT key while starting AmiBroker - this will turn OFF multi-threading.

For more details and instructions see the 5.37.1 BETA READ ME.

Next planned beta (5.38.0) should arrive next Friday.

AmiBroker 5.36.0 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.36.0) of AmiBroker has just been released.

32-bit version:
http://www.amibroker.com/members/bin/ab5360beta.exe
(1 677 120 bytes)

64-bit version:
http://www.amibroker.com/members/bin/AmiBroker5360x64.exe
(8 161 368 bytes)

If you forgot your user name / password to the members area you can use automatic reminder service 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.

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

CHANGES FOR VERSION 5.36.0 (as compared to 5.35.0)

  1. AFL Editor more detailed code checks implemented - now displays *warnings* (for code parts that are syntactically correct but likely errorneous in practice)
  2. Temporary workaround for docking window crash when Internet Explorer 9 is installed and web research window resized
  3. AFL: new functions: GicsID and InGICS added
  4. In minimised windows RequestTimedRefresh with onlyvisible parameter set to False worked unreliably when multithreading was ON. Fixed.
  5. AFL engine gives more detailed information about exceptions (including line numbers and file path)
  6. Formula editor, indicators and commentary catch all exceptions, not only system exceptions
  7. Fixed potential crash when param dialog is referring to non-existing view (NO_CHART_ID)
  8. AFL: "Unknown exception" should now be reported with line numbers for easier identification of ofending function
  9. AFL: for/while/do-while loops were not executed if syntax or runtime error occured before them and "stop parsing on first error" was turned off. Fixed
  10. 64-bit: AStyle.dll is now included in 64-bit version so AFL Editor, Edit->Pretiffy works in 64 bit too.

Hint: If AmiBroker 5.36.0 crashes at start up with "multi-thread charts" option enabled, you can make it work by holding down the SHIFT key while starting AmiBroker - this will turn OFF multi-threading.

For more details and instructions see the 5.36.0 BETA READ ME.

Next planned beta (5.37.0) should arrive next Friday.

AmiBroker 5.35.0 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.35.0) of AmiBroker has just been released.

32-bit version:
http://www.amibroker.com/members/bin/ab5350beta.exe
(1 675 368 bytes)

If you forgot your user name / password to the members area you can use automatic reminder service 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.

Remember to BACKUP YOUR FILES FIRST !
Note that this version can only be installed onto previous full installation of version 5.30 or higher

CHANGES FOR VERSION 5.35.0 (as compared to 5.34.5)

  1. AFL Editor: "firstvisiblebarindex" and "lastvisiblebarindex" are initialized with first and last data bar when using "Verify syntax" to avoid problems. Although these Status fields should only be used in indicators, it is quite common mistake among users to use them unconditionally
  2. AFL: Sum() function displays Error 52. Invalid argument value when range argument is negative (instead of random crash)
  3. Account manager: fixed OLE exception in date conversion occuring randomly due to uninitialized exit date when trade has been opened.
  4. Indicator Maintenance Wizard now creates log (indmaint.log in AmiBroker directory) that reports all layout files read and eventual errors found. It also attempts to read corrupted layouts in a "safe" way so it does not crash
  5. Parameter window: fixed handling of mixed section and section-less parameters
  6. Quote Editor: fixed editing when timeshift was not zero plus added ability to turn on/off timeshift (so quotes can be edited in original exchange zone)
  7. Fix: Click on items in param() window did not set focus ( fix @ line 1505 HotPropCtrl.cpp )
  8. AFL: Error 10. Subcript out of range message now gives information about exactly which array element was accessed
  9. AFL: Added new error message "Error 51. Array subscript has Null value"
  10. /STACK:2097152,16384 (2M/16K) option for x64 compilation ? - to allow deep nesting in AFL, also reduced stack usage by Execute() function
  11. Removed (evil) IsBadReadPtr function!
  12. OLE: AB.RefreshAll( [optional] Flags = 1 ) - takes now new optional parameter Flags. Flags = 1 means refresh only charts (fast), Flags = 3 means refresh charts, dialogs, symbol list, chart list, etc (SLOW!)
  13. OLE: AB.RefreshAll() changed for improved consistency (marks for refresh and it is refreshed every 1 second regardless of number of requests within one second)
  14. //--Indicator-End-- special marker is now obsolete and does nothing (entire formula is executed). For conditional execution of interpretation code use conditional statement if with Status() function
  15. Fix: switch( str_function_call_here ) did not work properly when expression was a function call returning string such as StrLeft(). Fixed
  16. Fix: internal time conversion (flocaltime) made thread safe using TLS
  17. AFL: Equity() now uses thread local storage for keeping stop state variables to prevent interference when multiple threads call Equity()
  18. AFL: mtRandom(A) now uses thread local storage, so using non-null seed yields reproducible sequence even if multiple threads are calling mtRandom in parallel
  19. Foreign() uses SendNotifyMessage instead of PostMessage if symbol data are not already cached to trigger loading quicker (solves support #78278)
  20. Implemented cross-thread bidirectional communication mechanism that allows to call functions across threads in safe way. This allows among other things to make non-threading safe APIs (like Quotes Plus) to operate properly with multi-threading enabled. (Fixes GetExtraData crash with QP2 - FC#2072)
  21. Prefs/Misc/"Show interpretation in tooltips" checkbox removed as this functionality has been removed in 5.32.0. Use Interpretation window instead (View->Interpretation)
  22. OLE: AB.Import() - UI is automatically refreshed after import so there is no need to call RefreshAll() anymore. Also the refresh is "smart" it only updates symbol lists if any symbols were added

CHANGES FOR VERSION 5.34.5 (as compared to 5.34.0)

  1. Worked around Microsoft OS bug #248760 and #209467 - writing to metafiles from multiple threads causes lost object selections. This has caused display unstability for Gfx function-generated output on some XP and Vista machines. The only way to fix that was NOT to use metafiles at all. Gfx code was rewritten not to use Microsoft metafiles. As a result of custom implementation Gfx functions work now 3 times faster and are multi-threading safe.
  2. GfxDrawText automatically falls back to much (4x) faster ExtTextOut when format is 0 or DT_NOCLIP and string does not contain any new line characters

Hint: If AmiBroker 5.35.0 crashes at start up with "multi-thread charts" option enabled, you can make it work by holding down the SHIFT key while starting AmiBroker - this will turn OFF multi-threading.

For more details and instructions see the 5.35.0 BETA READ ME.

Next planned beta (5.36.0) should arrive next Friday.

IQFeed plugin version 3.0.1

A new version of IQFeed plugin is available for download from:

INSTALLATION:
Download the file above and copy it to the Plugins subdirectory inside AmiBroker folder.

IMPORTANT:
V3.0.1 CHANGES (as compared to version 3.0.0)

  • Removed limit of backfill length (full intraday history provided by IQFeed can be downloaded)

V3.0.0 CHANGES (as compared to version 2.0.2)

  • Implemented tracking of streaming symbols accross multiple clients via S,STATS
  • Uses new method of staring up IQFeed (command line), asynchronous operation (no wait for plugin)
  • Aux fields initialized properly to zero
  • Native 64-bit version implemented

IMPORTANT: this plugin uses NEW IQFeed Client 4.7.1.3
http://www.iqfeed.net/iqfeed_client_4_7_1_3.exe
or higher. Older Client API versions may not work.

AmiBroker 5.34.5 BETA released

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

This is a BETA version. May still exhibit minor problems. Make a backup first

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

32-bit version:
http://www.amibroker.com/members/bin/ab5345beta.exe
(1 671 632 bytes)

64-bit version (full installer):
http://http://www.amibroker.com/members/bin/AmiBroker534x64.exe
(8 123 192 bytes)

If you forgot your user name / password to the members area you can use automatic reminder service 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.

Remember to BACKUP YOUR FILES FIRST !
Note that this version can only be installed onto previous full installation of version 5.30 or higher

CHANGES FOR VERSION 5.34.5 (as compared to 5.34.0)

  1. Worked around Microsoft OS bug #248760 and #209467 - writing to metafiles from multiple threads causes lost object selections. This has caused display unstability for Gfx function-generated output on some XP and Vista machines. The only way to fix that was NOT to use metafiles at all. Gfx code was rewritten not to use Microsoft metafiles. As a result of custom implementation Gfx functions work now 3 times faster and are multi-threading safe.
  2. GfxDrawText automatically falls back to much (4x) faster ExtTextOut when format is 0 or DT_NOCLIP and string does not contain any new line characters

Hint: If AmiBroker 5.34.5 crashes at start up with "multi-thread charts" option enabled, you can make it work by holding down the SHIFT key while starting AmiBroker - this will turn OFF multi-threading.

For more details and instructions see the 5.34.5 BETA READ ME.

Next planned beta (5.35.0) should arrive next Friday.

AmiBroker 5.34.0 BETA released

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

This is a BETA version. May still exhibit minor problems. Make a backup first

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

http://www.amibroker.com/members/bin/ab5340beta.exe
(1 670 368 bytes)

If you forgot your user name / password to the members area you can use automatic reminder service 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.

Remember to BACKUP YOUR FILES FIRST !
Note that this version can only be installed onto previous full installation of version 5.30 or higher

The highlight of this version is a first public release of completely rewritten AFL engine that now allows multi-threaded execution. Original AFL engine was written back in 1997 when multi-core/multi-processor computers were not available for "average" user, therefore the engine was written to optimize single-thread execution speed. Now when multi-core processors are common and improvements in linear single-core CPU speed practically stopped, the only way to gain more speed is to run several formulas in parallel. Rewritting such a complex piece of software like AFL engine to allow parallel execution is not easy and straightforward, so it had to take some months to complete. Although the engine alone is already 100% complete, there are other areas of the program that need to be rewritten or at least changed significantly to leverage new possibilities. Charts are the first area where parallel execution is fully utilised as of version 5.31.0 BETA. If you were struggling with real-time performance of your complex charts, you should see dramatic improvement after turning multi-threaded charts on (in Tools->Preferences, "AFL" tab). For details see Read Me file.

CHANGES FOR VERSION 5.34.0 (as compared to 5.33.0)

  1. Fix: Gfx functions when run in multithreaded mode slowed down over time due to Micosoft MFC library GDI wrappers not being thread-safe. Fixed by replacing MFC calls with straight WINAPI calls.
  2. Multi-threading charts are now ON by default and will be reset to ON on each restart. This change is temporary but added because some people forget to turn this on.
  3. Fix: When Symbol Lock was ON, currently focused chart did not update its quote cache. Fixed
  4. Fix: Status("redrawaction") was giving 0 result for timed refreshes in 5.31-5.33 while it should give 1. Fixed.
  5. Fix: GDI leak found when using Gfx* functions in Automatic Analysis that resulted in resource exception after long use. Fixed
  6. Fix: GDI leak found after Parameter windows "Reset all". Fixed
  7. Fix: Black screen in Edit->Image->Copy as bitmap/Metafile/Export/Send e-mail. Fixed. Now uses separate instance of AFL engine not to interfere with execution running in the background.
  8. Fix: AFL engine did not release memory buffer for pre-processed parts (#include). Fixed
    AmiBroker now has requestedExecutionLevel set to "asInvoker" in its manifest file and that prevents Vista/Windows 7 folder virtualization. It also displays a warning message when it does not have write access to its working directory.

CHANGES FOR VERSION 5.33.0 (as compared to 5.32.1)

  1. OLE: Analysis object - added IsBusy property that allows OLE programs to check whenever AA is currently running asynchronous AA operation
  2. In 5.32.1 only active window was refreshed automatically by streaming data - others required mouse click. Fixed.
  3. In 5.32 formulas using Status("actionex") == actionIndicator caused blank pane when focused because actionex was NOT indicator. Compatibility shim implemented.
  4. Fixed bad crash occuring when using AddToComposite with atcFlagsEnableInIndicator in multi-threaded mode
  5. Fix: Interval linked charts did not update immediatelly and multi-window layouts required click to update after loading. Fixed.
  6. Fix: Crash @501C30 when doing double right click on Data window
  7. Dangling pointer to view (after its deletion) removed from timedrefresh map and parameter window. This prevents some crashes.
  8. Compat: In 5.32 when SetOption() was placed AFTER custom backtester procedure code in user formula - such options did not affect CBT results. Technically 5.32 was correct one and 5.30 incorrect (such options affected CBT results), but because probably too many user formulas are poorly written without taking attention on placement of SetOption() calls and that created false bug reports, an old compatible behaviour was restored till the time when error messages about wrong placement of SetOption() calls are implemented, so users become aware about their coding errors.
  9. Bug recovery/report dialog now allows the user to type steps required to reproduce the crash and select how often given problem occurs
  10. Attempts to run AA asynchronous operation (Backtest/Optimize/Scan/Explore) via OLE while another one is still running are detected and prevented (with error message "Automatic Analysis is Busy processing")
  11. AFL thread termination routine checks for possible same-process COM call deadlock and pumps COM messages if necessary to complete thread gracefully

CHANGES FOR VERSION 5.32.1 (as compared to 5.32.0)

  1. Fix: when "stop parsing at first error" option was turned on "Reset all" button in parameters window caused params to disappear. Fixed
  2. Fix: random crash @7792E25B (small alloc heap corruption) fixed
  3. Fix: random crash @4BFFF7 (when accessing static variables from multiple threads at once). Fixed.
  4. Fix: Eliminated multi-threaded race condition that randomly caused blank charts.

CHANGES FOR VERSION 5.32.0 (as compared to 5.31.2)

  1. Parameters work also without _SECTION_BEGIN/_SECTION_END,
  2. Parameters 'Reset All' operation improved
  3. Interpretation does not use extra execution cycle anymore (text evaluation is done within normal indicator execution).
  4. Formula Editor: Syntax check, Apply indicator, Insert work faster because it only uses 100 bars to perform syntax check instead of all bars
  5. Formula Editor: Code check & profile uses not more than 100K bars
  6. Fix: Timing display in the chart shows correctly AFL execution and redraw time when multi-threading is ON and does not flicker
  7. Fix: Say() function works properly when multithreading is ON
  8. Fix: Errors occuring in JScript/VBScript parts do not result in crash anymore
  9. Data Window now allows to choose which of default data elements (OHLCV, OI, Aux1/2) to display - use Right click context menu
  10. Data window display is immediate and does not require extra AFL execution
  11. Data tooltip readout is immediate - does not use extra execution cycle anymore (implemented internal cache)
  12. When there are no parameters for given indicator - empty brackets are not added anymore for display in tooltip/data window and as a return value of _DEFAULT_NAME().

CHANGES FOR VERSION 5.31.2 (as compared to 5.31.1)

  1. Fixed: Problems with Gfx functions (all references to ChartInfo removed) in 5.31.1
  2. Fixed: Parameters window was not refreshed properly after ResetAll in 5.31.1
  3. Fixed: Crash when switching layouts in 5.31.1
  4. Fixed: Crash @004C297D - Foreign returned wrong interval in 5.31.1
  5. Fixed: Crash @0040F91C / @0040FA2B (all references to ChartInfo removed from AFL engine) in 5.31.1
  6. Fixed: Automatic Analysis ignored changes done via SetOption and other runtime settings-related changes in 5.31.1
  7. Fixed: Changing chart display interval did not work immediatelly in 5.31.1

CHANGES FOR VERSION 5.31.1 (as compared to 5.31.0)

  1. fixed crash @0040BACD (using Gfx... functions) when multi-threading was enabled
  2. fixed crash @0041E27C (JScript/VBScript embedded code) when multi-threading was enabled
  3. fixed crash @7686F05D and @004B83EC (load/create new database) when multi-threading was enabled

CHANGES FOR VERSION 5.31.0 (as compared to 5.30.4)

  1. Major change: AFL Engine rewritten completely to allow multi-threaded execution
  2. $HYBRID now allows importing OpenInterest, Aux1, Aux2 onto existing data without need to specify price
  3. new AFL function: PlaySound( "filename" )
  4. new AFL function: ShellExecute( "filename", "arguments", "workingdir", showcmd = 1 )
  5. Multiple file open dialogs now use 1MB buffer (instead of 256K)
  6. OptimizerSetOption and OptimizerSetEngine are now no-ops for anything but backtest/optimization action
  7. Value labels are drawn with a little offset from the Y axis. First Plot() label is drawn with an arrow pointing out exactly price level
  8. When main application window is in modal state (displaying File open dialog for example), RequestTimedRefresh is held
  9. When multiple MDI windows are open and one is maximized, the windows in back that are completely obscured by others and minimized windows are not redrawn during normal RT refresh

KNOWN ISSUES:

  1. Data tooltips do not show interpretation text (only interpretation window shows it) and you can not set custom data tip text using Tooltip variable (this functionality is made obsolete). Use Interpretation window instead.
  2. When Symbol Lock is ON, currently focused chart does not update its quote cache. Workaround: Unlock the symbol lock.

Hint: If AmiBroker 5.34.0 crashes at start up with "multi-thread charts" option enabled, you can make it work by holding down the SHIFT key while starting AmiBroker - this will turn OFF multi-threading.

For more details and instructions see the 5.34.0 BETA READ ME.

Next planned beta (5.35.0) should arrive next Friday.

AmiBroker 5.33.0 BETA released

Update: Version 5.33.0 has been replaced by version 5.34.0, that includes many fixes to recently added functionality see:
http://http://www.amibroker.com/devlog/2010/11/19/amibroker-5-34-0-beta-released/

AmiBroker 5.32.1 BETA released

Update: Version 5.32.1 has been replaced by version 5.34.0, that includes many fixes to recently added functionality see:
http://http://www.amibroker.com/devlog/2010/11/19/amibroker-5-34-0-beta-released/

AmiBroker 5.32.0 BETA released

Update: Version 5.32.0 has been replaced by version 5.34.0, that includes many fixes to recently added functionality see:
http://http://www.amibroker.com/devlog/2010/11/19/amibroker-5-34-0-beta-released/

« Previous PageNext Page »