This file contains changes since the manual was printed. Version 5.01 - March 10,1993 - Added new pre-defined array, "EQUITY", which contains the equity for each date in a profit test. See EQUITY.TAS script. The EQUITY array is available at, and during a Profit Test. EQUITY = CASH {+ or -} NUMBER OF SHARES * CURRENT_SHARE PRICE using plus for Long positions, and minus for Short positions Version 5.02 - March 11, 1993 - Added Min(a,b) function to find minumum of two values a and b - Added Max(a,b) function to find maximum of two values a and b - Added MinVal(a) function to find minimum of array a - Added MaxVal(a) function to find maximum of array a - Price Graph now contains VOLUME histogram in the lower 10% of the graph. - Added ability to print graph by keyboard command while viewing the graph. Type the "P" character when a graph is displayed and the graph will be printed according to the settings in your Printer Setup screen. Version 5.04 - March 20, 1993 - Made internal function call stack dynamic to allow larger calling parameter lists (e.g., AGET function for hundreds of fields). - Added default directories for #OUTPUT_FILE and AOpen files - Added TICKER_LIST pre-defined variable which contains the name of the current ticker list. - Added MAXPAIR(a1,a2) function to return the pair-by-pair maximum of each data point in array a1 and a2 - Added MINPAIR(a1,a2) function to return the pair-by-pair minimum of each data point in array a1 and a2 - Added x= SIGN(a) function to return the "sign" of each element in array "a" according to the following definition: If a[i] greater than zero, x[i] = +1 if a[i] less than zero, x[i] = -1 if a[i] is zero, x[i] = 0 - Modified PrintGraph function so that it honors the Page Size setting used in the SETUP/PRINTER OPTIONS menu setting. This will provide up to four graphs per printed page. High resolution printing is recommended for the Quarter Page setting. - Fixed problem with Yes/No responses for international users. - Added #COMPRESS command. Specify W,M,Y, or n for Weekly, Monthly Yearly, or by "n" bars. - Added COMPRESS option for Selection and Profit Test options - Added Minumum Quotes setting to Profit Test - Added Fixed commission amount to Profit Test - Added ability to sort ticker list from ticker selection screen. - Removed "Do you want to quit" interrogation from the main menu. Version 5.06, April 4, 1993 - Added LINECOLORS function to set the colors of lines drawn on a graph. The color variable names are: _BLACK _BLUE _GREEN _CYAN _RED _MAGENTA _BROWN _LIGHTGRAY _DARKGRAY _LIGHTBLUE _LIGHTGREEN _LIGHTCYAN _LIGHTRED _LIGHTMAGENTA _YELLOW _WHITE Each array drawn by the Graph command will take the color given by the LINECOLORS i-th argument. See the BBAND.TAS script example for the use of the colors to set both the top and bottom Bollinger Bands to light red. LINECOLORS with no arguments will reset the colors to the default settings. - Added BGcolor(color) function to set the background color of a graph - Added TextColor(color) function to set the text color (legends annotations, dates) of a graph Version 5.10, April 8, 1993 - Added ASeek(h,s) function that looks for a record starting with the initial string value "s" in the file opened with handle "h". If the string "s" is found, the function returns 1, otherwise it returns 0. As an example of use, suppose you have a file that contains the ticker symbol and the P/E in a file called PE.DAT. Then, if you do Prolog handle = AOpen('PE.DAT','r'); if ASeek(handle,TICKER) = 1 Then Begin t : String; pe: Number; AGet(handle,t,pe); Writeln(t,pe); End; You will get a listing of ticker symbols and P/E's for those found in the file. Be sure to AClose the file in your Epilog. See the sample script AIO.TAS and AIO.DTA for a complete example.