How to save layouts that hold individual parameter values for different symbols.
By default the values of parameters for given indicator pane are the same (shared) for all symbols. If you want per-symbol parameters, you need to apply technique descibed in this short article. (more…)
Filed by support at 5:42 am under Charting
No Comments
September 29, 2006
How to set individual trading rules for symbols in the same backtest
The following code shows how to use separate trading rules for several symbols included in the same backtest. (more…)
Filed by support at 6:55 am under AFL, Systems
No Comments
Stops priority in the default backtest procedure in AmiBroker
The order stops are triggered in the backtest is the following:
- Fixed Ruin stop (loosing 99.96% of the starting capital)
- Max. loss stop
- Profit target stop
- Trailing stop
- N-bar stop* (see below)
In versions 4.61 and higher: you can decide if N-BAR stop has the lowest or the highest priority. (more…)
Filed by support at 6:48 am under AFL, Systems
No Comments
September 1, 2006
How to change property for multiple symbols at once.
In order to automatically change a property for many symbols - instead of manual action in Symbol -> Information dialog one can use OLE automation.
For example - to unmark “Use only local database” option for all the symbols, it’s enough to run such SCAN: (more…)
Filed by support at 10:03 am under AFL
3 Comments
Price chart with independent style
If one wants to display a Candlesticks in one chart pane and Bars in another one, then it’s necessary to use a formula which does not read the settings from: View -> Price Chart Style.
The following custom Price formula allows to achieve this: (more…)
Filed by support at 9:54 am under AFL, Indicators
No Comments
August 9, 2006
AmiBroker for FOREX
Here is an article that tells you everything you need to know about using AmiBroker for trading FOREX markets. (more…)
Filed by support at 2:56 am under AFL, AmiQuote, Data, Indicators, Systems
3 Comments
How to display arrows for trades generated in backtest?
In order to display trade arrows, first of all - it’s necessary to enable the arrows for particular chart. To do so - right-click on the chart pane of your choice, choose: Parameters -> Axes&Grid, then set: Show trading arrows to YES, as shown in the screenshot. (more…)
Filed by support at 2:54 am under Indicators, Systems
5 Comments
May 6, 2006
Discretionary Equity
In the March 2006 “Letters to S&C” section I found the following request:
“I am looking for and add-on […] that would enable me to build an equity curve from buy/sell signals that the trader directly draws over the price graph of a commodity; for example, using specific active vertical lines. Such a software would be of great help for discretionary traders to validate their semiautomatic systems. — PH CHAMBAULT”
And I just thought that it would be nice example of using AFL’s Equity() function and ParamTrigger()
Filed by Tomasz Janeczko at 9:06 am under AFL, Indicators
7 Comments
April 24, 2006
Using redundant signals for entries
NOTE: THIS ARTICLE IS NOW OUTDATED AS AMIBROKER SUPPORTS NEW BACKTEST MODE THAT HANDLES THIS NATIVELY http://www.amibroker.com/f?setbacktestmode
The sample code below shows how to use custom portfolio backtester procedure to change the way backtester works. Normally buy is matched against sell and redundant buy signals between initial buy and matching sell are removed as shown in the picture there:
http://www.amibroker.com/gifs/bt_regular.gif
The procedure below changes this behaviour and allows to use redundant signals (they are not removed).
Filed by Tomasz Janeczko at 5:50 am under AFL, Custom Backtest
15 Comments
