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

Considers Open-Trade Performance

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

Doesn’t Consider Trading Frequency

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.

Powered By

Development Platform

Forex VPS

FXVM Forex VPS

Popular Posts

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!

read more

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.

read more

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.

read more

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!

read more

Make your money work for you!

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

Comments

0 Comments

Submit a Comment

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

Trading Strategies

What’s the Best Time to Trade Forex?

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?

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!

Money Flow Index: An Improved RSI?

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

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!

Should You Use the Kelly Criterion for Forex Trading?

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.

Can a Trading Pause Improve Your Trend Following Results?

Can a Trading Pause Improve Your Trend Following Results?

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.

Laguerre RSI 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!

How to Use the Supertrend Indicator

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.

Strategy Development

Do You Know Your System Quality Number?

Do You Know Your System Quality Number?

The System Quality Number measures the profitability & consistency of your trading system. Here’s how to calculate your SQN and use it to improve your trading!

How to Get a Realistic Backtest Spread

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.

Do You Know Your Strategy’s Optimization Profile?

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?

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

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.

How Many Trades Should Your Backtest Have?

How Many Trades Should Your Backtest Have?

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.

Build a Diversified Portfolio With QuantAnalyzer

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

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

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.

Create Your Trading Algorithm in 15 Minutes (FREE)

Create Your Trading Algorithm in 15 Minutes (FREE)

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?

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.

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

What’s the Best Time to Trade Forex?

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.

How to Find a Real Trading Guru

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

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

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.

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