Preferences window

Charting tab - allows you to modify charting options

Color tab - allows to define colors for particular chart element.

The controls provide user definable color selection for charts, grid & background.

Palette editor - allows to modify custom colors that can be referenced later via colorCustom0..colorCustom15 constants

Editor tab - controls the appearance and features of AFL editor.

Data tab - allows you to define default, global values for all databases.

IMPORTANT: some of these settings may get overwritten by PER-DATABASE settings in File->Database Settings window. See explanation in Tutorial: Understanding database concepts.

Intraday tab - provides settings for intraday charting

 

 

 

 

Alerts tab - It allows to define e-mail account settings, test sound output and define which parts of AmiBroker can generate alerts via AlertIF function.

E-mail settings page now allows to choose among most popular authorization schemes like: AUTH LOGIN (most popular), POP3-before-SMPT (popular), CRAM-MD5, LOGIN PLAIN.

Enable alerts from checkboxes allow you to selectively enable/disable alerts generated by Automatic analysis, Commentary/Interpretation and custom indicators.

Keyboard tab

Allows you to define and/or modify keyboard shortcuts for menu items / commands.

To assign a shortcut key

On the Tools menu, click Preferences, and then click the Keyboard tab.

In the Categories list, select the menu that contains the command to which you want to assign the shortcut key.

In the Commands list, select the command to which you want to assign the shortcut key.

Put the cursor in the Press New Shortcut Key box, press the shortcut key or key combination that you want, and click Assign.
If you press a key or key combination that is invalid, no key is displayed. You cannot assign key combinations with ESC, F1, or combinations such as CTRL+ALT+DEL that are already being used by your operating system.

If you press a key or key combination that is currently assigned to another command, that command appears under Currently Assigned To.

To delete a shortcut key

On the Tools menu, click Preferences, and then click the Keyboard tab.

On the Categories, and Commands lists, select the location for the shortcut key you want to delete.

In the Current Keys list, select the shortcut key you want to delete and click Remove.

To reset all shortcut keys to their default values

On the Tools menu, click Preferences, and then click the Keyboard tab.

Click Reset All.

 

AFL tab

 

Currencies tab


This page allows to define base currency and exchange rates (fixed or dynamic) for different currencies. This allows to get correct backtest results when testing securities denominated in different currency than your base portfolio currency. For more details please check Tutorial: Pyramiding and multiple-currency support in the backtester.

How does AB know whether I want the fixed or dynamic quote?

There are following requirements to use currency adjustements:
a) Symbol->Information, "Currency" field shows currency different than BASE currency
b) Appropriate currency (defined in Symbol) has matching entry in Preferences->Currencies page
c) the dynamic rate "FX SYMBOL" defined in the preferences EXISTS in your database and HAS QUOTES for each day under analysis range.

What is "INVERSE" check box for in the preferences?

Let's for example take EURUSD.

When "USD" is your BASE currency then EUR exchange rate would be "straight" EURUSD fx (i.e. 1.3).
But when "EUR" is your BASE currency then USD exchange rate would be INVERSE of EURUSD (i.e. 1/1.3).
Opposite would be true with FX rates like USDJPY (which are already "inverse").