What Is Grid Trading?
The basic idea of grid trading is very straightforward. Instead of placing one trade, we place multiple trades forming a grid pattern. Usually these are entered as “stop” or “limit” orders around the current price level – but not always. I’ll explain this in more detail below, but that’s the basic idea.
Grid trading is a play on market volatility. There are two reasons why it’s favored by forex traders. The first is that it doesn’t “require” you to have a definitive prediction on the market direction.
The second is that it works well in volatile markets, where there isn’t a clear trend – these conditions are very common in the currency markets.
In this article I’ll give some practical examples of grid trading setups, and explain under what conditions grids work as well as their weaknesses. You can download my Excel spreadsheet below to develop your own grid trading scenarios.
Classic Hedged Grid System
A “hedged grid” is made up of both long and short positions. As the name suggests, there’s a degree of inbuilt hedging – or protection with this approach. The basic idea is that any losing trades can be offset by the profitable ones. Ideally, at some point the entire system of trades becomes positive. We would then close out any remaining positions and the profit is realized.
With this grid strategy the ideal scenario is that the price moves back and forth across one side of the grid. In doing so it executes as many of the orders and passes as many of the take profit levels on one half as possible.
It’s precisely this reason that the hedged grid works best in “choppy” markets without a clear trend. However, you can still be profitable in a trending market. I’ll get onto that in a minute.
The hedged grid is a market neutral strategy. The profit will be exactly the same whether the market rises or falls. What’s appealing with this style of trading is that you don’t need to predict either a bearish or bullish trend. However if your set up is right, you can still profit in either a bearish or bullish rally. Let’s have a look at a basic grid configuration.
Grid Configuration – EURUSD Example
Say we want to set up a grid on EURUSD and the price is currently at 1.3500. To start, our order book would look like this:
|1||Buy Stop||1.3515||-4||Sell Stop||1.3440||-75|
|2||Buy Stop||1.3530||-3||Sell Stop||1.3455||-75|
|3||Buy Stop||1.3545||-2||Sell Stop||1.3470||-75|
|4||Buy Stop||1.3560||-1||Sell Stop||1.3485||-75|
|Maximum grid loss (pips)||-300|
To create the grid, I’ve used an interval (leg) size of 15 pips and 4 levels above and below the start. There’s no hard and fast rules here. You can set the levels using pivot grids or other support/resistance indicators.
You are also free to increase or decrease the number of trades as required, and change the interval and take profits to anything you like. But remember increasing the leg size and adding more levels will increase the maximum loss.
The buy-stop orders are triggered if the price moves above the entry level, while the sell-stop orders are triggered if the price moves below the entry level. So we always trade into the trend with this grid strategy.
As the table shows, the trade pairs in the grid hedge each other. Once both sides of a trade pair are open, their P/L becomes “locked-in” at the hedge amount. When all trades are open, the hedged grid reaches its maximum loss and the P/L is fixed at that point.
Running the Grid
If the price were to move in a straight line up 60 pips it would execute all of the buy orders, and none of the sell orders. So we’d finish with a profit of 90 pips (45 + 30 + 15). Likewise, if the price moved straight down 60 pips, we’d have all of the sell orders execute and we’d again end up with a profit of 90 pips.
What would more likely happen though is that the price will swing up and down causing some of our buy and sell orders to execute at different points. Say for example the price dips below 1.3500 and the first one of our sell orders executes.
Now what happens if we get a reversal and a bullish rally? Let’s say the price increases enough to hit the level for the last buy order in the grid. That’s 1.3560. So our P&L looks like this:
|1||Buy Stop||1.3515||45||-4||Sell Stop||1.3440||0|
|2||Buy Stop||1.3530||30||-3||Sell Stop||1.3455||0|
|3||Buy Stop||1.3545||15||-2||Sell Stop||1.3470||0|
|4||Buy Stop||1.3560||0||-1||Sell Stop||1.3485||-75|
The P&L for the trade pairs at level 4/-1 are now locked-in since both are open. But we can still profit on the remaining three buy orders.
When to “Close” the Grid
To keep things simple, I prefer to close out the entire grid once the sum of trades has reached my chosen profit level. In the grid above, the maximum loss is 300 pips. So we could have say 350 pips as a target profit and leave the grid to run it’s course.
With grid trading, in general it’s best to consider the entire set up as a “single system”. Rather than managing each trade in isolation. This approach makes for simple trade management.
With this hedged configuration, the ideal outcome is for the price to reach the levels on either the top or bottom half of the grid, but not both. So if the price trends in one direction, you then have to consider if a reversal is likely which would “take back” your profit.
Another choice would be to dynamically close out trade pairs once they reach a certain profit target.
The advantage of this is that you can potentially reach a higher profit target by running your profits. The disadvantage though is that you will have to wait an unknown time for the trades to run their course. And this ties up your capital and margin in your account.
Implementation wise, once a level is “knocked-out” the order on the opposing level would normally be cancelled. This avoids the unnecessary cost (in spread and swap fees) of having two opposing trades open at once when the profit outcome is fixed.
For example, say the buy at level 1 opens, then the price falls back to 1.3440 and the sell order at level -4 is reached. The open “buy” would then be closed, and the sell order cancelled.
Don’t Forget to Manage Your Risk
Our maximum loss for this grid set up is -300 pips This occurs when the price reaches all levels and the complete set of trades are opened. However the grid’s upside profit potential is unlimited.
With the hedged grid, the downside risk is always limited provided all trade pairs are kept in place. However, if non-opposing trade pairs are closed independently of one another, this can cause the system to become unhedged and can cause run-away losses.
This is why it’s good practice to place wide stop losses on all trades – just for safe measure. In runaway markets or in currencies with low liquidity, your trades may not execute exactly at your grid levels. Which can leave you with much greater exposure than planned.
It is also essential as part of the grid setup to have a clear idea of the likely market range so that your exit levels are set appropriately.
Another point to bear in mind is to make sure when setting your lot sizes and grid configuration that your account won’t be over exposed at any point. The main advantage of using a grid is in the averaging. Yet often times they are used simply as profit multipliers with excessively high leverage.
I’ve published some other articles on forexop covering money management in much more depth.
If you’re going to use this method, I’d encourage you to test out as many set ups as possible. This will give you a feel for how it works. You can download our forexop Excel spreadsheet and try out any number of different scenarios and under different market conditions (see below).
The Excel workbook uses a highly realistic price data model, so you can be sure the results are as “real” as you can get. The advantage of simulated data over “back testing” is that you can generate an infinite number of scenarios. As well as simulate different levels of volatility and bullish or bearish trends. The download link is at the bottom of the page.
You can also use our trading simulator to practice grid trading setups.
The first simulation gave a near ideal test case. The price initially increases triggering all of our buy orders. I’ve marked the order levels on the chart with dotted lines. Those above 1.3500 are buy stop orders, those below are sell stop orders. That is they trade into the prevailing trend. See Figure 1.
None of the sell orders were reached as the price remained in the top half and reached only those levels. Our grid ended up with the following profit:
This demonstrates the worst case. In this run, the price action is very choppy and manages to reach all of the levels on the grid (see Figure 2). The final P&L is -316 pips. The maximum loss of the grid is 300 pips, however the additional 16 pip loss is due to the spreads.
In very choppy markets, when all levels are likely to be hit, the reverse strategy – the “single down” grid is preferred. For more information and a comparison see here.
For trending markets an alternative option is to use a vertical grid which aggregates the price to capitalize on trend movement.
|Basic grid demo (Excel)|
|Advanced grid demo (Excel)|
Pros and Cons of the Hedged Grid System
- Systematic way to make profits under typical market conditions
- It doesn’t rely on strong trends. Grid trading can generate profits in trendless, predominantly sideways markets. These conditions are very common in forex.
- Using multiple entry/exit levels means you’re less likely to be “taken out” by price spikes, market noise or abnormally wide spreads. Multiple entry points allow you to benefit from cost averaging.
- It’s doesn’t rely on a single “absolute view” of the market direction.
- It’s relatively easy to code software (e.g. an expert advisor) to execute and manage the order flow.
- In order to realize profits quickly, traders are often tempted to cash in their winners too early. But losing trades are erroneously left to ride out with deep drawdown until retracement occurs. This can unbalance the whole system and cause it to yield a negative risk-return.
- Some or all of your positions may end up in negative territory for a long time, so locking up capital.
- In fast moving markets your trade orders may execute far away from your desired grid levels. This can leave you un-hedged.
- Technical issues: For the grid system to work properly, it’s critically important that your orders, stops and limits execute correctly. If some of your trade orders fail you can find yourself sitting on accumulating losses. This can be caused by a number of problems from glitches in software to your broker’s technical issues.