PureBytes Links
Trading Reference Links
|
Thanks, Tomasz -- William clued me in
-- see msg# 35247
<SPAN
class=278090622-04032003>I'd asked if a script could correct the
mis-assignment, but guess the answer is no -- it will be fixed in the new QP2
plugin?
<<The "misalignment" you
mention is not related to / caused by AmiBroker.
These assignments are build by QP2 plugin and if any change
is necessary than it needs to be done inside QP2 PLUGIN, therefore
beta
could not address that>>,
<FONT
color=#000080>
Regards,
Bob
<SPAN
class=043294819-05032003><SPAN
class=043294819-05032003>
<SPAN
class=043294819-05032003> -----Original Message-----From:
Tomasz Janeczko [mailto:amibroker@xxxxxx]Sent: Wednesday, March 05,
2003 12:46 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re:
[amibroker] AmiBroker 4.29.8 BETA released
Bob,
Parameter info is a tooltip that appears after you type
function name and opening
brace.
So this change means that MarketID param info now displays
MarketID( mode = 0 )
instead of MarketID( range = 0 ) and matches the reference
at:
<A
href="">http://www.amibroker.com/guide/afl/afl_view.php?name=MARKETID
The "misalignment" you mention is not related to / caused
by AmiBroker.
These assignments are build by QP2 plugin and if any
change
is necessary than it needs to be done inside QP2 PLUGIN,
therefore beta
could not address that.
Best
regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Bob Jagow
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, March 04, 2003 11:41
PM
Subject: RE: [amibroker] AmiBroker
4.29.8 BETA released
<FONT
color=#000080>Tomasz,
Im not sure exactly
what you meant by "updated param info for
LastValue, MarketID, GroupID, SectorID, IndustryID to match
the AFL reference", but 4.29.8 doesn't fix t<SPAN
class=278090622-04032003>he
mis-assignment of base index !IDs for industries that I
observed; to wit:
------
<FONT
color=#000000>Aerospace-Defense is !id156 [as is Internet Network
Svcs*]
<FONT
color=#000000>food-confection is blank so the !IDs that follow it are
one too low.
<SPAN
class=278090622-04032003>utility-water
!id197
utility-water !id198
------
Note that I retreived the
Sector/industry assignments into a bauckup db last nite. Openning it now,
the only dif is
that <SPAN
class=278090622-04032003><FONT
color=#000000>Aerospace-Defense is correct
[!id001]
<FONT
color=#000080>
<FONT
color=#000080>Could a script correct the
mis-assignment?
<FONT
color=#000080>
<FONT
color=#000080>Regards,
<FONT
color=#000080>Bob<SPAN
class=278090622-04032003><FONT
color=#000000>
<FONT face=Tahoma
size=2>-----Original Message-----From: Tomasz Janeczko
[mailto:tj@xxxxxxxxxxxxx]Sent: Tuesday, March 04, 2003 1:19
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
AmiBroker 4.29.8 BETA released
Hello, A new beta version of AmiBroker -
4.29.8 is availablefor download from the following
locations: <A
href=""><FONT
size=2>http://www.amibroker.com/bin/ab4298beta.exe<A
href=""><FONT
size=2>http://www.amibroker.net/bin/ab4298beta.exe<A
href=""><FONT
size=2>ftp://ftp.amibroker.com/pub/ab4298beta.exe<A
href=""><FONT
size=2>ftp://ftp.amibroker.net/pub/ab4298beta.exe<FONT
size=2> (450 KB self-extracting archive) Please read
the README file below for the list of changes.
Best regards,Tomasz
Janeczkoamibroker.com
AmiBroker 4.29.8 Beta Read Me
March 4, 2003 21:57
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.8 beta" written in
the About box.
CHANGES FOR
VERSION 4.29.8 (as compared to 4.29.7)
updated param info
for LastValue, MarketID, GroupID, SectorID, IndustryID to match the AFL
reference
decreased delay
time for baloon tooltip (status bar area)
fixed hang of
Windows XP when AmiBroker tried to display the tooltip while AB was
minimized. (cause of crash of WinXP when QT was closed before AB)
infinite numbers
are printed now as {INF}, not-a-numbers are printed as {NAN} by
WriteVal.For example:"1/0 =" + WriteVal((1/0));"0/0 =" +
WriteVal(0/0);"(1/0) / (1/0) =" + WriteVal((1/0)/(1/0));"1 /
(1/0) =" + WriteVal( 1 / ( 1 / 0 ) );"Null ="
+WriteVal(Null);
3 new AFL
functions:a) IsNan( x ) - returns a nonzero value (1 or TRUE) if the
argument x is a NaN; otherwise it returns 0 (FALSE). A NaN is
generated when the result of a floating-point operation cannot be
represented in Institute of Electrical and Electronics Engineers (IEEE)
formatExample:IsNan( 0/0 );b) IsFinite( x ) -
IsFinite returns a nonzero value (1 or TRUE) if its argument x is not
infinite, that is, if –INF < x < +INF. It returns 0 (FALSE) if
the argument is infinite or a NaN.Example:IsFinite( 1/0
);c) Nz( x ) - Null (Null/Nan/Infinity) to zeroYou can
use the Nz function to return zero, or another specified value when
argument x is Null or Nan or Infinite. For example, you can use this
function to convert a Null (empty) value to another value and prevent it
from propagating through an expression. If the optional valueifnull
argument is included, then the Nz function will return the value
specified by that argument if the x argument is Null (or Nan or
Infinity). You can use the Nz function as an alternative to the
IIf function. Instead of:varTemp = IIf( IsFinite(
(H-L)/(C-L) ), (H-L)/(C-L), 0 );You can write:varTemp = Nz(
(H-L)/(C-L) );
added IsNull() function - it is the synonym to IsEmpty()
CHANGES FOR
VERSION 4.29.7 (as compared to 4.29.6)
added "ask to save changed data" option to Prefs->Misc page (if
it is unchecked AmiBroker saves data without asking)
Symbol -> WatchList ->Import now accepts all formats of .LST
files from Quotes Plus
fixed crash when backward ref bar number was too high
date axis drawing modified (should address 'missing oct 2001'
problem)
fixed crash when using extreme zoom in factors (via Zoom to range)
and scrolling max to the right so only blank area is visible.
added check for neg. # of contracts
Apply in Indicator Builder does not scroll to the top
other minor fixes:
CHANGES FOR
VERSION 4.29.6 (as compared to 4.29.5)
WriteVal has now
new parameter 'separator' that controls if the numbershould be
formatted with thousand separator or not:WriteVal( ARRAY,
format = 8.3, separator = True )WriteVal( Volume, 8.3, True );
// with separatorsWriteVal( Volume, 8.3, False ); // without
separators
thousand separator is not added to numbers in AA->Export
thousand separator does not appear when usingAddColumn(
DateTime(), formatDateTime );
fixed inconsistency between AA result line (incorrect) and AA report
(correct) when formula was using SetOption("InitialEquity", nn) to
change the Init. equity set in the AA settings(thanks Herman)
fix: % change is displayed again in RT quote window.
fix: watch list dialog (watch list->remove) does not show lists
above > 32 if given symbol does not belong to given watch list.
new AFL function: GetChartID() allows to retrieve current indicator
chart ID. (returns 0 (zero) in AA window)
other minor fixes
CHANGES FOR
VERSION 4.29.5 (as compared to 4.29.1)
fixed crash in AFL editor that occured when selecting all text and
choosing right mouse button -> copy
auto-scaling changed slightly
user-definable thousand separator (in
Tools->Preferences->Misc) applied automatically to all list views
and indicators and WriteVal function
definable number of decimal places in RT quote window
(Tools->Prefs->Misc)
watch-list related functions: (available from context menu in tree
and Symbol->Watch list menu)
quick type-in symbols into watch list
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)
context menu is displayed over selected watch list (click with right
mouse button on the watch list name in the Workspace window)
'dirty' flag is set properly after moving/sizing the study
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))
fixed the case when Preferences has log scale switched OFF but
Indicator Builder has "log scale" turned ON for Price chart.
CHANGES FOR
VERSION 4.29.1 (as compared to 4.29.0)
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
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
functionsBeginValue( 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 formatDateTimeWriteVal(
DateTime(), formatDateTime );
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)
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"Examples<FONT
size=2>ClearFilters(); // 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
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (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.
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (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.
Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (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
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
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|