Open-High-Low-Close Candlesick Plo (Sale) STATGRAPHICS Rev. 7/28/2015 Summary... 1 Daa Inpu... 2 Sale... 3 References... 5 Summary The Open-High-Low-Close Candlesick Plo Sale is designed o plo securiy prices in a manner ofen used by sock raders. I shows he opening price for each rading session, high and low prices during he session, and he closing price using a graphical image ofen referred o as a candlesick. Trading volumes may also be displayed as bars along he boom of he plo. In addiion o he raw daa, a smooher may be added o he plo using eiher a simple moving average or an exponenially weighed moving average. Trading bands may be ploed around he smoohed line a eiher a fixed percenage or using he mehod developed by Bollinger. The %b saisic is calculaed o measure where he closing price lies wih respec o he bands. A bandwidh is also calculaed o measure volailiy. Sample SaFolio: openhighlowclose.sgp Sample Daa The file AAPL.sgd conains informaion abou he price of common sock for Apple, Inc. during several monhs in 2011. The firs several rows of ha file are shown below: Dae Open High Low Close Volume 1/3/11 325.64 330.26 324.84 329.57 15897800 1/4/11 332.44 332.50 328.15 331.29 11038600 1/5/11 329.55 334.34 329.50 334.00 9125700 1/6/11 334.72 335.25 332.90 333.73 10729600 1/7/11 333.99 336.35 331.90 336.12 11140400 1/10/11 338.83 343.23 337.17 342.45 16020000 1/11/11 344.88 344.96 339.47 341.64 15861000 1/12/11 343.25 344.43 342.00 344.42 10806800 1/13/11 345.16 346.64 343.85 345.68 10599300 1/14/11 345.89 348.48 344.44 348.48 11030000 1/18/11 329.52 344.76 326.00 340.65 67178500 1/19/11 348.35 348.60 336.88 338.84 40557600 2013 by SaPoin Technologies, Inc. Open-High-Low-Close Candlesick Plo - 1
Daa Inpu The daa o be analyzed are specified on he following daa inpu dialog box: Each row of he daashee is assumed o conain daa for a single rading session. Ener he names of he columns ha conain: Opening Values: he opening price a he sar of each session. High Values: he highes price during each session. Low Values: he lowes price during each session. Closing Values: he closing price a he end of each session. Volume: he number of shares raded during each session (opional). Time indices: ime, dae or oher index associaed wih each session. Each value in his column mus be unique and arranged in eiher ascending or descending order. Selec: subse selecion. 2013 by SaPoin Technologies, Inc. Open-High-Low-Close Candlesick Plo - 2
Sale The oupu of his procedure is displayed in a dynamic Sale window: For each rading session, he plo shows a candlesick, colored green if he price rose during he session or red if he price fell. The solid par of he candlesick covers he disance beween he opening and closing prices, while he lines exend ouward o he high and low prices. If volumes are provided, hey are shown as bars along he boom of he graph. The daa for he mos recen rading session is shown o he righ of he graph. Plo ype This field deermines he manner in which he daa are displayed. Insead of a candlesick plo, he closing prices only may be ploed by selecing Close line. 2013 by SaPoin Technologies, Inc. Open-High-Low-Close Candlesick Plo - 3
Smooher STATGRAPHICS Rev. 7/28/2015 Two ypes of smoohers may be added o he plo. The firs is a simple moving average, which shows he average of he mos recen observaions. If is he closing price a ime, hen he moving average a ime is calculaed from MA 1 i i 0 (1) The defaul value for is 20, bu i may be changed using he lefmos slider. The second ype of smooher is an exponenially weighed moving average, calculaed from EWMA (2) ( 1) EWMA 1 The EWMA a ime = 1 is iniialized using a mehod called backforecasing, in which he closing prices are smoohed backwards in ime o give an iniial value for = 0. The defaul value for is 0.1, bu i may be changed using he second slider. Trading bands Trading bands may be added above and below he smooh. Such bands are ofen used o rigger buy and sell acions. The simples ype of bands are drawn a a fixed percenage of he smoohed value, such as ±4%. Anoher ype of widely used bands are he so-called Bollinger bands. These bands are ploed a ±K where is he square roo of he mean squared error calculaed by applying eiher a simple moving average or an exponenially weighed moving average o he squared differences beween he closing prices and he smoohed values. If a simple moving average is used, hen 1 2 i MA i i0 (3) Buy-Sell Indicaors Two indicaors are also calculaed and may be ploed on he graph if desired. The firs indicaor is called %b and is calculaed from lowerband % b (4) upperband lowerband I shows he relaive locaion of he closing price wihin he bands, where %b = 0 a he lower band and %b = 1 a he upper band. 2013 by SaPoin Technologies, Inc. Open-High-Low-Close Candlesick Plo - 4
The second indicaor is called bandwidh and is calculaed from BW upperband lowerband (5) smoohedvalue Similar o a coefficien of variaion, a relaively large value of BW implies ha he sock price has been changing rapidly in he recen pas. Cursor locaion The daa corresponding o a paricular rading period (indicaed by a verical line) are displayed o he righ of he main plo. The cursor locaion scrollbar changes he period for which he daa are displayed. Show alers Alers may be generaed whenever he daa values for he las period ploed are unusual. If he show alers checkbox is checked, any alers defined for he curren SaFolio will be generaed. To selec he ypes of alers ha will be generaed, go o Tools on he main Sagraphics menu and selec SaFolio Alers. A deailed descripion of he available alers is conained in he PDF documen iled SaFolio Alers. References Bollinger, J. (2001). Bollinger on Bollinger Bands. ew York: McGraw Hill. 2013 by SaPoin Technologies, Inc. Open-High-Low-Close Candlesick Plo - 5