- Joined
- 14 April 2007
- Posts
- 317
- Reactions
- 0
Hi Chorlton --
Two possibilities come to mind --
1. Save the code in the /include subdirectory and have AmiBroker merge it into your new system with the #include directive. See page 120 of Quantitative Trading Systems.
2. Compile your stop loss as a dll, save it in the /plugins subdirectory, and call it whenever you need it. See Appendix A.
Will either of these work?
Thanks,
Howard
INDIVIDUAL BACKTEST
A quick look in help comes back with...
AA Settings -Report Tab
Generate detailed reports for individual backtests
This causes that in Individual backtest mode full report is generated and stored for every security under test. Note that this will slow down the test and take up quite a bit of hard disk space
For those who use AB
ones I should really focus on.
Hello All,
With reference to Backtesting, AB offers many, many statistics as part of the Results of a BackTest. CAR, RAR, MaxDD, Recovery factor, Sharpe ratio, CAR/MDD, RAR/MDD, Profit Factor, Payoff ratio, etc etc to name but a few !!!!
As a result, I've after some suggestions from those who are experienced with both AB and System Development, as to which ones I should really focus on.
I appreciate that some of this is down to the individual but any general guidance would be most welcome.
So far, I've only really been concentrating on MaxDD, Sharpe Ratio, % Profit, # of Trades.
All comments welcome
Hi Chorlton --
I know you have a copy of Quantitative Trading Systems. Reread the parts that talk about defining your own objective functions.
The purpose of defining your own objective function is so that you will have confidence that the systems that rank best when you go through the walk-forward process are ones you will be comfortable with.
Thanks,
Howard
"information overload" !!
Chorton,
This is why I wrote above that having a look at the equity curve with your eyes is the most important.
Simply plotting the AB equity curve will display a picture of those statistics which is way better than looking at the numbers. If you see something you like, then have a look at those numbers which you can use further as shown in Howards bible! At this stage, my preference is huge profit with an equity curve as straight as a ruler pointing north
# of trades is important depending on how much time you have to trade.
SB
Hi Sir Burr --
Yes, an equity curve with a high annual return and low drawdown is desirable to almost all of us.
Plotting the equity curve and examining it visually is exactly the technique I recommend for choosing a good objective function -- see page 324 of Quantitative Trading Systems.
Thanks,
Howard
Almost?Yes, an equity curve with a high annual return and low drawdown is desirable to almost all of us.
oooops yes, good stuff.Plotting the equity curve and examining it visually is exactly the technique I recommend for choosing a good objective function -- see page 324 of Quantitative Trading Systems.
Hi Howard,
AS an example, lets say that amongst the list of transactions offered up by the system, there is a hugh winner, returning 500% profit and the rest of the transactions (overall) are mildly profitable. If that huge winner is amongst one of the first few transactions to execute, the end result of the equity curve could well be a very big figure simply because the transactions that follow the huge winner would have benefited from a larger position sizing due to the profits accrued from that big winner.
Bingk6
Hi Bing --
If a system is characterized by a few large winners, then the equity curve will not be smooth.
If the equity curve is smooth, then the order of the trades makes little difference.
Thanks,
Howard
For Oz stocks?I'm having a lot of trouble getting the IB data into Amibroker at the moment. I've tried everything I can find, followed all the tutorials and everything, and I'm not sure why it isn't working. I just keep getting this bubble flashing up in the bottom right hand corner, saying "symbol invalid, consult symbology guide". I've tried dozens of different symbol combinations I though might work as well, but nothing.
It also seems to need to ask to be continually connected as well, which doesn't seem normal. Any helpers? Because I'm pretty stumped.
Should be something like XYZ-ASX
...and have you ticked "configure/tools/enable activex & socket clients" in TWS?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?