Posts Tagged ‘back-testing’

Bull or Bear – Finding What Works Using The D2MX Trading System

Friday, July 27th, 2012

Regardless of whether the market is going up or down there are trading opportunities to take advantage of.

A rising tide will lift all boats, which means that if the market is bullish almost any trading strategy will make money from buying shares. But what happens when the market turns bearish? Fortunately there are some indicators that produce excellent results in both bull and bear markets. But since there are hundreds of different indicators around, how do you find these “magical” ones? The answer is simple – test them out using the D2MX Trading System.

The D2MX Trading system is built in to the Bourse 7 and the Market Analyser 7 platforms. Click on the D2MX Trade Tools menu and select Trading System to access the back testing capability. To build a strategy click on Create, then Yes.

Trading System in the D2MX Trade Tools

Now you can select your entry and exit criteria with a wide range of indicators to choose from. Click Add and then select from the list. (You can even create your own combination indicators in the Analyser Wizard tool, and test these.) Once you have selected an indicator you can set its parameters. Specify the direction of the position, Long or Short and even select a timeframe – Daily, Weekly or Monthly. (You can select more than one indicator in the Trading System using the Advance Mode, which allows you to enter brackets, ‘and’, or ‘not’ values to combine indicators.)

Custom Indicators in D2MX Trade Tools

For exit signals, you can again select from a wide range of indicators using the Add button and selecting the indicator. Set the parameters for the indicator in the same way you do for entry signals. In addition to using indicators for exits you can set stops, based on price movement or time. This allows you to use a trailing stop for an exit. You can use both stops and indicators or just one of these as an exit signal.

Before you move on remember to select your Trade Settings on the right, which includes how the trade is to be entered, the size of the trade and brokerage. Also remember to select the watchlist you want to test in the Check for Signal box. You can test on any of the system watchlists or you own saved watchlists. Finally click Save and give your test a name, then click Ok.

Save your new Trading System scan

Now click on the Run Strategy tab and you can enter the timeframe you wish to run the test on. Note that the longer the time frame and the larger your watchlist is, the more time it will take to run a scan.

Once the scan is completed you will be able to view a Profit Chart as well as a wide range of reports which provide information in a summarised format, down to the details of every trade.

Profit Chart in D2MX Trade Tools - Trading System

Now you are ready to test your ideas and find out what works in both Bull and Bear markets. I have run a large number of tests myself and have found that the best trading opportunities occur when the market reaches an extreme. This extreme can be measured in many ways, including Bollinger Bands, RSI, Money Flow Index or Commodity Channel Index. Run your own tests to see what you can find that delivers good trading opportunities regardless of market conditions.

Jeff Cartridge
Education Manager

Post to Twitter

D2MX Scanning Tools

Friday, June 29th, 2012

The D2MX scanning tools allow you to scan for shares that meet the criteria you set. You can use these tools to quickly find trading opportunities, and they can save you a lot of time each day.

There are three different ways you can run scans using the D2MX Trade Tools: real time, historical or long term. In this article I will explain how you can use each of these different approaches.

The D2MX Analyser allows you to run scans on the latest price information. In previous versions of the Analyser the scan would be run on yesterday’s close, but now the it runs on the last traded price at the time the scan is run. You can run a scan before the market opens and it will look at yesterday’s close price. You can then run the scan again any time during the trading day to find shares that meet your criteria. You might want to see if the market open triggers an entry signal, or check before the market close allowing you to place your order before the market shuts for the day.

D2MX Analyser Menu

To run scans in real time based on the latest price, click on the D2MX Trade Tools menu, then click Analyser. This will load the Analyser window. In this window you can choose from a wide variety of different indicators by selecting the Analysis Formula that you want to use. Once you have selected an indicator you can then adjust the parameters, before running the scan.

It’s possible to combine more than one indicator using the D2MX Analyser Wizard. This allows you to scan on multiple indicators at once, for example you could specify that a share must be above its moving average and oversold on a stochastic indicator. Create your indicator in the D2MX Analyser Wizard and you will then be able to run a scan in the D2MX Analyser as it will appear at the very bottom of the indicator list.

Before running your scan select the watchlist you want to analyse from the among the System Watchlists or from your own set of User Watchlists. (A future enhancement will provide you with the ability to scan the whole ASX market without creating a special watchlist to do this.) Click on Calculate to run the scan. The scan will look at the last traded price to determine whether your criteria have been met. A scan run at 9am could be different from a scan run at 11am, 1pm or 3pm.

D2MX Analyser Scan

If you click on Filter Settings you can narrow down the list by specifying a price range or volume criteria to filter out shares you are not interested in. Note that the price format here is in dollars, not cents as it is in the rest of the platform. Once you have entered your parameters click Calculate again to find the filtered list of shares.

You can also save this list of shares as a new watchlist. Highlight all the shares in the results, by clicking on the first share in the list, then scroll to the bottom, hold down the Shift key and click on the last share. Hold down the Ctrl key and push C on the keyboard. This will copy the shares to your clipboard. Click on Quote, click Clear and click Import to paste the information into your new watchlist. Click Save As to save the watchlist.

D2MX Analyser Watchlist Results

You can scroll through the Analyser results in a D2MX chart using the black buttons at the top of the chart, next to the blue watchlist scroll buttons. You can quickly look through the results using any of the chart templates you have created.

To run an end-of-day scan you can simply run the D2MX Analyser when the market is closed, but there is another alternative as well. You can use the D2MX Trading System to run a back test based on historical data, and yesterday’s information is now considered history once the market starts trading today. The D2MX Trading System allows you to set both entry and exit criteria and test a complete strategy. For now we will focus on the entry side only.

Click Create to create a new system and click OK. Select the entry criteria you want from the list of indicators that are available to you. This list is the same list as that contained in the Analyser. You can set a Time stop to exit one day after entry, as the exit point is not particularly relevant here. Choose your watchlist on the right and click Save. Type in a name and click OK. You can now run a scan on any day you choose.

D2MX Trading System

Click Run Strategy and you can specify the date you want to run the strategy from and to. To run on a specific day use the same date as the Period From and the Period To. Click on the Standard Report List to find the list of shares that met your criteria on the date you specified.

D2MX Trading System Results

You can also use the D2MX Trading System to run a scan on weekly data or even monthly data. The D2MX Analyser scan runs on daily data only, while the Trading System allows you to specify a weekly or monthly scan.

D2MX Weekly Scan

When you select your parameters for the indicator on the Build Strategy tab, you can choose the Data Interval you wish to use. This can be daily, weekly or monthly. One thing to be aware of is that running a weekly scan on Tuesday will include a week from Tuesday. If you want to run a scan related to a market week, run the weekly scan on the weekend. Set all your other parameters as if you were running a daily scan and you can view the results in the Standard Report List.

However you want to scan the market you can use the D2MX Trade Tools to find the opportunities you are looking for.

Jeff Cartridge
Education Manager

Post to Twitter

Webinar Playback: Advanced Scanning in Market Analyser 7

Tuesday, April 17th, 2012

In this advanced-level webinar we took a look at some of the more sophisticated tricks you can use for scanning the market in Market Analyser 7.

Thanks to everyone who joined in!

Check the Webinars page for more recordings and future training sessions.

Post to Twitter

Three Fatal Trading Mistakes

Friday, February 3rd, 2012

There are a wide variety of mistakes you are likely to make while learning to trade, but there are three mistakes you had better learn to avoid very early in your trading career. Before you start trading you must verify your trading strategy works by testing it both historically and on real-time data. Controlling the size of your losses is essential and without sound risk management you’ll never trade successfully. But controlling losses is not enough; you must also resist the temptation to over trade. Any of these three mistakes can be fatal to your trading success.

Trading untested ideas

Poor analysis or research is common among new traders. You may hear a news report about a particular company and decide it would be a great idea to trade the company based on the report. Unfortunately by the time the news gets to you many other people already have the information and have made their trading decisions. There’s a saying in the stock market: ‘buy the rumour, sell the fact’, meaning that when the news is finally released it’s very often too late to enter a trade. Following tips or rumours is a sure sign that you haven’t adequately prepared to enter the market. By doing your own analysis you can determine what works and what doesn’t.

Back test or forward test your trading idea before ever entering a trade. Back testing involves testing your idea on historical data and allows you to test a large number of ideas very quickly. For example, you may scan a lot of charts and identify a particular pattern that appears before significant moves in a share. This is back testing.

Forward testing (often referred to as paper trading) involves testing your idea on current data as it becomes available. To verify that your idea works, look for opportunities as they unfold because your chosen pattern may occur without a strong move following it. This is using forward testing to confirm your idea. Forward testing is more reliable than back testing, but much slower to perform.

In its simplest form you can back test by looking at lots of charts so you can begin to recognise patterns that occur before a strong move unfolds. When I started trading I studied thousands of charts to find out what worked and what didn’t, then narrowed down a few ideas to follow through with forward testing to see if they continued to work. Ensure you complete a thorough analysis before entering a trade, or follow a more experienced trader’s strategy.

Allowing losers to get out of control

Failure to cut losses can quickly result in disaster for any trader because the market can move far more than you expect. This is probably the most common mistake we see new traders make. The trader hopes the trade will reverse direction and move back into profit. Refusing to take the loss, the trader continues to hold the trade while willing it to turn into profit. While this may happen occasionally, when the trade doesn’t turn around it can do severe damage to your trading account. Cut your loss and look to re-enter if another entry signal appears. Ensure you develop the discipline to enter a stop loss into the market every time you enter a trade. This ensures you never get hit with large losses.

Mental stops are stop-loss orders that you place in your head instead of the market. For example, you decide to exit a long trade at $3.10, but when the market approaches $3.10 you convince yourself the market will move higher soon so you don’t take the exit as planned. The loss can now get seriously out of control and you could lose a lot of money. The problem with mental stops is you have to act on them. This can be difficult because when you are required to execute the trade you’re often in a losing position and hoping things will turn out ok. Even if you have been able to develop the discipline to act on your stops, the market sometimes moves very rapidly and you may end up losing more than you expect.

Mental stops may be used by experienced traders, but must never be used by beginners. Until you master the discipline to take exits when they’re signalled, stay well away from mental stops. Focus on good stop placement to avoid getting stopped out.

Overtrading

Another common mistake traders make is overtrading. It’s possible to make very nice annual returns from just a few good trades a year. High frequency trading is not required to make a profit. If your strategy has a sound edge then the more opportunities you have to trade it the better, but don’t confuse trading a lot with trading successfully. A few good trades can make a good year. It’s not necessary to be in and out of trades 20 or 30 times a day to make a profit.

Some of the most valuable time you can spend is identifying the best opportunities. There are millions of trading possibilities. It becomes necessary to make some choices and narrow your selection of what you will trade. To do this it’s necessary to overcome the fear of missing out on an opportunity. Remember the opportunity of a lifetime comes along every week! Many great opportunities will appear, so stop wasting your time and money on half-rate opportunities. Accept nothing less than the best when selecting trades. This
more selective approach can dramatically improve your profitability.

Eliminating mistakes

Eliminate these three fatal mistakes we’ve just discussed and your trading will improve dramatically. However, to eliminate the mistakes, first you must identify when you’re making a mistake. Your trading diary where you record your trades, wins and losses allows you to identify areas where you’re failing to stick to your plan. In particular be honest about the reasons you entered a trade. This honesty may take some time to develop because it’s not nice to admit you took a trade because you wanted to make back the money you lost in the morning. It’s easy to justify that a setup was in place, but tell the truth. You’re only lying to yourself.

Identify why you fail to stick to your plan and what you must change to eliminate the mistake. If the reason you fail to execute the core skills is emotionally based then monitor how you’re feeling when you’re trading and notice when particular emotions appear. Address each bad habit, one at a time, to change your behaviour.

Refining your trading skills takes practice to improve on the areas in which you’re weak, but the rewards are worth the effort. Becoming a better trader requires you to become a better person. This is one of the reasons you can find trading challenging to learn. Fortunately once you’ve changed a few habits, successful trading becomes much easier.

Jeff Cartridge
Education Manager

Post to Twitter

Trading Book Review: Trading With Charts For Absolute Returns

Friday, July 22nd, 2011

Trading With Charts For Absolute Returns (+ Web Site)

Author: Robert Fischer
RRP $105.00 Trader Dealer Price $85.00

Trading with Charts for Absolute Returns
Robert Fischer, a long-respected technical analyst, especially in Fibonacci price and time strategies, has written this very timely book for trading and achieving absolute returns year in year out, even in sideways-trending markets – could this be the market we are experiencing now?

The book has been written for more advanced traders, as he is providing numerous back-testing results of his featured strategies. Without having to go into intensive programming, Fischer explains the scientific principles underpinning the chart patterns and trading rules he uses and how key chart patterns work best, either individually or in combination.

A bonus feature of the book is the access to more than 1,500 trading signals on the companion web site.

Buy it here!

Review by Janene Murdoch
Educated Investor Bookshop
www.educatedinvestor.com.au
info@educatedinvestor.com.au

Post to Twitter