Select Page

Edge Ratio: A Unique Way to Quantify Entry Profitability

Oct 4, 2021

The Edge Ratio helps you compare entry signals by measuring the open profits and losses they generate.

This post will cover:

• Maximum favourable excursion and maximum adverse excursion
• Edge Ratio calculations
• Quantifying entry profitability with the Edge Ratio
• Benefits & drawbacks of the Edge Ratio

Traders are perpetually engaged in the search for better entry signals.

With today’s backtesting software, we can quickly quantify an entry’s profitability over years of historical data.

The Edge ratio, first proposed by Curtis Faith in Way of the Turtle, is a unique metric that can help with entry selection.

The ratio is derived from each trade’s maximum favourable excursion (MFE) and maximum adverse excursion (MAE). Let’s briefly discuss these concepts.

Maximum Favourable Excursion & Maximum Adverse Excursion

MFE is the largest open gain during a trade. It measures the furthest that prices moved in your favour.

MAE is the largest open loss during a trade. It measures the furthest that prices moved against you.

MAE and MFE are calculated relative to your entry price. Suppose you have a trade that progresses as shown:

The trade was closed at breakeven, but had a MFE of \$20 and a MAE of \$30.

MFE is often used to optimize profit target placement, while MAE is used for stop loss placement.

MT4’s backtester does not calculate MFE/MAE by default, so I recommend backtesting your strategy using StrategyQuant.

I prefer to display MFE/MAE in pips since this removes the effects of fluctuating currency values.

Edge Ratio Calculation

The Edge Ratio is the MFE/MAE ratio normalized by the prevailing market volatility when the trade is opened. It essentially measures the entry’s ability to accrue profits.

This normalization is necessary because volatile markets tend to produce higher MFE and MAE values. The prevailing 14-period ATR at the trade open will be used for normalization.

StrategyQuant automatically calculates the Edge Ratio for you. Here I’ll use a hypothetical five-trade backtest to demonstrate the calculation.

For each trade, you’ll need the MFE, MAE and the 14-period ATR at the trade open.

1. Normalize volatility by dividing the MFE and MAE by the ATR. There is no need to convert the ATR to pips.
2. Obtain the average normalized MFE and MAE values.
3. Obtain the Edge Ratio by dividing the average MFE by the average MAE.

An Edge Ratio of 1.00 indicates equal amounts of favourable and adverse price movement.

The 3.80 ratio above indicates the strategy is far more likely to produce open profits. This correlates with the 200-pip gain after the five trades.

You can use the ratio to evaluate complete strategies, or any strategy element of interest. Since MFE and MAE are often used to track trade progression without any exits, I think the Edge Ratio is best suited to evaluate entry profitability.

That’s what we’ll do now.

Quantifying Entry Profitability With the Edge Ratio

I’ll evaluate the performance of two popular indicators: Bollinger Bands and Keltner Channels.

These indicators are visually similar. Each consists of a middle moving average surrounded by a pair of upper and lower bands.

The Bollinger Band width is +-2 standard deviations, whereas the Keltner Channels use +-2 ATR. Standard deviation accounts for directional volatility, unlike the ATR. This makes the Bollinger Bands expand more during market trends.

Each indicator will be used to generate trend following entries for the 30-minute GBPJPY. Trading logic is as follows:

• Buy when price closes above the upper Bollinger Band/Keltner Channel
• Sell when price closes below the lower Bollinger Band/Keltner Channel
• Exit each position after 50 bars have elapsed

The 50-bar time stop, which equals about one day on M30, gives each signal equal time to generate profits.

This strategy was quickly programmed in AlgoWizard:

I’ll optimize each indicator’s lookback period from 10-100, in steps of 1. Plotting the Edge Ratio across a large range of lookback periods allows a more comprehensive assessment of entry profitability.

The strategy was then loaded into StrategyQuant’s Optimizer and setup as shown:

Optimization Results

Here’s the Edge Ratios from 2003-2021.

Even with these basic entry signals, it’s reassuring that both indicators produce an average Edge Ratio exceeding 1.0.

The Bollinger Bands start to outperform the Keltner Channels for lookback periods above 50. I would pick a period in the 80-100 range for further development. Periods above 100 are feasible as long as you don’t mind the lower trading frequency.

I previously did another Bollinger Bands vs. Keltner Channels comparison, where I plotted each indicator’s optimization profile across a wide range of lookback periods and band multiples. The Bollinger Bands produced higher profits despite having less market exposure.

I suspect the Bollinger Bands’ faster and larger expansion during market trends is the reason behind this performance improvement. Their widespread popularity is certainly justified.

Edge Ratio Benefits

Unlike most performance metrics, the Edge Ratio takes both open profits and losses into account. This can help you determine optimal trade exits.

For example, if your entry has mediocre closed-trade metrics but a high Edge Ratio, it’s likely that you’re giving back a chunk of open profits. A profit target would be handy in such cases.

Likewise, if your Edge Ratio is surprisingly low, you may choose to implement tighter stop losses.

Versatile

Since the Edge Ratio is volatility-normalized using the ATR, you can use it to compare performance across different markets, or across different regimes for the same market.

Edge Ratio Drawbacks

Since we use the average normalized MFE and MAE values, the Edge Ratio is not affected by trading frequency. Higher trading frequencies are usually preferred because they generate profits faster.

To alleviate this, you can plot profits vs. lookback period instead. A simple reversal strategy, which is always in the market, will suffice for such cases.

You can use both methods concurrently to get a more comprehensive overview of your entry performance.

Affected By Backtest Precision

MFE and MAE values continually evolve as your trade progresses. Your backtest thus needs to be precise enough to capture the open profits/losses within each bar.

If your backtest engine evaluates performance at the open of each 30-minute bar, your MFE/MAE values will only be updated every 30 minutes.

For best results, you should backtest with tick precision or at least with 1-minute OHLC prices.

Wrapping Up

Hopefully this post has given you several ideas on how to quantify entry profitability.

The Edge Ratio is a unique metric that considers the open profits/losses generated by your entries, possibly giving it an edge (pun intended) over more conventional metrics.

Plotting the Edge Ratio against your indicator lookback period is a good way to rank different entry signals and select an optimal lookback.

On a related note, you can also plot the Edge Ratio against the number of bars in trade. This illustrates how your entry’s edge evolves as the trade progresses.

If you need help with this, check out my post on how to plot expectancy vs. number of bars in trade.

Ultimately, every method has its benefits and drawbacks; there is no universal or best way. What matters is that you attempt to quantify your strategy’s performance using a method you’re confident in.

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!

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!

Should You Use the Kelly Criterion for Forex Trading?

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.

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!

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!

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.

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.

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.

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.

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.