Quantcast
Channel: AmiBroker Knowledge Base
Browsing all 115 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to create toolbar button for custom interval

IMPORTANT NOTE: Before you add toolbar buttons for dozens of intervals please note that any interval can be picked from Interval Selector combo-box. If given interval is not present, you can just type...

View Article


Image may be NSFW.
Clik here to view.

Using per-symbol parameter values in charts

Parameter values in AmiBroker are stored separately for each ChartID. A ChartID is a number that uniquely identifies chart. This makes it possible that parameters having same name can hold different...

View Article


Indicators based on user values rather than standard OHLC prices

Sometimes we may want to calculate indicators based not only on standard OHLC prices but on some other user-definable values. Some functions like RSI or CSI have additional versions (RSIa, CCIa...

View Article

Image may be NSFW.
Clik here to view.

How to sync a chart with the Analysis window

When we want to sync a chart with the selected symbol in the Analysis results list, it is enough just to double-click on the particular line in the list and AmiBroker will automatically switch the...

View Article

Image may be NSFW.
Clik here to view.

How to adjust the number of blank bars in right margin

The default number of bars shown in the right-hand side of the chart area is defined in Tools->Preferences->Charting: It is also possible to extend the blank bars area manually. Pressing END key...

View Article


Image may be NSFW.
Clik here to view.

Troubleshooting procedure when backtest shows no trades

When we run backtest and get no results at all – there may be several reasons of such behaviour. The main potential causes are the following: our system does not generate any entry signals within the...

View Article

Image may be NSFW.
Clik here to view.

How to configure alerts to work with SSL e-mail accounts

In order to send e-mail alerts to accounts requiring SSL (secure socket layer) connection you need to follow these steps: Download and run SSL add-on from: http://www.amibroker.com/bin/SSLAddOn.exe....

View Article

Image may be NSFW.
Clik here to view.

How to add exploration results to a watchlist

In order to add analysis results to a selected watchlist manually, we can use context menu from the results list: There is, however, a way to automate this process and add the symbols to a watchlist...

View Article


How to export quotes to separate text files per symbol

The following KB article: http://www.amibroker.com/kb/2006/03/04/how-to-export-quotations-from-amibroker-to-csv-file/ already explained how to use exploration to export quotes into a single text / CSV...

View Article


Image may be NSFW.
Clik here to view.

How to plot daily High and Low on intraday chart

The AFL offers a set of time-frame functions which allow to use multiple intervals within a single formula (the topic is explained in details in the following tutorial chapter:...

View Article

How to display indicator values in the backtest trade list

Backtesting engine in AmiBroker allows to add custom metrics to the report, both in the summary report and in the trade list. This is possible with Custom Backtester Interface, which allows to modify...

View Article

Using loops with TimeFrame functions

AmiBroker features a powerful set of TimeFrame functions that allow combining different time intervals in single system formula. There is one aspect of TimeFrame functions that is important to...

View Article

Handling limit orders in the backtester

In order to simulate limit orders in backtesting it is necessary to check in the code if Low price of the entry bar is below the limit price we want to use. The following example shows an entry signal...

View Article


How to synchronize backtesting setup on different computers

When comparing the output of back-tests obtained from different working machines, it is necessary to make sure that all aspects of our testing are identical, including: the database the formula used...

View Article

How to restrict trading to certain hours of the day

In order to include time-based conditions in the back-testing code – we can use TimeNum() function to check the time-stamp of given bar and use it as input for any time-based conditions....

View Article


Image may be NSFW.
Clik here to view.

How to measure price / percentage distance on the chart

The easiest way to manually measure distance between two points on the chart is to use a regular trend-line drawing tool for this purpose. First we need to draw the line between the selected points...

View Article

Image may be NSFW.
Clik here to view.

How to find correct symbol for Interactive Brokers data

Sometimes Interactive Brokers symbology may be difficult to figure out. It is however very easy to find out proper symbol using Contract Description window in the TWS. The general format for symbols...

View Article


Image may be NSFW.
Clik here to view.

How to verify if EOD data is available for download at Google Finance

AmiQuote downloader allows to get free quotes from a number of sources included Google Finance. AmiQuote works like a specialized web-browser, so the quotations can be downloaded if they are accessible...

View Article

Image may be NSFW.
Clik here to view.

How to display correlation between symbols

For the purpose of calculating the correlation between two data-arrays, there is a Correlation() function in AFL which can be used. In order to display a correlation chart, please select...

View Article

Image may be NSFW.
Clik here to view.

How to backtest symbols individually

By default, when we run backtest over a group or watchlist of symbols – AmiBroker will perform a portfolio test. However, there is also an Individual mode of the backtest available, where every symbol...

View Article
Browsing all 115 articles
Browse latest View live