Select Page

# Should You Use the Kelly Criterion for Forex Trading?

Aug 27, 2021

The Kelly criterion is a famous mathematical formula that attempts to maximize your long-term capital growth.

In this post, I’ll apply it to a EURUSD breakout strategy and explain some of its potential shortcomings when applied to forex trading.

Traders often search for better position sizing methods to amplify their strategy’s edge.

The Kelly criterion is one option that often pops up in forex forums.

Since it is particularly popular in the gambling world, it naturally attracts much skepticism from traders.

Is it really that bad? Let’s find out!

## What’s the Kelly Criterion?

The Kelly criterion is used to determine the optimal bet size that will maximize your strategy’s long-term returns.

To apply it, you need to know your strategy’s win rate and expected returns.

Here’s how it’s calculated for gambling:

Let’s start by determining the value of b.

For example, if your strategy contains a \$10 stop loss and a \$10 profit target, b will be 1.

If you raise your profit target to \$20, without moving your stop loss, b will be 2.

For a strategy with an equal stop loss and profit target (1-to-1 odds in gambling), and a 60% win rate, the Kelly criterion produces an optimal bet size of 20% of your account.

If your strategy’s expectancy (average trade) is zero, the Kelly criterion wisely gives you a bet size of zero.

You can use this Kelly calculator to speed up the process.

## Applying the Kelly Criterion to Forex

To evaluate the usefulness of the Kelly criterion, I’ll apply it to a 15-minute EURUSD strategy.

This strategy uses the CCI indicator to detect breakouts, and has a 150-pip stop loss and profit target.

Here’s an example of the strategy in action:

When trading a fixed 0.1 lots throughout the backtest, the strategy yields a pleasant equity curve from 2003 to 2021.

Now let’s apply the Kelly criterion.

With a win rate of 57%, the Kelly criterion tells me I should risk 14% of my account per trade.

### Backtest Results

Returns are spectacular! After 587 trades, my account grew from \$5000 to \$210 000, a 4100% return.

Returns are only part of the equation though.

Unfortunately, with an 8-trade losing streak, the strategy had a whopping 71% maximum drawdown.

With such a drawdown, you’ll need 250% returns just to break even. This is the price to pay if you’re after massive returns.

Traders often overestimate the amount of drawdown they can tolerate in real-time.

Backtests offer the benefit of hindsight; in reality you’ll have to trade through the drawdowns without knowing whether your account will recover.

I’ll need to lower the strategy’s drawdown by risking a smaller fraction of capital per trade. Let’s run the numbers.

## Tailoring Fixed Fractional Position Sizing

I varied the fraction of account risked from 1-8%, as shown:

If I were to trade this strategy in isolation, I wouldn’t risk more than 4% per trade, which produces a 27% maximum drawdown.

At this risk level, the strategy still achieved a 9% annual return over 18 years. Nothing like the Kelly returns, but at least I won’t lose sleep at night.

If you’re hungry for better performance, a prudent option will be to trade a portfolio of uncorrelated strategies. Returns are additive, but drawdowns are not, thus giving you better risk-adjusted performance.

## Why the Kelly Criterion Isn’t Recommended for Forex Trading

There are two reasons why I believe the Kelly criterion is better suited to the realm of gambling.

### 1. Does Not Consider Risk

From the example above, you can see the Kelly betting fraction tends to produce huge drawdowns.

This is because its sole purpose is to maximize your long-term returns, without taking drawdown into consideration.

Drawdowns above 50% would be unbearable for the majority of traders.

Even if you’re emotionally detached from drawdowns, be wary that a backtest only represents a single historical run for the strategy. If I were to take the strategy above and trade it for the next 18 years, the equity curve would look different.

For the backtest above, I got lucky because the strategy performed fairly consistently over time. If my losing streak had been longer than 8 trades, the 14% bet size could have resulted in a margin call.

You can simulate alternative backtest runs by randomizing your trade sequence. StrategyQuant’s Monte Carlo simulator can help with this.

### 2. Only Applies to Binomial Outputs

The Kelly criterion has the following requirements:

• Every trade either results in a win or a loss
• Your win and loss amounts are fixed

For the EURUSD strategy above, each trade would result in either a 150-pip gain or loss.

If you use a fixed stop loss and profit target for your strategy, this won’t be a problem.

For example, if you’re a long-term trend follower who lets your profits run, your winning trades could be anywhere from 1 to 1000 pips.

Consider the trade distribution below, taken from a trend following strategy.

The Kelly criterion cannot meaningfully analyze such a distribution, which severely limits its usefulness in trading.

## Wrapping Up

The Kelly criterion is an aggressive position sizing method that serves to maximize your long-term returns, without taking drawdowns into consideration.

Statistics will vary for different strategies, but most traders will likely find the Kelly-induced drawdowns to be unbearable.

Together with its limited applicability to most trading strategies, I can only recommend the Kelly criterion if you’re taking part in a trading contest, or going for broke in the short-term.

## Popular Posts

### What is Considered Good Trading Performance?

Are you taking too much risk for too little return? Perhaps the professional hedge funds can help define good trading performance.

### Automated MACD Divergence Forex Trading Strategy

The MACD is a simple and effective momentum indicator. Here’s how you can save screen time by programming a MACD divergence strategy for the GBPJPY!

### Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

### What Is the Kaufman Adaptive Moving Average?

The Kaufman Adaptive Moving Average is a unique indicator that automatically adapts to the market’s noise. Here I explain its inner workings and show you how to build a trend following strategy around it.

### What is Fixed Ratio Money Management?

Have you heard of fixed ratio money management? How does it compare to the popular fixed fractional approach? Here I’ll explain how fixed ratio works, and see how it stacks up against fixed fractional money management.

### Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

### What Is the QQE Indicator?

The QQE is a mysterious indicator that sometimes pops up in trading forums. Does it deserve a place alongside the more traditional momentum indicators like the RSI and CCI? Let’s add it to a trend following strategy to find out!

### Do Bollinger Bands + Candlestick Patterns Work?

Bollinger Bands are great at detecting overbought and oversold conditions. Let’s use them to develop a countertrend strategy, and then refine our entries using limit entries and candlestick patterns.

### How Good Are The Bollinger Bands’ Trailing Stops?

Trailing stop losses are a popular feature in many trend following systems. Bollinger Bands, the ever-popular technical indicator among retail traders, actually contain two inbuilt trailing stops. Are these any good? Let’s find out!

#### Make your money work for you!

Get promotions, trading ideas and strategy development tips delivered to your inbox!

1. The Kelly Criterion value itself can’t be used in trading because it assumes even distribution in the probability of results based on the presumed win rate. In other words, you could get a KC value of 33% risk with a 50% win rate and this of course can’t work because 3 trades would wipe you out. In this example, the KC assumes that if you lose one trade you WILL win the next one because of the presumed 50% win rate.

However, just because the value itself shouldn’t be used, doesn’t mean the math can’t be used to derive something useful. If you divide the KC value by a given number x, the result will be a value that has a probability distribution with a degree of x. So if a KC value of 25% is divided by 10, then 2.5% represents the optimum risk for a probability distribution that accounts for up to 10 consecutive losing trades.

Your solution does this to some degree by lowing the value to some thing more feasible. But if you were to take a derivative of the KC value, you can get an optimal risk according to how likely your system is to lose x trades in a row. So if you backtest your strategy for a long time and found that the max consecutive losses were 5, if you were being aggressive, you could divide the KC value by 5. However any strategy has the possibility to generate more losses in the future so I would divide by a value greater than 5 in order to have a value that is more stable. I generally divide the KC value by 10 only trade strategies with 7 max consecutive losses or less.

• Hi Khari, fantastic points you raised there. To me, the Kelly criterion is a viable starting point for trading, as long as it’s tweaked to be more conservative.

• Hi Wayne，
Could you elaborate on what you mean by more conservative?

• Hi Benny, I would start by looking at the max historical drawdown. The Kelly criterion above produced a 71% max DD, which is likely too much for most people. If you really want to use it, perhaps take half (or even less) of whatever position size it proposes.

2. Khari mentioned we can divide Kelly Criterion sizing to 5 (or more) based on the number of historical consecutive drawdowns. It actually reduces everthing to the typical of position sizing, 1-3%.
Thenthere is no point to do KC.

• Not necessarily true. The purpose of using KC isn’t to take a higher risk per trade. It’s about sizing the trade (or risk) to a level that is optimal based on your win/loss percentage and win/loss amounts. If it was just about taking bigger positions then why use KC at all? Just set a 14% stop loss (insane!), and call it good. KC is about sizing bigger specifically when your win % and win amount merit it and sizing smaller when they don’t.

Also, I’ve not seen any forex traders advocating for using full KC. Most suggest using 1/2 KC. But I really like the idea stated above. Take full KC and divide by past max drawdown to get a KC that won’t have drawdowns that make you want to quit.

But all this is academic from my perspective as I’ve not actually started trading yet, so take it all with a grain of salt. Btw, if you want to know more about Kelly Criterion, get the book “Fortune’s Formula”. Good read.

In the end, it really is all about your mind though. If you’ve got the leverage to maintain the margin requirements in such large positions as 14% or your account in a single position, and the mental fortitude of a monk master and can handle a 70% account drawdown without so much as a single rapid breath…. go for it! But who do you personally know who can make a sound trade decision while looking at their account that only has 30% remaining? Not me. Maybe some day… in 20 years.

## What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

## Forex Weekend Gaps: Can You Exploit Them?

Have you noticed that forex weekend gaps usually reverse within 3 days? Here I’ll program a mean reversion strategy to exploit gaps over the last 18 years!

## Dynamic Position Sizing: Is It Time to Go Big?

Should you increase your lot sizes for higher probability trades? Let’s code a dynamic position sizing scheme to capture more outsized wins!

## Pivot Points: A Reliable Support & Resistance Indicator

Pivot points are the perfect tool if you trade using support & resistance. Here’s how to develop an automated pivot points forex strategy!

## Money Flow Index: An Improved RSI?

The Money Flow Index is sometimes called the volume-weighted RSI. Can it outperform the RSI in this trend following strategy?

## Automated Bollinger Bands Squeeze Forex Strategy

StrategyQuant’s BBWR indicator is the perfect tool to detect a Bollinger Bands squeeze. Here I explain how it’s calculated, and use it to program a breakout strategy for the AUDJPY!

## Automated Schaff Trend Cycle Forex Strategy

The Schaff Trend Cycle is a unique combination of the MACD and Stochastic indicators. Here’s how you can use it to improve your trend following results!

## Forex Intermarket Correlations: How Do You Exploit Them?

Knowledge of intermarket correlations can improve your forex trading win rate. Here I explain three important types of correlations, and how you can use them to benefit your trading.

A temporary trading pause can improve your win rate if you’re trend following a volatile market. Here I’ll program a trading pause into a simple breakout strategy, and test its effectiveness on the Widow Maker – the GBPJPY.

## Can Partial Profit Taking Benefit Trend Followers?

Partial profit taking is a dilemma often faced by long-term trend followers. Could this benefit your overall strategy performance?

Let’s test!

## Ride Breakouts With This Support & Resistance Indicator!

StrategyQuant offers a support & resistance ranking indicator to help detect upcoming breakouts. Use it to program an automated USDJPY strategy!

## Automated MACD Divergence Forex Trading Strategy

The MACD is a simple and effective momentum indicator. Here’s how you can save screen time by programming a MACD divergence strategy for the GBPJPY!

## Catch Breakouts With an Inside Bar Trend Strategy!

Inside bars can be a valuable predictor of trend continuation. Here’s how you can program an inside bar, and use it to improve your trend following strategy!

## Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

## Bollinger Bands Free Bar Trading Strategy

Bollinger Bands are great at predicting upcoming price reversals. Here’s how you can use its ‘free bars’ to build a reliable Asian scalper!

## How to Use the Supertrend Indicator

Despite its cool name, the Supertrend indicator often seems to slip under the radar. Here I explain how it’s calculated, and combine it with moving averages to produce a simple trend following strategy.

## 5 Easy Trailing Stops to Boost Your Trend Following Results

Trailing stops are a popular feature in trend following strategies. They provide downside protection and allow you to ride the big trends. Try out these simple yet effective trailing stops for your next trend strategy!

## Ichimoku Trend Following Strategy

Like candlesticks, the Ichimoku indicator is a fine Japanese creation. Here I’ll explain how the Ichimoku is plotted, and use it to build a trend following strategy for the USDJPY.

## Book Review: Building Winning Algorithmic Trading Systems

Serious traders invest in quality education. Should you read “Building Winning Algorithmic Trading Systems” by Kevin Davey?

## Trade Slippage: How Can You Simulate and Minimize It?

Are you a victim of excessive trade slippage? Here’s how you can minimize slippage, and more realistically simulate it in your backtests!

## Edge Ratio: A Unique Way to Quantify Entry Profitability

Selecting a profitable entry is a critical step in strategy development. Here I’ll demonstrate how to use the Edge Ratio to maximize your profit potential.

## Using Maximum Adverse Excursion for Stop Loss Placement

A catastrophic stop loss is a vital risk management tool for many traders. Here I’ll show you how to optimize your stop loss distance using maximum adverse excursion.

## Multiple Timeframe Backtesting – A Quick Robustness Test

Multiple timeframe backtesting can be a valuable addition to your strategy development workflow. Here I explain why you should do it, and how to conveniently do it in MT4 and StrategyQuant.

## How to Get a Realistic Backtest Spread

Your choice of backtest spread can certainly make or break a strategy. This post will show you how to study the intraday spread variations of your market, and suggest several ways to avoid paying ridiculous spreads.

Risk of ruin is a useful metric to help develop trading strategies that suit your risk appetite. This post explains how to calculate your risk of ruin, and how to use it to improve your trading!

## Do You Know Your Strategy’s Optimization Profile?

Your strategy’s optimization profile often reveals its robustness, helping you select strategies that will remain profitable in live trading. Here I explain why an optimization profile is important, and how you can easily obtain one using StrategyQuant’s optimizer.

## Which MT4 Backtest Report Metrics Should You Use?

Understanding your backtest report is an essential part of being a successful strategy developer. Here I explain what the numbers mean, and how you can make use of each metric during strategy development.

## Out-of-sample Testing Using Monte Carlo Simulations

Traders often use Monte Carlo simulations to estimate worst-case drawdowns, but did you know they can be used for out-of-sample testing too? This post demonstrates the use of StrategyQuant’s Monte Carlo simulator to randomize historical prices and strategy parameters, helping you select robust strategies for live trading.

We all want a large sample of trades in our backtests, but practical limitations such as data availability often get in the way. Here I’ll explain why 30 trades is insufficient, and how you can use standard error to quantify the uncertainty arising from a small sample size.

## Which Forex Markets Are the Best for Trend Following?

They say the trend is your friend, but how do you find your friends in the forex jungle? This post shows you how to use the ADX indicator to identify forex markets and timeframes that trend well.

## Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

## Strategy Optimization Using MT4

How do you improve your trading strategy in MT4? This post will show you how to optimize the entry and exit parameters for a moving average crossover strategy. Finally, an intraday time filter will be added to help avoid false breakouts.

## Debugging & Backtesting Using MT4

With a fresh algorithm at your fingertips, how do you verify that it has been programmed correctly? This guide will show you how to use Metatrader 4’s visual backtester to debug and backtest your strategy.

Converting your trading idea into an algorithm is the first step towards reaping the benefits of automated trading. This guide will cover the creation of a simple moving average crossover algorithm, without any actual programming.

## What Is Drawdown in Trading?

Are you getting a comprehensive assessment of your strategy’s downside? This post will discuss several methods to measure drawdowns, helping you build and select strategies that better suit your risk appetite.

## Who Are the Major Players in the Forex Market?

With its daily turnover of over \$6 trillion, who are the major players in the forex market? Let’s see how retail traders stack up!

## US Nonfarm Payrolls: What’s Considered a Big Miss?

A big miss in the US nonfarm payrolls can wreak havoc in the markets. What’s considered a big miss? I analyze historical values to find out!

## What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

## What is Considered Good Trading Performance?

Are you taking too much risk for too little return? Perhaps the professional hedge funds can help define good trading performance.

## 5 Forex Day Trading Challenges & How to Overcome Them

Forex day trading seems to have a particular appeal to new traders. Here I highlight five hidden challenges of day trading, and offer some suggestions on how to overcome them.

## How to Find a Real Trading Guru

Every day I come across a trading guru offering educational content on the internet. Many of them speak of huge returns with minimal effort. Should these be trusted? Here’s some tips on how to separate the wheat from the chaff.

## How to Enjoy Stress-Free Trading

Trading is a great way to make some additional income, but not if you’re constantly pulling your hair out. Here I offer 7 tips to help make your trading profitable and stress-free.

## How to Select the Best Forex VPS

A virtual private server (VPS) is a virtual computer that you can rent and access remotely. It provides a reliable platform on which to execute your forex strategies. This post will help you decide whether you need a VPS, and show you how to select an optimal VPS.