Friday, December 29, 2006

Martingale Trading

Imagine a trading strategy that is practically 100% profitable - would you be interested? Most traders will probably reply with a resounding "Yes", especially since such a strategy does exist and dates all the way back to the eighteenth century. This strategy is based on probability theory and if your pockets are deep enough, it has a near 100% success rate. Known in the trading world as the martingale, this strategy was most commonly practiced in the gambling halls of Las Vegas casinos and is the main reason why casinos now have betting minimums and maximums and why the roulette wheel has two green markers (0 and 00) in addition to the odd or even bets. The problem with this strategy is that in order to achieve 100% profitability, you need to have very deep pockets - in some cases, they must be infinitely deep. Unfortunately, no one has infinite wealth, but with a theory that relies on mean reversion, one missed trade can bankrupt an entire account.Also, the amount risked on the trade is far greater than the potential gain. Despite these drawbacks, there are ways to improve the martingale strategy. In this article, we'll explore the ways you can improve your chances of succeeding at this very high risk and difficult strategy.

What is Martingale Strategy?

Popularized in the eighteenth century, the martingale was introduced by a French mathematician by the name of Paul Pierre Levy. The martingale was originally a type of betting style that was based on the premise of "doubling down". Interestingly enough, a lot of the work done on the martingale was by an American mathematician named Joseph Leo Doob, who sought to disprove the possibility of a 100% profitable betting strategy.

The mechanics of the system naturally involve an initial bet; however, each time the bet becomes a loser, the wager is doubled such that, given enough time, one winning trade will make up all of the previous losses. The introduction of the 0 and 00 on the roulette wheel was used to break the mechanics of the martingale by giving the game more than two possible outcomes other than the odd vs. even or red vs. black. This made the long-run profit expectancy of using the martingale in roulette negative and thus destroyed any incentive for using it.

To understand the basics behind the martingale strategy, let's take a look at a simple example. Suppose that we had a coin and engaged in a betting game of either head or tails with a starting wager of $1. There is an equal probability that the coin will land on a head or tails and each flip is independent, meaning that the previous flip does not impact the outcome of the next flip. As long as you stick with the same directional view each time, you would eventually, given an infinite amount of money, see the coin land on heads and regain all of your losses plus $1. The strategy is based on the premise that only one trade is needed to turn your account around.

Examples
Scenario No.1 (Head or Tails 50/50 Chance):

Assume that you have a total of $10 to wager, starting with a first wager of $1. You bet on heads, the coin flips that way and you win $1, bringing your equity up to $11. Each time you are successful, you keep on betting the same $1 until you lose. The next flip is a loser and you bring your account equity back to $10. On the next bet, you wager $2 in the hope that if the coin lands on heads, you will recoup your previous losses and bring your net profit and loss to zero. Unfortunately, it lands on tails again and you lose another $2, bringing your total equity down to $8. So, according to martingale strategy, on the next bet you wager double the prior amount (or $4). Thankfully, you hit a winner and gain $4, bringing your total equity back up to $12. As you can see, all you needed was one winner to get back all of your previous losses.

However, let's consider what happens when you hit a losing streak like in scenario No.2:


Once again, you have $10 to wager with a starting bet of $1. In this scenario, you immediately lose on the first bet and bring your balance down $9. You double your bet on the next wager, lose again and end up with $7. On the third bet, your wager is up to $4, your losing streak continues and now you are down to $3. You do not have enough money to double down and the best you can do is bet it all. If you lose, you are down to zero and even if you win, you are still far from your initial $10 starting capital.

Trading Application
You may think that the long string of losses such as in the above example would represent unusually bad luck, but when you trade currencies, they tend to trend and trends can last for a very long time if you are caught in the wrong direction. However, the key with martingale when applied to trading is that by "doubling down" you in essentially lower your average entry price. In the example below, at two lots, you need the EUR/USD to rally from 1.2630 to 1.2640 to break even. As the price moves lower and you add four lots, you only need it to rally to 1.2625 instead of 1.2640 to break even. The more lots you add, the lower your average entry price. Even though you may lose 100 pips on the first lot of the EUR/USD if the price hits 1.2550, you only need the currency pair to rally to 1.2569 to break even on your entire holdings. This is also a clear example of why deep pockets are needed. If you only have $5,000 to trade, you would be bankrupt before you were even able to see the EUR/USD reach 1.2550. The currency may eventually turn, but with the martingale strategy, there are many cases when you may not have enough money to keep you in the market long enough to see that end.

No comments: