AmiBroker 5.84.0 BETA Read Me
September 27, 2014 14:25
THIS IS A BETA VERSION OF THE SOFTWARE. EXPECT
BUGS !!!
Backup your data files and entire AmiBroker folder
first!
INSTALLATION INSTRUCTIONS
IMPORTANT: This archive is update-only. You have to install full version
5.80 first.
Just run the installer and follow the instructions.
Then run AmiBroker. You should see "AmiBroker 5.84.0 BETA" written
in the About box.
See CHANGE LOG below for detailed list of changes. Note that only changes
that affect end-user directly are listed here. Internal code changes/refactoring
is usually not mentioned.
CHANGE LOG
CHANGES FOR VERSION 5.84.0 (as compared to 5.83.0)
- AFL Editor: Idle-time Info tips were positioned incorrectly in 5.83. Fixed.
- AFL
Editor: Text of inserted snippet is selected so one can easily see what was
inserted and delete it if was a mistake.
- AFL: added Error 57. Invalid quotation
mark (when user uses curly quotation marks instead of straight quotation
marks " to type a string literal)
- OLE: Document object has new property
Interval (integer, read/write) - selected Interval in seconds (tick/range/volume
intervals are represented by negative
values)
- 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
- 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
- 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
- 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)
- UI: On non-standard
DPI displays Parameter window could show some visual artifacts when scrolling.
Fixed.
CHANGES FOR VERSION 5.83.0 (as compared to 5.82.1)
- 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.
- 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
- Commentary: attempt to display commentary on symbol without any quotes
could cause access violation. Fixed.
- AFL Editor: Verify formula run on symbol
without any quotes could cause access violation. Fixed (proper error message
is displayed).
- Analysis: Table header in the HTML report trade list is now
right aligned (to match number alignment) (affects newly generated reports
only)
- AFL editor: when syntax check is performed and errors are detected,
the editor is immediately scrolled to first error
- Analysis: Minimum value
for "Margin Requirement" is now 1 (1%)
- 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.
- 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
- AFL engine: brand new custom micro allocator speeds up AFL
execution of complex formulas with nested loops upto 3 times.
- Turned on LowFragmentationHeap
in number of places
- Code snippets: New line \n was truncated from "data
export" snippet.
Fixed.
- AFL Editor: parameter info tip does not disappear on pressing Backspace
key anymore.
- AFL Editor: Parameter info updates highlighted parameter when
moving cursor inside function's param list
- New Analysis: Less refreshes
of Info page provide some extra speed
- Analysis: fixed HoldMinBars check for scenario 3 with both buy and sell
generated on all bars and random scores.
CHANGES FOR VERSION 5.82.1 (as compared to 5.82.0)
- AFL Engine: fixes for stability issues in 5.81.0/5.82.0
- Filter dialog: a matching count wasn't updated on opening the dialog. Fixed.
- Bug
report window made a little bigger so at least crash address is seen when
someone sends screenshot instead of text
CHANGES FOR VERSION 5.82.0 (as compared to 5.81.0)
- UI: Interpretation and Commentary windows now support color text (via EncodeColor),
bold and italic styles (tags: <b></b> for bold, <i> </i> for
italic). Example:
printf("<b>Bold
text</b>\n");
printf("<i>Italic
text</i>\n");
printf("Now " + EncodeColor( colorRed )
+ "red text\n");
printf("and finally " + EncodeColor( colorGreen )
+ "green <b>AND bold <i>AND italic</i></b>\n");
printf(EncodeColor( colorBlack )
+ "going back to black");
- UI: Notepad, Interpretation and Commentary windows use default GUI
font instead of hard-coded Tahoma now
- AFL: functionality of PlotGrid() function
extended
PlotGrid( level, color = colorDefault, pattern = 1, width = 1, label = True
)
pattern - defines line pattern. Available grid patterns 1..10 as shown in
the Tools->Preferences, "Axes & Grids"
1-7 are single pixel patterns, 8 is regular windows dot pattern (PS_DOT)
, 9 is regular Windows dash pattern (PS_DASH), 10 is solid line
width - grid line width (in pixels). Note that due to Windows GDI limitations
only patterns 8 (PS_DOT), 9 (PS_DASH), 10 (PS_SOLID) are available in widths > 1
label - whenever to display value label or not
Use PlotGrid to display horizontal lines that are constant instead of using
Plot.
PlotGrid offers much better performance in this case.
So instead of
Plot( 50, "", colorRed, styleLine | styleThick );
use:
PlotGrid( 50, colorRed, 10, 2, False ); //
solid line 2 pixels thick, no label
- AFL Editor: added 4 new snippets under "Function" category
- UI:
Filter dialog now displays number of matching symbols in real-time as selections
are made
- AFL: CCI function speeded up by 50%
- Inserting indicator with Param() calls
into chart when currently selected symbol had no quotes caused exception.
Fixed.
- 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)
- New Analysis: portfolio backtest processing was attempted even if there
was no symbols that matched "apply to" filter. Fixed (unnecesary
processing is skipped now).
- AFL engine: in v5.81 access violation could occur
when AFL array size was 0. Fixed.
CHANGES FOR VERSION 5.81.0 (as compared to 5.80.3)
- 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
- AFL Editor: Parameter info tip significantly enhanced - now
it re-opens on typing each , (comma) and highlights current parameter to
be entered.
- UI:
Column setup dialog: added Mark All / Toggle All buttons
- AFL: GetFormulaPath()
function added - returns full formula file path
- AFL Editor: Smart reference
highlighting implemented (usage: mark a word and all references become
highlighted).
- 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.
- AFL Engine: code refactoring for reduced size and improved speed
- AFL: when value of unsupported type was appended to string a crash could
occur. Fixed.
- AFL Engine: when
IIf was called the memory upsized from scalar to array could get freed twice
(wrong). Fixed
- AFL: MACD() and Signal() functions made faster (approx 1.5-2x times)
- 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
- UI: fixed yet another place where entering customization
changed working dir
If you experience any problem with this beta version please send detailed
description of the problem (especially the steps needed to reproduce it) to
support at amibroker.com