GreatPig
Pigs In Space
- Joined
- 9 July 2004
- Posts
- 2,368
- Reactions
- 14
I've created another plugin for AmiBroker that implements the Automatic Investment Management (AIM) algorithm devised by Robert Lichello.
The attached ZIP file contains the plugin DLL, an indicator AFL file, and instructions in a PDF file.
For more information about AIM, see here and here.
For AIM to give good results, wide-ranging volatility is needed. Try it with stocks like SSI, NRT and PTD. And to see where it can go bad if the stock falls and stays down with little volatility, take a look at AMP.
In general though, for most stocks in the top 200 or so over the last decade, straight buy and hold will often outperform AIM due to the bull market. AIM was designed for stocks ranging sideways rather than uptrending. And AIM is an investing method rather than trading method, with trades typically only checked for something like weekly, monthly, or even quarterly - presumably depending on how fast-moving the stock is. With this plugin, you can play around with all these parameters.
In my opinion, to use this trading method with a stock, you'd want to be fairly confident that the company wasn't going to go broke and that its price will recover at some stage before following all the buy orders as the price falls. Ultimately though, buying will be limited by the available cash reserve.
Let me know if you have any problems with the plugin. And I don't guarantee that the calculations are entirely accurate, although to the best of my knowledge they are, so use this plugin at your own risk. If in doubt, hand-calculate an example to see if you get the same results.
Cheers,
GP
The attached ZIP file contains the plugin DLL, an indicator AFL file, and instructions in a PDF file.
For more information about AIM, see here and here.
For AIM to give good results, wide-ranging volatility is needed. Try it with stocks like SSI, NRT and PTD. And to see where it can go bad if the stock falls and stays down with little volatility, take a look at AMP.
In general though, for most stocks in the top 200 or so over the last decade, straight buy and hold will often outperform AIM due to the bull market. AIM was designed for stocks ranging sideways rather than uptrending. And AIM is an investing method rather than trading method, with trades typically only checked for something like weekly, monthly, or even quarterly - presumably depending on how fast-moving the stock is. With this plugin, you can play around with all these parameters.
In my opinion, to use this trading method with a stock, you'd want to be fairly confident that the company wasn't going to go broke and that its price will recover at some stage before following all the buy orders as the price falls. Ultimately though, buying will be limited by the available cash reserve.
Let me know if you have any problems with the plugin. And I don't guarantee that the calculations are entirely accurate, although to the best of my knowledge they are, so use this plugin at your own risk. If in doubt, hand-calculate an example to see if you get the same results.
Cheers,
GP