Dynamic Position Sizing: Is It Time to Go Big?

Nov 5, 2021

Not all entries are created equal. Can we identify higher probability entries, and apply larger position sizing to them?

Here I’ll attempt to augment a GBPJPY trend following strategy with dynamic position sizing, and backtest its performance over 18 years. 

I was reading The Art of Currency Trading by Brent Donnelly, where he lists his 25 rules of forex trading.

In particular, rule #14 states: There is a time and a place to go big.

The idea is to increase your position sizing when you come across very high probability trades, thus increasing your number of outsized wins.

Sounds logical, but does it work over the long-term? Let’s program a dynamic position sizing scheme and see whether it improves trend following performance on the 30-minute GBPJPY.

Baseline Strategy with Fixed Position Sizing

To establish a performance baseline, I’ll take advantage of the Bollinger Bands and its inbuilt trailing stops.

This strategy goes long when price penetrates the upper Bollinger Band, with the lower band acting as a trailing stop loss.

With a fixed 0.1 lot size, performance has been decent from 2003-2021.

Together with its simplicity, this strategy offers a great platform for further development.

Programming a Dynamic Position Sizing Scheme

To calibrate my position sizes, I’ll add three optional conditions to the baseline strategy. If true, each of these conditions should increase the probability of a successful trade.

Since these three conditions are optional, they differ from traditional entry filters. The Bollinger Band breakout remains the only mandatory entry condition.

1. Channel Breakout Condition

For all three optional conditions, I’ll first include the Bollinger Band entry condition. This means that position sizes will only be calculated when an entry is imminent, thus reducing unnecessary EA activity.

For the first optional condition, I’ll use an 80-period SR% indicator to detect channel breakouts. It calculates the percentage of time the current close falls within the high-low range of each of the previous 80 bars.

Low SR% values mean that:

  • The market is trending, or
  • Prices are trading close to the top/bottom of their range. 

In this case, the breakout condition is true when SR% equals 0, meaning that prices have broken out of the highest highs/lowest lows of the previous 80 periods.

Isn’t this the same as the classic Donchian breakout used by the Turtles?

Yes it is, but by using the SR% indicator and adjusting the threshold, you are also able to detect when prices are approaching (but haven’t penetrated) the boundaries of the trading range.

You can toggle the threshold to say, something in the 5-10 range, to achieve this.

For explanations on the other SR% inputs, check out my detailed guide on the SR% indicator.

2. High Volatility Condition

This high volatility condition is satisfied when the previous bar’s range (high-low) is at least twice the 14-period ATR.

The probability of a sustainable trend increases when you have an impulsive Bollinger Band penetration.

3. Moving Average Condition

This final optional condition looks for trend alignment across two timeframes. I’ll use the direction of the 30-period exponential moving average on the 4-hour timeframe.

If this EMA has been rising for at least five consecutive bars, there’s a higher probability I’ll get an uptrend on the 30-minute timeframe.

Likewise, for shorts, I’ll be looking for the 4-hour EMA to have fallen for at least five consecutive bars.

The programming structure is slightly different here, because the EMA direction has to be paired with its respective Bollinger Band breakout condition.

Calibrating Position Sizing

Position sizes will be separately calculated for every entry.

As per the baseline strategy, the default position size will be 0.1 lots.

For each of the three optional conditions that is true, I’ll add an additional 0.1 lots.

For example, if only the moving average condition is true, I’ll trade 0.2 lots. If all three optional conditions are true, I’ll trade 0.4 lots.

To program this in AlgoWizard, I’ll need a multiplier for the default 0.1 position size. This will vary from 1 to 4, thus creating lots in the 0.1 to 0.4 range.

First, I’ll need to reset the multiplier to 1. I don’t want my current position size to be affected by previous trades.

The logic tabs in AlgoWizard are executed from left to right. Next we have the three optional conditions described previously.

If any of these three conditions are satisfied, the lot multiplier is increased by 1. I’ll show the channel breakout condition as an example.

After cycling through the three optional conditions, I’ll finally compute the position size by applying the lot multiplier to the default 0.1 size.

This Lot_Size variable is then called up when programming the strategy’s market order.

That’s it for programming.

Here’s an example of a trade where the high volatility and channel breakout optional conditions were satisfied. 0.3 lots were opened as a result.

Now let’s backtest the strategy to see if the programming has paid off.

Backtesting the Dynamic Position Sizing Scheme

As per the baseline, I tested the strategy on the M30 GBPJPY, from 2003-2021.

The equity curve looks very similar because the trade sequence and profits/losses (in pips) are identical.

Here’s the breakdown of the position sizes traded:

Profit factor has increased from 1.24 to 1.30, while return/drawdown has increased from 7.13 to 11.8.

Most notably, net profit has increased 2.5x from $21200 to $55700. Is this simply the result of trading more lots, or did I successfully target the high probability trades?

To find out, I computed the average lot size of the above backtest, which came to 0.21 lots. I then retested the original strategy with a fixed 0.21 lots throughout.

The net profit was $44600 in that case. Looks like going big on the higher probability trades netted me an additional 25% profit.

Lastly, I wanted to check whether the three optional conditions were effective at picking out higher probability trades. I decided to plot the win rate for each of the four position sizes.

Indeed, entries that satisfied at least two of the optional conditions had win rates of 47%, significantly higher than the overall win rate of 41%. Despite consisting only a third of the 1640 trades, these entries accounted for 74% of the overall profits.

Wrapping Up

A dynamic position sizing scheme that increases lot sizes for higher probability trades can indeed pay dividends.

Identifying these higher probability trades is central to your success. The three optional conditions above (channel breakout, high volatility and trend alignment) adhere to traditional technical analysis principles. They are good starting points.

The lot size increments will depend on your risk appetite and account capital. If in doubt, consult your historical drawdowns and be conservative.

Powered By

Development Platform

Forex VPS


Popular Posts

No Results Found

The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.

Make your money work for you!

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



  1. Flibidi

    Thx for your work man! Great content as always!

  2. KC

    Thank you Sir


    How do you download the strategy for MT4 use ?

    Thank you


  3. Anonymous

    This gives me so many other ideas… 💡

    • Janmen

      Wow awesome work.
      Thx for the insight

  4. Alitz

    Thank you Wayne for such great content

    • Wayne

      My pleasure. Do spread the word :)


Submit a Comment

Your email address will not be published. Required fields are marked *

Trading Strategies

Forex Trading With Volume – Does It Work?

Forex Trading With Volume – Does It Work?

Volume is seldom discussed in forex trading. But as a stock trader would tell you, volume provides insights into the underlying market sentiment. Here I’ll demonstrate the use of two simple volume filters to improve entry reliability.

What Is the Kaufman Adaptive Moving Average?

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.

Awesome Oscillator Forex Trend Strategy

Awesome Oscillator Forex Trend Strategy

The Awesome Oscillator is one of Bill Williams’ fine creations. It is a simple yet effective momentum indicator that can be a valuable addition to your strategy. Here we’ll use it together with a moving average to fine-tune our trend following entries.

Dual CCI Indicator Forex Trend Strategy

Dual CCI Indicator Forex Trend Strategy

The Commodity Channel Index (CCI) is an underrated momentum indicator that is often overshadowed by the RSI and MACD. I’ll show you how to build a simple trend following strategy using a pair of CCI indicators!

What is Fixed Ratio Money Management?

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.

What Is the Kaufman Efficiency Ratio?

What Is the Kaufman Efficiency Ratio?

Avoiding false breakouts is a common goal among trend traders. The Kaufman Efficiency Ratio provides a simple method of quantifying a market’s noise, helping traders focus on the smoothest trends. Let’s add the efficiency ratio to a simple trend following strategy and see whether its performance improves.

What Is the QQE Indicator?

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?

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?

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!

Bollinger Bands vs. Keltner Channels

Bollinger Bands vs. Keltner Channels

Bollinger Bands are ubiquitous in the trading world, but there’s less discussion about their lesser-known cousin, the Keltner Channels. Do these perform as well as the Bollinger Bands? Let’s compare them over a broad range of input parameters.

Strategy Development

How to Select the Best Trading Strategy Entry

How to Select the Best Trading Strategy Entry

With an abundance of technical indicators available, selecting your strategy’s entry conditions can be overwhelming. This post will illustrate a method to graphically compare the profitability of different entries.

Live Trading

No Results Found

The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.

Make your money work for you!

Make your money work for you!


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

Thanks for subscribing!

Pin It on Pinterest

Share This