http://www.amibroker.com/guide/h_backtest.html
Bill ----- Original Message ----- From: "Walter Lepore" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, November 16, 2007 12:58 PM Subject: [amibroker] Newbie question > Hi Members > > Thanks for allowing me to join. I've been active in the markets since > 1987, I have written maybe 2 or 3 tiny programs in C while I was > attempting to learn the language a few years ago. > > I apologize if this question is too basic for this group. If so, > please point the way to where newbie questions can be answered. > > I have owned Tradestation 2000i in the past. I never quite found the > time to learn their Easy Language. I am now making a commitment to > learn a programming language for back testing without having to pay > too much for the software. Amibroker fits my budget nicely. I like the > program. I'm currently running their trial version and learned most of > the commands on how to download data and run tests. I'm using the AFL > wizard to build my systems. > > Can someone please tell me how to make my trades appear ON THE CHART > so I can actually see the back testing results visually? I wrote a > simple program (for testing purposes). The code is: > > Buy = Close > MA( Close , 30 ); > > Sell = Close < MA( Close , 30 ); > > Short = 0; > > Cover = 0; > > The problem is I can't see my trades on the chart and I don't see a 30 > day Moving average on the chart. All the trades appear in the > Automatic analysis window (when I click on "Report") but I'd also like > to see every thing I coded on the chart as well. I'm back testing my > code on SPY (S&P 500). > > Also, I'd like to compare my results against the results of a simple > "Buy and Hold" strategy (If someone simply bought SPY only one time > and is still holding on to it). Is there anyway to show the "Buy and > Hold results when I click "report" in the automatic analysis window? > > Thank you for all your patience. > Walter Lepore > > > > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > Yahoo! Groups Links > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.486 / Virus Database: 269.15.34/1134 - Release Date: 11/16/2007 > 9:52 AM > >
