PureBytes Links
Trading Reference Links
|
Hello,A new beta version (4.51.0) of AmiBroker has
just been released.
This should be last beta before official release.
It is available for registered users only from the members area
at:<A
href=""><FONT
size=2>http://www.amibroker.com/members/bin/ab4510beta.exe<FONT
size=2>and<A
href=""><FONT
size=2>http://www.amibroker.net/members/bin/ab4510beta.exe<FONT
size=2>(File size: 608 020 bytes, 608 KB)If you forgot
your user name / password to the members areayou can use automatic reminder
service at: <FONT
size=2>http://www.amibroker.com/login.htmlThe
instructions are available below and in the "ReadMe" file( Help->Read Me
menu from AmiBroker )
Best regards,Tomasz Janeczkoamibroker.com
AmiBroker 4.51.0 Beta Read Me
February 25, 2004 0:42
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.50 first.
Just run the installer and follow the instructions.
Then run AmiBroker. You should see "AmiBroker 4.51.0 beta" written in the
About box.
See CHANGE LOG below for detailed list of changes.
CHANGE LOG
CHANGES FOR VERSION 4.51.0 (as compared to 4.50.10)
OLE automation interface changes:
Analysis.Backtest and Analysis.Optimize now support new "Type"
parameter.Type can be one of the following values:0 : portfolio
backtest/optimize1 : individual backtest/optimize2 : old
backtest/optimizeFor backward compatibility Type parameter is optional
and defaults to 2(old backtest/optimize)
Example code:AB = new
ActiveXObject("Broker.Application");AB.Analysis.Backtest( 0 ); // perform
portfolio backtestAB.Analysis.Optimize( 0 ); // perform portfolio
optimize
OLE automation interface new object: "Commentary"This object has 5
methods:- BOOL LoadFormula( STRING pszFileName ) - loads the formula-
BOOL SaveFormula( STRING pszFileName ) - saves the formula- void Apply() -
displays the commentary - BOOL Save( STRING pszFileName ); - saves
commentary output (result) to the file (use after call to Apply())- void
Close() - closes the commentary window
Commentary object is accessible from Broker.Application object via
Commentary property:
Example code:AB = new
ActiveXObject("Broker.Application");AB.Commentary.LoadFormula("C:\\Program
Files\\AmiBroker\\AFL\\MACD_c.afl");AB.Commentary.Apply();AB.Commentary.Save("Test.txt");AB.Commentary.SaveFormula("MACDTest.afl");//AB.Commentary.Close();
AFL function Now( format = 0 ) accepts new parameter values
Returns current date / time in numerous of formats: // formats
supported by old versionsformat = 0 - returns string containing current
date/time formatted according to system settings format = 1 - returns
string containing current date only formatted according to system settings
format = 2 - returns string containing current time only formatted
according to system settings format = 3 - returns DATENUM number with
current date format = 4 - returns TIMENUM number with current time
format = 5 - returns DATETIME number with current date/time // new
formats available from version 4.51format = 6 - returns current DAY
(1..31) format = 7 - returns current MONTH (1..12)format = 8 - returns
current YEAR (four digit) format = 9 - returns current DAY OF WEEK (1..7,
where 1=Sunday, 2=Monday, and so on)format = 10 - returns current DAY OF
YEAR (1..366)
Custom indicators:If plot name is empty the value of such plot does not
appear in the titleand does not appear in the data tool tip
Plot( C, "Price", colorWhite, styleCandle );Plot( MA( C, 10 ), "",
colorRed ); // NOTE that this plot name/value will NOT appear in the
titlePlot( MA( C, 20 ), "MA20", colorGreen );
SetOption( "field", value )accepts new fields:"CommissionMode" -
0 - use portfolio manager commission table1 - percent of trade2 -
$ per trade3 - $ per share/contract
"CommissionAmount" - amount of commission in modes 1..3
"MarginRequirement" - account margin requirement (as in settings), 100 = no
margin
"ReverseSignalForcesExit" - reverse entry signal forces exit of existing
trade (default = True )
new AFL function: GetOption( "field" ) - retrieves the settings, accepted
fields the same as in SetOption.
Example:
PositionSize = -100 / GetOption("MaxOpenPositions");
new AFL function: GetRTData( "field" )- retrieves the LAST (the most
recent) value of the following fieldsreported by streaming real time data
source )(Note 1: this function is available ONLY in PROFESSIONAL
edition,calling it using Standard edition will give you NULL values for
all fields)(Note 2: works only if data source uses real time data source
(plugin) )(Note 3: availablity of data depends on underlying data
source- check the real-time quote window to see if given field is
available )(Note 4: function result represents the current value at the
time of the call/formula execution/, and they will be refreshed depending
on chart or commentary refresh interval/settable in preferences/. Built-in
real time quote window is refreshedway more often (at least 10 times per
second) )
Supported fields:"Ask" - current best ask price "AskSize " -
current ask size"Bid" - current best bid price "BidSize " - current
bid size"52WeekHigh" - 52 week high value"52WeekHighDate" - 52 week
high date (in datenum format)"52WeekLow" - 52 week low
value"52WeekLowDate" - 52 week low date (in datenum format)"Change" -
change since yesterdays close"Dividend" - last dividend
value"DivYield" - dividend yield"EPS" - earnings per share"High" -
current day's high price"Low" - current day's low price"Open" -
current day's open price"Last" - last trade price"OpenInt" - current
open interest"Prev" - previous day close"TotalVolume" - total today's
volume"TradeVolume" - last trade volume"ChangeDate" - datenum
(YYYMMDD) of last data change"ChangeTime" - timenum (HHMMSS) of last data
change"UpdateDate" - datenum (YYYMMDD) of last data update"UpdateTime"
- timenum (HHMMSS) of last data update"Shares" - total number of shares
Example:"Bid = "+GetRTData("Bid");"Ask =
"+GetRTData("Ask");"Last = "+GetRTData("Last");"Vol =
"+GetRTData("TradeVolume");
"EPS = "+GetRTData("EPS");"52week high = "+GetRTData("52weekhigh");
Custom indicators:Default names and graph values appear in the title
when using old-style graph0, graph1, graph2 statements in the custom
indicators
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 bugs
at amibroker.com
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|