Part 4: Creating the First Forex Strategy – How to Fine-melody Your Strategy (Transmission Backtesting)

forex-tradingThe so-chosen backtesting, or testing of your trading strategy, is the alpha and omega of the unabridged trading concern. Merely at this final phase volition you notice out if your strategy really is profitable or not. Let'south outset from the beginning though. I'll show you what backtesting is, how it'southward done and what you tin learn from information technology.

I'll fifty-fifty show you the results of my own backtesting. So, permit'south practise information technology.

What is backtesting?

Backtesting is the testing of a certain trading strategy based on historical data, and thus, the verification of profitability on real price movements from the past. So, consider a graph for the concluding year. From the graph, you can read the moment y'all'd enter the trade and how it would have turned out.

Why is quality backtesting and then important:

Trough high-quality data, a representative sample, you will learn how the strategy would have turned out if you had already used it – a year, 2, three, or mayhap ten years ago. At the same time, yous will notice the trading strategy'southward greatest weaknesses, larn what could exist improved, where to set a stop-loss and when to take profit.

Your trading strategy should be built on a logical footing. Nonetheless, but backtesting can fine-melody it and accommodate it to your chosen instrument. While i strategy may theoretically work on a pair of EUR / USD and gilt, it will inappreciably have the same parameters for taking profit or end-loss options. And these are the determining values.

How to perform backtesting

Offset of all, you will have to come up upwards with a trading strategy or at to the lowest degree with some sort of an idea of a strategy (I will provide you lot with 1 beneath). It is up to you whether you lot use automatic testing in the form of a strategy tester or another tool, or if y'all choose to practice it the onetime fashion way, using just pen and paper (although today you may want to apply Excel instead).

The dissimilar testers are cracking, equally they provide very quick results of your strategy on basically any data sample. After all, you tin check out our older article nearly the strategy tester in MetaTrader.

Personally, however, I remember that automatic testing is not free of certain obstacles:

You must exist able to rewrite the strategy into orders according to the appropriate convention

  • Not everything can be entered into the system
  • You lack visual control and feel
  • You lot must be able to rewrite the strategy into orders according to the appropriate convention

You may take a different opinion on this, but personally, if I don't want to create an automatic trading strategy, I adopt to become through the trades ane past one. Why? Because in the stop, it will exist me who will enter the trades again, not the estimator.

Benefits of manual backtesting:

  • Trading strategy experience
  • Visual recognition
  • A better experience with marketplace beliefs
  • In general, a lot of "seen graphs" and experience

With backtesting, it is the experience with the trading strategy, its like shooting fish in a barrel visual identification and the experience with the given marketplace that is priceless. A quality backtests tin provide you lot with an incredible amount of feel, which you'll surely appreciate in real trading, where a slight nervousness comes into play.

Example of backtesting

Personally, I  am a fan of simplicity, and so in my repertoire, you can detect even some very archaic trading strategies, for example, a very well-known strategy for filling the gaps when the marketplace is closed. In the forex, this usually means the weekend.

I backtested this strategy early in 2015 and decided to check 100 trades dorsum to EUR/USD. I had only 1 condition -the gap being greater than 5 pips, otherwise, it was not even worth entering the merchandise due to fees. Take profit was ready to fill the gap and cease-loss to unclear.

I wrote downwards the results three times, if the finish loss was x, 20 or 30 pips, to see what would perform improve.

backtesting

Example of recording during backtesting

I went through each trade, one by one, calculated the difference between the opening and closing price in points and wrote downwards the results in Excel. From this I got this result:

backtesting results

The backtesting results

The chart above shows that the strategy was profitable in all cases, but the biggest turn a profit came with the SL = 10 pips setting(have turn a profit always fill up the gap).

Then I calculated the trade costs, found a broker with fixed fees and finally subtracted 200 pips, withal leaving with a decent profit of 208.five pips on 100 trades. I could declare the strategy profitable and start trading it. This was 5 years agone, and to this day I am nonetheless trading using the very aforementioned strategy.

This strategy is non one of the best strategies in the world, only it is profitable.

I'm non forcing you to trade with this strategy. I but wanted to bear witness you the manner and, specifically, my way. Although I liked the unproblematic thought, I didn't trust the strategy. It just seemed also simple. And then, I tested the strategy on historical information and adamant which end-loss was the all-time.

Although it may seem easy, even such a simple backtest every bit the abovementioned tin can eat your whole afternoon. All the same, it pays off, every bit the feel gained is priceless.

Author

J. Pro

More nearly the author J. Pro

Unlike Stephen (the other author) I have been thinking mainly about online business lately. I wasn't very successfull with dropshipping on Amazon and other ways of making money online, and I'd only earn a few hundreds of dollars in years. But then binary options caught my attention with information technology'due south simplicity. Now I'g glad information technology did because it actually is worth information technology. More posts past this author