<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5" -->
<rss version="0.92">
<channel>
	<title>AmiBroker Knowledge Base</title>
	<link>http://www.amibroker.com/kb</link>
	<description>Providing you with tips &#038; tricks for everyday AmiBroker use</description>
	<lastBuildDate>Thu, 24 Apr 2008 08:46:08 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Big symbol text in the background</title>
		<description>Recently I heard the suggestion to add a security symbol written in big letters in the chart background. Well, actually it is pretty simple to do using low-level gfx. Just add this code sniplet anywhere in your chart formula.


GfxSetOverlayMode(1);
GfxSelectFont("Tahoma", Status("pxheight")/2 );
GfxSetTextAlign( 6 );// center alignment
GfxSetTextColor( ColorRGB( 200, 200, 200 ) ...</description>
		<link>http://www.amibroker.com/kb/2008/04/21/big-symbol-text-in-the-background/</link>
			</item>
	<item>
		<title>Getting started with automatic Walk-Forward optimization</title>
		<description>Recently released AmiBroker 5.05 BETA features the automatic Walk-Forward Optimization mode.

The automatic Walk forward optimization is a system design and validation technique in which you optimize the parameter values on a past segment of market data ("in-sample"), then test the system forward in time on data following the optimization segment ...</description>
		<link>http://www.amibroker.com/kb/2008/02/12/getting-started-with-automatic-walk-forward-optimization/</link>
			</item>
	<item>
		<title>Low-level gfx example: Yearly/monthly profit chart</title>
		<description>The code below is an little bit more complex example of Low Level Graphics functions (see http://www.amibroker.com/guide/a_lowlevelgfx.html)

It allows to display three kinds of charts:


yearly/monthly profit table
yearly profit bar chart
average monthly profit bar chart


The type of chart is switchable from Parameters dialog.

It should be applied to ~~~EQUITY - portfolio equity symbol ...</description>
		<link>http://www.amibroker.com/kb/2007/10/11/low-level-gfx-example-yearlymonthly-profit-chart/</link>
			</item>
	<item>
		<title>AmiQuote and free data from Yahoo</title>
		<description>There are a couple of things you need to know about Yahoo Finance pages that AmiQuote uses to download "historical" and "current" quotes.

Current quotes are quotes for current day (or previous day if there is no trading session today). For example MSFT current quote page is here:
http://finance.yahoo.com/q?s=MSFT
AmiQuote uses rather "download ...</description>
		<link>http://www.amibroker.com/kb/2007/08/04/amiquote-and-free-data-from-yahoo/</link>
			</item>
	<item>
		<title>How to display the indicators based on Advances/Declines</title>
		<description>In order to display indicators based on Advances/Declines first of all it's necessary to calculate composities in the database:

	Open Categories window using Symbol-&#62;Categories menu item.

Select base index for given market in Markets tab and Base indexes for - Composites combo.
For example if you are following NYSE this can by ^DIJ ...</description>
		<link>http://www.amibroker.com/kb/2007/07/30/how-to-display-the-indicators-based-on-advancesdeclines/</link>
			</item>
	<item>
		<title>How to detect the divergences</title>
		<description>There are many different ways to check for divergences. One of the simplest is to use Rate of change indicator and EXPLORATION feature of Automatic Analysis window:

- Analysis -&#62; Formula Editor
- enter:
 

// 5 day rate of change of close
PriceUp = ROC( C, 5 ) > 0 ; 
// 5 day ...</description>
		<link>http://www.amibroker.com/kb/2007/07/17/how-to-detect-the-divergences/</link>
			</item>
	<item>
		<title>How to detect the study crossover for multiple symbols with use of SCAN</title>
		<description>It's possible to use Automatic Analysis window to search for trendline (or other study) crossovers for multiple symbols at once. It's necessary to do the following:

1. Draw trendlines on the chart and assidn them a STUDY ID - two letter code that allows to recognise the particular study. To do ...</description>
		<link>http://www.amibroker.com/kb/2007/05/14/how-to-detect-the-study-crossover-for-multiple-symbols-with-use-of-scan/</link>
			</item>
	<item>
		<title>New keywords in AFL and possible conflict with user-defined variables</title>
		<description>AmiBroker 4.91.0 BETA introduced the following new keywords:
 
switch, case, break, continue, default

You have to make sure that your formulas do not use them as variable names. The above words are now reserved AFL keywords and if you use them for your own variables you need to replace this identifiers ...</description>
		<link>http://www.amibroker.com/kb/2007/04/05/new-keywords-in-afl-and-possible-conflict-with-user-defined-variables/</link>
			</item>
	<item>
		<title>How to chart spreads?</title>
		<description>To create a spread chart (and other multi-security indicators / statistics etc.) one can use FOREIGN function which allows to refer to other symbols than currently selected:

It's necessary to do the following:
- Analysis -&#62; Formula Editor
- enter the formula:




spread = Foreign( "ticker1", "C") - Foreign( "ticker2", "C");
Plot( spread, "spread", colorRed); ...</description>
		<link>http://www.amibroker.com/kb/2007/03/26/how-to-chart-spreads/</link>
			</item>
	<item>
		<title>How to plot a trailing stop in the Price chart</title>
		<description>In this short article we will show how to calculate and plot trailing stop using two different methods. 

First method uses looping and it does not use ApplyStop() function as it does not plot stops - it only triggers them in backtest mode. The stop % level can be adjusted ...</description>
		<link>http://www.amibroker.com/kb/2007/03/24/how-to-plot-a-trailing-stop-in-the-price-chart/</link>
			</item>
</channel>
</rss>
