Hello,
AmiBroker 4.93.0 BETA has just been
released:
Best regards,
Tomasz
Janeczko
amibroker.com
CHANGES FOR VERSION 4.93.0:
- Fixed exception that maight occur when copying to clipboard very long
lines from AA result list
- CategoryGetName() now returns empty string for non-existing
categories instead of some uninitialized (random) string
- Fixed exception when trying to apply commentary on blank chart
pane
- AFL editor fix: right Alt + z does not trigger 'undo' anymore (allows
to enter Polish z (z-dot-above) letter)
- Fixed exception occuring when Symbol Information was edited at the
same time while first auto-analysis was run
- Fixed bar replay not functioning when viewing interval was the same as
base time interval and set to less than 5 minute, mixed mode was off, and
no afterhours/weekend filtering was enabled (FC#: 899)
- Fix: defined FXRate for the very first symbol in the database is used
correctly now (FC#: 975)
- When LoadFormula() method of Analysis object is called parameters
are reset now (FC#: 958)
- Ability to export Chart in "portable" format so you can distribute
chart templates to others and they will be restored together with all
linked formulas (FC#: 96)
This feature is available from RIGHT CLICK on
chartTemplate->Save...Template->Load...
menus.
In addition
to old local template format a new one is added with .chart extensionthat
keeps not only window sizes and formula references (paths) but also
formulas themselves,so all you need to do is to save your chart into one
file (Chart Template, Complete *.chart)and copy that file onto different
computer and chart will be recreated with all formulas linked to
it.
To Save chart into new format do the following:
1. Click
with RIGHT MOUSE button over the chart and select
Template->Save...
2. In the file dialog, "Files of type" combo
select "Chart Template, Complete (*.chart)"
3. Type the file name
and click Save.
To load previously saved complete chart do the
following:
1. Click with RIGHT MOUSE button over the chart and
select Template->Load...
2. In the file dialog, select
previously saved *.chart file and press "Open"
Note: The procedure
AmiBroker does internally is as follows: When you save the chart into new
format it saves XML file with:
a) names of all sheets, panes, their
sizes, locations and other settings
b) paths to all formulas used by
all panes
c) the text of formulas themselves
When you load the
chart in new format AmiBroker:
a) sets up the sheets/panes according to
information stored in the file
b) for each formula stored in the file
it checks if the same formula exists already on target computer:
- if
it does not exist - it will create one
- if it exists and the contents
is identical to the formula stored in .chart file it will do nothing
-
if it exists and the contents is different then it will create NEW formula
filewith _imported.afl suffix (so old file is not touched) and will
reference the pane to the _imported.afl formula instead.
IMPORTANT
NOTE: if you use any #include files AmiBroker will store the contentsof
include files as well inside chart file and will attempt to recreate them
on target machine.Please note that in case of includes it will check if it
exists and if it is different.If both conditions are met (different file
exists already) it will ask to replace or not.If you choose to replace -
it will replace and make backup of existing one with .bak extensionIf you
are using any files in "standard include files and include them using
<> braces, AmiBroker will restore files in target machine standard
include folder as well evenif the standard include folder path is
different on the source machine).
Note also - that this
functionality is a bit experimental and pretty complex internally. There
may be some bugs even though it was tested on number of different setups.
Feedback is welcome. It is intended to be used to port charts between
different computers. For storing layouts/templates on local computer you
should rather use old formats as they consume much less space (they store
only references,not the formulas themselves). One may however use new
format for archiving purposes as itkeeps formulas and all references in
one file that is very convenient for backups.