My favorite investment advice comes from the late Harry Browne. I think he would say that you can't invent a good trading algorithm for one investment alone. Instead you should consider your
entire net wealth first, and see how that one investment fits into the picture.
Browne suggested dividing your assets into two categories (or "portfolios"):
- PERMANENT PORTFOLIO: The goal here is to not lose any money. If you're lucky, you might see small gains (after inflation and taxes), but the main purpose is to accumulate savings without losing value. Browne recommended putting equal amounts into physical gold, volatile stocks, long-term government bonds, and cash, because these investments tend to move in opposite directions from each other.
- VARIABLE PORTFOLIO: This is the money you use to try to beat the market and (with luck) make huge gains. You must be prepared to lose 100% of this money. Anything that you can't afford to lose should be in the Permanent Portfolio, not here.
So your first step is to figure out how much money you, personally, are willing to risk in the Variable Portfolio, vs how much you want to keep safe in the Permanent Portfolio. There isn't any universal answer to this -- it depends on your personal finances, your age, your health, how many dependents you have, etc. You can figure the split as a percentage, or as a fixed amount, or as a combination of both -- for example:
- Permanent Portfolio = 80% of total assets, but not less than $250,000
- Variable Portfolio = everything else
Within the Variable Portfolio, ask yourself "If I were buying Investment X today, how much of it would I buy?" Make it a fixed percentage of your total Variable Portfolio. Buy or sell until you have that amount.
Periodically, add up all your investments and rebalance them according to the percentages you've set for yourself (and don't change those percentages unless you have new information or a big change in your personal circumstances).
How often is "periodically"? That depends on how volatile your investments are, whether you have recently earned or spent a lot of money, and how much time you're willing to spend. I don't have any Bitcoin myself, but if I did, I would probably be rebalancing my investments every week.
That's as close as I can come to an algorithm.