Showing posts with label Bollinger Bands. Show all posts
Showing posts with label Bollinger Bands. Show all posts

Wednesday, June 9, 2010

Playing with Bollinger Bands : A Likely Long Term Profitable Strategy

Last week I wrote a post about the Bollinger Bands indicator and how I thought it could be exploited to achieve good profitability levels in forex trading. After doing a full analysis going through a visual 5-6 year backtest, a mathematical expectancy analysis and the final coding and testing of the strategy I can tell you that I have come up with a likely long term profitable system based exclusively on Bollinger Bands. Asirikuy members would definitely want to checkout last week's video in which I explain the whole development process in detail showing you all the steps necessary to go from an idea to an actual, coded expert with great possibilities of long term success. On today's post I want to give my regular readers a look into this strategy and the results it finally achieves.

My first idea for coding this Bollinger Band system was taken from the thoughts I had a week ago regarding this strategy. I based the making of this strategy in the fact that when a bar closes above a certain number of volatility adjusted steps outside 2 standard deviations an important "signal" is given that predicts long term movements in that direction to a good extent. As I pointed last week, this strategy also signals a retracement in conjunction with the trend following aspect but definitely I wanted to explore the trend following aspects of the strategy first.

The mathematical expectancy analysis of this strategy wasn't disappointing at all with positive results for almost all period perspectives on the one hour charts. However - interestingly enough - long periods of time revealed a great characteristic of this system which is the predictive power over a singificantly long amount of time with almost no moves into unprofitable territory. This means that the strategy would definitely lend itself to the making of a system that could use an extremely favorable risk to reward ratio. Designing my system's money management around the conclusions of the mathematical expectancy analysis results I came up with a strategy that held a risk to reward ratio of exactly 1 : 4 meaning that the system can take four loses for each winning trade. For me this is quite unprecedented sine most strategies I coded have a risk to reward ratio oscillating from 2 : 1 to 1 : 3 but I had never been able to achieve such a high expectancy for winning trades with success. The results I achieved for a 10 year backtest (2000-2010) on the EUR/USD one hour chart are shown below.
-
-
I have to say that I was very impressed to see that such a simple strategy with absolutely no internal closing criteria besides the TP and SL could achieve such an incredible performance. This strategy definitely shows that it is not complexity what determines the success of a trading strategy but true understanding of the underlying price action. Once you have some idea of how the market behaves and how indicators can be used to exploit an inefficiency a likely long term profitable system from a very simple set of logic can arise. It is important here to say that the above shown results are unoptimized and simply the variable settngs are the result of the mathematical expectancy analysis (for those who are wondering, yes, I tried a trailing stop but a solid TP works much better)

Simulations of this system are also bound to be quite accurate since the average value of the TP is well above 200 pips, meaning that this EA has an incredibly large take profit value that could not be faked by any type of simulation interference. Moreover, the EA only enters trades based on last bar's close and therefore explicitely controls bar opening, something that is bound to make trading systems more reliable and back/live testing consistent. Of course, we would need to test this expert to find out but I believe that this system can be improved a lot more before actually releasing it as a Watukushay EA. It is however important to say that GREAT part of this straegy's success is based on its volatility adjusted money management that allows it to adjust to changes in market conditions. Using a fixed SL or TP leads to incredible loses showing how adaptive money management is VITAL to achieve profitability.
-
-
As you see on the above image, the success of the strategy is based in the fact that trades are taken almost always after a successful bollinger band breakout. However the fact that we are not focusing on the actual contraction/expansion of the bands but on the statistical meaning of a highly deviated price result makes us enter only meaningful breakouts while others that might have been entered on a contraction/expansion criteria (which is also hard to define) are avoided. The strategy does take a lot of loses (strategies with high reward to risk ratios are often very hard to trade psychologically because of this) however the great thing is that losing trades become evident after only a small move against us, allowing us to preserve the great 1:4 risk to reward ratio.

Currently I have created a forum post within the asirikuy community forum so that we can start improving this strategy and making it become a solid Asirikuy contribution. Of course, the system lacks any internal closing criteria and coming up with relevant ways to improve the system's closing of positions should be vital if this system is to be released for use in the future. If you would like to learn more about automated trading and how you too can come up with and design systems with long term profitability in mind please consider buying my ebook on automated trading or joining Asirikuy to receive all ebook purchase benefits, weekly updates, check the live accounts I am running with several expert advisors and get in the road towards long term success in the forex market using automated trading systems. I hope you enjoyed the article !

Friday, June 4, 2010

The Indicator Series : Understanding Bollinger Bands

If you have been involved with almost any form of technical trading you may have heard and probably used Bollinger Bands. This technical indicator named after its creator - John Bollinger- became one of the most popular tools used by traders during the 20th century. Today I am going to dedicate this post to a description and analysis of this indicator and how it can be used to create successful mechanical trading strategies. I am going to talk about the calculation of the indicator, what it tells us about price action and how we can analyze it to find different types of market inefficiencies. As always the objective of this post will be to teach you how to understand this indicator better and how to design effective systems that tie its logical relationship with price in a rational manner.

So how is the Bollinger Bands indicator calculated ? This is one of the simplest technical indicators available to modern traders. It is formed by two parallel lines plotted around an X period moving average. These lines are distanced from the MA by a certain number of standard deviations. The value of the standard deviation is calculated at the same number of periods as the X period MA. To sum it up the indicator is formed by the following line :

upper band = X period MA + Y times the standard deviation
lower band = X period MA - Y times the standard deviation
central line = X period MA

But what does it tell us ? The standard deviation is simply a measure of how much price moved away from its average. A high standard deviation implies that price moved further away from the central average while a low standard deviation implies that price remained more rangebound and close to its average. When this value is low, volatility is low, when it is high, volatility is high. The plotting of the traditional Bollinger Band indicator with the moving average and standard deviation calculated on close prices over 20 periods is shown below. The upper and lower bands are placed 2 standard deviation measures away from the central line.
--
The problem now seems to be to find an exploitable ineffiency using the above indicator. We must therefore find a behavior related to the standard deviation that will produce a forecast of future market movements with a positive mathematical expectancy over a long period of time. However when you attempt to do this you will find that most of your attempts will be frustrated by the fact that volatility related behavior - which is what the standard deviation of price tells us - does not appear to have a relationship with any particular inefficiency. In particular, attempting to capture volatility breakouts using Bollinger Bands is very difficult in forex trading and such a strategy does not hold a positive mathematical expectancy on most currency pairs.

Contrary to popular belief, there is also no clear statistical tendency when evaluating price "touching" the Bollinger Bands. If you attempt to create a strategy to profit from bounces from one side of the band to another you will find that profitable periods will exist but unprofitable periods in which the market will not bounce, but follow a particular band will happen. The same happens if you attempt to do the opposite. None of these approaches seems to give you a positive mathematical expectancy and in the end they do not lend themselves to the creation of mechanical strategies.

Is it not possible then to create a profitable system using this indicator ? Of course not ! Certainly there are ways in which this indicator might be exploited to give entries with positive mathematical expectancies. For example, statistically we might expect price levels outside the bollinger bands to be quite rare and in fact, significant price moves outside the bands might prove to be signals that price is moving decisively in that given direction. We could therefore use these signals to exploit both a short term retracement and a longer term trending movement, expecting price to return within the bands but to continue to move in that direction. Overall entry rules based on this approach have a positive mathematical expectancy meaning that they do provide us with a way to create Bollinger Band-based long term profitable systems.
-
-
As you see it comes down to understanding the meaning of the standard deviation and how price movements that are statistically rare can be exploited to signal - with positive accuracy over the long term - price movements in a given direction. Bollinger Bands are therefore a simple indicator that may not prove to be as useful as traditional technical analysis wants it to be, but it does lend itself to the creation of profitable strategies both on its own and as a compliment to others indicators as shown by the God's Gift ATR trading system. I am currently developing a few strategies based solely on Bollinger Bands. Will I succeed to make a long term profitable system out of this ? Stay tuned to check it out :o)

If you would like to learn more about automated trading and how you too can create your own systems to achieve success using expert advisors please consider buying my ebook on automated trading or joining Asirikuy to receive all ebook purchase benefits, weekly updates, check the live accounts I am running with several expert advisors and get in the road towards long term success in the forex market using automated trading systems. I hope you enjoyed the article !

Daniel Fernandez's Expert Author Email Alerts
Sign up to receive email alerts of Daniel Fernandez’s latest articles from EzineArticles.com!

Email Address: