PureBytes Links
Trading Reference Links
|
Hello, A new beta version of AmiBroker - 4.29.0
is availablefor download from the following
locations: <A
href=""><FONT
size=2>http://www.amibroker.com/bin/ab4290beta.exe<A
href=""><FONT
size=2>http://www.amibroker.net/bin/ab4290beta.exe<A
href=""><FONT
size=2>ftp://ftp.amibroker.com/pub/ab4290beta.exe<A
href=""><FONT
size=2>ftp://ftp.amibroker.net/pub/ab4290beta.exe<FONT
size=2> (1500 KB self-extracting archive)
Please read the README file below for the list of
changes.
Best regards,Tomasz
Janeczkoamibroker.com
AmiBroker 4.29.0 Beta Read Me
February 11, 2003 15:26
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 4.20 first.
Just run the installer and follow the instructions.
Then run AmiBroker. You should see "AmiBroker 4.29.0 beta" written in the
About box.
CHANGES FOR VERSION
4.29.0 (as compared to 4.28.1)
context help in AFL editor - just press F1 when cursor is over AFL
reserved function name and it will display full information about that
function
param info/fun reference available also from context menu
fixed bug in Study function working improperly for trendlines with right
extend property
tab order fixed in Study properties box
usability: "Filter pre/after hours" is available now from
View->Intraday menu
new AFL function:Now( format = 0 ) returns current date / time in
numerous of formats:format = 0 - returns string containing current
date/time formatted according to system settingsformat = 1 - returns
string containing current date only formatted according to system
settingsformat = 2 - returns string containing current time only formatted
according to system settingsformat = 3 - returns DATENUM number with
current dateformat = 4 - returns TIMENUM number with current
timeformat = 5 - returns DATETIME number with current date/timeSee: <A
href="">http://www.amibroker.com/guide/afl/afl_view.php?name=NOW
new drawing tool: Triangle
new drawing tool: Andrews' Pitchfork
Gann Square tool does not draw controlling trenline during move/resize
added check that prevents freeing memory by Equity(1) function when this
memory is referenced by other variables
added Layer combo to the Text properties box
added link to AFL on-line reference to the Help->AmiBroker on the Web
menu.
switching layers does not cause unnecessary symbol tree refresh
added switch to AA Settings->Report tab that allows to turn off
optimization warning (that is displayed if optimization requires more than 300
steps)
other minor fixes.
CHANGES FOR VERSION
4.28.1 (as compared to 4.28.0)
fixed problem with missing some short trades when new flag "Reverse entry
signal forces exit" was turned off
Null is now highlighted and present in the auto-complete box.
fixed numeric sorting of colorized columns
CHANGES FOR VERSION
4.28.0 (as compared to 4.27.1)
ApplyStop has one more parameter ApplyStop( Type, Mode, Amount,
ExitAtStop, Volatile = False )new Volatile parameters decides if
amount (or distance) (3rd parameter) is sampled at the trade entry and remains
fixed during the trade (Volatile = FALSE - old behaviour) or if can vary
during the trade (Volatile = TRUE)Allows single-line implementation of
Chandeliers exit:ApplyStop(stopTypeTrailing, stopModePoint,
3*ATR(14), True, True );
ApplyStop handles new N-Bar stop - exits the trade after N bars.Type =
stopTypeNBar; /* = 3 */Mode = stopModeBars; /* = 1
*/ApplyStop( stopTypeNBar, stopModeBars, 5 ); // exits trades on
5th bar since entry
added new "Reverse entry signal forces exit" check box to the Backtester
settings.When it is ON (the default setting) - backtester works as in
previous versions and closes already open positon if new entry signal in
reverse direction is encountered. If this switch is OFF - even if reverse
signal occurs backtester maintains currently open trade and does not close
positon until regular exit (sell or cover) signal is generated. In other
words when this switch is OFF backtester ignores Short signals during long
trades and ignores Buy signals during short trades.
added "Allow same bar exit (single bar trade)" option to the
SettingsWhen it is ON (the default settings) - entry and exit at the very
same bar is allowed (as in previous versions)if it is OFF - exit can
happen starting from next bar only (this applies to regular signals,there is a
separate setting for ApplyStop-generated exits). Switching it to OFF allows to
reproduce the behaviour of MS backtester that is not able to handle same day
exits.
long trades now take precedence over short trades so if signals happen on
the same bar in both directions only long trade is taken.
new AFL functions:DateTime() - returns array of encoded date/time
values suitable for using withAddColumn and formatDateTime constantto
produce date time formated according to your system
settingsAddColumn( DateTime(), "Date / Time", formatDateTime
);new formatChar constant allows outputting single ASCII
character codes:Example (produces signal file accepted by various
other
programs):Buy=Cross(MACD(),Signal());Sell=Cross(Signal(),
MACD());Filter=Buy OR Sell;SetOption("NoDefaultColumns", True
);AddColumn( DateTime(), "Date", formatDateTime );AddColumn( IIf( Buy,
66, 83 ), "Signal", formatChar );
new AFL functions continued:BarIndex() - returns zero-based bar number
- the same as Cum(1)-1 but it is much faster than Cum(1) when used in
Indicators SetOption( "name", value )- sets various options in
automatic analysis settings currently available options
are"NoDefaultColumns" - if set to True - exploration does not have default
Ticker and Date/Time columns"InitialEquity""AllowSameBarExit"
"ActivateStopsImmediately" "AllowPositionShrinking" "FuturesMode"
"InterestRate"
if you overwrite AA settings via SetTradeDelays/SetOption backtest
report gives these actual values instead of originaly set in the
settings
new Null constant is equal to -1e10 (empty value) so you can use it
instead enigmatic -1e10obsolete styleLog removed (logarithmic scale
setting is not per-line but per-pane and it is selectable from Indicator
Builder)
added PlotGrid( level, color = colorDefault ) function that plots grid
line using built-in dotted style.
fixed problem with QuoteEditor that was introduced with adding color
support to the list view
added support for Win XP common controls 6, which results in enhanced
XP-look (on WinXP only of course)
fixed zero-size problem with floating control bars on Windows XP
fixed some compatibility issues with common controls 6.
added sound when plugin status changes
fixed problems with Review window sometimes not showing the results
value label drawing changed slightly
status bar adjusted so plugin state is visible on smaller displays
improved windows version checking for bug reports
CHANGES FOR VERSION
4.27.1 (as compared to 4.27.0)
fixed problems with
auto-complete and param info features appearing on certain Windows
versions
CHANGES FOR VERSION
4.27.0 (as compared to 4.26.0)
Intellisense-like functionality in AFL editor
auto-completion feature in AFL editor type a few letters and press
Ctrl+SPACE and the number of matching functions / reserved words will be
displayed
parameters-info tip, type function name and opening brace ( and you will
see the tip that shows information about required parameters
two new checkboxes Preferences->Editor control Auto-completion /
parameter-info features
fixed exception occuring when optimizing systems that generate zero trades
(very rare case)
AlertIF called from the custom indicators sometimes displayed wrong
date/time - now it is fixed
when fixup = 1 Foreign() is able to align array past the last foreign bar.
For example when using intraday data you can refer to imported EOD data and it
will fill intraday data with last value from previous day.
CHANGES FOR VERSION
4.26.0 (as compared to 4.25.0)
List view sorting speed increased significantly:
sorting of text columns is 2 times faster (on average)
sorting of numeric column is 5-10 times faster ( sort 660'000 items
within 2-3 seconds on 1GHz machine)
Explorations now support definable color of cell text and
backgroundAddColumn and AddTextColumn functions extended to support this
feature:AddColumn( Array, "Title", format = 1.2, textColor =
colorDefault, bkgndColor = colorDefault );AddTextColumn( "Text", "Title",
format = 1.2, textColor = colorDefault, bkgndColor = colorDefault
);New colorDefault constant (-1) defines default windows color for
grid cell.
Sample code:Filter =1;
AddColumn( Close, "Close", 1.2 );AddColumn( MACD(), "MACD", 1.4 ,
IIf( MACD() > 0, colorGreen, colorRed ) );AddTextColumn( FullName(),
"Full name", 77 , colorDefault, IIf( Close < 10, colorLightBlue,
colorDefault ) );
custom indicators - anchors are not offset vertically from the ends of the
trend line when Draw dates is selected
custom indicators with auto-scaling can be now dragged in Y-direction like
regular charts
Foreign and RelStrength algorithm improved to allow more complex alignment
cases
PlotShapes works even without any Plot statement (although it is intended
to use in conjunction with Plot)
fixed line disappearing bug that occured when using text tool right after
trend line tool
Dec is displayed again on date axis
CHANGES FOR VERSION
4.25.0 (as compared to 4.24.0)
support user-definable parameters:new AFL functionsParam( "name",
default, min, max, step )ParamStr( "name", "default" );ParamColor(
"name", defaultcolor );new Parameters dialog : right click over chart
pane and select "Parameters" or press Ctrl+Rallows to change chart
parameters - changes are reflected immediatelly
Sample code 1:ticker = ParamStr( "Ticker", "MSFT"
);sp = Param( "MA Period", 12, 2, 100 );PlotForeign( ticker, "Chart of
"+ticker, ParamColor( "Price Color", colorLightYellow ), styleCandle
);Plot( MA( Foreign( ticker, "C" ), sp ), "MA(" + WriteVal( sp, 1.0 ) +
")", ParamColor( "MA Color", colorRed ) );
Sample code 2:sp = Param( "RSI Period", 12, 2, 100
);r = RSI( sp );Plot( r, "RSI("+WriteVal(sp,1.0)+")", ParamColor("RSI
Color", colorRed ) );
Buy = Cross( r, 30 );Sell = Cross( 70, r );
PlotShapes( shapeUpArrow * Buy + shapeDownArrow * Sell, IIf( Buy,
colorGreen, colorRed ) );
added missing ':' and '"' characters to the forbidden characters set in
file names generated from ticker names. All file-system reserved characters
are converted to underscore.
ticker symbol maximum length increased to 25 characters (from previous
15).(these two fixes above solve problem with using very long symbols like
default keyboard accelerators changed Ctrl+R is now for Parameters dialog
F5 is for Refresh
fixed calculation bug occuring when drawing objects in the blank chart
area ("jumping" effect)
new method in Quotations collection for faster retrieval of quoteslong
Retrieve( long Count, Variant *Date, Variant *Open, Variant *High, Variant
*Low, Variant *Close, Variant *Volume, Variant *OpenInt );
on Windows Me, 2000 and XP all file dialogs now feature "Places" bar and
allows to select few recent file names from the combo
date axis display modified slightly (3 letter month abbrev. used more
often
changed resizing algorithm so if "no min size for resizing dialog" option
is selected the scroll bar of list / edit is always visible. Also the option
is active from the start without need to go to Preferences.
other minor improvements
CHANGES FOR VERSION
4.24.0 (as compared to 4.23.0)
saving/loading Automatic Analysis settings to/from the file
Axis font now can be made bold/italic/underline
Text drawing tool uses axis font now
full control over AA window via new OLE/COM interface:Analysis
object (accessible via
Broker.Application.Analysis)Methods:- Backtest(); - runs
backtest - Explore(); - runs exploration- Scan(); - runs scan-
Optimize(); - runs optimization- bool Report( FileName: String ) - saves
report to the file or displays it if FileName = "" - bool Export(
FileName: String ) - exports result list to CSV file- bool LoadFormula(
FileName: String ) - loads AFL formula- bool SaveFormula( FileName: String
) - saves AFL formula- bool LoadSettings( FileName: String ) - loads
backtest settings- bool SaveSettings( FileName: String ) - saves backtest
settings- ClearFilters() - removes all filters
Properties:- long ApplyTo - defines apply to mode: 0 - all
stocks, 1 - current stock, 2 - use filter- long RangeMode - defines range
mode: 0 - all quotes, 1 - n last quotes, 2 - n last days, 3 - from-to
date- long RangeN - defines N (number of bars/days to backtest)- DATE
RangeFromDate - defines "From" date- DATE RangeToDate - defines "To"
date- Filter( nType: short, Category : String ) - sets/retrieves filter
settingnType argument defines type of filter 0 - include, 1 -
excludeCategory argument defines filter category:"index", "favorite",
"market", "group", "sector", "index",
"watchlist"ExamplesClearFilters();
// clear all filters firstFilter( 0, "index" ) = 1; // include only
indicesFilter( 1, "market" ) = 2; // exclude 2nd
marketFull Example for Windows Scripting
Host:========================================
/* create AB object */AB = new
ActiveXObject("Broker.Application");
/* retrieve automatic analysis object */AA =
AB.Analysis;
/* load formula from external file
*/AA.LoadFormula("afl\\macd_c.afl");
/* optional: load settings *///
AA.LoadSettings("the_path_to_the_settings_file.abs");
/* setup filters *//* backtest over symbols present
in market 0 only (zero-based number) */AA.ClearFilters(); AA.Filter(
0, "market" ) = 0;
/* set apply to and range */AA.ApplyTo = 2; // use
filtersAA.RangeMode = 0; // use all available quotes
/* run backtest and display report
*/AA.Backtest();AA.Report(""); // empty file name means display
report
CHANGES FOR VERSION
4.23.0 (as compared to 4.22.1)
chart axis font can be defined by the user. The default is now Arial,
9pt.(Tools->Preferences->Miscellaneous: "Axis font")
Undo feature added to AFL editor.
PlotShapes now supports offset (or distance) parameter (by default -12 ),
Offset is expressed in SCREEN pixels.Negative offsets shift symbols down,
positive offsets shift symbol up. To place the shape exactly at ypostion,
specify 0 as offset. PlotShapes( shape, color, layer = 0, yposition =
graph0, offset = -12 );
yet another bug fixed that caused problems with drawing lines when
multiple windows were showing same symbol but different intervals.
if Y-value is less than 1000 the status bar displays four decimal places ,
also bar number is displayed in the status bar (next to date/time)
Insert Indicator window (Ctrl+I) does not show empty indicator slots
anymore.
CHANGES FOR VERSION
4.22.1 (as compared to 4.22.0)
fixed overwrite problem occuring when deleting first indicator in the list
in Indicator Builder
fixed shortcut conflict &File and &Format. Now Format menu has
Alt+o shortcut
other minor fixes
added constants for shapes"shapeNone", 0 "shapeUpArrow", 1
"shapeDownArrow", 2 "shapeHollowUpArrow", 3
"shapeHollowDownArrow", 4 "shapeSmallUpTriangle", 5
"shapeSmallDownTriangle", 6 "shapeHollowSmallUpTriangle", 7
"shapeHollowSmallDownTriangle", 8 "shapeUpTriangle", 9
"shapeDownTriangle", 10 "shapeHollowUpTriangle", 11
"shapeHollowDownTriangle", 12 "shapeSmallSquare", 13
"shapeHollowSmallSquare", 15 "shapeSquare", 17
"shapeHollowSquare", 19 "shapeSmallCircle", 21
"shapeHollowSmallCircle", 23"shapeCircle", 25 "shapeHollowCircle",
27 "shapeStar", 29 "shapeHollowStar", 31 "shapeDigit0", 33
"shapeDigit1", 35 "shapeDigit2", 37 "shapeDigit3", 39
"shapeDigit4", 41 "shapeDigit5", 43 "shapeDigit6", 45
"shapeDigit7", 47 "shapeDigit8", 49 "shapeDigit9", 51
"shapePositionAbove", 1 Example: PlotShapes( IIF( buy,
shapeDigit9 + shapePositonAbove, shapeNone ), colorGreen );
CHANGES FOR VERSION
4.22.0 (as compared to 4.21.1)
changes made in Indicator Builder are not lost if formula is incorrect -
instead error message is displayed and formula is saved even if it has a
syntax error
if currently displayed indicator formula has an error - the error message
does not pop up in a separate window but is displayed in the indicator pane.
empty indicators are not displayed in the Indicator Builder and new
buttons "Add", "Delete" are provided to add new indicator and remove existing
when drawing or moving drawing objects the auto-refresh of the chart is
temporarily held to solve problems with drawing on RT charts.
Symbol->Information window is not reset every 3 sec when working with
RT data.
interval between chart updates is now configurable
(Preferences->Intraday)
Random( seed = none ); function takes new parameter seed.If seed is
defined it initializes the seed of random number generator this allows to
produce repetitive series of pseudo-random series. If seed is not specified -
random number generator continues generation.To reinitialize the
generator, use 1 as the seed argument. Any other value for seed sets the
generator to a random starting point. Example 1:Graph0 = Random();
// generates different sequence with each refreshExample 2:Graph0
= Random(1); // generates the same sequence with each refresh
new AFL function PlotShapes( shape, color, layer = 0, yposition =
graph0 );that allows to plot arrows and other shapes on any
chart.Parameters:
shape defines type of the symbol. when shape is zero nothing is
plottedvalues other than zero cause plotting various pre-defined
shapes.Odd values plot shape BELOW indicator, even values plot shape
ABOVE indicator.
color defines color of shape
layer defines layer number on which shapes are plotted
yposition defines Y-position where shapes are plotted (by default
they are plotted 'around' graph0 (first indicator) line)
Currently defined shapes areUP ARROW = 1, (below
indicator)DOWN ARROW = 2, (above indicator)HOLLOW UP ARROW = 3,
(below)HOLLOW DOWN ARROW = 4, (above)SMALL UP TRIANGLE = 5,
(below)SMALL DOWN TRIANGLE = 6, (above)HOLLOW SMALL UP TRIANGLE = 7,
(below)HOLLOW SMALL DOWN TRIANGLE = 8 , (above)UP TRIANGLE = 9,
(below)DOWN TRIANGLE = 10, (above)HOLLOW UP TRIANGLE = 11,
(below)HOLLOW DOWN TRIANGLE = 12, (above)SMALL SQUARE = 13,
(below)SMALL SQUARE = 14, (above)HOLLOW SMALL SQUARE = 15,
(below)HOLLOW SMALL SQUARE = 16,SQUARE = 17, (below)SQUARE = 18,
(above)HOLLOW SQUARE = 19, (below)HOLLOW SQUARE = 20, (above)SMALL
CIRCLE = 21, (below)SMALL CIRCLE = 22, (above)HOLLOW SMALL CIRCLE =
23, (below)HOLLOW SMALL CIRCLE = 24,(above)CIRCLE = 25,
(below)CIRCLE = 26, (above)HOLLOW CIRCLE = 27, (below)HOLLOW
CIRCLE = 28, (above)STAR = 29, (below)STAR = 30, (above)HOLLOW
STAR = 31, (below)HOLLOW STAR = 32, (above)NUMBER 0 = 33,
(below)NUMBER 0 = 34, (above)NUMBER 1 = 35, (below)NUMBER 1 = 36,
(above)NUMBER 2 = 37, (below)NUMBER 2 = 38, (above)NUMBER 3 = 39,
(below)NUMBER 3 = 40, (above)NUMBER 4 = 41, (below)NUMBER 4 = 42,
(above)NUMBER 5 = 43, (below)NUMBER 5 = 44, (above)NUMBER 6 = 45,
(below)NUMBER 6 = 46, (above)NUMBER 7 = 47, (below)NUMBER 7 = 48,
(above)NUMBER 8 = 49, (below)NUMBER 8 = 50, (above)NUMBER 9 = 51,
(below)NUMBER 9 = 52, (above)Demo
formula:Graph0=MACD();Graph1=Signal();Buy=Cross(Graph0,
Graph1);Sell=Cross(Graph1, Graph0);PlotShapes( ( Buy OR Sell ) * ( 1 +
Cum( Buy OR Sell ) % 52 ), IIf( Buy, colorGreen, colorRed ), 5
);GraphXSpace = 5;
CHANGES FOR VERSION
4.21.1 (as compared to 4.21.0)
AddToComposite marks symbol as dirty so timestamp added in the full name
is stored properly.
"Align custom minute bars to regular market hours" works OK now even if
filtering is OFF
new methods added to COM interface in 4.21.0 caused incompatibility with
AmiQuote because of changed numbering of methods. Now it is fixed so AmiQuote
auto-import works again with 4.21.1
fixed display of watch list >32 in the workspace tree
fixed possible hangup when attempting to draw objects when currently
selected layer is hidden
CHANGES FOR VERSION
4.21.0 (as compared to 4.20.8)
layers implemented (layers is a well-know concept in every decent
painting/drawing/CAD package now it is available to traders for (AFAIK) the
first time in technical analysis program)
increased number of watch lists (to 64 watch lists) and sectors (to 64
sectors) (note that broker.workspace file once saved with new version can not
be read back with previous versions)
max. number of bars in File->Database Settings increased to 500'000.
ASCII importer: added $STRICT 1 mode it checks if Open, High, Low prices
are greater than zero
COM/OLE interface:new property Broker.Application.DatabasePathnew
method: Broker.Application.LoadDatabase( Path )new method:
Broker.Application.SaveDatabase()
Example VBScript code (Windows Scripting Host):
Set oAB = CreateObject("Broker.Application")
WScript.Echo( "Current path to database is " + oAB.DatabasePath
)
if oAB.LoadDatabase("c:\program files\amibroker\data") = True
thenWScript.Echo( "succesfully loaded new database" )end if
WScript.Echo( "Current path to database is " + oAB.DatabasePath
)
oAB.SaveDatabase()
CHANGES FOR VERSION
4.20.8 (as compared to 4.20.7)
fixed #include command (CR/LF pair handling)
#include now displays error message in the status bar ifincluded file can
not be found
when calling function defined in script AFL does not convert the method
name to lowercase
filtering after hours works also for EndTime < StartTime case (usefull
for users from Far East tracking US exchanges)
fixed bug causing crash on custom indicators using Study() with QuickAFL
enabled
protection against crash when the user tries to plot negative values on
semi-log scale
new AFL function: GetDatabaseName - gives the name of the database - the
last part (folder) of the database path
other minor fixes
new myTrack plugin
removed (c) text (4.20.8.3431)
CHANGES FOR VERSION
4.20.7 (as compared to 4.20.6)
fixed crash occuring on exit on Windows XP (CRegistry class - free() )
fixed problem with saving keyboard editor settings on Win2k
fixed problem with different ordering of tickers when case sensitivity is
turned on (symbol array is re-sorted on change and re-sorted after loading
master file)
added one more safety check for non-existing directory when saving layout
CHANGES FOR VERSION
4.20.6 (as compared to 4.20.5)
possible bug with AFL editor fixed (streamin)
"space" problem in AFL editor fixed
fixed bug with switching databases
fixed crash occuring when user specified non-existing pen
fixed bug in monthly view display (29.02.2000)
fixed bug in File->Save database As (into blank directory)
fixed title of built-in volume pane
ROC function accepts additional parameter that defines how
negativevalues are handled. ROC( array, periods = 12, absmode = False
)if absmode = False the value returned is array - ref( array, -periods
)/ref( array, -periods )if absmode = True the value returned is array -
ref( array, -periods )/abs( ref( array, -periods ) )
QuoteTracker plugin now accepts also . (dot) as a date separator
myTrack plugin startup routine improved
CHANGES FOR VERSION
4.20.5 (as compared to 4.20.3)
composite symbol is reset properly even if flused out of in-memory cache
when $ALLOWNEG is NOT specified in the ASCII importer definition AmiBroker
performs the following range checking and fixup on open, low and high
pricesif( open == 0 ) open = close;if( high < max( open, close ) )
high = max( open, close );if( low == 0 ) low = min( open, close )
Update Nov 1, 2002: added myTrack real-time plugin.
HOW TO REPORT BUGS
If you experience any problem with this beta version please send detailed
description of the problem (especially the steps needed to reproduce it) to <A
href="">bugs@xxxxxxxxxxxxx
Yahoo! Groups Sponsor
ADVERTISEMENT
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|