ReversalCandlestickVietnam Updated PDF
ReversalCandlestickVietnam Updated PDF
ReversalCandlestickVietnam Updated PDF
net/publication/325451690
CITATIONS READS
0 52
5 authors, including:
Some of the authors of this publication are also working on these related projects:
COMBINATION OF DIMENSIONALITY REDUCTION AND USER CLUSTERING FOR COLLABORATIVE-FILTERING View project
All content following this page was uploaded by Ngo Tung Son on 17 July 2018.
1. INTRODUCTION
Body Body
In developed countries such as the United States, Europe and Japan,
investment activity has grown exponentially and consisted of large
financial institutions and individual investors with abundant funds.
In recent years in Vietnam, the demand for personal investment has Close Open
increased sharply as financial markets have begun to grow and
develop. The stock market, derivatives ... gradually becomes an
Lower shadow Low Lower shadow Low
attractive investment. According to Vietnam State Securities
Commission, the stock market capitalization in Vietnam reached
Figure 1 Formation of Candlestick
over $ 183 billion, accounting for 82% of GDP. The VN Index
ended the first quarter of 2017 reached 1,174.46, up 19.33% 2. RELATED WORKS
compared to the end of 2017 and led the world in terms of growth. In the past, many researchers were conducted to evaluate the
predictive power of candlestick patterns in different stock
SAMPLE: Permission to make digital or hard copies of all or part of this
work for personal or classroom use is granted without fee provided that markets. There are both positive and negative conclusions about
copies are not made or distributed for profit or commercial advantage and the candlestick model. Several researchers believe that
that copies bear this notice and the full citation on the first page. To copy candlestick patterns do not bring value to investors in the stock
otherwise, or republish, to post on servers or to redistribute to lists, market: Marshall et al (2006) [6] examined the profitability of the
requires prior specific permission and/or a fee. candlestick patterns. In their study, they used price data from 35
Conference’10, Month 1–2, 2010, City, State, Country. stocks in the Dow Jones Industrial Average (DJIA) for the period
Copyright 2010 ACM 1-58113-000-0/00/0010 …$15.00. from 1992 to 2001. They found that candlestick patterns had no
DOI: http://dx.doi.org/10.1145/12345.67890 financial or financial value for the investors. Goo et al tested the
performance of candlestick patterns on the Taiwan stock market particular market and the combination with other techniques. In
from 1997 to 2006. They found that the best performing candle many cases, the holding strategies also play very important roles in
pattern in three to four days hold while the bullish pattern works bringing profit to the investors.
best during a 9-10 day period [7]. Marshall et al (2008) [8] again
examined the predictive power and profitability of candlesticks 3. EXPERIMENTAL DESIGN
for a 10-day holding period. The tests were conducted using the This study employs a daily sample from 9 components stocks of
largest 100 stocks on the Tokyo Stock Exchange between 1975 HOSE index for the period from January 2, 2013 to March 15,
and 2002 by the same technique they have done in 2006. Finally, 2018 (downloaded from cophieu68.vn [15]): CTG (Vietinbank),
they concluded that the candlesticks had no predictive power as GAS (Petro Vietnam), HPG (Hoa Phat Group), MSN (Masan
well as any profit on the Japanese stock market. Horton studied Group Corporation), VCB (Bank for Foreign Trade of Vietnam),
the profitability of eight candlestick patterns on 349 stocks, VIC (Vingroup), VNM (VietNam Dairy Products), FPT (FPT
comparing their gains with buy and hold strategies. He concluded Corporation), and HAP (Hapaco Corporation). The 10 tested
that the Stars, Crows, and Dojis candlestick models were not candlesticks patterns are defined in Figure 2. The uptrend and
profitable [9]. Max Jönsson tested the predictive power of the downtrend are defined in the section 3.1 and profit of each
candlestick pattern on the Swedish stock market between 2007 candlestick are calculated based on equation in the section 3.2. We
and 2015 for his bachelor thesis [10]. He pointed out that first evaluate the predictive power of all bullish and bearish
candlestick analysis was not of value for profit to investors on the patterns, and then calculate the return of each candlestick on
Swedish stock market. different holding period.
The above studies supported Morris's view when he said: "market 3.1 Trend Definition
psychology cannot be measured by statistics" [5]. On the other
Many researches have used Moving Average (MA) to identify the
hand, many studies have shown that candlesticks yield certain
trend of finance market. Lu et al used the five-day simple moving
values: Hércules et al evaluated 16 patterns on 10 component
average (SMA) to define trend of tested candlestick patterns [12,
stocks of Bovespa. The data collected over 5 years from 2005 to
13]. In this study, we apply five-day pivot-based MA described by
2009 in Brazil, 9 patterns can be considered relatively regular
Occhoa [16]. The pivot point is derived by taking the average of the
because they occur at frequencies higher than 1% [11]. Lu et al
high, low, and close prices of a period of candle: 𝑝𝑡 = (H𝑡 + L𝑡 +
(2015) use 26 (after pre-processing) stocks of the DJIA index for
C𝑡 ) / 3
the period from January 2, 1992 to December 31, 2012. To
explore the predictive and lucrative potential of eight three-day Where 𝑝𝑡 is pivot point value, H𝑡 L𝑡 and C𝑡 are respectively High
reversal patterns. They show that the type of holding plays a price, Low price and Closing price of day 𝑡 𝑡ℎ . The five-day moving
major role in the effectiveness of candlestick trading strategies. is given by:
4
Especially candlestick trading strategies can create better value 1
for investors on riskier assets [12]. Lu et al (2016) analyze the 1- 𝑀𝐴𝑡 = ∑ 𝑝𝑡−𝑖
5
day candlestick pattern using data from 30 component stocks of 𝑖=0
the DJIA, with some patterns still proving profitable especially Declare 𝑚𝑡,𝑡−𝑖 is a binary variable to mark if 2 consecutive days is
since 1992 [13]. F. Martinsson and I. Liljeqvist [14] tested both bullish. Where:
the Swedish OMXS30 market and the UK FTSE100 market using 1 if 𝑀𝐴𝑡 > 𝑀𝐴𝑡−𝑖
𝑚𝑡,𝑡−𝑖 = {
10 candlestick patterns. They performed an analysis on the effects 0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
of Relative Strength Index (RSI) and stop loss configurations on The uptrend is identified if the MA is increasing consecutively for
a trading algorithm based on candlestick patterns. Their result at least five of the past six days. However, we will relax this
shows that different RSI and stop loss configurations has a condition by requiring only 4/5 times of accuracy:
substantial impact on the performance of a trading algorithm 4
based on candlestick patterns. This information shows that the ∑ 𝑚𝑡−𝑖,𝑡−𝑖−1 ≥ 4
effectiveness of the candlestick pattern depends very much on the 𝑖=0
Table 1: The statistical test result for predictive power of experimented Candlestick patterns
Patterns Success Reverse Frequency Prediction Rate t-value p-value
Bullish Engulfing 95 177 53,67% 0,90 0,37
Bullish Harami 90 170 52,94% 0,73 0,46
Hammer 46 97 47,42% -0,22 0,82
Inverted Hammer 55 118 46,61% -0,37 0,72
Piercing 24 45 53,33% 0,42 0,68
Bearish Engulfing 91 205 44,39% -0,34 0,74
Bearish Harami 82 194 42,27% -0,71 0,48
Dark Cloud Cover 24 56 42,86% -0,32 0,75
Hanging Man 47 98 47,96% 0,25 0,80
Shooting Star 67 148 45,27% -0,14 0,89
Table 2: The statistical test result for profitability on the holding periods
Holding dayth
Patterns Statistic Factors 1 2 3 4 5 6 7 8 9 10
Bullish Engulfing Mean 0.001 0.002 0.004 0.006 0.008 0.010 0.008 0.009 0.009 0.010
T-score 0.517 0.801 1.473 1.774 2.504 2.693 2.161 2.214 2.040 2.167
p-value 0.303 0.212 0.071 0.039 0.007 0.004 0.016 0.014 0.021 0.016
Bullish Harami Mean 0.002 0.005 0.005 0.003 0.002 0.007 0.008 0.009 0.012 0.012
T-score 0.766 1.726 1.552 0.732 0.523 1.663 1.783 1.993 2.630 2.551
p-value 0.222 0.043 0.061 0.232 0.301 0.049 0.038 0.024 0.005 0.006
Hammer Mean -0.002 0.001 0.001 0.003 0.004 0.002 0.003 0.002 0.002 0.004
T-score -1.040 0.201 0.184 0.667 1.129 0.526 0.696 0.314 0.456 0.666
p-value 0.849 0.421 0.427 0.253 0.131 0.300 0.244 0.377 0.325 0.253
Inverted Hammer Mean 0.000 0.001 0.002 0.004 0.005 0.004 0.003 0.001 0.001 0.002
T-score -0.011 0.348 0.525 0.983 0.958 0.867 0.612 0.210 0.123 0.336
p-value 0.505 0.364 0.300 0.164 0.170 0.194 0.271 0.417 0.451 0.369
Piercing Mean 0.003 0.004 0.008 0.010 0.016 0.020 0.020 0.021 0.019 0.019
T-score 1.014 1.010 1.389 1.775 2.528 2.835 2.917 2.752 2.523 2.134
p-value 0.158 0.159 0.086 0.041 0.008 0.003 0.003 0.004 0.008 0.019
Bearish Engulfing Mean -0.001 -0.003 -0.003 -0.006 -0.007 -0.007 -0.009 -0.013 -0.014 -0.012
T-score -0.412 -1.373 -1.055 -2.134 -1.978 -2.099 -2.321 -3.127 -3.276 -2.594
p-value 0.660 0.914 0.854 0.983 0.975 0.981 0.989 0.999 0.999 0.995
Bearish Harami Mean -0.001 -0.003 -0.006 -0.010 -0.011 -0.015 -0.017 -0.020 -0.021 -0.024
T-score -0.396 -1.355 -2.006 -2.759 -2.869 -3.566 -3.941 -4.534 -4.388 -4.773
p-value 0.654 0.912 0.977 0.997 0.998 1.000 1.000 1.000 1.000 1.000
Dark Cloud Cover Mean -0.002 -0.006 -0.004 -0.006 -0.005 -0.002 -0.007 -0.012 -0.008 -0.005
T-score -0.794 -1.633 -0.874 -1.326 -0.842 -0.363 -0.881 -1.463 -1.035 -0.553
p-value 0.785 0.946 0.807 0.905 0.798 0.641 0.809 0.925 0.847 0.709
Hanging Man Mean -0.003 -0.003 -0.005 -0.009 -0.013 -0.013 -0.013 -0.016 -0.018 -0.020
T-score -1.095 -1.001 -1.138 -1.797 -2.543 -2.624 -2.367 -2.681 -2.745 -2.965
p-value 0.862 0.840 0.871 0.962 0.994 0.995 0.990 0.996 0.996 0.998
Shooting Star Mean -0.003 -0.006 -0.007 -0.008 -0.013 -0.013 -0.014 -0.012 -0.015 -0.016
T-score -1.280 -2.363 -2.734 -2.733 -3.618 -2.986 -2.989 -2.755 -3.130 -3.141
p-value 0.899 0.990 0.996 0.996 1.000 0.998 0.998 0.997 0.999 0.999
Authors’ background
Your Name Title* Research Field Personal website
*This form helps us to understand your paper better, the form itself will not be published.
*Title can be chosen from: master student, Phd candidate, assistant professor, lecture, senior lecture, associate
professor, full professor