It IS as simple as it sounds (under the assumption that your account uses hedging mode and not netting mode).
But maybe this is an occasion to ask what I never understood: why on earth would you want to do that? Can you explain the reasoning behind hedging the same instrument/currency pair as a retail trader? I partly understand that people might consider e.g. buying a stock and hedge the underlying index for canceling out influence of the general market. Or some benefits might exist with options trading. Beyond such special scenarios: what's the benefit? Certainly, your broker will love you for paying twice for spread/commissions. Maybe you see the hedge as kind of an insurance - you lock in a price and don't have to worry if the market move further against you. I get it. But if you simply get out of the position, you don't need to worry, either. Why hold onto that trade if it doesn't do what it's supposed to? The question is: at what point later on do you close the hedge? If you close it below your "floating stop loss", you have made use of the insurance thought, at the cost of double spread/commissions, if you compare to a normal stop loss where you just get out. If you close the hedge exactly where you opened it, then why open it at all (I assume that this point is also the price where you normally would have placed a stop)? If on the other hand you close the hedged position above its opening, you give away parts of your potential profit.
The reason is greed, really, tbh. I have a lovely EA but it isn't perfect, of course, and although it has a 90%+ win rate, it can suffer drawdowns
of 25% or so that you can either get out of or hold (for some considerable time). I just want to explore a simple way of possibly profiting from
the drawdown and maybe trying to maximise an additional financial return from this. Perhaps this isn't strictly a hedge...
Of course, broker will be happy with additional commission/spread.
Thanks for your thoughts - I totally get what you're saying and I've neveer really thought about doing this, for some of the reasons you say.
I've tried your method of hedge when trade turn against you. But as soon as hedge kicked in, it went in favour of the 1st trade.
So your hedge got stuck and DD going to be huge again.
Yes, thank you. It may be far simpler to just not do it. I've been looking at using a trail step/stop (which the EA works on anyway, very effectively). With my TP, I've been looking at using a hedge should the trade turn in the wrong direction after 20 pips.
But, I'm really not sure.
How do we get to use the auto bot?
- MetaTrader 5 Help → Algorithmic Trading, Trading Robots
- How to host an automated trading robot on Metatrader (how to attach EA to the chart for trading) https://www.mql5.com/en/forum/238562#comment_7158340
- Where Do I start from? https://www.mql5.com/en/forum/212020
=========
Use tips - the instruction about HowTo
----------------
- Platform:How to install an Expert Advisor/indicator
- Platform:Where is the platform/tester/optimizer journal
- Platform:Where is MetaQuotes ID for confugiring push notifications
- Platform:How to make a screenshot of an error via the chart menu in three clicks
- Platform:Where to enable and configure email notifications
- Platform:Where are the files an EA/indicator works with
- Platform:What are 'description' and 'icon' fields and where to find them
- Platform:Where to find the platform build number
- Platform:How to enable the data window and see indicator values
- Platform:How to enable the accurate time scale
- Platform:How to save a chart template
- Platform:How to add an URL to work via WebRequest
- Platform:Where to find EX4/EX5 files
----------------
- Expert Advisor:What is Magic Number
- Expert Advisor:How trailing stop works
- Expert Advisor:Where is the EA's journal
- Expert Advisor:Why is an EA/indicator gray in the Navigator
- Expert Advisor:What is the difference between Netting and Hedging
- Expert Advisor:How to install a product purchased in the Market
----------------

- www.metatrader5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello
I have developed a good EA but would like to add another function - hedging. I'm wondering what the best strategies may be for this? I'm thinking that it might be possible to add the hedge function as a kind of floating stop-loss so if the market moves against the trade by a certain number of pips, the EA opens an order (could be a multiplier of initial trade size).
But this sounds too simple!
I'd be grateful for some advice.