http:\/\/www.amibroker.com\/members\/info.php<\/a><\/p>What's new in AmiBroker 6.40<\/h3>
HIGHLIGHTS<\/strong><\/p>Version 6.40 brings lots of new functionality especially with regards to the formula language and performance . There are hundreds of new features and changes to existing functionality as compared to version 6.30, listed in detail in \"Release Notes\" document in AmiBroker directory. Below is just a short list of few of them:<\/p>
- QuickGFX<\/strong> - brand new chart rendering engine delivering upto 100x performance boost as compared to GDI rendering. GDI rendering speed also improved upto 2x.
In-house developed QuickGFX direct rendering technology completely bypasses Windows GDI and offers amazing 10x-100x performance gain as compared to GDI renderingTo enable QuickGFX experimental tech go to Tools->Preferences, \"Miscellaneous\" tab, click \"Experimental: Use QuickGFX render\" and press \"Apply\" or \"OK\"
You can see when it is enabled, chart timing footnote (when enabled) will say \"QuickGFX render ...ms\" instead of \"GDI render ...ms\" This is PROFESSIONAL edition feature only. Users of Standard version would need to purchase upgrade in order to use this feature.
<\/li>- Automatic Analysis improvements<\/strong>
- Easy Sequencing of multiple Analysis actions via #pragma sequence(scan,explore) and new \"Run Sequence\" button without need to write batches. Allows for example single click two-step analysis runs creating composites or static variables in first step and using them in second step<\/li>
- Backtester - 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 disabled)<\/li>
- huge speedups in running large explorations, dark theme and 5x speed up for rendering huge list views like (as compared to 6.31)
<\/li><\/ul><\/li> - AmiBroker Formula Language new functions \/ features<\/strong>
- FindIndex( array, value, start_from = 0, dir = 1 ) - find index of array item matching specified value<\/li>
- BarsSinceCompare( past, comparison, current ) - for every bar, compare past array values with current bar value and return the number of bars since last time comparision was true<\/li>
- InternetSetHeaders( \"headers\" ) - set custom HTTP headers for subsequent web requests<\/li>
- InternetSetOption( option, value ) - set HTTP option for internet session<\/li>
- InternetPostRequest(''http:\/\/url_to_your_web_resource'', data, flags = 0) - send HTTP Post request to Internet web resource (URL)<\/li>
- MxCopy() - in-place copy of rectangular blocks from one matrix to the other (copy portions of one matrix to the other matrix)<\/li>
- _exit() - gracefully ends AFL execution at the point of the call<\/li>
- InternetGetStatusCode() - returns HTTP status code of last InternetOpenURL or InternetPostRequest call<\/li>
- Chr( code ) returns string representing single character of given ascii code<\/li>
- GetObject( path, class ) providing functionality equivalent to JScript GetObject and VBScript GetObject<\/li>
- 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<\/li>
- inverf(x) - inverse of erf function<\/li>
- erf(x) - computes Error function Error function - Wikipedia 2<\/li>
- SafeDivide( x, y, valueifzerodiv )- safe division that handles division by zero using special handling (replace result with user-defined value)<\/li>
- new Javascript engine (Chakra) featuring native JSON support (EnableScript(\"chakra\"))
<\/li><\/ul><\/li> - AmiBroker Formula Language improvements, enhancements and fixes<\/strong>
- exponentation operator is made 50-100x faster in cases of small integer exponents of 2, 3, 4 and 5<\/li>
- GuiSetText() function avoids sending change notifications to prevent update loops<\/li>
- ADX function vectorized (2x faster than before)<\/li>
- added extra parameter for Error() function to stop execution<\/li>
- internal function signatures changed to allow flexible ordering of arguments regardless of their type and varargs with less overhead<\/li>
- GfxDrawImage with PNG images exclusive file lock removed<\/li>
- parser warns if empty body is used in 'for' or 'while' statements<\/li>
- support for gzip and deflate compression in Internet functions<\/li>
- plugin interface backward compatibility with changing function signatures<\/li>
- more runtime checks to prevent user errors and other fixes
<\/li><\/ul><\/li> - Batch window new features \/ improvements<\/strong>
- Clipboard Cut\/Copy\/Paste implemented in batch editor<\/li>
- Edit->Delete (from main menu) and Edit-Delete All implemented for completeness<\/li>
- list view uses virtual mode now (owner data)<\/li>
- added \"add results to watchlist\" action \/ WatchlistAddResults<\/li>
- added \"clear watchlist\" action \/ WatchlistClear<\/li>
- added \"comment\" action<\/li>
- added optional parameter to Data Import ASCII command to allow specify format definition file<\/li>
- added optional parameter to Execute and Wait command to specify current working directory for command<\/li>
- added optional parameter to Export to File \/ Export walk-forward to file to specify column separator in CSV files<\/li>
- -optional parameter defines the column SEPARATOR used for export. Only single character is used. When it is not supplied, comma is used.
<\/li><\/ul><\/li> - AFL editor enhancements<\/strong>
- 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)<\/li>
- 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)<\/li>
- 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<\/li>
- when an runtime error is detected debugging session the message bar shows now number of detected errors (as it did previously during normal \"verify\"<\/li>
- when dark mode list views are used watch window default text color was black making it hardly visible, changed to white
<\/li><\/ul><\/li> - User Interface new features and improvements<\/strong>
- Dark theme for 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<\/li>
- 5x speed up for rendering huge list views (bypassing Windows rendering)<\/li>
- Preferences: added Text Tool font setting independent from Axis font (Preferences->Miscellaneous page)<\/li>
- Charts: improved text tool with per-study selectable font size<\/li>
- Parameter names are not truncated in HighDPI screens
<\/li><\/ul><\/li> - Database improvements<\/strong>
- new 8-digit ICB structure implemented: FTSE Russell 6<\/li>
- Database Purify is 10x faster<\/li>
- OLE: added Stock.Quotations.Adjust function to perform adjustments programmatically OLE: added Stock.Quotations.Adjust() function. long Adjust(BSTR pszFieldList, float fMultiplier, float fOffset, DATE dDateTime, boolean bBefore)<\/li><\/ul><\/li><\/ul>
CHANGES FOR VERSION 6.40.4 (as compared to 6.40.3)<\/strong><\/p>- Charts: on specifically prepared formulas producing sparse array a moire effect with histogram chart can be seen under rare circumstances. Fixed.<\/li>
- UI: when Tickerbar was customized in previous versions it could come up as empty in 6.40.2 until it is RESET via customize dialog. Fixed.<\/li>
- QuickGFX, simple bar chart, width > 2, end caps are drawn to ensure that open\/close ticks are visible in high zoom out levels<\/li>
- Toolbar Zoom in\/out auto-repeat period decreased to 100ms (from 150ms)<\/li>
- QuickGFX: styleGradient wasn't supported in 6.40.2-6.40.3. Now it works again (fallback to GDI)<\/li>
- Docs: added GuiSetColors to help file<\/li>
- Charts: 3-color gradient charts could be drawn incorrectly if user-defined base line level was outside chart Y axis range. Fixed<\/li><\/ul>
CHANGES FOR VERSION 6.40.3 (as compared to 6.40.2)<\/strong><\/p>- OLE: new Quotations.Adjust could enter infinite loop. Fixed<\/li>
- QuickGFX: fixed division by zero on gradient fill when top == bottom<\/li>
- QuickGFX: styleDashed implemented<\/li>
- UI: on HiDPI screens Tickerbar dropdown item height was too small in 6.40.2. FIxed<\/li>
- UI: Ticker bar has been reimplemented to allow quick handling of millions of symbols (done in 6.40.2 but missing in change log)<\/li>
- UI: Ticker bar search \/ auto-complete is re-introduced (it was not working in 6.40.2 because TickerBar no longer uses standard combo box and combo box \"built-in\" features were absent)<\/li>
- UI: when Tickerbar was customized in previous versions it could come up as empty in 6.40.2 until it is RESET via customize dialog. Fixed.<\/li><\/ul>
CHANGES FOR VERSION 6.40.2 (as compared to 6.40.0)<\/strong><\/p>- 32-bit\/Charts: x87 assembly code used for faster conversion from float to int. This gives +20% performance improvement in both GDI and QuickGFX rendering modes<\/li>
- 64-bit: the size of internal exit signal structure increased to allow backtest with more than 1 million symbols (at the cost of increased RAM usage). 32-bit version still uses smaller structure and 1 million symbol limit<\/li>
- AFL Editor: Defunct Print menu option removed from context (right-click) menu. Working Print option is available in File->Print menu<\/li>
- AFL: _SECTION_BEGIN() - section name is checked against not allowed control characters<\/li>
- AFL: ADX\/PDI\/MDI protected against division by zero when data are completely flat (H == L == C for long periods of time)<\/li>
- AFL: array version of ColorHSB function is 50% faster now<\/li>
- AFL: new function BarsSinceCompare( past, comparison, current ) - for every bar, compare past array values with current bar value and return the number of bars since last time comparision was true<\/li>
- AFL: New warning 511 for incorrect usage of IIF function: \"Assignment within IIF function arguments. Use IIF() return value instead\"<\/li>
- AFL: Param*() functions check if user passed non-printable\/control characters, that are forbidden in parameter names and display appropriate error message<\/li>
- AFL: regression new Error 72 was incorrectly generated when amount was zero but mode was set to Disable (like in Equity.afl file). The combination of zero amount and disable is of course valid and error is no longer produced in such case.<\/li>
- AFL: Status(\"baseinterval\") - new field \"baseinterval\" returns database base time interval setting in seconds<\/li>
- AFL: Warning 501 (assignment within conditional) is silenced if assignment is made to the variable that wasn't intitialized before (i.e. it is first assignment of given variable ever in code)<\/li>
- AFL: Warning 512 added to detect overusage of Foreign\/SeForeign calls<\/li>
- Analysis report charts: regression: when QuickGFX was enabled, report charts could cause exception. Fixed.<\/li>
- ASCII import: combination of $HYBRID 1 without \"autoadd\" mode produces an error on non-existing symbols now.<\/li>
- Charts: 40% speedup in determination of auto-scale min\/max (signficantly affects chart rendering performance for very large number of bars >500K)<\/li>
- Charts: Bar-to-XPixel coordinate conversions speeded up 3x by using assembly in 32-bit and _div64\/__emul intrinsics in 64-bit versions<\/li>
- Charts: GDI rendering of cloud style charts is now 2x faster<\/li>
- Charts: QuickGFX rendering of cloud style charts is now 100x faster<\/li>
- Charts: when QuickGFX was enabled multi-color title text was slightly truncated at the color boundaries. Fixed.<\/li>
- DB: when user renames the symbol corresponding Note text file name is renamed accordingly now<\/li>
- Fixed regression introduced in 6.39 when the very last value in MA was non-Null even if there was not enough data<\/li>
- New Analysis window: #pragma sequence(scan,backtest) - and new \"Run Sequence\" button to run same formula with same settings several times in sequence using different modes<\/li>
- OLE: added Stock.Quotations.Adjust() function. long Adjust(BSTR pszFieldList, float fMultiplier, float fOffset, DATE dDateTime, boolean bBefore)<\/li>
- QuickGFX: Line width > 1 implemented<\/li>
- QuickGFX: New lines in Title variables caused double spacing. Fixed<\/li>
- QuickGFX: styleHistogram was invisible for negative values. Fixed<\/li>
- UI: Param window, names of parameters are not tructated on HighDPI screens anymore<\/li>
- When worker thread attempted to read string from resources sometimes resource handle was set incorrectly, this caused COleException \/ unknown error. Fixed by replacing faulty MS CString::LoadString implementation.<\/li><\/ul>
For more details, instructions and examples how to use new features see the 6.40.4 BETA READ ME<\/a><\/p>","protected":false},"excerpt":{"rendered":"Stability: – STABLE A new official version (6.40.4) of AmiBroker has been released. 32-bit version:http:\/\/www.amibroker.com\/members\/download.php?AmiBroker6404.exe(10 409 344 bytes) 64-bit version:http:\/\/www.amibroker.com\/members\/download.php?AmiBroker6404x64.exe(11 023 360 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 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts\/1370"}],"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=1370"}],"version-history":[{"count":0,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts\/1370\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/media?parent=1370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/categories?post=1370"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/tags?post=1370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}