In the attached AFL (code file for AmiBroker version 6.1), I have developed a simple code to obtain some statistic about the outcome of the investment. The goal is to compute the monthly returns, the mean and variance of the monthly returns, and the mean and variance of drawdowns. I wish to add these values in the Backtester columns , so to use them to rank different trading systems or to perform some optimization using them as a parameter. The code is finished and there are no more lines to be written, but the are errors because I am not proficient in Amibroker AFL or C+, and so it doesn’t work properly.
AFL code and other details on your acceptance.
This should be a pretty quick and easy AmiBroker debugging task, the help is to save time on the whole project: but there may will be further tasks like this, because the project is developing fast in many directions, and I am also interested in find a freelancer for future helps. Please quote your price and time to delivery. Thanks.
Regards .
9 years experience in software development including Perl, some C++. I have worked on IBM's enforcement layer software test architecture in C++ which uses overloading, inheritance etc. General understanding of C/C++ as well.