This expert shows code for a grid trading system that attempts to resolve one of the biggest problems with grid trading, steep drawdowns in a trend
I first saw this grid technique in a video titled How to trade the Forex Grid system. A detailed introduction on how hedging trades create gains published by Expert4x. It is an interesting approach that avoids unlimited drawdown at the expense of an occasional loss.
The grid operates by closing on a reversion and wouold work best in a market that does not trend frequently. The code shows the techniques of monitoring grid direction and pullbacks.
This uses the Orchard Framework which you will need to download separately from GitHub
If you have a suggestion or request for a future tutorial you can leave details in our Topic Requests forum or vote for existing requests. Make sure the requests are clear and if you refer to a strategy somewhere leave a link to the strategy
The code is available on GitHub: