Grid Trading – Hedged Grid Strategy


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.

What is grid trading and how does it work?
What is grid trading and how does it work? © forexop

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:

Level Order Entry Level Order Entry Hedge
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:

Level Order Entry P/L Level Order Entry P/L
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.


Grid Trading

Definitive Guide

This ebook is a must read for anyone using a grid trading strategy or who's planning to do so. Grid trading is a powerful trading methodology but it's full of traps for the unwary. This new edition includes brand new exclusive material and case studies with real examples.

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.

Figure 1: Simulation of a classic hedged grid on EURUSD.
Figure 1: Simulation of a classic hedged grid on EURUSD. © forexop


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.

Simulation #1

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:

Order Entry Limit O C Net Order Entry Limit O C Net
Buy 1.3515 1.3865 Y N 71.1 Sell 1.3485 1.3135 N N 0
Buy 1.3530 1.3880 Y N 56.1 Sell 1.3470 1.3120 N N 0
Buy 1.3545 1.3895 Y N 41.1 Sell 1.3455 1.3105 N N 0
Buy 1.3560 1.3910 Y N 26.1 Sell 1.3440 1.3090 N N 0
P&L Pips 194.6 0

Simulation #2

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.

Figure 2: Example of where losses can occur in a choppy market scenario.
Figure 2: Example of where losses can occur in a choppy market scenario. © forexop
Order Entry Limit O C Net Order Entry Limit O C Net
Buy 1.3515 1.3865 Y N 145.5 Sell 1.3485 1.3135 Y N -179.5
Buy 1.3530 1.3880 Y N 130.5 Sell 1.3470 1.3120 Y N -194.5
Buy 1.3545 1.3895 Y N 115.5 Sell 1.3455 1.3105 Y N -209.5
Buy 1.3560 1.3910 Y N 100.5 Sell 1.3440 1.3090 Y N -224.5
P&L -316 Pips 492.2 -808.2

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) 
Download file
Please login

Advanced grid demo (Excel) 
Download file
Please login

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.
Just add your email address below and get updates to your inbox.
  1. I tried the grid demo and got it to work now. Have started a test on a demo account with a 5 leg grid and the results are quite promising. I use 3 candle method to start the grid. Then only put pending orders in at the opening. i cancel the orders if there is a change in direction on the candles and with some other checks. That is less risky nearly every time. I close all trades at fixed profit or when a total stop reached.

  2. Firstly thank you so much for your excellent high level grid strategy . Secondly i am trading for 7.5 years now and after this long perid and lost thousands of dollars and tried thousands of strategies and trading systems and fail to make consistent money in marketplace i finally made a hedging system and a grid system that they are both can make consistent profit . Yes your systems are the best i also found a profitable signal service that it uses grid strategy with more than 2 years of consistent profit with
    More than 1 million percent profit. You can email me if you want more info.

  3. Hi
    I have written an EA to test this concept. I am surprised how well it actually does.
    Which pairs do you suggest are better than others?

    • Thanks. All of the majors (EURUSD, USDJPY, GBPUSD) can be tackled with grid strategies other than that it is down to preference and spread costs.

    • Hi Steve
      Re Hedge grid system.

      Is the initial order placed first then the 4 buy stop orders and 4 sell stop orders follow on?

      Thank you

      • Yes. Typically you have some trigger to start the grid – either a price level being reached or other technical condition being met. Then the placement of the other order legs is defined by the price level of the first one. So they would be entered only once that starting level is known.

  4. Hi Steve, great piece of article, benefited greatly. Can you please advice some leg width guidelines with regard to the chart periods (15m, 1H, 1D?) and typical ATR at any point of time?

  5. Sorry, I’m not english-speaking..but “limit” in your table is the take profit to set in the buy stop or sell stop order? Thank you very much, it’s seems to me one of the best strategies…

  6. I used “hedged grid” for a few years.

    If you have an EA, i would advise to turn it on and off. The one I used, was used in conjunction with certain “patterns” in the market. You hit upon that a little when you wrote about configuring the legs at pivots, levels..etc.
    By using it as it is, a tool to be used and then put away until the next time, you eliminate some of the risk above.

    Also, if you are an American citizen only, you cannot open opposing orders in the same pair anymore. The NFA has put an end to that. That was the reason I stopped working in FX, having 2 accounts closed in and outside of the USA. There are ways around it, using multiple brokers to open opposing legs for example.

    • I agree entirely. With any automated trading it is always preferable to have a manual overlay and not let it run “blind”.

      Regarding your second point. You could avoid ever opening opposing trades by using a knock-out system and placing market orders when the levels are hit. Though it does make the trade management a bit more complicated.

  7. Hi Steve,
    This hedge strategy is interesting.
    I use MacBook laptop and It would not open .exe files.
    Is it possible to download the hedge spreadsheet files in excel format?

    Mr H

    • Thanks for your interest. The trading tools are being reworked and will be available in a new format soon. This will be a tool that runs directly on the website so it won’t be a download anymore. This is quite a complex development task and will take around 1 or 2 months so please check back later.

  8. Hi Steve,

    Promising technique, great article. Would like to experiment with the grid. Could I get your EA to test it?

  9. Hello

    I want to know in the example Simulation#1 If only all the buy stop orders were hit and the price extended beyond 1.3560 above at what target I should close all the trades and close all at take profit. That is I want a specific target so that I can sleep or I have to come back at the end of the day and see whats the situation after setting it up in the morning? I like the idea but I am not clear of the execution. Lets say I place take profit at 100 pips up for all the Buy orders that is 1.3600 and a program to close all at 1,3600 or 1.3400 in case the sells were triggered.

    • I recommend you see my separate article on setting stop losses and take profits (here). That’s equally applicable to grid trading.

  10. Excellent article!
    Unable to load the .xlsx spreadsheet properly in Win-7 Excel 2003. Unicode chars appear all over the sheet.

    Should I upgrade my Excel app?


    • Thanks for your feedback mate. Spreadsheet should be compatible with Excel 2007 onwards.

  11. Hi, Steve

    Interesting concept but where are the stop losses for orders? I can see where are take profits, they are at 15 pips interval right? What about SL then?

    • This grid arrangement creates the stop losses. Each grid level has an opposite order, so for example level 1 is a buy and that has an opposite sell order which is triggered at level -4 in the grid. When trade 1 and trade -4 are both open, they have a fixed loss of -75 pips. This is the stop loss. Of course, it would be normal practice to put in safety stops just in case for some reason one of your grid orders does not execute for whatever reason.

  12. I love the idea of this. My question to you is: have you actually done this and used this for an extended run? How were the results?


    • Yes, I’ve applied this over extended runs both with real money accounts and with demos. Although you don’t need to predict the price direction, whether it profits or not depends on identifying good entry points – for the type of conditions as I mentioned in the article. I’ve done some long-term back testing with various Expert Advisors. An entry signal I found useful was changes in the Bollinger bandwidth combined with the ADX indicator. I found using these two together gave good entry signals. While the strategy tester in MT4 isn’t perfect, it was showing long-term profitable results over about 80% of pairs that I tested with.

Leave a Reply