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

[amibroker] drop messages



PureBytes Links

Trading Reference Links

Please stop copying me on all of your YahooGroup messages relating to
Amibroker




----- Original Message -----
From: <amibroker@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 20, 2003 4:05 PM
Subject: [amibroker] Digest Number 1870


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

There are 25 messages in this issue.

Topics in this digest:

      1. How to duplicate AB setup between computers?
           From: "mmqp <mmqp@xxxxxxxxx>" <mmqp@xxxxxxxxx>
      2. RE: Saving Color Schemes
           From: "Jayson" <jcasavant@xxxxxxxxxxxx>
      3. Two separate installations (not instances) of AB?
           From: "Ken Close" <closeks@xxxxxxxx>
      4. RE: How to duplicate AB setup between computers?
           From: "Jayson" <jcasavant@xxxxxxxxxxxx>
      5. Re: The Watered Down Semi-Interesting System
           From: "Fred <fctonetti@xxxxxxxxx>" <fctonetti@xxxxxxxxx>
      6. RE:
           From: "bluesinvestor" <investor@xxxxxxxxxxxxx>
      7. RE: How to duplicate AB setup between computers?
           From: "Jayson" <jcasavant@xxxxxxxxxxxx>
      8. Re: Two separate installations (not instances) of AB?
           From: "Tomasz Janeczko" <amibroker@xxxxxx>
      9. AmiBroker 4.29.5 BETA released
           From: "Tomasz Janeczko" <tj@xxxxxxxxxxxxx>
     10. Re:
           From: "CedarCreekTrading" <kernish@xxxxxxxxxxxx>
     11. Re: Re: The Watered Down Semi-Interesting System
           From: Sidney Kaiser <s9kaiser@xxxxxxxxxxx>
     12. Re: AmiBroker 4.29.5 BETA released
           From: "Al Venosa" <avcinci@xxxxxxxxxxx>
     13. Re: The Watered Down Semi-Interesting System
           From: "Fred <fctonetti@xxxxxxxxx>" <fctonetti@xxxxxxxxx>
     14. RE: Off off topic
           From: "Graham" <gkavanag@xxxxxxxxxxxxxx>
     15. Re: AmiBroker 4.29.5 BETA released
           From: "Tomasz Janeczko" <amibroker@xxxxxx>
     16. Re: Saving Color Schemes
           From: "Anthony <axon50@xxxxxxxxxxx>" <axon50@xxxxxxxxxxx>
     17. RE: AmiBroker 4.29.5 BETA released
           From: "Graham" <gkavanag@xxxxxxxxxxxxxx>
     18. Re: AmiBroker 4.29.5 BETA released
           From: "Tomasz Janeczko" <amibroker@xxxxxx>
     19. $2000.00 profit before lunch again
           From: "irawerley2003 <irawerley2003@xxxxxxxxx>"
<irawerley2003@xxxxxxxxx>
     20. RE: Re: Saving Color Schemes
           From: "Jayson" <jcasavant@xxxxxxxxxxxx>
     21. TJ - Charting  (PLEASE)
           From: "thelunit <thelunit@xxxxxxxxx>" <thelunit@xxxxxxxxx>
     22. RE: AmiBroker 4.29.5 BETA released
           From: "Graham" <gkavanag@xxxxxxxxxxxxxx>
     23. Re: $2000.00 profit before lunch again
           From: "Uzi Mann" <prof1209@xxxxxxxxx>
     24. Re: $2000.00 profit before lunch again
           From: "Ara Kaloustian" <ara1@xxxxxxxxxx>
     25. RE: Re: Saving Color Schemes
           From: "Jayson" <jcasavant@xxxxxxxxxxxx>


________________________________________________________________________
________________________________________________________________________

Message: 1
   Date: Thu, 20 Feb 2003 18:22:46 -0000
   From: "mmqp <mmqp@xxxxxxxxx>" <mmqp@xxxxxxxxx>
Subject: How to duplicate AB setup between computers?

Does anyone know what setup files I need to duplicate to have exact
same setups between two computers?  This should include all the
studies, notes, etc.  Thanks



________________________________________________________________________
________________________________________________________________________

Message: 2
   Date: Thu, 20 Feb 2003 13:22:58 -0500
   From: "Jayson" <jcasavant@xxxxxxxxxxxx>
Subject: RE: Saving Color Schemes

Anthony,
back ground colors are set in preferences...I know on no option to set them
via afl

Jayson
-----Original Message-----
From: Anthony <axon50@xxxxxxxxxxx> [mailto:axon50@xxxxxxxxxxx]
Sent: Thursday, February 20, 2003 12:52 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Saving Color Schemes


Hi,
I can't seem to figure out if it is possible to save different color
schemes. Saving Templates does not work for colors for me.

If this is not possible then I would be happy if I could control the
background color within AFL but can't find anything for that either.

This is unimportant but if anybody has any suggestions I would
appreciate it.

Thanks,
Anthony


      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.



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 3
   Date: Thu, 20 Feb 2003 13:37:28 -0500
   From: "Ken Close" <closeks@xxxxxxxx>
Subject: Two separate installations (not instances) of AB?

Here is one for our esteemed leader and programmer and customer service
representative...

Tomasz:  I have been told that older versions of AB (4.20 perhaps) might
optimize faster because of less program overhead.  No charting, or
commentary, or other stuff needed...just basic optimization crunching.

I know AB is the fastest thing around, but could I get a faster
optimization run complete with an older version?  Be candid!

If the answer is yes, is it possible to install an older version in a
separate directory than the current, uptodate version?  Would there be
interferences in the Registry?  Would the current version operate
independently from the older version?

I have also heard that breaking up complex single line coded statements
into components will enhance the speed of an optimization.  Is this
true?

Ken




________________________________________________________________________
________________________________________________________________________

Message: 4
   Date: Thu, 20 Feb 2003 13:44:34 -0500
   From: "Jayson" <jcasavant@xxxxxxxxxxxx>
Subject: RE: How to duplicate AB setup between computers?

I think most of the settings are in the various broker.* charts found in
your AB directory (program files\amibroker. I would think you could simply
copy them all. I have not tried this but it seems logical. Note if you copy
to a CD you might want to use winZip to compress the files. This avoids
changing some of the file flags.

Jayson
-----Original Message-----
From: mmqp <mmqp@xxxxxxxxx> [mailto:mmqp@xxxxxxxxx]
Sent: Thursday, February 20, 2003 1:23 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] How to duplicate AB setup between computers?


Does anyone know what setup files I need to duplicate to have exact
same setups between two computers?  This should include all the
studies, notes, etc.  Thanks


      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.



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 5
   Date: Thu, 20 Feb 2003 18:44:01 -0000
   From: "Fred <fctonetti@xxxxxxxxx>" <fctonetti@xxxxxxxxx>
Subject: Re: The Watered Down Semi-Interesting System

Sid,

The ideas of asymmetrical long/short signals and exits is certainly
not new.  Eons ago as a purist I for some reason thought this needed
to be the case, but that logic ?! has long since been discarded.

This watered down version is no where near as good as the full blown
version, but it's intreresting to see what simplistic little systems
like this can do.

If you are referring the the equity line graph, the code is in the
files section.

Fred

--- In amibroker@xxxxxxxxxxxxxxx, Sidney Kaiser <s9kaiser@xxxx> wrote:
> Fred, clever system idea....
>
> It incorporates several concepts that I also have stumbled across
in the
> last few years.
>
> Symmetrical buy/sell logic is usually not optimal.
>
> Identical buy/cover logic is usually not optimal.
>
> Identical sell/short logic is usually not optimal.
>
>
> The counter trend or trending logic is very nice.  It reminds me of
a post
> I wrote about a year ago on FT-Talk BB about using multiple
Stochastic
> trigger levels and the problems each trigger attempted to solve.  I
did not
> think to take the next step that you have incorporated here....good
show!
>
> Now that I have buttered you up :)) could I impose on you to
provide the
> multiple plot indicator you use in the lower pane of your chart.  I
have
> the logic from a previous post but none of the plot statements and
plot set
> up notes.
>
> Cheers
> Sid
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.455 / Virus Database: 255 - Release Date: 02/13/2003



________________________________________________________________________
________________________________________________________________________

Message: 6
   Date: Thu, 20 Feb 2003 13:47:00 -0500
   From: "bluesinvestor" <investor@xxxxxxxxxxxxx>
Subject: RE:

Steve,

Just curious ... have you been using Amibroker or are the 'dimmer bulbs'
still 'reverting back to the MetaStock program'?

Regards,
Peter

-----Original Message-----
From: CedarCreekTrading [mailto:kernish@xxxxxxxxxxxx]
Sent: Thursday, February 20, 2003 12:04 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker]


Chris,

I've been here all the time.  Tomasz hard work and constant improvements
have not been wasted on me.  I've been lecturing, developing, refining and
lurking.

Take care,

Steve
----- Original Message -----
From: "-= Chris ß =-" <baudecb1@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 20, 2003 9:57 AM
Subject: Re: [amibroker]


Steve K.

Nice to see you here!!!  Another valued member (convert?).

I look forward to your postings.

-= Chris ß =-
(A lurker from the old MS days)
_______________________________________________________



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 http://docs.yahoo.com/info/terms/




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 http://docs.yahoo.com/info/terms/




________________________________________________________________________
________________________________________________________________________

Message: 7
   Date: Thu, 20 Feb 2003 13:53:53 -0500
   From: "Jayson" <jcasavant@xxxxxxxxxxxx>
Subject: RE: How to duplicate AB setup between computers?

I meant to say broker.*   files not charts

Jayson
-----Original Message-----
From: Jayson [mailto:jcasavant@xxxxxxxxxxxx]
Sent: Thursday, February 20, 2003 1:45 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] How to duplicate AB setup between computers?


I think most of the settings are in the various broker.* charts found in
your AB directory (program files\amibroker. I would think you could simply
copy them all. I have not tried this but it seems logical. Note if you copy
to a CD you might want to use winZip to compress the files. This avoids
changing some of the file flags.

Jayson
-----Original Message-----
From: mmqp <mmqp@xxxxxxxxx> [mailto:mmqp@xxxxxxxxx]
Sent: Thursday, February 20, 2003 1:23 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] How to duplicate AB setup between computers?


Does anyone know what setup files I need to duplicate to have exact
same setups between two computers?  This should include all the
studies, notes, etc.  Thanks



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.

      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.



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 8
   Date: Thu, 20 Feb 2003 19:57:17 +0100
   From: "Tomasz Janeczko" <amibroker@xxxxxx>
Subject: Re: Two separate installations (not instances) of AB?

Ken,

> Here is one for our esteemed leader and programmer and customer service
> representative...
>
> Tomasz:  I have been told that older versions of AB (4.20 perhaps) might
> optimize faster because of less program overhead.  No charting, or
> commentary, or other stuff needed...just basic optimization crunching.
>
> I know AB is the fastest thing around, but could I get a faster
> optimization run complete with an older version?  Be candid!

If I implement changes into AB I have always the speed in mind.
Therefore newer versions should perform at least that fast as old ones.
In fact some enhancements have been made so 4.xx versions are
faster than 3.xx versions.
As far as 4.20 vs 4.29 are considered there is no difference.

> I have also heard that breaking up complex single line coded statements
> into components will enhance the speed of an optimization.  Is this
> true?
THe best way to increase speed is to use variables whenever you can.
Instead of calling for example Foreign("$INDU","c") many times in your
code call it once and assign result to the variable.

Best regards,
Tomasz Janeczko
amibroker.com


________________________________________________________________________
________________________________________________________________________

Message: 9
   Date: Thu, 20 Feb 2003 20:07:47 +0100
   From: "Tomasz Janeczko" <tj@xxxxxxxxxxxxx>
Subject: AmiBroker 4.29.5 BETA released

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.

Best regards,
Tomasz Janeczko
amibroker.com

AmiBroker 4.29.5 Beta Read Me
February 20, 2003 18:06

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.5 beta" written in the
About box.

CHANGES FOR VERSION 4.29.5 (as compared to 4.29.1)

  a.. fixed crash in AFL editor that occured when selecting all text and
choosing right mouse button -> copy
  b.. auto-scaling changed slightly
  c.. user-definable thousand separator (in Tools->Preferences->Misc)
applied automatically to all list views and indicators and WriteVal function
  d.. definable number of decimal places in RT quote window
(Tools->Prefs->Misc)
  e.. watch-list related functions: (available from context menu in tree and
Symbol->Watch list menu)
  f.. quick type-in symbols into watch list
  g.. 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)
  h.. context menu is displayed over selected watch list (click with right
mouse button on the watch list name in the Workspace window)
  i.. 'dirty' flag is set properly after moving/sizing the study
  j.. 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))
  k.. 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)

  a.. 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
  b.. 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.
  c.. 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 ) ) + "%";


  d.. WriteVal function now handles formatDateTime
  WriteVal( DateTime(), formatDateTime );


  e.. 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)

  a.. 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
  b.. param info/fun reference available also from context menu
  c.. fixed bug in Study function working improperly for trendlines with
right extend property
  d.. tab order fixed in Study properties box
  e.. usability: "Filter pre/after hours" is available now from
View->Intraday menu
  f.. 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
  g.. new drawing tool: Triangle
  h.. new drawing tool: Andrews' Pitchfork
  i.. Gann Square tool does not draw controlling trenline during move/resize
  j.. added check that prevents freeing memory by Equity(1) function when
this memory is referenced by other variables
  k.. added Layer combo to the Text properties box
  l.. added link to AFL on-line reference to the Help->AmiBroker on the Web
menu.
  m.. switching layers does not cause unnecessary symbol tree refresh
  n.. added switch to AA Settings->Report tab that allows to turn off optimi
zation warning (that is displayed if optimization requires more than 300
steps)
  o.. other minor fixes.

CHANGES FOR VERSION 4.28.1 (as compared to 4.28.0)

  a.. fixed problem with missing some short trades when new flag "Reverse
entry signal forces exit" was turned off
  b.. Null is now highlighted and present in the auto-complete box.
  c.. fixed numeric sorting of colorized columns
CHANGES FOR VERSION 4.28.0 (as compared to 4.27.1)

  a.. 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 );


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


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


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


  e.. long trades now take precedence over short trades so if signals happen
on the same bar in both directions only long trade is taken.


  f.. 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());
  Sell=Cross(Signal(), MACD());
  Filter=Buy OR Sell;
  SetOption("NoDefaultColumns", True );
  AddColumn( DateTime(), "Date", formatDateTime );
  AddColumn( IIf( Buy, 66, 83 ), "Signal", formatChar );


  g.. 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"


  h.. if you overwrite AA settings via SetTradeDelays/SetOption
  backtest report gives these actual values instead of originaly set in the
settings


  i.. 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)


  j.. added PlotGrid( level, color = colorDefault ) function that plots grid
line using built-in dotted style.


  k.. fixed problem with QuoteEditor that was introduced with adding color
support to the list view
  l.. added support for Win XP common controls 6, which results in enhanced
XP-look (on WinXP only of course)
  m.. fixed zero-size problem with floating control bars on Windows XP
  n.. fixed some compatibility issues with common controls 6.
  o.. added sound when plugin status changes
  p.. fixed problems with Review window sometimes not showing the results
  q.. value label drawing changed slightly
  r.. status bar adjusted so plugin state is visible on smaller displays
  s.. improved windows version checking for bug reports

CHANGES FOR VERSION 4.27.1 (as compared to 4.27.0)

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

  a.. 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
  b.. parameters-info tip, type function name and opening brace ( and you
will see the tip that shows information about required parameters
  c.. two new checkboxes Preferences->Editor control Auto-completion /
parameter-info features
  d.. fixed exception occuring when optimizing systems that generate zero
trades (very rare case)
  e.. AlertIF called from the custom indicators sometimes displayed wrong
date/time - now it is fixed
  f.. 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)

  a.. List view sorting speed increased significantly:
    a.. sorting of text columns is 2 times faster (on average)
    b.. sorting of numeric column is 5-10 times faster ( sort 660'000 items
within 2-3 seconds on 1GHz machine)
  b.. 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.
  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 ) );

  c.. custom indicators - anchors are not offset vertically from the ends of
the trend line when Draw dates is selected

  d.. custom indicators with auto-scaling can be now dragged in Y-direction
like regular charts

  e.. Foreign and RelStrength algorithm improved to allow more complex
alignment cases

  f.. PlotShapes works even without any Plot statement (although it is
intended to use in conjunction with Plot)
  g.. fixed line disappearing bug that occured when using text tool right
after trend line tool
  h.. Dec is displayed again on date axis

CHANGES FOR VERSION 4.25.0 (as compared to 4.24.0)

  a.. 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
  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 ) );

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

  c.. ticker symbol maximum length increased to 25 characters (from previous
15).
  (these two fixes above solve problem with using very long symbols like
  d.. default keyboard accelerators changed Ctrl+R is now for Parameters
dialog F5 is for Refresh
  e.. fixed calculation bug occuring when drawing objects in the blank chart
area ("jumping" effect)
  f.. 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 );
  g.. on Windows Me, 2000 and XP all file dialogs now feature "Places" bar
and allows to select few recent file names from the combo
  h.. date axis display modified slightly (3 letter month abbrev. used more
often
  i.. 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.
  j.. other minor improvements

CHANGES FOR VERSION 4.24.0 (as compared to 4.23.0)

  a.. saving/loading Automatic Analysis settings to/from the file
  b.. Axis font now can be made bold/italic/underline
  c.. Text drawing tool uses axis font now
  d.. 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
  Filter( 0, "index" ) = 1; // include only indices
  Filter( 1, "market" ) = 2; // exclude 2nd market

  Full 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 filters
  AA.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)

  a.. chart axis font can be defined by the user. The default is now Arial,
9pt.
  (Tools->Preferences->Miscellaneous: "Axis font")
  b.. Undo feature added to AFL editor.
  c.. 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 );
  d.. yet another bug fixed that caused problems with drawing lines when
multiple windows were showing same symbol but different intervals.
  e.. 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)
  f.. Insert Indicator window (Ctrl+I) does not show empty indicator slots
anymore.

CHANGES FOR VERSION 4.22.1 (as compared to 4.22.0)

  a.. fixed overwrite problem occuring when deleting first indicator in the
list in Indicator Builder
  b.. fixed shortcut conflict &File and &Format. Now Format menu has Alt+o
shortcut
  c.. other minor fixes
  d.. 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)

  a.. 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
  b.. 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.
  c.. empty indicators are not displayed in the Indicator Builder and new
buttons "Add", "Delete" are provided to add new indicator and remove
existing
  d.. when drawing or moving drawing objects the auto-refresh of the chart
is temporarily held to solve problems with drawing on RT charts.
  e.. Symbol->Information window is not reset every 3 sec when working with
RT data.
  f.. interval between chart updates is now configurable
(Preferences->Intraday)
  g.. 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


  h.. new AFL function
  PlotShapes( shape, color, layer = 0, yposition = graph0 );
  that allows to plot arrows and other shapes on any chart.
  Parameters:
    a.. 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.
    b.. color defines color of shape
    c.. layer defines layer number on which shapes are plotted
    d.. yposition defines Y-position where shapes are plotted (by default
they are plotted 'around' graph0 (first indicator) line)

  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();
  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)

  a.. AddToComposite marks symbol as dirty so timestamp added in the full
name is stored properly.
  b.. "Align custom minute bars to regular market hours" works OK now even
if filtering is OFF
  c.. 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
  d.. fixed display of watch list >32 in the workspace tree
  e.. 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)

  a.. 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)
  b.. 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)
  c.. max. number of bars in File->Database Settings increased to 500'000.
  d.. ASCII importer: added $STRICT 1 mode it checks if Open, High, Low
prices are greater than zero
  e.. COM/OLE interface:
  new property Broker.Application.DatabasePath
  new 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 then
  WScript.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)

  a.. fixed #include command (CR/LF pair handling)
  b.. #include now displays error message in the status bar ifincluded file
can not be found
  c.. when calling function defined in script AFL does not convert the
method name to lowercase
  d.. filtering after hours works also for EndTime < StartTime case (usefull
for users from Far East tracking US exchanges)
  e.. fixed bug causing crash on custom indicators using Study() with
QuickAFL enabled
  f.. protection against crash when the user tries to plot negative values
on semi-log scale
  g.. new AFL function: GetDatabaseName - gives the name of the database -
the last part (folder) of the database path
  h.. other minor fixes
  i.. new myTrack plugin
  j.. removed (c) text (4.20.8.3431)

CHANGES FOR VERSION 4.20.7 (as compared to 4.20.6)

  a.. fixed crash occuring on exit on Windows XP (CRegistry class - free() )
  b.. fixed problem with saving keyboard editor settings on Win2k
  c.. 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)
  d.. added one more safety check for non-existing directory when saving
layout
CHANGES FOR VERSION 4.20.6 (as compared to 4.20.5)

  a.. possible bug with AFL editor fixed (streamin)
  b.. "space" problem in AFL editor fixed
  c.. fixed bug with switching databases
  d.. fixed crash occuring when user specified non-existing pen
  e.. fixed bug in monthly view display (29.02.2000)
  f.. fixed bug in File->Save database As (into blank directory)
  g.. fixed title of built-in volume pane
  h.. 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 ) )
  i.. QuoteTracker plugin now accepts also . (dot) as a date separator
  j.. myTrack plugin startup routine improved
CHANGES FOR VERSION 4.20.5 (as compared to 4.20.3)

  a.. composite symbol is reset properly even if flused out of in-memory
cache
  b.. 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 )
  c.. 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
bugs@xxxxxxxxxxxxx



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 10
   Date: Thu, 20 Feb 2003 12:14:08 -0700
   From: "CedarCreekTrading" <kernish@xxxxxxxxxxxx>
Subject: Re:

Peter,

I'm not sure if I'm better described as a "dimmer bulb" or a "dimmer blob".
Either way, I am trying to make the transition.  I still use MS to post
"charts" (like some of the more astute players at this forum).  It still
makes pretty pictures.

To dissemenate my daily institutional recommendations, I had to bypass MS
and pull the esignal feed into Excel (for compliance reasons).

Take care...dimmer and slimmer,

Steve
----- Original Message -----
From: "bluesinvestor" <investor@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 20, 2003 11:47 AM
Subject: RE: [amibroker]


> Steve,
>
> Just curious ... have you been using Amibroker or are the 'dimmer bulbs'
> still 'reverting back to the MetaStock program'?
>
> Regards,
> Peter
>
> -----Original Message-----
> From: CedarCreekTrading [mailto:kernish@xxxxxxxxxxxx]
> Sent: Thursday, February 20, 2003 12:04 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker]
>
>
> Chris,
>
> I've been here all the time.  Tomasz hard work and constant improvements
> have not been wasted on me.  I've been lecturing, developing, refining and
> lurking.
>
> Take care,
>
> Steve
> ----- Original Message -----
> From: "-= Chris ß =-" <baudecb1@xxxxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, February 20, 2003 9:57 AM
> Subject: Re: [amibroker]
>
>
> Steve K.
>
> Nice to see you here!!!  Another valued member (convert?).
>
> I look forward to your postings.
>
> -= Chris ß =-
> (A lurker from the old MS days)
> _______________________________________________________
>
>
>
> 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 http://docs.yahoo.com/info/terms/
>
>
>
>
> 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 http://docs.yahoo.com/info/terms/
>
>
>
> 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 http://docs.yahoo.com/info/terms/
>
>



________________________________________________________________________
________________________________________________________________________

Message: 11
   Date: Thu, 20 Feb 2003 11:46:26 -0800
   From: Sidney Kaiser <s9kaiser@xxxxxxxxxxx>
Subject: Re: Re: The Watered Down Semi-Interesting System

At 06:44 PM 02/20/2003 +0000, you wrote:

>Sid,
>
>
>If you are referring the the equity line graph, the code is in the
>files section.
>
>Fred

Yes, that is what I was looking for...thanks.

For others wanting to use these indicators it looks like you need to add
them to the bottom of your AA system test and then copy the whole thing
over to a new custom indicator to make  all the parameters available to the
plots.

Sid

  ----------


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.455 / Virus Database: 255 - Release Date: 02/13/2003


[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 12
   Date: Thu, 20 Feb 2003 14:46:30 -0500
   From: "Al Venosa" <avcinci@xxxxxxxxxxx>
Subject: Re: AmiBroker 4.29.5 BETA released



[This message is not in displayable format]



________________________________________________________________________
________________________________________________________________________

Message: 13
   Date: Thu, 20 Feb 2003 19:50:23 -0000
   From: "Fred <fctonetti@xxxxxxxxx>" <fctonetti@xxxxxxxxx>
Subject: Re: The Watered Down Semi-Interesting System

Sid,

You only need to replace the AB built in equity line indicator with
this code. (SAVE THE ORIGINAL FIRST under another name).  Then by
just clicking the equity button in any AA window after doing a
backtest will plot it.

--- In amibroker@xxxxxxxxxxxxxxx, Sidney Kaiser <s9kaiser@xxxx> wrote:
> At 06:44 PM 02/20/2003 +0000, you wrote:
>
> >Sid,
> >
> >
> >If you are referring the the equity line graph, the code is in the
> >files section.
> >
> >Fred
>
> Yes, that is what I was looking for...thanks.
>
> For others wanting to use these indicators it looks like you need
to add
> them to the bottom of your AA system test and then copy the whole
thing
> over to a new custom indicator to make  all the parameters
available to the
> plots.
>
> Sid
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.455 / Virus Database: 255 - Release Date: 02/13/2003



________________________________________________________________________
________________________________________________________________________

Message: 14
   Date: Fri, 21 Feb 2003 04:02:12 +0800
   From: "Graham" <gkavanag@xxxxxxxxxxxxxx>
Subject: RE: Off off topic

If a Gann expert could please advise how to handle this natural cycle, most
appreciated â~º

Cheers,
Graham

-----Original Message-----
From: Dimitris Tsokakis [mailto:TSOKAKIS@xxxxxxxxx]
Sent: Thursday, 20 February 2003 10:24 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Off off topic

http://www.fg-kometen.de/pix/c2002v1/02v1_26.jpg
It is C2002V., by Michael Jagger
It comes every 37000 years to visit our solar system.
[Nice period for backtesting, attention to future applications...]
Dimitris Tsokakis


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.



________________________________________________________________________
________________________________________________________________________

Message: 15
   Date: Thu, 20 Feb 2003 21:04:05 +0100
   From: "Tomasz Janeczko" <amibroker@xxxxxx>
Subject: Re: AmiBroker 4.29.5 BETA released

Al,

No. In the formula
the numbers have to be typed like in any programming language without
thousand separators.

Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message -----
  From: Al Venosa
  To: amibroker@xxxxxxxxxxxxxxx
  Sent: Thursday, February 20, 2003 8:46 PM
  Subject: Re: [amibroker] AmiBroker 4.29.5 BETA released


  Thanks so much, TJ, for the thousands separator for large numbers. This
will be a big help. Question: when inputting a large number in the AA
window, can you use the thousands separator in formulas? Like in:
PositionSize = 100,000;

  Al Venosa
  avcinci@xxxxxxxxxxx
  >From: "Tomasz Janeczko"
  >Reply-To: amibroker@xxxxxxxxxxxxxxx
  >To:
  >Subject: [amibroker] AmiBroker 4.29.5 BETA released
  >Date: Thu, 20 Feb 2003 20:07:47 +0100
  >
  >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.
  >
  >Best regards,
  >Tomasz Janeczko
  >amibroker.com
  >
  >AmiBroker 4.29.5 Beta Read Me
  >February 20, 2003 18:06
  >
  >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.5 beta" written in the
About box.
  >
  >CHANGES FOR VERSION 4.29.5 (as compared to 4.29.1)
  >
  > a.. fixed crash in AFL editor that occured when selecting all text and
choosing right mouse button -> copy
  > b.. auto-scaling changed slightly
  > c.. user-definable thousand separator (in Tools->Preferences->Misc)
applied automatically to all list views and indicators and WriteVal function
  > d.. definable number of decimal places in RT quote window
(Tools->Prefs->Misc)
  > e.. watch-list related functions: (available from context menu in tree
and Symbol->Watch list menu)
  > f.. quick type-in symbols into watch list
  > g.. 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)
  > h.. context menu is displayed over selected watch list (click with right
mouse button on the watch list name in the Workspace window)
  > i.. 'dirty' flag is set properly after moving/sizing the study
  > j.. 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))
  > k.. 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)
  >
  > a.. 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
  > b.. 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.
  > c.. 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 ) ) + "%";
  >
  >
  > d.. WriteVal function now handles formatDateTime
  > WriteVal( DateTime(), formatDateTime );
  >
  >
  > e.. 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)
  >
  > a.. 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
  > b.. param info/fun reference available also from context menu
  > c.. fixed bug in Study function working improperly for trendlines with
right extend property
  > d.. tab order fixed in Study properties box
  > e.. usability: "Filter pre/after hours" is available now from
View->Intraday menu
  > f.. 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
  > g.. new drawing tool: Triangle
  > h.. new drawing tool: Andrews' Pitchfork
  > i.. Gann Square tool does not draw controlling trenline during
move/resize
  > j.. added check that prevents freeing memory by Equity(1) function when
this memory is referenced by other variables
  > k.. added Layer combo to the Text properties box
  > l.. added link to AFL on-line reference to the Help->AmiBroker on the
Web menu.
  > m.. switching layers does not cause unnecessary symbol tree refresh
  > n.. added switch to AA Settings->Report tab that allows to turn off
optimization warning (that is displayed if optimization requires more than
300 steps)
  > o.. other minor fixes.
  >
  >CHANGES FOR VERSION 4.28.1 (as compared to 4.28.0)
  >
  > a.. fixed problem with missing some short trades when new flag "Reverse
entry signal forces exit" was turned off
  > b.. Null is now highlighted and present in the auto-complete box.
  > c.. fixed numeric sorting of colorized columns
  >CHANGES FOR VERSION 4.28.0 (as compared to 4.27.1)
  >
  > a.. 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 );
  >
  >
  > b.. 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
  >
  >
  > c.. 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.
  >
  >
  > d.. 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.
  >
  >
  > e.. long trades now take precedence over short trades so if signals
happen on the same bar in both directions only long trade is taken.
  >
  >
  > f.. 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());
  > Sell=Cross(Signal(), MACD());
  > Filter=Buy OR Sell;
  > SetOption("NoDefaultColumns", True );
  > AddColumn( DateTime(), "Date", formatDateTime );
  > AddColumn( IIf( Buy, 66, 83 ), "Signal", formatChar );
  >
  >
  > g.. 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"
  >
  >
  > h.. if you overwrite AA settings via SetTradeDelays/SetOption
  > backtest report gives these actual values instead of originaly set in
the settings
  >
  >
  > i.. 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)
  >
  >
  > j.. added PlotGrid( level, color = colorDefault ) function that plots
grid line using built-in dotted style.
  >
  >
  > k.. fixed problem with QuoteEditor that was introduced with adding color
support to the list view
  > l.. added support for Win XP common controls 6, which results in
enhanced XP-look (on WinXP only of course)
  > m.. fixed zero-size problem with floating control bars on Windows XP
  > n.. fixed some compatibility issues with common controls 6.
  > o.. added sound when plugin status changes
  > p.. fixed problems with Review window sometimes not showing the results
  > q.. value label drawing changed slightly
  > r.. status bar adjusted so plugin state is visible on smaller displays
  > s.. improved windows version checking for bug reports
  >
  >CHANGES FOR VERSION 4.27.1 (as compared to 4.27.0)
  >
  > a.. 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
  >
  > a.. 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
  > b.. parameters-info tip, type function name and opening brace ( and you
will see the tip that shows information about required parameters
  > c.. two new checkboxes Preferences->Editor control Auto-completion /
parameter-info features
  > d.. fixed exception occuring when optimizing systems that generate zero
trades (very rare case)
  > e.. AlertIF called from the custom indicators sometimes displayed wrong
date/time - now it is fixed
  > f.. 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)
  >
  > a.. List view sorting speed increased significantly:
  > a.. sorting of text columns is 2 times faster (on average)
  > b.. sorting of numeric column is 5-10 times faster ( sort 660'000 items
within 2-3 seconds on 1GHz machine)
  > b.. 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.
  > 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 ) );
  >
  > c.. custom indicators - anchors are not offset vertically from the ends
of the trend line when Draw dates is selected
  >
  > d.. custom indicators with auto-scaling can be now dragged in
Y-direction like regular charts
  >
  > e.. Foreign and RelStrength algorithm improved to allow more complex
alignment cases
  >
  > f.. PlotShapes works even without any Plot statement (although it is
intended to use in conjunction with Plot)
  > g.. fixed line disappearing bug that occured when using text tool right
after trend line tool
  > h.. Dec is displayed again on date axis
  >
  >CHANGES FOR VERSION 4.25.0 (as compared to 4.24.0)
  >
  > a.. 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
  > 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 ) );
  >
  > b.. 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.
  >
  > c.. ticker symbol maximum length increased to 25 characters (from
previous 15).
  > (these two fixes above solve problem with using very long symbols like
  > d.. default keyboard accelerators changed Ctrl+R is now for Parameters
dialog F5 is for Refresh
  > e.. fixed calculation bug occuring when drawing objects in the blank
chart area ("jumping" effect)
  > f.. 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 );
  > g.. on Windows Me, 2000 and XP all file dialogs now feature "Places" bar
and allows to select few recent file names from the combo
  > h.. date axis display modified slightly (3 letter month abbrev. used
more often
  > i.. 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.
  > j.. other minor improvements
  >
  >CHANGES FOR VERSION 4.24.0 (as compared to 4.23.0)
  >
  > a.. saving/loading Automatic Analysis settings to/from the file
  > b.. Axis font now can be made bold/italic/underline
  > c.. Text drawing tool uses axis font now
  > d.. 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
  > Filter( 0, "index" ) = 1; // include only indices
  > Filter( 1, "market" ) = 2; // exclude 2nd market
  >
  > Full 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 filters
  > AA.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)
  >
  > a.. chart axis font can be defined by the user. The default is now
Arial, 9pt.
  > (Tools->Preferences->Miscellaneous: "Axis font")
  > b.. Undo feature added to AFL editor.
  > c.. 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 );
  > d.. yet another bug fixed that caused problems with drawing lines when
multiple windows were showing same symbol but different intervals.
  > e.. 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)
  > f.. Insert Indicator window (Ctrl+I) does not show empty indicator slots
anymore.
  >
  >CHANGES FOR VERSION 4.22.1 (as compared to 4.22.0)
  >
  > a.. fixed overwrite problem occuring when deleting first indicator in
the list in Indicator Builder
  > b.. fixed shortcut conflict &File and &Format. Now Format menu has Alt+o
shortcut
  > c.. other minor fixes
  > d.. 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)
  >
  > a.. 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
  > b.. 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.
  > c.. empty indicators are not displayed in the Indicator Builder and new
buttons "Add", "Delete" are provided to add new indicator and remove
existing
  > d.. when drawing or moving drawing objects the auto-refresh of the chart
is temporarily held to solve problems with drawing on RT charts.
  > e.. Symbol->Information window is not reset every 3 sec when working
with RT data.
  > f.. interval between chart updates is now configurable
(Preferences->Intraday)
  > g.. 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
  >
  >
  > h.. new AFL function
  > PlotShapes( shape, color, layer = 0, yposition = graph0 );
  > that allows to plot arrows and other shapes on any chart.
  > Parameters:
  > a.. 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.
  > b.. color defines color of shape
  > c.. layer defines layer number on which shapes are plotted
  > d.. yposition defines Y-position where shapes are plotted (by default
they are plotted 'around' graph0 (first indicator) line)
  >
  > 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();
  > 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)
  >
  > a.. AddToComposite marks symbol as dirty so timestamp added in the full
name is stored properly.
  > b.. "Align custom minute bars to regular market hours" works OK now even
if filtering is OFF
  > c.. 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
  > d.. fixed display of watch list >32 in the workspace tree
  > e.. 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)
  >
  > a.. 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)
  > b.. 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)
  > c.. max. number of bars in File->Database Settings increased to 500'000.
  > d.. ASCII importer: added $STRICT 1 mode it checks if Open, High, Low
prices are greater than zero
  > e.. COM/OLE interface:
  > new property Broker.Application.DatabasePath
  > new 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 then
  > WScript.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)
  >
  > a.. fixed #include command (CR/LF pair handling)
  > b.. #include now displays error message in the status bar ifincluded
file can not be found
  > c.. when calling function defined in script AFL does not convert the
method name to lowercase
  > d.. filtering after hours works also for EndTime < StartTime case
(usefull for users from Far East tracking US exchanges)
  > e.. fixed bug causing crash on custom indicators using Study() with
QuickAFL enabled
  > f.. protection against crash when the user tries to plot negative values
on semi-log scale
  > g.. new AFL function: GetDatabaseName - gives the name of the database -
the last part (folder) of the database path
  > h.. other minor fixes
  > i.. new myTrack plugin
  > j.. removed (c) text (4.20.8.3431)
  >
  >CHANGES FOR VERSION 4.20.7 (as compared to 4.20.6)
  >
  > a.. fixed crash occuring on exit on Windows XP (CRegistry class -
free() )
  > b.. fixed problem with saving keyboard editor settings on Win2k
  > c.. 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)
  > d.. added one more safety check for non-existing directory when saving
layout
  >CHANGES FOR VERSION 4.20.6 (as compared to 4.20.5)
  >
  > a.. possible bug with AFL editor fixed (streamin)
  > b.. "space" problem in AFL editor fixed
  > c.. fixed bug with switching databases
  > d.. fixed crash occuring when user specified non-existing pen
  > e.. fixed bug in monthly view display (29.02.2000)
  > f.. fixed bug in File->Save database As (into blank directory)
  > g.. fixed title of built-in volume pane
  > h.. 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 ) )
  > i.. QuoteTracker plugin now accepts also . (dot) as a date separator
  > j.. myTrack plugin startup routine improved
  >CHANGES FOR VERSION 4.20.5 (as compared to 4.20.3)
  >
  > a.. composite symbol is reset properly even if flused out of in-memory
cache
  > b.. 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 )
  > c.. 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
bugs@xxxxxxxxxxxxx
  >


----------------------------------------------------------------------------
--
  Tired of spam? Get advanced junk mail protection with MSN 8.
        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.


[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 16
   Date: Thu, 20 Feb 2003 20:14:16 -0000
   From: "Anthony <axon50@xxxxxxxxxxx>" <axon50@xxxxxxxxxxx>
Subject: Re: Saving Color Schemes

Thanks Jayson,
I thought that was the case but I wanted to check with someone more
knowledgeable. I was just trying to have a different background color
for a particular indicator window.
Cheers,
Anthony

--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Anthony,
> back ground colors are set in preferences...I know on no option to
set them
> via afl
>
> Jayson
> -----Original Message-----
> From: Anthony <axon50@xxxx> [mailto:axon50@x...]
> Sent: Thursday, February 20, 2003 12:52 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Saving Color Schemes
>
>
> Hi,
> I can't seem to figure out if it is possible to save different color
> schemes. Saving Templates does not work for colors for me.
>
> If this is not possible then I would be happy if I could control the
> background color within AFL but can't find anything for that either.
>
> This is unimportant but if anybody has any suggestions I would
> appreciate it.
>
> Thanks,
> Anthony
>
>
>       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.



________________________________________________________________________
________________________________________________________________________

Message: 17
   Date: Fri, 21 Feb 2003 04:26:11 +0800
   From: "Graham" <gkavanag@xxxxxxxxxxxxxx>
Subject: RE: AmiBroker 4.29.5 BETA released

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



Cheers,
Graham



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



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.



Best regards,
Tomasz Janeczko
amibroker.com




AmiBroker 4.29.5 Beta Read Me


February 20, 2003 18:06

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.5 beta" written in
the About box.

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 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 );

*         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 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

*         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
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());
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.

*         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:

o        sorting of text columns is 2 times faster (on average)

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

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

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
quotes
long 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
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
Filter( 0, "index" ) = 1; // include only indices
Filter( 1, "market" ) = 2; // exclude 2nd market

Full 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 filters
AA.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 refresh

Example 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:

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

o        color defines color of shape

o        layer defines layer number on which shapes are plotted

o        yposition defines Y-position where shapes are plotted (by
default they are plotted 'around' graph0 (first indicator) line)


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();
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.DatabasePath
new 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 then
WScript.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
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 ) )

*         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 prices
if( 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 bugs@xxxxxxxxxxxxx








Yahoo! Groups Sponsor



ADVERTISEMENT

<http://rd.yahoo.com/M=243066.2784922.4151385.1927555/D=egroupweb/S=1705
632198:HM/A=1377500/R=0/*http:/www.verisign.com/cgi-bin/go.cgi?a=b315401
13206004000>



<http://us.adserver.yahoo.com/l?M=243066.2784922.4151385.1927555/D=egrou
pmail/S=:HM/A=1377500/rand=587043597>


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
<http://docs.yahoo.com/info/terms/> .



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 18
   Date: Thu, 20 Feb 2003 21:30:25 +0100
   From: "Tomasz Janeczko" <amibroker@xxxxxx>
Subject: Re: AmiBroker 4.29.5 BETA released

Graham,

What message box? What does it say?

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Graham
To: amibroker@xxxxxxxxxxxxxxx
Sent: Thursday, February 20, 2003 9:26 PM
Subject: RE: [amibroker] AmiBroker 4.29.5 BETA released


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

Cheers,
Graham


________________________________________________________________________
________________________________________________________________________

Message: 19
   Date: Thu, 20 Feb 2003 20:36:05 -0000
   From: "irawerley2003 <irawerley2003@xxxxxxxxx>" <irawerley2003@xxxxxxxxx>
Subject: $2000.00 profit before lunch again

I'm making $4000.00 per week from trading. I found a service that
pick nearly 100% winners. If any group member wants my system, email
me at irawerley2003@xxxxxxxxx and I'll email it back to you....Ira



________________________________________________________________________
________________________________________________________________________

Message: 20
   Date: Thu, 20 Feb 2003 15:40:31 -0500
   From: "Jayson" <jcasavant@xxxxxxxxxxxx>
Subject: RE: Re: Saving Color Schemes

Anthony,

On second thought there is probably a way, though not particularly
elegant.....  :)

Plot(RSI(14),"",colorRed,1);

Plot(HHV(RSI(14),200),"",colorGreen,2|styleArea);




Jayson
-----Original Message-----
From: Anthony <axon50@xxxxxxxxxxx> [mailto:axon50@xxxxxxxxxxx]
Sent: Thursday, February 20, 2003 3:14 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Saving Color Schemes


Thanks Jayson,
I thought that was the case but I wanted to check with someone more
knowledgeable. I was just trying to have a different background color
for a particular indicator window.
Cheers,
Anthony

--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Anthony,
> back ground colors are set in preferences...I know on no option to
set them
> via afl
>
> Jayson
> -----Original Message-----
> From: Anthony <axon50@xxxx> [mailto:axon50@x...]
> Sent: Thursday, February 20, 2003 12:52 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Saving Color Schemes
>
>
> Hi,
> I can't seem to figure out if it is possible to save different color
> schemes. Saving Templates does not work for colors for me.
>
> If this is not possible then I would be happy if I could control the
> background color within AFL but can't find anything for that either.
>
> This is unimportant but if anybody has any suggestions I would
> appreciate it.
>
> Thanks,
> Anthony
>
>
>       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.


      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.



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 21
   Date: Thu, 20 Feb 2003 20:43:31 -0000
   From: "thelunit <thelunit@xxxxxxxxx>" <thelunit@xxxxxxxxx>
Subject: TJ - Charting  (PLEASE)

Have tried this a couple of times. Can you please reply..
Ta

-----

Few questions re charting please:

When I switch from daily to weekly view, I only get date markers for APR and
JUL. OCT pops in and out at the right edge as I scroll. Can this be improved
so that for eg, OCT is displayed consistently?

Currently I cannot place default dotted line as vertical month marker
(grid). Are you planning to add this feature?

Also the vertical year markers (grid) plot OVER the 'stylebar' bars which
gives the coincident bar a strange dotted appearance and makes it hard to
see. Can this be fixed so bars plot over the marker (grid)?

Thanks
tL




________________________________________________________________________
________________________________________________________________________

Message: 22
   Date: Fri, 21 Feb 2003 04:42:56 +0800
   From: "Graham" <gkavanag@xxxxxxxxxxxxxx>
Subject: RE: AmiBroker 4.29.5 BETA released

>From the release notes:
"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))"

Cheers,
Graham


-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
Sent: Friday, 21 February 2003 4:30 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] AmiBroker 4.29.5 BETA released

Graham,

What message box? What does it say?

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Graham
To: amibroker@xxxxxxxxxxxxxxx
Sent: Thursday, February 20, 2003 9:26 PM
Subject: RE: [amibroker] AmiBroker 4.29.5 BETA released


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

Cheers,
Graham

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
http://docs.yahoo.com/info/terms/




________________________________________________________________________
________________________________________________________________________

Message: 23
   Date: Thu, 20 Feb 2003 14:57:55 -0600
   From: "Uzi Mann" <prof1209@xxxxxxxxx>
Subject: Re: $2000.00 profit before lunch again

Please send me your system.
Thank you,
David May
--

On Thu, 20 Feb 2003 20:36:05
 irawerley2003 <irawerley2003@xxxxxxxxx> wrote:
>I'm making $4000.00 per week from trading. I found a service that
>pick nearly 100% winners. If any group member wants my system, email
>me at irawerley2003@xxxxxxxxx and I'll email it back to you....Ira
>
>


_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus


________________________________________________________________________
________________________________________________________________________

Message: 24
   Date: Thu, 20 Feb 2003 13:03:18 -0800
   From: "Ara Kaloustian" <ara1@xxxxxxxxxx>
Subject: Re: $2000.00 profit before lunch again

Sure. Sound good!

Ara
  ----- Original Message -----
  From: irawerley2003 <irawerley2003@xxxxxxxxx>
  To: amibroker@xxxxxxxxxxxxxxx
  Sent: Thursday, February 20, 2003 12:36 PM
  Subject: [amibroker] $2000.00 profit before lunch again


  I'm making $4000.00 per week from trading. I found a service that
  pick nearly 100% winners. If any group member wants my system, email
  me at irawerley2003@xxxxxxxxx and I'll email it back to you....Ira


        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.


[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 25
   Date: Thu, 20 Feb 2003 16:05:24 -0500
   From: "Jayson" <jcasavant@xxxxxxxxxxxx>
Subject: RE: Re: Saving Color Schemes

Better yet......


x=C>10;
Plot(RSI(14),"",colorRed,1);
Plot(HHV(RSI(14),LastValue(Cum(1))),"",colorGreen,2|styleArea);

Your starting to rub off on me Graham  :))


Jayson
-----Original Message-----
From: Jayson [mailto:jcasavant@xxxxxxxxxxxx]
Sent: Thursday, February 20, 2003 3:41 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re: Saving Color Schemes


Anthony,

On second thought there is probably a way, though not particularly
elegant.....  :)

Plot(RSI(14),"",colorRed,1);

Plot(HHV(RSI(14),200),"",colorGreen,2|styleArea);




Jayson
-----Original Message-----
From: Anthony <axon50@xxxxxxxxxxx> [mailto:axon50@xxxxxxxxxxx]
Sent: Thursday, February 20, 2003 3:14 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Saving Color Schemes


Thanks Jayson,
I thought that was the case but I wanted to check with someone more
knowledgeable. I was just trying to have a different background color
for a particular indicator window.
Cheers,
Anthony

--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Anthony,
> back ground colors are set in preferences...I know on no option to
set them
> via afl
>
> Jayson
> -----Original Message-----
> From: Anthony <axon50@xxxx> [mailto:axon50@x...]
> Sent: Thursday, February 20, 2003 12:52 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Saving Color Schemes
>
>
> Hi,
> I can't seem to figure out if it is possible to save different color
> schemes. Saving Templates does not work for colors for me.
>
> If this is not possible then I would be happy if I could control the
> background color within AFL but can't find anything for that either.
>
> This is unimportant but if anybody has any suggestions I would
> appreciate it.
>
> Thanks,
> Anthony
>
>
>       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.



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.

      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.



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





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 http://docs.yahoo.com/info/terms/