Next Article in Journal
Towards an Economic Cyber Loss Index for Parametric Cover Based on IT Security Indicator: A Preliminary Analysis
Previous Article in Journal
Multivariate Collective Risk Model: Dependent Claim Numbers and Panjer’s Recursion
Previous Article in Special Issue
Financial Bubbles: A Study of Co-Explosivity in the Cryptocurrency Market
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Technical Analysis on the Bitcoin Market: Trading Opportunities or Investors’ Pitfall?

by
Marina Resta
1,
Paolo Pagnottoni
2,* and
Maria Elena De Giuli
2
1
Department of Economics and Business Studies, University of Genova, 16126 Genova GE, Italy
2
Department of Economics and Management, University of Pavia, 27100 Pavia PV, Italy
*
Author to whom correspondence should be addressed.
Risks 2020, 8(2), 44; https://doi.org/10.3390/risks8020044
Submission received: 16 January 2020 / Revised: 23 April 2020 / Accepted: 24 April 2020 / Published: 6 May 2020
(This article belongs to the Special Issue Financial Networks in Fintech Risk Management)

Abstract

:
In this paper we aimed to examine the profitability of technical trading rules in the Bitcoin market by using trend-following and mean-reverting strategies. We applied our strategies on the Bitcoin price series sampled both at 5-min intervals and on a daily basis, during the period 1 January 2012 to 20 August 2019. Our findings suggest that, overall, trading on daily data is more profitable than going intraday. Furthermore, we concluded that the Buy and Hold strategy outperforms the examined alternatives on an intraday basis, while Simple Moving Averages yield the best performances when dealing with daily data.
JEL Classifications:
C22; G10

1. Introduction

Bitcoin is a peer-to-peer electronic currency system that does not rely on any centralized authorities. Indeed, different from traditional currencies, the Bitcoin system is based on a network of users which build a replicated ledger and mutually verify transactions. Since its inception in 2009, Bitcoin paved the way for the world of cryptocurrencies, which now number as many as 5025 cryptocurrencies as of 13 January 2020. However, Bitcoin still preserves its dominant position, both in terms of market capitalization and notoriety. Given its innovative nature, it has received considerable attention among academics, analysts, and policymakers during the last decade.
The predictability of the Bitcoin price dynamics is surely one bullet point which deserves to be studied. That is the reason why several researches have empirically detected the main features of the Bitcoin market, focusing on Malkiel and Fama (1970), Efficient Market Hypothesis (EMH). Urquhart (2016) inspected the existence of the weak form of EMH in Bitcoin returns by applying six different i.i.d. tests over the timeframe ranging from 1 August 2010 to 31 July 2016, with subsamples from 1 August 2010 to 31 July 2013 and 1 August 2013 to 31 July 2016. Urquhart (2016) concludes that the Bitcoin market is not weakly efficient over the full time period, with some evidence of weak form efficiency in the last subsample, which leads to the conclusion that the Bitcoin market might be moving towards efficiency. Later, Nadarajah and Chu (2017) extended the analysis of Urquhart (2016) by applying eight different tests on an odd integer power transformation of Bitcoin returns. They found out that Bitcoin returns were weakly efficient during their studied timeframe.
Bariviera et al. (2017) investigated some statistical properties of Bitcoin returns from 18 August 2011 to 15 February 2017, at different time scales, via the Hurst exponent by means of the Detrended Fluctuation Analysis method, using a sliding window in order to study the dynamics of long-range dependence properties of the Bitcoin price. This analysis shows evidence of persistency (procyclicality) in the time series of the Hurst exponent from 2011 to 2014. Furthermore, they found that after 2014 the Bitcoin market became more informationally efficient.
Tiwari et al. (2017), by means of computationally efficient long-range dependence estimators, showed that the market was informationally efficient, reaching consistent conclusions with respect to the results of Urquhart (2016), Nadarajah and Chu (2017), and Bariviera et al. (2017). Jiang et al. (2018) investigated the time-varying long-term memory in the Bitcoin market, using the Generalised Hurst Exponent. Such a time-varying approach is useful in tracking the dynamic efficiency of the market. Moreover, Brauneis and Mestel (2018) proposed a measure to test the efficiency of the market and found evidence that the market becomes less inefficient as liquidity increases. They also showed that Bitcoin complies with more statistical tests for randomness in returns than other cryptocurrencies over their analyzed time period, which ranged from 31 August 2015 to 30 November 2017.
Comparing the time-varying weak-form efficiency of Bitcoin prices in terms of US dollars (BTCUSD) with those in euros (BTCEUR), at a high-frequency level, Sensoy (2019) found that both markets have become more informationally efficient at the intraday level since the beginning of 2016, and the BTCUSD market was slightly more efficient than the BTCEUR market in the sample period. Furthermore, an interesting additional finding is that the higher the frequency, the lower is the pricing efficiency. Finally, they showed that liquidity (volatility) has a significant positive (negative) effect on the informational efficiency of Bitcoin prices. Jain et al. (2019) studied returns and volume commonalities across Bitcoin and fiat currencies. Their findings suggest that trading volumes exhibit commonality across Bitcoin and fiat currencies, as well as that the Bitcoin trading volume directly relates to its volatility and returns. Moreover, Bitcoin tends to appreciate during weekdays outside local working hours, while it depreciates during local working hours.
A stream of literature deals with how macroeconomic news surprises and search queries are related to Bitcoin price movements. Al-Khazali et al. (2018) studied the impact of macroeconomic news surprises on the returns and volatility of Bitcoin versus gold. They found that gold mostly reacts to macroeconomic news surprises as a safe-heaven, while Bitcoin behaves dissimilarly in most of the cases. Kristoufek (2013) found evidence that search queries on Google Trends and Bitcoin prices are connected, as well as there is a high asymmetry between the effect of increased interest in the currency when the currency is below or above its trend value.
Another field of investigation studies price discovery and interconnectedness among Bitcoin exchanges. Brandvold et al. (2015) studied price discovery on seven Bitcoin exchanges and found that MtGox and BTC-e were the leaders in the price formation process during the period ranging from April 2013 to February 2014. However, these exchanges were then shut down after hack attacks. Pagnottoni and Dimpfl (2018) showed that, over their studied timeframe, price discovery was mostly influenced by the Chinese exchange OKCoin, and they discovered that Bitcoin prices were not significantly affected by fiat currencies. Giudici and Pagnottoni (2019a, 2019b) examined interconnectedness and price discovery across Bitcoin exchange platforms and found that most influential platforms in the context of the price formation process and spillovers are both time and frequency dependent. Interconnectedness measures, in particular network metrics, related to cryptocurrencies were also employed by Giudici et al. (2020), who built an extension of the traditional Markowitz model to enhance cryptocurrency portfolio management. Furthermore, Agosto and Cafferata (2020) explored the co-explosiveness of the cryptocurrency market through a unit root- testing approach, highlighting a significant relationship in the explosive behavior of cryptocurrencies.
Related to the previous field, some researchers investigated the relationships existing across cryptocurrencies and other traditional assets and major currencies. Ji et al. (2018) studied relationships among Bitcoin and other assets via directed acyclic graphs. Their contemporaneous analysis highlights that Bitcoin is quite isolated, whereas lagged relationships with other assets subsist, in particular when Bitcoin experiences down market periods. Bouri et al. (2018) explored how the Bitcoin price is affected by non-linear, asymmetric and quantile effects impounded in the prices of gold and aggregate commodity indexes. They concluded that it is possible to predict Bitcoin price movements by means of price information from the aggregate commodity index and gold prices. Hu et al. (2019) analyzed returns from more than 200 cryptocurrencies as well as ICOs. They found that there is a large degree of skewness and volatility in returns and that Bitcoin returns act as risk factors themselves, being highly correlated with many altcoins. Kristjanpoller and Bouri (2019) investigated asymmetric cross-correlations existing between major currencies and cryptocurrencies. They concluded that Bitcoin and Litecoin show a high multifractal behavior, while Monero and Ripple showed a low multifractal behavior.
Another important strand of literature dealing with the price discovery and predictability of Bitcoin features is the one considering the role of trading volume in predicting Bitcoin and other cryptocurrency returns and volatility. The research conducted by Balcilar et al. (2017) employed a non-parametric causality-in-quantiles test to analyze the causal relation between trading volume and Bitcoin returns and volatility. The test supports that volume can generally predict returns, but not during bear and bull market periods, highlighting the importance of accounting for non-linearity and tail behavior in this context. El Alaoui et al. (2019) investigated, by means of the multifractal detrended cross-correlations analysis, price-volume cross-correlations in the Bitcoin market from 17 July 2010 to 2 May 2018. Results showed that the Bitcoin market lacks efficiency, as returns and changes in trading volume are linked by an underlying non-linear relationship.
A stream of literature closely connected to the price prediction concerns the opportunities coming from the Bitcoin trading. Aalborg et al. (2019) found that changes in Bitcoin price are unpredictable and realized volatility is highly predictable from its past values and, in this respect, they claimed Bitcoin’s behavior is similar to that of other financial assets. However, an additional finding which is not usually reported for other financial assets is that the trading volume of Bitcoin improved predictions of Bitcoin volatility. Eross et al. (2019), instead, examined the intraday interaction between returns, volume, bid-ask spread and volatility, using an intraday time series, aggregated to the 5-min frequency, from 1 November 2014 to 31 October 2016. A negative relationship between returns and volatility and a positive relationship between volatility and volume were found according to the Granger causality tests. To examine the impact of futures trading on the liquidity of the Bitcoin spot market, Shi (2017) constructed non-parametric and model-based volatility measures, showing that at least within a short period, Bitcoin futures trading played a positive role in stabilizing the spot price volatility and improving the spot market liquidity. Pagnottoni (2019) showed that options written on Bitcoin are systematically overpriced when considering conventionally accepted option pricing methods, highlighting market inefficiency, also at an option market level.
Gerritsen et al. (2019) paved the way to the study of profitability of technical trading rules in the Bitcoin market. They used daily price data over the period July 2010 to January 2019 and show that the trading range breakout rule consistently delivered higher Sharpe ratios than a buy-and-hold strategy for the full sample period and during periods of strongly trending markets. Furthermore, their results suggest that other technical trading rules do not outperform the Buy and Hold (B&H) strategy.
Following Gerritsen et al. (2019), we were interested in comparing several widely employed technical trading rules with the B&H strategy from both daily and intraday trading on Bitcoin. We applied trend-following as well as mean reverting strategies on the Bitcoin price series, sampled at both five-minute and daily frequency, spanning the period 1 January 2012 to 20 August 2019 with a moving window of length three months, in search of profitable short and mid-term trends. Our research question concerns whether it is possible or not to beat the B&H strategy in either daily or the intraday time frame by means of proper technical analysis tools.
Our contribution to the existing literature is mainly threefold. First, we examine performances of both trend-following and mean-reversal indicators on the Bitcoin price series. Indeed, the literature currently takes into account only trend-following trading rules (see Gerritsen et al. 2019). Second, we take into account eventual scalping activities concerning the Bitcoin market, given that we studied both performances on a daily and intraday basis. Finally, the performance related to the analyzed trading rules is evaluated through a conspicuous number of performance indicators, which considerably strengthens the conclusions drawn.
Results suggest that, over the considered period, trades on a daily basis are more profitable than intraday ones. Indeed, the B&H strategy used as benchmark outperforms the competing alternatives on an intraday basis, whereas, on a daily basis, Simple Moving Averages (EMAs) achieve the best results. We also interpret our findings on daily data as a lack of market efficiency, as the capability of strategies built on the technical analysis to generate extra-profits are often interpreted in the literature as a signal of margins for competing advantages.
The paper proceeds as follows. Section 2 illustrates the basic features of the examined trading strategies. Section 3 describes the data and explains how to build Technical Analysis strategies on them using some sketch examples on very short time-windows for illustrative purposes. Section 4 provides and discusses the main results. Section 5 concludes.

2. Technical Analysis and Trading Strategies

Technical analysis aims to identify trading opportunities by exploiting price trends and patterns that emerge from the time series of securities. As a matter of fact, many traders agree on the effectiveness of these techniques to build trading strategies, both for the soundness of underlying concepts and for the simplicity of implementation. Among the different categories, strategies coming from the technical analysis sphere can be divided into trend-following and mean reverting strategies.
Trend-following strategies (TFs) are strategies trying to take advantage of the general trend of the market. A prominent example is provided by the Buy and Hold (B&H) strategy. Following this strategy, the trader actively selects the assets to invest into at time t = 0 and, after that, he is not concerned any more about price fluctuations and maintains the position along the whole length of the investing horizon. Let us denote by Pt the price level at time t, and by rt the corresponding continuous return, i.e., rt = log Pt/Pt−1. Then, the payoff given by the B&H strategy is:
π B & H = t = 0 T ( 1 + r t ) ,
where T represents the length of the investing horizon. This is an example of passive asset management strategy, arguably the simplest one, as the trader only selects the type and quantity of assets to detain and then does not change his position, regardless of fluctuations linked to asset prices and their related technical indicator.
Among the widely employed types of TFs, we also find Moving Averages (MAs). They evaluate the price mean value in a period of fixed length, spanning the data with a sliding window, and eliminating intrinsic noise due to fluctuations. Formally, assume to have T observations for a given asset, and set the amplitude of the window to k. In general, k is a positive integer that cannot exceed the threshold [T/2], where [.] denotes the integer part operator. Then, the MA of length k at a generic time t is given by:
MA t ( k ) = 1 k i = t k t w i P i ,
where w i is the price weight. When w i equals one, the formula above returns the so-called Simple Moving Average (SMA), whereas in all other cases it returns the Weighted Moving Average (WMA). Furthermore, a slight modification of the previous expression yields the Exponential Moving Averages (EMA), namely:
EMA t ( k ) = λ P t j = t k t λ ( 1 λ ) j P t j ,
where λ is a smoothing constant. By construction, Equation (3) is recursive and assigns more weight (and hence more importance) to recent price levels rather than past ones. In other words, all the previous k prices concur in defining EMA t ( k ) , however, the contribution of each price diminishes as we move back in time.
In general, both MA and EMA are combined to price levels in order to generate a trading rule. We might imagine generating a buying signal (+1) when the MA (EMA) crosses the price level from below, and a selling signal (−1) when it crosses the price level from above. Ex-post, if the sign of the signal is the same as that of the price fluctuation, we will get a positive return, the contrary applies when they are not concordant. If we denote by s t the ±1 signal, the resulting payoff from MA and EMA strategies is therefore given by:
π = t = 0 T [ 1 + s i g n ( s t r t ) r t ]
Different from TFs strategies, mean-reversion strategies (MRs) based on mean-reversion aim at identifying overbought (oversold) situations of securities. Among the most widely employed techniques, we find the Bollinger Bands (BBSs) and the Relative Strength Index (RSI).
BBs are bands plotted h standard deviations away from an SMA and provide at least two kinds of information to traders. First, as they depend on the volatility of returns, the bands widen during volatile periods, and squeeze when the volatility decreases. Second, as the bands wrap around the price level, when this is closer to the upper BBs bound, we are also near to being overbought in the market; on the contrary if the price maintains near the lower BBs bound, this is an indication of oversold in the market. In both cases, the closeness of the price to one of the BBs bounds indicates that the market is in proximity of a change in direction.
Wilder (1978) proposed the RSI, which goes back in time for k time units to compare the magnitude of related gains and losses. In other words, the RSI can be mathematically expressed as:
RSI ( k ) = 100 100 1 + R S ( k )
with:
R S ( k ) = T o t a l   G a i n s   o n   k T o t a l   L o s s e s   o n   k
By construction, RSI ranges from a minimum of 0 to a maximum of 100. It is conventionally accepted by traders to use certain thresholds in order to generate signals. In particular, the most widely employed threshold values are 70 and 30, which indicate that we are in an overbought or oversold stage of the market, respectively. In both cases, when the RSI level is close to the upper and lower threshold values, it means that the market is also arguably close to a reversal: The trader should then take proper actions to make profitable trades and/or hedge against losses. Additionally, in the case of reversal strategies, the payoff function takes the form discussed for the family of moving averages in Equation (4).

3. Data Description and Empirical Results

We analysed Bitcoin price series over the period ranging from 1 January 2012 to 20 August 2019; using HLOC (HLOC is the acronym for High, Low, Open and Close price levels) timeseries freely available on the Kaggle website (https://www.kaggle.com/). We dealt with data sampled both at five-minute intervals (Btc5min) and on a daily basis (Btc1d), counting 800,834, and 2779 observations respectively. The dynamics of both price series is shown in Figure 1. Obviously, the graphs show similar patterns, as we are dealing with the same time series but sampled at different intervals; however, the 5-min interval time series is more detailed, whereas the daily one is more rounded than the other. Their similarity is also confirmed by the summary statistics provided in Table 1, where we examined basic features of the data.
Overall, the Bitcoin price series maintained as quite stable, with limited fluctuation in the period 2012–2015 and then witnessed a substantial growth with corrections. In fact, after a growing period between 2015 to December 2017 of notable strength especially between mid-September and the end of December 2017, the Bitcoin price started to decline and heavily fluctuated until the end of the analyzed period, namely 20 August 2019. The high dispersion of the Bitcoin is highlighted by the values of the Standard deviation (Std). Both the datasets are positively skewed; not surprisingly, the datasets exhibit leptokurtosis.
Provided with this high volatility of Bitcoin prices—and, in general, cryptocurrency—our aim was to investigate which were the most profitable trading strategies to be applied in such a context. Moreover, we wanted to understand whether the trading rules we applied were more effective when operating in an intraday setting or, given the high volatility discussed above, when trading on a daily frequency. Indeed, the latter might be still a better decision, given that sometimes it is safer to generate trading rules on a daily frequency when price changes are immediate and of high magnitude.
We generated trading strategies based on the TFs and MRs instruments described in Section 2. In particular, Table 2 illustrates the technical analysis tools we made use of in the current analysis describing their major features, the family to which they belong (trend-following or trend-reversal), the frequency at which we analyzed them and eventual parameters used for their computations. We applied them to the data using a sliding window of length 3-month. The rationale has its roots in Technical Analysis motivations, as 3-months is a reasonable period to highlight (and take advantage) of both short and medium-term trends.
In detail, besides the B&H strategy, which now on works as the benchmark, we considered six trend-following and six trend-reversal tools. SMA12, SMA24, and SMA72 are Simple Moving Averages, as defined in (2), with k set equal to 12, 24, and 72, time units, respectively. This means that when considering five-minute data, they are calculated going backwards by 1 hour (i.e., 12 times 5 min) and 6 h (i.e., 72 times 5 min), while in the case of daily data they are computed by considering the previous 12 and 24 days respectively. While k = 12 defines a “fast” moving average, on the contrary k = 24, 72 define “slow” moving averages. Using different lengths for the slowest moving average depending on the data gives a common-sense explanation. Indeed, while MA24 goes backward for 24 days, that is arguably enough when dealing with daily data, it can make sense to go six hours backwards in case of the 5-min sample, given the higher frequency of the data. Similar considerations apply to EMA, BBS, and RSI. In the case of EMA we additionally specified the value for the smoothing parameter. Here we chose λ = 0.94, which is a kind of canonical value employed by financial risk management companies such as RiskmetricsTM.
Figure 2 shows some examples of the dynamics of MA12 and MA72 on five-minute Bitcoin price series. Given the high frequency of the data, it is difficult to distinguish both the simple and exponential Mas—independently from the lag considered—from the actual Bitcoin price series. For this reason, we now offer some snapshots about the way these strategies work, focusing on a very limited time frame and plot a highlight of some of the strategies, in particular SMAs and RSIs, for the period 29 December 2017 to 3 January 2018 in Figure 3, namely considering the last three days belonging to the year 2017 and the first three days of 2018.
In general, plots show that crossing of the MAs occurs quite often during the restricted sample considered, meaning that they generate a buy/sell signal quite frequently. Besides that, from a visual inspection one can also notice that RSI generates even more signals (of overbought or oversold) during the same period, namely crossing the 30 and 70 threshold values; this is typical of periods of high uncertainty with huge price falls following a spectacular price growth phase.
In order to assess whether performances and behaviors of the indicators are different when considering five-minutes or daily frequency, we plotted the main indicators applied to daily Bitcoin price series in Figure 4, Figure 5 and Figure 6. In particular, Figure 4 illustrates the dynamics of MA12 and MA24, Figure 5 those of BBS12 and BBS24, while Figure 6 those of RSI12 and RSI24.
From Figure 4, Figure 5 and Figure 6 it is possible to observe the dynamics of the studied indicators.
In general, both MAs and EMAs perform quite similarly. Indeed, we may observe the presence of an upward trend in the indicators both for the MA12 and MA24. As far as BBs and RSI are concerned, they provide insightful information about the dynamic evolution of volatility in the observed timeframe. Indeed, data show a relatively low variability at the beginning of the sample period, whereas this sharply increases towards the end. In particular, this evidence is confirmed by the increasing width of the BBs over time, which is particularly marked at the beginning of the Bitcoin price hype that took place in December 2017.

4. Discussion

As far as trading strategies are concerned, we employed technical analysis to build trading rules as follows. We worked on the data with a three-month sliding window, for an overall number of 31 quarters, plus a residual two-month window covering July and August 2019 and we applied in each of them TA, using the results of the B&H strategy as benchmark. In detail, in the case of TFs, every time the MA (EMA) crosses the price level from below a buy (+1) signal is generated, whereas whenever the price level is crossed from above a sell signal (−1) occurs. For both the BBs and RSI, instead, a buy (sell) signal occurs every time the index reaches the oversold (overbought) threshold level, meaning whenever it crosses the lower (upper) band for BBs and whenever it reaches the level of 30 from above (70 from below) for RSI.
For each strategy we provided a set of downside risk metrics and spread performance measures as described in Table 3. For explanatory purposes, we adopted the following conventions: the symbol x t = log Pt/Pt−1 denotes the average rate of return, T is the period length, s is the standard deviation in the adopted time unit (daily/intraday), 1 is the indicator function, xH the highest observed return, q is a threshold value, with q = MAR (Minimum accepted threshold) as special case.
Results are given in Table 4 for intraday data and in Table 5 for daily data. As far as specifications are concerned, we set the risk-free rate equal to 0 for the Annualized Sharpe Ratio and the Downside Deviation calculation, and we set the Minimum Accepted Return (MAR) to as much as 210%.
As far as intraday strategies are concerned, the B&H strategy clearly outperforms all competitive alternatives, both in terms of performance and riskiness. Indeed, both the Annualized Return and the Annualized Sharpe Ratio assume relatively high values, the first and the second being more than 16 and 5 times higher than the second best performing strategy (i.e., the EMA12), respectively. Furthermore, all metrics suggests that the riskiness of the B&H strategy is also generally lower, despite BBs achieving slightly better results in terms of Gain and Loss Deviation.
As far as strategies applied to daily prices are concerned, results change dramatically. Indeed, the B&H is not the best strategy anymore, yielding lower performances and higher risk with respect to several competing alternatives. The best strategies in terms of performances turn out to be the MAs and EMAs, with the MA12 being the one which outperforms all the others. Despite that, the MA12 is not the least risky strategy among those considered, with RSI72 being generally the one giving the best figures in terms of riskiness. However, RSI12 has also the worst performing trading rules, reporting even negative values in terms of performances.
Overall, we claim that the performance of the strategies varies according to the frequency of data used to identify opportunities for profitable trades. This also depends on the behavior of the Bitcoin price series during the considered period. Indeed, the B&H strategy performs better with respect to alternatives when considering daily data as holding the asset when its price is spectacularly growing turns out to be better than making trades by following potentially misleading signals and therefore realizing some losses besides gains. When dealing with daily data, instead, trading signals are surely less numerous and noisy and MAs, in particular the “fast” MA12, better capture the upward price trend and generate profitable trades which outperform the simple B&H strategy.
We also find that in our case trading on a daily basis is much more profitable than going intraday. As a matter of fact, the Annualized Return and the Annualized Sharpe Ratio realized by trading with daily data are sensitively higher than those achieved by using 5-min data. This further suggests that the noise impounded in the high-frequency data may produce trading signals which emerge as unprofitable ones. Moreover, our results are in line with Gerritsen et al. (2019), who found a consistent outperformance of the technical analysis trading rules with respect to the B&H strategy when considering daily data. We believe that, despite this being out of the scope of the present study, the use of trading volumes to integrate technical trading rules may result in more profitable strategies. Indeed, as pointed out in the literature (see Balcilar et al. 2017), trading volume can help to predict Bitcoin returns in specific market phases. Furthermore, to the best of our knowledge, there has been no study yet exploiting methodologies that take into account the effect of destructured news as a financial signal—as, for example, those of Cerchiello and Giudici (2016) and Cerchiello et al. (2017)—concerning Bitcoin price dynamics, which could augment technical analysis to build even more profitable trades.

5. Conclusions

In this paper we aimed to examine the proficiency of using intraday and daily trading rules on the Bitcoin price series during the period ranging from 1 January 2012 to 20 August 2019. In particular, besides the passive management of the Buy and Hold strategy, we considered various trading rules based on trend-following tools such as Moving Averages and Simple Moving Averages, as well as on trend-reversal techniques including Bollinger Bands and the Relative Strength Index, addressing two main issues. The first one concerns the identification of the most profitable strategy, either using intraday or daily data. The second issue pertains to assessing whether using intraday data is more profitable than working with daily observations.
Considering intraday data, we showed that the most profitable strategy is the simple B&H that we assumed as benchmark. However, when dealing with daily data, it is more profitable to apply trend-following strategies than just passively holding the asset until the end of the period. The latter result is in line with the research of Gerritsen et al. (2019), highlighting that technical analysis trading rules outperform the B&H on a daily basis, indicating Bitcoin market inefficiency. However, we additionally found that this is not the case in an intraday setting. Moreover, we discovered that in our case it is much more profitable to build strategies on a daily basis rather than on an intraday one. We believe that outcomes are driven by the noise present in the high-frequency data, which generate many trading signals which emerge to be unprofitable.
To sum up, traders should pay attention to the frequency of the data with which they work. In particular, we showed that it is not always more profitable to go for higher frequencies with nascent markets such as the cryptocurrency one, as trading signals may be misleading and yield unprofitable trades.

Author Contributions

The article has been developed in close cooperation between all authors. However, details about individual contributions follow. Conceptualization, M.E.D.G., P.P. and M.R.; methodology, P.P.; software, M.R.; formal analysis, P.P.; investigation, M.E.D.G. and P.P.; data curation, M.R.; writing—original draft preparation, M.E.D.G., P.P. and M.R.; writing—review and editing, M.E.D.G. and P.P.; visualization, M.R. In particular, the following sections have been written by: Introduction, M.E.D.G.; Methodology, M.R.; Data Description and Empirical Results, P.P.; Discussion, M.R.; Conclusion, M.E.D.G. and P.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

We thank three anonymous Reviewers for their suggestions and comments, which we believe have notably improved the quality of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Aalborg, Halvor Aarhus, Peter Molnár, and Jon Erik de Vries. 2019. What can explain the price, volatility and trading volume of Bitcoin? Finance Research Letters 29: 255–65. [Google Scholar] [CrossRef]
  2. Agosto, Arianna, and Alessia Cafferata. 2020. Financial Bubbles: A Study of Co-Explosivity in the Cryptocurrency Market. Risks 8: 34. [Google Scholar] [CrossRef] [Green Version]
  3. Al-Khazali, Osamah, Elie Bouri, and David Roubaud. 2018. The impact of positive and negative macroeconomic news surprises: Gold versus Bitcoin. Economics Bulletin 38: 373–82. [Google Scholar]
  4. Balcilar, Mehmet, Elie Bouri, Rangan Gupta, and David Roubaud. 2017. Can volume predict Bitcoin returns and volatility? A quantiles-based approach. Economic Modelling 64: 74–81. [Google Scholar] [CrossRef] [Green Version]
  5. Bariviera, Aurelio F., María José Basgall, Waldo Hasperué, and Marcelo Naiouf. 2017. Some stylized facts of the bitcoin market. Physica A 484: 82–90. [Google Scholar] [CrossRef] [Green Version]
  6. Bouri, Elie, Rangan Gupta, Amine Lahiani, and Muhammad Shahbaz. 2018. Testing for asymmetric nonlinear short-and long-run relationships between bitcoin, aggregate commodity and gold prices. Resources Policy 57: 224–35. [Google Scholar] [CrossRef] [Green Version]
  7. Brandvold, Morten, Peter Molnár, Kristian Vagstad, and Ole Christian Andreas Valstad. 2015. Price discovery on Bitcoin exchanges. Journal of International Financial Markets, Institutions and Money 36: 18–35. [Google Scholar] [CrossRef]
  8. Brauneis, Alexander, and Roland Mestel. 2018. Price discovery of cryptocurrencies: Bitcoin and beyond. Economics Letters 165: 58–61. [Google Scholar] [CrossRef]
  9. Cerchiello, Paola, and Paolo Giudici. 2016. Big data analysis for financial risk management. Journal of Big Data 3: 18. [Google Scholar] [CrossRef] [Green Version]
  10. Cerchiello, Paola, Paolo Giudici, and Giancarlo Nicola. 2017. Twitter data models for bank risk contagion. Neurocomputing 264: 50–56. [Google Scholar] [CrossRef]
  11. El Alaoui, Marwane, Elie Bouri, and David Roubaud. 2019. Bitcoin price–volume: A multifractal cross-correlation approach. Finance Research Letters 31. [Google Scholar] [CrossRef]
  12. Eross, Andrea, Frank McGroarty, Andrew Urquhart, and Simon Wolfe. 2019. The intraday dynamics of bitcoin. Research in International Business and Finance 49: 71–81. [Google Scholar] [CrossRef]
  13. Gerritsen, Dirk F., Elie Bouri, Ehsan Ramezanifar, and David Roubaud. 2019. The profitability of technical trading rules in the Bitcoin market. Finance Research Letters. [Google Scholar] [CrossRef]
  14. Giudici, Paolo, and Paolo Pagnottoni. 2019a. Vector error correction models to measure connectedness of Bitcoin exchange markets. Applied Stochastic Models in Business and Industry 36: 95–109. [Google Scholar] [CrossRef] [Green Version]
  15. Giudici, Paolo, and Paolo Pagnottoni. 2019b. High Frequency Price Change Spillovers in Bitcoin Markets. Risks 7: 111. [Google Scholar] [CrossRef] [Green Version]
  16. Giudici, Paolo, Paolo Pagnottoni, and Gloria Polinesi. 2020. Network models to enhance automated cryptocurrency portfolio management. Frontiers in Artificial Intelligence 3: 22. [Google Scholar] [CrossRef] [Green Version]
  17. Hu, Albert S., Christine A. Parlour, and Uday Rajan. 2019. Cryptocurrencies: Stylized facts on a new investible instrument. Financial Management 48: 1049–68. [Google Scholar] [CrossRef]
  18. Jain, Pankaj K., Thomas H. McInish, and Jonathan L. Miller. 2019. Insights from bitcoin trading. Financial Management 48: 1031–48. [Google Scholar] [CrossRef]
  19. Ji, Qiang, Elie Bouri, Rangan Gupta, and David Roubaud. 2018. Network causality structures among Bitcoin and other financial assets: A directed acyclic graph approach. The Quarterly Review of Economics and Finance 70: 203–13. [Google Scholar] [CrossRef] [Green Version]
  20. Jiang, Yonghong, He Nie, and Weihua Ruan. 2018. Time-varying long-term memory in Bitcoin market. Finance Research Letters 25: 280–84. [Google Scholar] [CrossRef]
  21. Kristjanpoller, Werner, and Elie Bouri. 2019. Asymmetric multifractal cross-correlations between the main world currencies and the main cryptocurrencies. Physica A: Statistical Mechanics and its Applications 523: 1057–71. [Google Scholar] [CrossRef]
  22. Kristoufek, Ladislav. 2013. BitCoin meets Google Trends and Wikipedia: Quantifying the relationship between phenomena of the Internet era. Scientific Reports 3: 3415. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Malkiel, Burton G., and Eugene F. Fama. 1970. Efficient capital markets: A review of theory and empirical work. The Journal of Finance 25: 383–417. [Google Scholar] [CrossRef]
  24. Nadarajah, Saralees, and Jeffrey Chu. 2017. On the inefficiency of Bitcoin. Economics Letters 150: 6–9. [Google Scholar] [CrossRef] [Green Version]
  25. Pagnottoni, Paolo. 2019. Neural Network Models for Bitcoin Option Pricing. Frontiers in Artificial Intelligence 2: 5. [Google Scholar] [CrossRef] [Green Version]
  26. Pagnottoni, Paolo, and Thomas Dimpfl. 2018. Price discovery on Bitcoin markets. Digital Finance 1: 139–61. [Google Scholar] [CrossRef] [Green Version]
  27. Sensoy, Ahmet. 2019. The inefficiency of Bitcoin revisited: A high-frequency analysis with alternative currencies. Finance Research Letters 28: 68–73. [Google Scholar] [CrossRef]
  28. Shi, Shimeng. 2017. The Impact of Futures Trading on Intraday Spot Volatility and Liquidity: Evidence from Bitcoin Market. Available online: https://ssrn.com/abstract=3094647 (accessed on 8 January 2020).
  29. Tiwari, Aviral Kumar, R. K. Jana, Debojyoti Das, and David Roubaud. 2017. Informational efficiency of Bitcoin—An extension. Economics Letters 163: 106–9. [Google Scholar] [CrossRef]
  30. Urquhart, Andrew. 2016. The inefficiency of Bitcoin. Economics Letters 148: 80–82. [Google Scholar] [CrossRef]
  31. Wilder, John Welles. 1978. New Concepts in Technical Trading Systems. Edmonton: Trend Research. [Google Scholar]
Figure 1. The dynamics of Bitcoin price series: five-minute data (left panel) and daily data (right panel).
Figure 1. The dynamics of Bitcoin price series: five-minute data (left panel) and daily data (right panel).
Risks 08 00044 g001
Figure 2. From top to bottom: SMA12 and SMA72 (top panel), EMA12 and EMA72 (bottom panel) superposed to the behavior of 5-min Bitcoin price series.
Figure 2. From top to bottom: SMA12 and SMA72 (top panel), EMA12 and EMA72 (bottom panel) superposed to the behavior of 5-min Bitcoin price series.
Risks 08 00044 g002
Figure 3. Intraday strategies: highlight for the period 29 December 2017 to 3 January 2018; SMA12 and SMA72 (top panel), RSI12 and RSI72 (bottom panel).
Figure 3. Intraday strategies: highlight for the period 29 December 2017 to 3 January 2018; SMA12 and SMA72 (top panel), RSI12 and RSI72 (bottom panel).
Risks 08 00044 g003
Figure 4. SMA12 and SMA24 (top panel), EMA12 and EMA24 (bottom panel) on Bitcoin daily prices.
Figure 4. SMA12 and SMA24 (top panel), EMA12 and EMA24 (bottom panel) on Bitcoin daily prices.
Risks 08 00044 g004
Figure 5. BBs12 (top panel) and BBs24 (bottom panel) on Bitcoin daily price series.
Figure 5. BBs12 (top panel) and BBs24 (bottom panel) on Bitcoin daily price series.
Risks 08 00044 g005aRisks 08 00044 g005b
Figure 6. RSI12 (top panel) and RSI24 (bottom panel) on daily Bitcoin price series.
Figure 6. RSI12 (top panel) and RSI24 (bottom panel) on daily Bitcoin price series.
Risks 08 00044 g006
Table 1. Descriptive statistics over the interval 1 January 2012–20 August 2019.
Table 1. Descriptive statistics over the interval 1 January 2012–20 August 2019.
VariableNMin1st Qu.MedianMeanStd3rd Qu.MaxSkewKurt
Btc5min800,8343.800222.9509.9652232.63388.873357419,663.91.8496952.995822
Btc1d27794.230223.07516.390516.3903404.3123578.4319,187.781.8519053.015163
Note. We reported basic statistics such as: the sample length (N), the minimum and maximum observed data (Min and Max), the mean of the dataset (Mean), the standard deviation (Std), the median (Median), as well as the Skewness (Skew) and the Kurtosis (Kurt). We also monitored the first quartile (1st Qu.) as the middle number between the smallest number and the median (Median) of the data set and the third quartile (3rd Qu.) as the middle number between the median and the maximum. Btc5min indicates the Bitcoin prices sampled at a five-minute interval, while Btc1d stands for daily Bitcoin prices.
Table 2. TA tools and related nomenclature.
Table 2. TA tools and related nomenclature.
IDMajor FeaturesStyleFrequencyOther Parameters
B&HBuy and HoldTrend-followingIntraday/Daily-
SMA1212-time units Simple Moving AverageTrend-followingIntraday/Daily-
SMA2424-time units Simple Moving AverageTrend-followingDaily-
SMA7272-time units Simple Moving AverageTrend-followingIntraday-
EMA1212-time units Exponential Moving AverageTrend-followingIntraday/Dailyλ = 0.94
EMA2424-time units Exponential Moving AverageTrend-followingDailyλ = 0.94
EMA7272-time units Exponential Moving AverageTrend-followingIntradayλ = 0.94
BBS1212-time units Bollinger BandsTrend-reversalIntraday/Dailyh = 2
BBS2424-time units Bollinger BandsTrend-reversalDailyh = 2
BBS7272-time units Bollinger BandsTrend-reversalIntradayh = 2
RSI1212-time units Relative Strength IndexTrend-reversalIntraday/Daily-
RSI2412-time units Relative Strength IndexTrend-reversalDaily-
RSI7272-time units Relative Strength IndexTrend-reversalIntraday-
Table 3. Performance metrics and related nomenclature.
Table 3. Performance metrics and related nomenclature.
NameFormulaDescriptionInterpretation/Research Question
Annualized Return ( 1 + r ) T   i n   t h e   u n i t   t i m e 1 Period returns re-scaled to a period of 1 yearAllows investors to compare returns owned for different lengths of time
Annualized Sharpe Ratio r θ σ To measure the performance compared to a benchmark return θ , after adjusting for its risk. All other things being equal, an investor wants to get positive (and increasing) SRs.
Annualized Volatility σ y e a r   l e n g t h   i n   u n i t   t i m e To evaluate the fluctuations in the returns scaled to a period of 1 yearHelps to assess the dispersion level in returns
Semi-Deviation 1 T 1 k = 1 T ( x k r ) 2 1 x k   r Evaluates the behind zero fluctuations in the return of the investmentHelps to assess the negative dispersion level in returns.
Gain Deviation 1 T 1 k = 1 T x k 2 1 x k   0 Represents the potential gain that may arise over T.Do losses behave differently than gains?
Loss Deviation 1 T 1 k = 1 T x k 2 1 x k   0 Represents the potential loss that may arise over T.Do losses behave differently than gains?
Downside Deviation (q = MAR = 210%) 1 T k = 1 T ( x k M A R ) 1 x k   M A R Represents the potential loss that may arise from risk as measured against a minimum acceptable return, by isolating the negative portion of the volatility.Highest values are better than lowest.
Maximum Average Drawdown r x H x H Computed as the maximum observed loss from a peak in the given time frame.Maximum drawdown is an indicator of downside risk over a specified time period
Omega k = 1 T ( x k θ ) + k = 1 T ( x k θ ) A risk-adjusted performance measure calculated as the ratio of probability-weighted profits and losses.A higher value of Omega is preferable to a lower value.
Sortino ratio k = 1 T ( x k r ) k = 1 T ( x k θ ) Another risk-adjusted performance measureHighest positive Sortino ratio is preferred to lower values.
Upside potential ratio k = 1 T ( x k r ) D D M A R The upside-potential ratio is a measure of a return of an investment asset relative to the minimal acceptable return. The measurement allows investments to be chosen which have had relatively good upside performance, per unit of downside risk.
Table 4. Intraday strategies results.
Table 4. Intraday strategies results.
B&HMA12MA72EMA12EMA72BBS12BBS72RS12RS72
Annualized Return25.66870.15660.06110.14260.06830.00530.0048−0.1981−0.0131
Annualized SR71.72593.77791.83634.15602.05590.35990.2710−2.0419−0.4834
Annualized Volatility0.09320.03730.03280.03600.03480.01250.0236−0.32100.0257
Semi Deviation0.00460.00160.00180.02950.02970.00200.00060.00110.0070
Gain Deviation0.00550.00500.00410.05670.05640.00290.00200.00130.0096
Loss Deviation0.00230.00290.00400.00310.00320.00290.00220.00310.0178
Downside Deviation (MAR = 210%)0.00630.00830.00820.00780.00870.00980.00830.00800.0100
Maximum Drawdown0.05360.04070.04140.00870.01570.08710.00500.01910.0608
Omega176.78264.84682.08525.64532.244714.624117.20990.36150.0000
Sortino ratio24.22460.96180.29331.11930.33121.49091.7422−0.1326−0.1923
Upside potential ratio5.00771.40290.90971.50640.96515.49223.40830.37940.4244
Table 5. Daily strategies results.
Table 5. Daily strategies results.
B&HMA12MA24EMA12EMA24BBS12BBS24RS12RS24
Annualized Return25.668743.736727.177156.688235.14520.0738−0.0388−0.6393−0.6029
Annualized SR71.725955.940437.054064.963844.59370.29330.1751−1.8274−1.7407
Annualized Volatility0.09320.37790.40110.42210.42730.23140.24390.40100.3576
Semi Deviation0.00460.01610.01950.07080.01690.00950.01080.02120.0189
Gain Deviation0.00550.02730.02670.04060.02680.02760.02500.02200.0211
Loss Deviation0.00230.01900.02270.01930.02120.02800.03090.03310.0326
Downside Deviation (MAR = 210%)0.00630.01510.01810.01680.01780.01400.01540.02770.0258
Maximum Drawdown0.05360.07750.09630.07740.09990.10570.11650.38130.2843
Omega176.78263.35512.11414.30282.83361.77744.66030.28980.3258
Sortino ratio24.22460.72530.36120.83240.54070.10410.5894−0.2612−0.2192
Upside potential ratio5.00771.20320.94171.30751.18280.96291.97820.43390.4731

Share and Cite

MDPI and ACS Style

Resta, M.; Pagnottoni, P.; De Giuli, M.E. Technical Analysis on the Bitcoin Market: Trading Opportunities or Investors’ Pitfall? Risks 2020, 8, 44. https://doi.org/10.3390/risks8020044

AMA Style

Resta M, Pagnottoni P, De Giuli ME. Technical Analysis on the Bitcoin Market: Trading Opportunities or Investors’ Pitfall? Risks. 2020; 8(2):44. https://doi.org/10.3390/risks8020044

Chicago/Turabian Style

Resta, Marina, Paolo Pagnottoni, and Maria Elena De Giuli. 2020. "Technical Analysis on the Bitcoin Market: Trading Opportunities or Investors’ Pitfall?" Risks 8, no. 2: 44. https://doi.org/10.3390/risks8020044

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop