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
