[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] AmiBroker 4.29.5 BETA released



PureBytes Links

Trading Reference Links










Thanks Tomasz, the watchlist functions are great and will save me a lot
of time.

 

I am afraid I cannot find the save changes message box in the
preferences - data

 



<font size=3 color=teal
face="Times New Roman">Cheers,
Graham



 

<span
>-----Original Message-----
From: Tomasz Janeczko
[mailto:tj@xxxxxxxxxxxxx] 
Sent: Friday, 21 February 2003
3:08 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] AmiBroker
4.29.5 BETA released

<font size=2
face="Times New Roman"> 



<font size=2
face="Times New Roman">Hello,
 
A new beta version of AmiBroker - 4.29.5 is available
for download from the following locations:
 
http://www.amibroker.com/bin/ab4295beta.exe
http://www.amibroker.net/bin/ab4295beta.exe
ftp://ftp.amibroker.com/pub/ab4295beta.exe
ftp://ftp.amibroker.net/pub/ab4295beta.exe
 
(450 KB self-extracting archive)
 
Please read the README file below for the list of changes.





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Best regards,
Tomasz Janeczko
amibroker.com





<font size=2
face="Times New Roman"> 





<span
>AmiBroker 4.29.5 Beta Read Me

<font size=2
face="Times New Roman">February 20, 2003 18:06


<span
>THIS IS A BETA VERSION OF THE
SOFTWARE. EXPECT BUGS. 

<font size=2 color="#cc0000"
face="Times New Roman">Backup your data files and entire AmiBroker folder first!

<span
>INSTALLATION INSTRUCTIONS

<span
>IMPORTANT: This archive is
update-only. You have to install full version 4.20 first.


<span
>Just run the installer and follow the instructions. 

<span
>Then run AmiBroker. You should see "AmiBroker
4.29.5 beta" written in the About box.

<span
>CHANGES FOR VERSION
4.29.5 (as compared to 4.29.1)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed crash in AFL editor that occured when
selecting all text and choosing right mouse button -> copy 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
auto-scaling changed slightly 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
user-definable thousand separator (in
Tools->Preferences->Misc) applied automatically to all list views and
indicators and WriteVal function 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
definable number of decimal places in RT quote
window (Tools->Prefs->Misc) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
watch-list related functions: (available from
context menu in tree and Symbol->Watch list menu) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
quick type-in symbols into watch list 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
import/export watch list from/to .LST file and
from/to plugin (ext. database only for plugins that support this feature. The
first one will be FT plugin) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
context menu is displayed over selected watch list
(click with right mouse button on the watch list name in the Workspace window) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
'dirty' flag is set properly after moving/sizing
the study 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Amibroker again displays message box asking to save
changes. (this is useful to undo some unwanted changes but it works only for
most recent 'in-memory' symbols (see Tools->Preferernces->Data)) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed the case when Preferences has log scale
switched OFF but Indicator Builder has "log scale" turned ON for
Price chart. 

<span
>CHANGES FOR VERSION
4.29.1 (as compared to 4.29.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
data tooltips now show study ID and coordinates and
point/percent change from start to end when you hover the mouse pointer over
the trend line or other study 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
from-to range selector implemented just double
click on chart to mark begin and then double click in other place to mark end
of the range. > and < markers will appear above date axis. To delete the
markers double click again in the same place where vertical line is positioned.


·        
From-to selected range can be referred from the AFL
level via new functions
BeginValue( ARRAY )
EndValue( ARRAY )
- these functions give the single value (number) of the ARRAY at the beginning
and end of the selected range. If no range is marked then they return the value
at the first bar and last bar respectively.

Example:

WriteVal( BeginValue( DateTime() ), formatDateTime );
WriteVal( EndValue( DateTime() ), formatDateTime );
"Precentage change of close is " + 
WriteVal( 100 * (EndValue( Close ) - BeginValue( Close ))/BeginValue( Close ) )
+ "%";

·        
WriteVal function now handles formatDateTime
WriteVal( DateTime(), formatDateTime );

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Zoom to range implemented (View->Zoom->Range)
or hold down both SHIFT and CTRL and click on green zoom in toolbar button
(zooms to selected from-to range)

<span
>CHANGES FOR VERSION
4.29.0 (as compared to 4.28.1)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
param info/fun reference available also from
context menu 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed bug in Study function working improperly for
trendlines with right extend property 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
tab order fixed in Study properties box 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
usability: "Filter pre/after hours" is
available now from View->Intraday menu 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 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
See: http://www.amibroker.com/guide/afl/afl_view.php?name=NOW


<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
new drawing tool: Triangle 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
new drawing tool: Andrews' Pitchfork 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Gann Square tool does not draw controlling trenline
during move/resize 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
added check that prevents freeing memory by
Equity(1) function when this memory is referenced by other variables 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
added Layer combo to the Text properties box 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
added link to AFL on-line reference to the
Help->AmiBroker on the Web menu. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
switching layers does not cause unnecessary symbol
tree refresh 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
added switch to AA Settings->Report tab that
allows to turn off optimization warning (that is displayed if optimization
requires more than 300 steps) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
other minor fixes.

<span
>CHANGES FOR VERSION
4.28.1 (as compared to 4.28.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed problem with missing some short trades when
new flag "Reverse entry signal forces exit" was turned off 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Null is now highlighted and present in the
auto-complete box. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed numeric sorting of colorized columns 

<span
>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 Settings
When 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 with
AddColumn and formatDateTime constant
to produce date time formated according to your system settings

AddColumn( 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());<font
face="Courier New">
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 -1e10

obsolete 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.

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed problem with QuoteEditor that was introduced
with adding color support to the list view 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
added support for Win XP common controls 6, which
results in enhanced XP-look (on WinXP only of course) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed zero-size problem with floating control bars
on Windows XP 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed some compatibility issues with common
controls 6. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
added sound when plugin status changes 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed problems with Review window sometimes not
showing the results 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
value label drawing changed slightly 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
status bar adjusted so plugin state is visible on
smaller displays 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
improved windows version checking for bug reports

<span
>CHANGES FOR VERSION
4.27.1 (as compared to 4.27.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed
problems with auto-complete and param info features appearing on certain
Windows versions 

<span
>CHANGES FOR VERSION
4.27.0 (as compared to 4.26.0)



<span
>Intellisense-like functionality in AFL editor



<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
parameters-info tip, type function name and opening
brace ( and you will see the tip that shows information about required
parameters 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
two new checkboxes Preferences->Editor control
Auto-completion / parameter-info features 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed exception occuring when optimizing systems
that generate zero trades (very rare case) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
AlertIF called from the custom indicators sometimes
displayed wrong date/time - now it is fixed 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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.

<span
>CHANGES FOR VERSION
4.26.0 (as compared to 4.25.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
List view sorting speed increased significantly: 

<font
size=2 face="Courier New">o<font
size=1 face="Times New Roman">       
sorting of text columns is 2 times faster (on
average) 

<font
size=2 face="Courier New">o<font
size=1 face="Times New Roman">       
sorting of numeric column is 5-10 times faster (
sort 660'000 items within 2-3 seconds on 1GHz machine) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Explorations now support definable color of cell
text and background
AddColumn 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. 

<span
>Sample code:<font
face="Courier New">
Filter =1;

<span
>AddColumn( Close, "Close", 1.2 );<font
face="Courier New">
AddColumn( MACD(), "MACD", 1.4 , IIf(
MACD() > 0, colorGreen, colorRed ) );
AddTextColumn( FullName(), "Full
name", 77 , colorDefault, IIf( Close < 10, colorLightBlue, colorDefault
) );

<span
>·<font size=1
face="Times New Roman">        
custom indicators - anchors are not offset vertically
from the ends of the trend line when Draw dates is selected

<span
>·<font size=1
face="Times New Roman">        
custom indicators with auto-scaling can be now
dragged in Y-direction like regular charts

<span
>·<font size=1
face="Times New Roman">        
Foreign and RelStrength algorithm improved to allow
more complex alignment cases

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
PlotShapes works even without any Plot statement
(although it is intended to use in conjunction with Plot) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed line disappearing bug that occured when using
text tool right after trend line tool 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Dec is displayed again on date axis 

<span
>CHANGES FOR VERSION
4.25.0 (as compared to 4.24.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
support user-definable parameters:
new AFL functions
Param( "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+R
allows to change chart parameters - changes are reflected immediatelly 

<span
>Sample code 1:

ticker = ParamStr( "Ticker",
"MSFT" );<span
>
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 ) );

<span
>
Sample code 2:

sp = Param( "RSI
Period", 12, 2, 100 );<span
>
r = RSI( sp );
Plot( r,
"RSI("+WriteVal(sp,1.0)+")", ParamColor("RSI
Color", colorRed ) );

<span
>Buy = Cross( r, 30 );<font
face="Courier New">
Sell = Cross( 70, r );

<span
>PlotShapes( shapeUpArrow * Buy + shapeDownArrow *
Sell, IIf( Buy, colorGreen, colorRed ) );

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
ticker symbol maximum length increased to 25
characters (from previous 15).
(these two fixes above solve problem with using very long symbols like 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
default keyboard accelerators changed Ctrl+R is now
for Parameters dialog F5 is for Refresh 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed calculation bug occuring when drawing objects
in the blank chart area ("jumping" effect) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
new method in Quotations collection for faster
retrieval of quotes
long Retrieve( long Count, Variant *Date, Variant *Open, Variant *High, Variant
*Low, Variant *Close, Variant *Volume, Variant *OpenInt ); 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
on Windows Me, 2000 and XP all file dialogs now
feature "Places" bar and allows to select few recent file names from the
combo 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
date axis display modified slightly (3 letter month
abbrev. used more often 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
other minor improvements

<span
>CHANGES FOR VERSION
4.24.0 (as compared to 4.23.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
saving/loading Automatic Analysis settings to/from
the file 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Axis font now can be made bold/italic/underline 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Text drawing tool uses axis font now 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 setting
nType argument defines type of filter 0 - include, 1 - exclude
Category argument defines filter category:
"index", "favorite", "market", "group",
"sector", "index", "watchlist"

Examples

ClearFilters(); // clear all filters first<font
face="Courier New">
Filter( 0, "index" ) = 1; // include
only indices
Filter( 1, "market" ) = 2; // exclude
2nd market

Full Example for Windows Scripting Host:
======================================== 

<span
>/* create AB object */<font
face="Courier New">
AB = new
ActiveXObject("Broker.Application");

<span
>/* retrieve automatic analysis object */<font
face="Courier New">
AA = AB.Analysis;

<span
>/* load formula from external file */<font
face="Courier New">
AA.LoadFormula("afl\\macd_c.afl");

<span
>/* optional: load settings */<font
face="Courier New">
//
AA.LoadSettings("the_path_to_the_settings_file.abs");

<span
>/* setup filters */<font
face="Courier New">
/* backtest over symbols present in market 0
only (zero-based number) */
AA.ClearFilters(); 
AA.Filter( 0, "market" ) = 0;

<span
>/* set apply to and range */<font
face="Courier New">
AA.ApplyTo = 2; // use filters
AA.RangeMode = 0; // use all available quotes

<span
>/* run backtest and display report */<font
face="Courier New">
AA.Backtest();
AA.Report(""); // empty file name
means display report

<span
> 

<span
>CHANGES FOR VERSION
4.23.0 (as compared to 4.22.1)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
chart axis font can be defined by the user. The
default is now Arial, 9pt.
(Tools->Preferences->Miscellaneous: "Axis font") 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Undo feature added to AFL editor. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 ); 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
yet another bug fixed that caused problems with drawing
lines when multiple windows were showing same symbol but different intervals. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Insert Indicator window (Ctrl+I) does not show
empty indicator slots anymore.

<span
>CHANGES FOR VERSION
4.22.1 (as compared to 4.22.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed overwrite problem occuring when deleting
first indicator in the list in Indicator Builder 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed shortcut conflict &File and &Format.
Now Format menu has Alt+o shortcut 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
other minor fixes 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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
); 

<span
>CHANGES FOR VERSION
4.22.0 (as compared to 4.21.1)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
empty indicators are not displayed in the Indicator
Builder and new buttons "Add", "Delete" are provided to add
new indicator and remove existing 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
when drawing or moving drawing objects the
auto-refresh of the chart is temporarily held to solve problems with drawing on
RT charts. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Symbol->Information window is not reset every 3
sec when working with RT data. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 refresh

Example 2:
Graph0 = Random(1); // generates the same sequence with each refresh

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
new AFL function 
PlotShapes( shape, color, layer = 0, yposition = graph0 );
that allows to plot arrows and other shapes on any chart.
Parameters: 

<font
size=2 face="Courier New">o<font
size=1 face="Times New Roman">       
shape
defines type of the symbol. when shape is zero nothing is plotted
values other than zero cause plotting various pre-defined shapes.
Odd values plot shape BELOW indicator, even values plot shape ABOVE indicator. 

<font
size=2 face="Courier New">o<font
size=1 face="Times New Roman">       
color
defines color of shape 

<font
size=2 face="Courier New">o<font
size=1 face="Times New Roman">       
layer
defines layer number on which shapes are plotted 

<font
size=2 face="Courier New">o<font
size=1 face="Times New Roman">       
yposition
defines Y-position where shapes are plotted (by default they are plotted
'around' graph0 (first indicator) line) 

<font size=2
face="Times New Roman">
Currently defined shapes are
UP 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();<font
face="Courier New">
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;

<span
>CHANGES FOR VERSION
4.21.1 (as compared to 4.21.0)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
AddToComposite marks symbol as dirty so timestamp
added in the full name is stored properly. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
"Align custom minute bars to regular market
hours" works OK now even if filtering is OFF 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed display of watch list >32 in the workspace
tree 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed possible hangup when attempting to draw
objects when currently selected layer is hidden

<span
>CHANGES FOR VERSION
4.21.0 (as compared to 4.20.8)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
max. number of bars in File->Database Settings
increased to 500'000. 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
ASCII importer: added $STRICT 1 mode it checks if
Open, High, Low prices are greater than zero 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
COM/OLE interface:
new property Broker.Application.DatabasePath
new method: Broker.Application.LoadDatabase( Path )
new method: Broker.Application.SaveDatabase() 

<span
>Example VBScript code (Windows Scripting Host):

<span
>Set oAB = CreateObject("Broker.Application")

<span
>WScript.Echo( "Current path to database is "
+ oAB.DatabasePath )

<span
>if oAB.LoadDatabase("c:\program
files\amibroker\data") = True then<font
face="Courier New">
WScript.Echo( "succesfully loaded new database"
)
end if

<span
>WScript.Echo( "Current path to database is "
+ oAB.DatabasePath )

<span
>oAB.SaveDatabase()

<span
>CHANGES FOR VERSION
4.20.8 (as compared to 4.20.7)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed #include command (CR/LF pair handling) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
#include now displays error message in the status
bar ifincluded file can not be found 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
when calling function defined in script AFL does
not convert the method name to lowercase 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
filtering after hours works also for EndTime <
StartTime case (usefull for users from Far East tracking US exchanges) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed bug causing crash on custom indicators using
Study() with QuickAFL enabled 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
protection against crash when the user tries to
plot negative values on semi-log scale 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
new AFL function: GetDatabaseName - gives the name
of the database - the last part (folder) of the database path 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
other minor fixes 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
new myTrack plugin 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
removed (c) text (4.20.8.3431)

<span
>CHANGES FOR VERSION
4.20.7 (as compared to 4.20.6)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed crash occuring on exit on Windows XP
(CRegistry class - free() ) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed problem with saving keyboard editor settings
on Win2k 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
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) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
added one more safety check for non-existing
directory when saving layout 

<span
>CHANGES FOR VERSION
4.20.6 (as compared to 4.20.5)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
possible bug with AFL editor fixed (streamin) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
"space" problem in AFL editor fixed 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed bug with switching databases 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed crash occuring when user specified
non-existing pen 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed bug in monthly view display (29.02.2000) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed bug in File->Save database As (into blank
directory) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
fixed title of built-in volume pane 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
ROC function accepts additional parameter that
defines how negative
values 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 ) ) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
QuoteTracker plugin now accepts also . (dot) as a
date separator 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
myTrack plugin startup routine improved 

<span
>CHANGES FOR VERSION
4.20.5 (as compared to 4.20.3)

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
composite symbol is reset properly even if flused
out of in-memory cache 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
when $ALLOWNEG is NOT specified in the ASCII
importer definition AmiBroker performs the following range checking and fixup
on open, low and high prices
if( open == 0 ) open = close;
if( high < max( open, close ) ) high = max( open, close );
if( low == 0 ) low = min( open, close ) 

<font size=2
face=Symbol>·<font
size=1 face="Times New Roman">        
Update Nov 1, 2002: added myTrack real-time plugin.


<span
>HOW TO REPORT BUGS

<span
>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@xxxxxxxxxxxxx 





<font size=2
face="Times New Roman"> 



<font size=2
face="Times New Roman">



Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx <font
face="Courier New">
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html


Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.











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.