Calibration of Bollinger Bands Parameters for Trading Strategy Development in the Baltic Stock Market

Total Page:16

File Type:pdf, Size:1020Kb

Calibration of Bollinger Bands Parameters for Trading Strategy Development in the Baltic Stock Market ISSN 1392 – 2785 Inzinerine Ekonomika-Engineering Economics, 2010, 21(3), 244-254 Calibration of Bollinger Bands Parameters for Trading Strategy Development in the Baltic Stock Market Audrius Kabasinskas, Ugnius Macys Kaunas University of Technology K. Donelaicio st. 73, LT-44029, Kaunas, Lithuania e-mail: [email protected], [email protected] In recent decades there was a robust boom in "Bollinger plotter" was developed using the most investment sector in Lithuania, as more people chose to popular mathematical toolbox MatLab in order to solve invest money in investment funds rather than keep money in stated problems. Application is capable of charting the closet. The Baltic States Market turnover has increased Bollinger Bands and 6 other technical indicators with from 721 MEUR in 2000 to 978 MEUR in 2008 (with peak desired period of time. This software is not a fully 2603 MEUR in 2005). When difficult period appeared in automated decision making system, as decisions are global markets, a lot of attention was dedicated towards the usually made based on value judgment. managing of investments. Investment management firms in Since the stock returns usually have distributions with Lithuania gain significance in personal as well as in fat tails, then less than 95% of data fit in the Bollinger business section increasingly; even though these firms are trading channels. However the Bollinger bands trading considerably young (the first one in Lithuania was signals were supported by additional indicators (e.g. %b), established in year 2000). so the loss of data is not significant. Successful investment begins with the financial Our calibration results show that short term investor analysis of stock, asset or index, which you are going to should apply 10 days moving average and use a trading invest. Professionals can be divided into two groups as far channel with the width of 1.8 standard deviations, for the as this point is concerned: supporters of fundamental Bollinger bands. analysis and the supporters of technical analysis. Fundamental analysts try to determine a company’s value Keywords: Bollinger bands, trading bands, short term, by looking at the balance sheet, cash flow statement and investment, portfolio optimization, parameter income statement. Technicians, on the other hand, assume calibration, Baltic stock market, standard that all these fundamentals are accounted for in the stock’s deviation, moving average, technical analysis. price and analyses charts of price movements and various indicators derived from the price and volume. Technical Introduction analysis suffered major criticism when Fama (1965) Lately, the number of investors in Lithuania was presented his efficient-market hypothesis (EMH), which growing rapidly, and they entrusted their savings to states that past prices cannot be used to profitably predict investment funds. People realized that over time money future prices. However, many researches showed that loses its value when it lies in a drawer or a bank account EMH is not adequate in many aspects. With this and therefore, decided to take some minimal risks and background the “Quantitative Behavioral Finance” theory invest some free capital with the hope of the benefit. was introduced (see recent works of Gunduz Caginalp, In the meantime, during the difficult economic Vernon Smith, David Porter, Don Balenovich, Vladimira situation, a lot of investors are focused on optimal Ilieva, Ahmet Duran, and Ray Sturm). This theory includes investment management. Although Lithuanian investment some topics of classical theories, but mainly it is based on management companies are still young (the first behavioral analysis of market agents and helps to investment management company established in Lithuania understand behavioral biases in conjunction with in 2000), but they play a larger role every year in both valuation. This means that there is no reason to criticize personal and business financial management structures. To the technical analysis, but in difficult cases (e.g. crises) it have successful investment, it is necessary to perform should be supplemented by behavioral analysis of agents. comprehensive and very accurate analysis of the market, In this paper some methods of technical analysis are used index or stock company. The analysts usually are divided to create an investment strategy trading in Baltic States in to 2 different schools: fundamental analysts and stock market. technical analysts. Fundamentalists analyze company The main objectives of this research are: adapt financial performance from their submitted reports to Bollinger Bands to the Baltic market, determine which estimate the company's value. The supporters of technical investment period with – long term or short term – analysis consider that all these figures are reflected in stock Bollinger Bands is more efficient, research the efficiency of price and focuse only on the share price changes, i.e. their Bollinger Bands depending on the parameters. In this analysis is based on graphical analysis. The latter theory paper the optimal parameters are calibrated and the was criticized by economists in the context of 1960–1970, expected profit is estimated without the information about when Professor E. Fama introduced his famous efficient the transaction costs. -244- Audrius Kabasinskas, Ugnius Macys. Calibration of Bollinger Bands Parameters for Trading Strategy Development in the Baltic Stock Market market hypothesis (see Fama, 1965, 1965 and Fama & This paper is organized as follows. In the first section Miller, 1972). This theory states that all past information is we give some methodology of Bollinger and other trading reflected in today's price, so it is impossible to predict the bands. Section 2 deals with the methodology of the direction of price movement basing it on historical data. selection of optimal parameters of Bollinger bands. Section Nowadays this theory is replaced by so called “Behavioral 3 explains the nature of the selected data and related Finance” (see, e.g. Baltussen, 2009), which states that the problems. In the section 4 we give some empirical results stock price is a reflection of traders (agents) behavior. of calibration of Bollinger bands parameters and conclude Furthermore, Mandelbrot (1963, 1964) has showed that the with conclusions and discussions. daily stock price returns are not normally distributed and the effective market hypothesis is not adequate. Nowadays, Trading bands many scientists claim that the daily stock returns fit the so called α -stable distribution (Kabašinskas et al, 2009, The trading bands are curves plotted as envelopes in the Kabasinskas et al, 2010, Rachev et al, 2005, Belovas et al, graph of security price. Hurst (1970) was first to apply 2006, etc.) and may be modeled by GARCH time series trading bands in investment analysis. The author suggested techniques. to graph continuous curves over and down from original stock Nonparametric adequacy hypothesis H0: "Return of the price. By this technique analysts tried to evaluate cycles stock is normally distributed" was tested for each of the (seasonality) of the share price (Bollinger 1992, 2001). selected stocks from the Baltic stock market (see Next improvement was introduced in mid 1970’s. The Kabašinskas et al, 2009, and Belovas et al, 2006). The price shell was formed shifting moving average up and Kolmogorov-Smirnov criterion rejected the null hypothesis down by a fixed constant. This technique remains popular for all the data. Theoretically if the width of trading as it is a simple way to draw trading bands. Figure 1 channel is chosen to be of two standard deviations, (upper) illustrates a 21 day moving average with a trading approximately 95% of data should fit into this trading bands shifted up and down by 4%. channel. However, it is wrong to rely on this assumption as returns of the stocks are not normally distributed (see Kabašinskas et al, 2009, and Rachev et al, 2005). It is likely that less than 95% of data fit in the trading channel as returns usually have fat tailed distributions. This means, that there are more data points in the far tails of the distribution than normal distribution, and empirical tests supports this assumption (Kabašinskas et al, 2009, Kabašinskas et al, 2010, and Belovas et al, 2006b). However, Liu et al. (2006) proved that Black–Scholes model really possesses the Bollinger band property of real stock market when K=2. The price of a security is a consensus between a buyer and seller. Whether a trader decides to buy or sell depends on his expectations. If a price is expected to rise, the trader would buy, and if a price is expected to decrease, the trader would sell. Technical analysis encounters greatest challenge because of a human factor. As expectations of an individual person are neither easily measurable nor predictable, all automated decision making systems remain inconsistent (Achelis, 2000). The management of the investment requires cool mind and objectively assessment of all circumstances, because emotions often lead to the edge of the abyss. However, in our work we analyze the investment methods that are based on technical analysis principles. We will analyze the possibilities of application of one of the technical analysis methods – the Bollinger bands methods (Bollinger, 1992 and 2001) for the investment in the Baltic stock market. Bollinger bands method is widely used, however, not so thoroughly studied in a scientific way (see Ryazanova Oleksiv, 2008). In Lithuania this problem is not studied at all. Therefore our main objective of this study is Figure 1. Evolution of the trading bands with TEO1L stocks to examine the scientific and empirical validity of the method mentioned above. Usually the efficiency of It is trivial to draw this kind of bands. First 21 day Bollinger bands varies depending on the selected moving average is calculated and drawn. Then upper band parameters. So in this paper we will focus on this problem. is moving averages times 1.04 and lower band is moving As also we will determine which investment - long-term or average times 0.96.
Recommended publications
  • FOREX WAVE THEORY.Pdf
    FOREX WAVE THEORY This page intentionally left blank FOREX WAVE THEORY A Technical Analysis for Spot and Futures Currency Traders JAMES L. BICKFORD McGraw-Hill New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Copyright © 2007 by The McGraw-Hill Companies. All rights reserved. Manufactured in the United States of America. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. 0-07-151046-X The material in this eBook also appears in the print version of this title: 0-07-149302-6. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales pro- motions, or for use in corporate training programs. For more information, please contact George Hoare, Special Sales, at [email protected] or (212) 904-4069. TERMS OF USE This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGraw-Hill”) and its licen- sors reserve all rights in and to the work. Use of this work is subject to these terms.
    [Show full text]
  • Modeling and Analyzing Stock Trends
    Modeling and Analyzing Stock Trends A Major Qualifying Project Submitted to the Faculty of Worcester Polytechnic Institute in partial fulllment of the requirements for the Degree in Bachelor of Science Mathematical Sciences By Laura Cintron Garcia Date: 5/6/2021 Advisor: Dr. Mayer Humi This report represents work of WPI undergraduate students submitted to the faculty as evidence of a degree requirement. WPI routinely publishes these reports on its web site without editorial or peer review. For more information about the projects program at WPI, see http://www.wpi.edu/Academics/Projects 1 Abstract Abstract The goal of this project is to create and compare several dierent stock prediction models and nd a correlation between the predic- tions and volatility for each stock. The models were created using the historical data, DJI index, and moving averages. The most accurate prediction model had an average of 5.3 days spent within a predic- tion band. A correlation of -0.0438 was found between that model an a measure of volatility, indicating that more prediction days means lower volatility. 2 2 Acknowledgments Without the help of some people, it would have been signicantly more di- cult to complete this project without a group. I want to extend my gratitude to Worcester Polytechnic Institute and the WPI Math Department for their great eorts and success this year regarding school and projects during the pandemic. They did everything they could to ensure these projects was still a rich experience for the students despite everything. I would also like to thank my MQP advisor, Professor Mayer Humi for his assistance and guidance on this project, for allowing me to work indepen- dently while always being willing to meet with me or answer any questions, and for continuously encouraging me to do what I thought was best for the project.
    [Show full text]
  • Earth & Sky Trading System
    Earth & Sky Trading System By Pierre Du Plessis 1 Copyright © Forex Mentor Pro 2011. All rights reserved. Any redistribution or reproduction of part or all of the contents in any form is prohibited other than the following: You may print or download to a local hard disk copies for your personal and non- commercial use only; You may not, except with our express written permission, distribute or commercially exploit the content. Nor may you transmit it or store it in any other website or other form of electronic retrieval system. Risk Disclosure Statement The contents of this e-Book are for informational purposes only. No part of this publication is a solicitation or an offer to buy or sell any financial market. Examples are provided for illustration purposes only and should not be construed as investment advice or strategy. All trade examples are hypothetical. No representation is made that any account or trader will or is likely to achieve profits or loses similar to those discussed in this e-Book. By purchasing this e-Book, and/or subscribing to our mailing list you will be deemed to have accepted these and all other terms found on our web page ForexMentorPro.com in full. The information found in this e-Book is not intended for distribution to, or use by any person or entity in any jurisdiction or country where such distribution or use would be contrary to the law or regulation or which would subject us to any registration requirement within such jurisdiction or country. CFTC RULE 4.41 HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS.
    [Show full text]
  • © 2012, Bigtrends
    1 © 2012, BigTrends Congratulations! You are now enhancing your quest to become a successful trader. The tools and tips you will find in this technical analysis primer will be useful to the novice and the pro alike. While there is a wealth of information about trading available, BigTrends.com has put together this concise, yet powerful, compilation of the most meaningful analytical tools. You’ll learn to create and interpret the same data that we use every day to make trading recommendations! This course is designed to be read in sequence, as each section builds upon knowledge you gained in the previous section. It’s also compact, with plenty of real life examples rather than a lot of theory. While some of these tools will be more useful than others, your goal is to find the ones that work best for you. Foreword Technical analysis. Those words have come to have much more meaning during the bear market of the early 2000’s. As investors have come to realize that strong fundamental data does not always equate to a strong stock performance, the role of alternative methods of investment selection has grown. Technical analysis is one of those methods. Once only a curiosity to most, technical analysis is now becoming the preferred method for many. But technical analysis tools are like fireworks – dangerous if used improperly. That’s why this book is such a valuable tool to those who read it and properly grasp the concepts. The following pages are an introduction to many of our favorite analytical tools, and we hope that you will learn the ‘why’ as well as the ‘what’ behind each of the indicators.
    [Show full text]
  • Technical-Analysis-Bloomberg.Pdf
    TECHNICAL ANALYSIS Handbook 2003 Bloomberg L.P. All rights reserved. 1 There are two principles of analysis used to forecast price movements in the financial markets -- fundamental analysis and technical analysis. Fundamental analysis, depending on the market being analyzed, can deal with economic factors that focus mainly on supply and demand (commodities) or valuing a company based upon its financial strength (equities). Fundamental analysis helps to determine what to buy or sell. Technical analysis is solely the study of market, or price action through the use of graphs and charts. Technical analysis helps to determine when to buy and sell. Technical analysis has been used for thousands of years and can be applied to any market, an advantage over fundamental analysis. Most advocates of technical analysis, also called technicians, believe it is very likely for an investor to overlook some piece of fundamental information that could substantially affect the market. This fact, the technician believes, discourages the sole use of fundamental analysis. Technicians believe that the study of market action will tell all; that each and every fundamental aspect will be revealed through market action. Market action includes three principal sources of information available to the technician -- price, volume, and open interest. Technical analysis is based upon three main premises; 1) Market action discounts everything; 2) Prices move in trends; and 3) History repeats itself. This manual was designed to help introduce the technical indicators that are available on The Bloomberg Professional Service. Each technical indicator is presented using the suggested settings developed by the creator, but can be altered to reflect the users’ preference.
    [Show full text]
  • A Linear Process Approach to Short-Term Trading Using the VIX Index As a Sentiment Indicator
    Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 29 July 2021 Article A Linear Process Approach to Short-term Trading Using the VIX Index as a Sentiment Indicator Yawo Mamoua Kobara 1,‡ , Cemre Pehlivanoglu 2,‡* and Okechukwu Joshua Okigbo 3,‡ 1 Western University; [email protected] 2 Cidel Financial Services; [email protected] 3 WorldQuant University; [email protected] * Correspondence: [email protected] ‡ These authors contributed equally to this work. 1 Abstract: One of the key challenges of stock trading is the stock prices follow a random walk 2 process, which is a special case of a stochastic process, and are highly sensitive to new information. 3 A random walk process is difficult to predict in the short-term. Many linear process models that 4 are being used to predict financial time series are structural models that provide an important 5 decision boundary, albeit not adequately considering the correlation or causal effect of market 6 sentiment on stock prices. This research seeks to increase the predictive capability of linear process 7 models using the SPDR S&P 500 ETF (SPY) and the CBOE Volatility (VIX) Index as a proxy for 8 market sentiment. Three econometric models are considered to forecast SPY prices: (i) Auto 9 Regressive Integrated Moving Average (ARIMA), (ii) Generalized Auto Regressive Conditional 10 Heteroskedasticity (GARCH), and (iii) Vector Autoregression (VAR). These models are integrated 11 into two technical indicators, Bollinger Bands and Moving Average Convergence Divergence 12 (MACD), focusing on forecast performance. The profitability of various algorithmic trading 13 strategies are compared based on a combination of these two indicators.
    [Show full text]
  • Statistical Process Control Techniques in Technical Analysis
    Statistical Process Control Techniques in Technical Analysis Leonard H. Smith, CMT SOT in a trending period. and quantifiable methodscan be used Abstract to take trending systemsout of the market during non-trending This paper addresses Statistical Process Control (SPC) tech- drawdownperiods, thereby improving mechanicalsystem timing. niques applied to Technical Analysis. The premise is that simple The challengefor the market technician is to determine whirh methods from manufacturing Statistical Process Control can be market behavior is worth trading with zdzattechnique. Statistical used to determine when a statistically significant tradable event methods can be applied to the market and lead to a trending or has occurred. non-trending conclusiononce a threshold probability assumption This paper proposes an Orderliness Indicator that has predic- is selected. A trading method can be selected once the market tire value on expected LACK of price change. has been categorized as trending or non-trending. One strateg) SPC-derived trading systems are shown that use: would be used for a random or non-trending market. X different Rule 1: Price movement outside a range of expected prices is trading strategy would be designed for trending markets. One usedas a trade setup, and application might be to sell options when the end of a trend is Rule 4: X moving average technique will be introduced, and signaled.The end of a trend usuall!; has high option premiums R Rule: Price change as an entry stop in combination with a and selling them with appropriate risk control could be quanti- simple exit rule. fied. SPC methods offer a simple way of evaluating market trend behaviors with statisticaltechniques.
    [Show full text]
  • The SAVI Indicator
    The SAVI Indicator The JSE introduces a new “Fear Factor” Investor greed and fear play a significant and often irrational role in any financial market. These market sentiments can be seen in the volatility of the market – high volatility with large market moves suggest a fearful market while low volatility with little market movement indicates a lack of fear. How can investors measure this market sentiment and use this in their investment decisions? A volatility index or “fear gauge” is a reference number that can be used to indicate market risk at a glance. The first volatility index known as the VIX was developed by the Chicago Board Options Exchange in 1993 to measure the volatility of the S&P500. In 2007, the JSE launched the South African Volatility Index or SAVI to measure equity risk in South Africa; this was the first of its kind in an emerging economy. The SAVI is similar to the VIX, with the difference being that the US index measures implied volatility over one month, while the SAVI looks forward three months. The Ultimate "Fear Gauge" For Beating the Crowds to Big Profits It may be as cliché as it gets, but it's true. Investors are motivated by two things and two things only: Fear and Greed. It's just that simple. So more often than not, they turn quite bullish when they think a stock is headed higher and quite bearish when they fear that all is lost. The trouble with this strategy though, is that for most retail investors, it is exactly at these extremes in sentiment that they often lose their shirts.
    [Show full text]
  • Candlestick Patterns (Every Trader Should Know)
    Candlestick Patterns (Every trader should know) A doji represents an equilibrium between supply and demand, a tug of war that neither the bulls nor bears are winning. In the case of an uptrend, the bulls have by definition won previous battles because prices have moved higher. Now, the outcome of the latest skirmish is in doubt. After a long downtrend, the opposite is true. The bears have been victorious in previous battles, forcing prices down. Now the bulls have found courage to buy, and the tide may be ready to turn. For example = INET Doji Star A “long-legged” doji is a far more dramatic candle. It says that prices moved far higher on the day, but then profit taking kicked in. Typically, a very large upper shadow is left. A close below the midpoint of the candle shows a lot of weakness. Here’s an example of a long-legged doji. For example = K Long-legged Doji A “gravestone doji” as the name implies, is probably the most ominous candle of all, on that day, price rallied, but could not stand the altitude they achieved. By the end of the day. They came back and closed at the same level. Here ’s an example of a gravestone doji: A “Dragonfly” doji depicts a day on which prices opened high, sold off, and then returned to the opening price. Dragonflies are fairly infrequent. When they do occur, however, they often resolve bullishly (provided the stock is not already overbought as show by Bollinger bands and indicators such as stochastic). For example = DSGT The hangman candle , so named because it looks like a person who has been executed with legs swinging beneath, always occurs after an extended uptrend The hangman occurs because traders, seeing a sell-off in the shares, rush in to grab the stock a bargain price.
    [Show full text]
  • Exchange Rate Forecasts with Candlestick Patterns and Expert Systems
    Exchange Rate Forecasts with Candlestick Patterns and Expert Systems Masterarbeit zur Erlangung des akademischen Grades „Master of Science (M.Sc.)“ im Studiengang Wirt- schaftsingenieur der Fakultät für Elektrotechnik und Informatik, Fakultät für Maschinenbau und der Wirtschaftswissenschaftlichen Fakultät der Leibniz Universität Hannover vorgelegt von Name: Amelsberg Vorname: Nanno Prüfer: Prof. Dr. M. H. Breitner Hannover, den 20.08.2014 List of contents List of figures ......................................................................................................................... IV List of tables ............................................................................................................................. V List of abbreviations .............................................................................................................. VI 1 Introduction ....................................................................................................................... 1 1.1 Problem definitions ...................................................................................................... 1 1.2 Objectives .................................................................................................................... 1 1.3 Methodology ................................................................................................................ 2 2 Basics .................................................................................................................................. 4 2.1 Fundamental
    [Show full text]
  • Luckscout Ultimate Wealth System
    Candlesticks Signals and Patterns by LuckScout.com Team Copyright 2017 Version 1.1 www.LuckScout.com 1 Copyright and Disclaimer Copyright 2017 by LuckScout.com Team. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, mechanical or electronic, including photocopying and recording, or by any information storage and retrieval system, without permission in writing from the author (except by a reviewer, who may quote brief passages and/or short brief video clips in a review). Disclaimer: The authors make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specially disclaim all warranties, including without limitation, warranties for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the authors are not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, this should be sought from applicable parties. The authors shall not be liable for damages arising herefrom. The fact that an organization or website is referred to in this work as a citation and/or a potential source of further information, does not mean that the authors endorse the information the organization/website may provide or recommendations it may make. Further, readers should be aware that Internet websites listed in this work may
    [Show full text]
  • Index.Pdf (69.91KB)
    26_178089 bindex.qxp 2/27/08 9:38 PM Page 329 Index • Symbols & • B • Numerics • bar charts candlestick chart, compared to, 19, 20, %K (fast) stochastic oscillators, 263 317–319 %D (slow) stochastic oscillators, 263 defined, 10, 27–28 5-day moving average, 253–254, 256, 257, single line, 28 258–260 on Web sites, 53 10-day moving average, 259–260 BEA Systems, 220 20-day moving average, 255, 256, 258–260 bear market, defined, 22 24-hour electronic trading Bear Stearns Companies, Inc., 147 high and low prices, futures, 36–37 bearish state volume, relationship to, 25 candlestick charting and patterns, 20–22, 30-minute chart, 74–75 279–290 200-day moving average, 253 closing price as body of candlestick, 38 defined, 96 double-stick patterns • A • dark cloud cover, 172–174 abandoned baby doji star, 167–168 bearish, 229–231 engulfing pattern, 156–158 bullish, 199–201 harami, 159–161 affordability and trading choices, 15 harami cross, 161–164 after-hours trading inverted hammer, 164–167 high and low prices, futures, 36–37 meeting line, 168–172 volume, relationship to, 25 neck lines, 180–183 Alcoa, 170, 171 piercing line, 172–174 Altera Corp., 304 separating lines, 178–180 Amazon.com, 269 thrusting lines, 175–177 American Express, 310–311 sell indicators, 279–290 American Stock Exchange (AMEX), 33, 68 single-stick pattern Amgen, Inc., 151–152 belt hold, 113 Analog Devices Inc., 206–207 doji, 90–94 Apple Computer, 93–94, 168, 169, 276, gravestone doji, 90–94 292–293 long black candle, 84–90 Applebee’s International, 221–222 long marubozus, 86–88
    [Show full text]