1 Introduction

In financial markets, investors frequently employ fundamental and technical analysis. While fundamental analysis focuses on examining financial statements to determine the optimal portfolio, technical analysis focuses on examining the historical data to determine the rules and optimal investing methods. Compared to the fundamental analysis, the technical analysis can help traders to take profit in a shorter period, thereby reducing the risk of market uncertainty. There is a broad range of technical analysis methods, including indicator analysis (Roscoe & Howorth, 2009; Vasiliou et al., 2006), agent-based analysis (Alfarano et al., 2005), statistical analysis (Vo-Van et al., 2021; Vu et al., 2019; Yang et al., 2021), and soft computing techniques (Deng et al., 2015; Maciel & Ballini, 2021; Syriopoulos et al., 2021; Wiesinger et al., 2013). Despite the variety of technical analysis methods, most of them aim to find out appropriate buy/sell signals to open a transaction.

Among technical indicators, the Ichimoku Kinkohyo or Ichimoku cloud chart (Sanjin, 1969) is a very simple diagram that offers a reasonable understanding of market movements. Understanding the characteristics of the Ichimoku cloud chart can assist investors in developing short-term and medium-term investing plans. During the past two decades, several studies have examined the impact of Ichimoku-based strategies on various market situations. Deng et al. (2020) investigated the profitability of Ichimoku-based trading rules. They indicated that some Ichimoku-based trading strategies could prove profitable when trading stock indices, but not when trading currencies. The authors also encouraged improving the performance of Ichimoku-based strategies by applying some additional technical indicators. In Shawn et al. (2015), the authors studied four basic Ichimoku-based strategies on the Japanese and US stock markets. The results showed that the strategies could work well in both markets. In Gurrib et al. (2020), the authors studied the performance of Ichimoku Cloud in the leading US Energy Stocks market. The results showed the rationality of the method when buying/selling during strong bull/bearish periods. Almeida (2020) investigated the effectiveness of technical indicators including Ichimoku, Moving Average Convergence/Divergence (MACD), and Relative Strength Index (RSI) in investing in technology companies. The authors concluded that the Ichimoku-based strategy could offer higher returns and lower risks than other methods. The authors of Yee et al. (2021) investigated the effectiveness of the Ichimoku Could technical analysis on the Malaysian stock market. They claimed that the combined model of Japanese Candlestick and Ichimoku could achieve highly accurate entry points but only moderately accurate exit points. More in-depth reviews of the Ichimoku chart can be found at Elliott (2007); Patel (2010). In summary, the effectiveness of the Ichimoku-based strategies has been investigated in different market environments in literature, however, no study has been conducted to investigate the performance of the Ichimoku-based strategies in Vietnam market so far (i).

In the last two years, the COVID-19 pandemic has strongly affected almost all aspects, including financial markets, of countries all over the world. Numerous studies have been conducted to investigate the impact of the pandemic on financial markets and various investment strategies. The research in Danylchuk et al. (2020) demonstrated that cryptocurrencies were affected by the pandemic by calculating the Hurst coefficient and wavelet entropy. The authors claimed, however, that this effect would be negligible and that the cryptocurrency market would likely recover in the future. The research in Nandini and Samal (2020) investigated the impact of COVID-19 on the profitability of technical indicators including Simple Moving Average, Exponential moving average, Moving average convergence divergence, and Bollinger Band in the Indian stock market. They concluded that using the combination of indicators would be likely to provide higher performance than using any individual indicator, under the cloud of the pandemic. Lee et al. (2020) examined the returns of six moving average (MA) rules for the Malaysian stock market. The MA (2.5) and MA(2,10) were found to be the most effective during the COVID-19 pandemic. Ramelli and Wagner (2020) focused on the impact of Coronavirus disease on the US market, specifically on Russell 3000 index companies. The authors identified negative consequences and warned that the health crisis would exacerbate the economic crisis. Many efforts have been conducted to investigate the impact of the pandemic on various financial markets, as can be referred in (Alam et al., 2020; Anh & Gan, 2020; Baker et al., 2020; Bogdan et al., 2021; Rebucci et al., 2020; Ryandono et al., 2021; Valle-Cruz et al., 2021). In summary, although a number of studies have been conducted to investigate the impact of the COVID-19 outbreak on various investment strategies, none of them has investigated the impact of the pandemic on the profitability of Ichimoku chart-based strategies (ii).

In order to fill the aforementioned researched gaps, this paper pioneers an investigation of the profitability of the Ichimoku-based strategy, when applied to the Vietnam stock market, in the context of the COVID-19 pandemic. Particularly, the return on investment (ROI), the accumulated return (AR), the Sharpe ratio (SR), and the Jensen alpha (JA) obtained from the strategy during the pre-pandemic and the pandemic periods are collected and analyzed. To the best of our knowledge, the profitability of the Ichimoku-based strategy in the Vietnam stock market has not been conducted by any scholar so far. Similarly, this is also the first study to examine the pandemic’s influence on the profitability of the Ichimoku-based method. Table 1 summarizes the distinction between this paper and certain existing studies in the field of financial economics and other related areas.

Table 1 The distinction between this paper and certain existing studies

The rest of this paper is organized as follows. Section 2 presents the background of the Ichimoku chart and the corresponding strategies. The data used and the methodology are presented in Sect. 3. The result and discussion are presented in Sect. 4. Section 5 is the conclusion.

2 Background

2.1 Ichimoku Chart

The Ichimoku chart is constructed by the five lines consisting of Tenkan (T(t)), Kijun (K(t)), Span A (A(t)), Span B (B(t)) and Chikou (C(t)). These five lines can be regarded as a useful set of indicators for determining open and exit signals. Let \(x_o(t), x_c(t), x_{\min }(t), x_{\max }(t)\) represent the open, close, lowest, and highest prices at the time point t. The following part describes these five lines’ properties and the method for calculating them.

  • Tenkan: Tenkan, which displays short-term price movement, is widely regarded as the least reliable indicator in the Ichimoku system. A change in its direction, on the other hand, can aid investors in determining an early indication of a bend. Tenkan is determined by averaging the lowest and highest prices over the previous nine days.

    $$\begin{aligned} T(t) = \frac{\max {x_{\max }(t-i)}+\min {x_{\min }(t-i)}}{2}, i\;=\;0,\ldots ,8. \end{aligned}$$
    (1)
  • Kijun: Kijun is determined by averaging the lowest and highest prices over the previous 26 days (see Formula 2). Kijun can inherit Tenkan’s properties, but it is more stable and reliable because it is based on a longer time frame.

    $$\begin{aligned} K(t) = \frac{\max {x_{\max }(t-i)}+\min {x_{\min }(t-i)}}{2}, i\;=\;0,\ldots ,25. \end{aligned}$$
    (2)
  • Span A: Span A is determined by averaging Tenkan and Kiniu, then shifting it to 26 days forward. Mathematically, Span A is calculated as follows.

    $$\begin{aligned} A(t) = \frac{T(t-25)+K(t-25)}{2}. \end{aligned}$$
    (3)
  • Span B: Span B is determined by averaging the highest and lowest prices over the previous 52 days and then shifting it forward 26 days. Span B represents the long-term price equilibrium, which assists investors in developing a comprehensive view of the market and determining future investment strategies. Span B is calculated mathematically as follows.

    $$\begin{aligned} B(t) = \frac{\max {x_{\max }(t-i)}+\min {x_{\min }(t-i)}}{2}, i\;=\;25,\ldots ,76. \end{aligned}$$
    (4)

    The region formed by Span A and Span B is called “Kumo” or “Cloud”. Cloud is the most essential component of the Ichimoku chart as it can assist investors in getting a comprehensive view of the market trend and its relationship with the current price movement.

  • Chikou: Chikou represents the current closing price shifting back to the previous 26 days. This clever shifting is essential, arguably because it allows investors to observe price and trend in the present and the past at the same time. Then efficient comparison and prediction can be made. Mathematically, Chikou is calculated as follows.

    $$\begin{aligned} C(t) = x_c(t+25) \end{aligned}$$
    (5)

2.2 Ichimoku Chart Based Trading Strategy

Based on the five components of the Ichimoku system, researchers and investors have proposed various strategies, such as strategies based on the intersection of the Tenkan and Kijun lines, and strategies based on the intersection of the Chikou line and the Cloud. However, since the Tenkan line is often unreliable, in this paper we would not examine strategies that rely on Tenkan and Kijun crossover. In the remaining strategies, we also do not investigate the effectiveness of conservative strategies because they take a very long time for entry and exit signals. Furthermore, strategies for opening a short position would not be investigated because short selling is not permitted on the Vietnamese stock exchange. Therefore, a method, known as Aggressive Long-Only Strategy, is used as a proxy for Ichimoku chart-based trading strategies. This strategy is summarized as follows (Fig. 1).

Aggressive Long-Only Strategy

  • Open a long position when the Chikou line crosses the top of the Cloud from below.

  • Close a long position when the Chikou line crosses the top of the Cloud from above.

The components of the Ichimoku system and the Ichimoku-based trading strategy are depicted in the figure below.

Fig. 1
figure 1

An illustration of the components of Ichimoku system and the Ichimoku chart based trading strategy

For opening a long position, the above strategy is based on the meaning of the Cloud and the Chikou line. The Cloud or Kumo is formed by the two Span A and Span B lines in which Span A stands for the short-medium terms average and Span B stands for the long terms average. When the Chikou crosses the Cloud from below, the current price gets over the short terms, medium terms, and long terms averages of the past prices. Normally, when the current price is higher than the average past price, some investors tend to sell the stock, however, in this case, Ichimoku-based investors buy the stock and expect to catch a strong uptrend. With this point of view, these investors accept to lose a number of times with small amounts before taking a huge profit. Hence, the corresponding profitability is usually not a normal distribution. In the same manner, when the Chikou line crosses the Cloud from above, the current price is lower than the short, medium, and long terms averages of the past prices. This is an early warning sign of a bend. Therefore, in this case, investors would close the order and profit.

2.3 Comparative Ratios

In order to evaluate the performance of trading strategies, several measures have been developed in literature. Some widely used measures including the Return on investment (ROI), the accumulated return (AR), the Sharpe ratio (SR), and the Jensen alpha (JA) are presented as follows.

  • Return on investment

    $$\begin{aligned} ROI_i = \frac{P \left( t_2 \right) -P \left( t_1 \right) }{P \left( t_1 \right) } , \end{aligned}$$
    (6)

    where \(ROI_i\) is the return on investment of transaction i, \(P \left( t_1 \right) \) and \(P \left( t_2 \right) \) are respectively the stock prices at the beginning and the end of the transaction.

  • Accumulated return

    $$\begin{aligned} AR \left( t \right) = \frac{P \left( t \right) -P \left( 0 \right) }{P \left( 0 \right) }, \end{aligned}$$
    (7)

    where \(AR \left( t \right) \) denotes the accumulated return of at the time point t, \(P \left( t \right) \) and \(P \left( 0 \right) \) denotes the portfolio values at time point t and the beginning of the trading period, respectively.

  • Sharpe ratio

    $$\begin{aligned} SR = \frac{{\bar{R}}-R_f}{\sigma _R}, \end{aligned}$$
    (8)

    where \({\bar{R}}\) and \(\sigma _R\) are respectively the average and the standard deviation of return over time, \(R_f\) denotes the risk-free rate.

  • Jensen alpha

    $$\begin{aligned} JA = {\bar{R}}-R_f-\beta \left( R_m-R_f\right) , \end{aligned}$$
    (9)

    where \({\bar{R}}\) and \(R_m\) are respectively the expected return on an investment and the expected return on the market, \(R_f\) denotes the risk-free rate.

In this paper, \(R_f\) is set as 0.03, based on the Vietnam Government Bond. More details of these comparative ratios could be found in (Aldridge, 2013; Deng et al., 2020; Jensen, 1968; Sharpe, 1966, 1994).

2.4 Statistical Test and Simulation

2.4.1 Mann-Whitney U Test

The Mann-Whitney U test is a non-parametric test used to determine whether the difference between two independent populations’ medians is equal to zero (El Fadl et al., 2015; Kelter, 2021; Legnazzi, 2018; Mann & Whitney, 1947). Let \(x_1=\left\{ x_{11},x_{12},\ldots ,x_{1m} \right\} \) and \(x_2=\left\{ x_{21},x_{22},\ldots ,x_{2n} \right\} \) be the samples drawn from two independent populations. Also, let the null and alternative hypotheses be: \(H_0\)-“the difference between the two medians is equal to 0” and \(H_1\)-“the difference between the two medians is not equal to 0”. The Mann-Whitney U test can be conducted through the three following steps.

  1. 1.

    Rank all observations in ascending order, i.e, the smallest value is ranked first.

  2. 2.

    Calculate the test statistic U as follows:

    $$\begin{aligned} U= \min \left\{ \left( mn+\frac{m(m+1)}{2}-Rk_1 \right) ,\left( mn+\frac{n(n+1)}{2}-Rk_2 \right) \right\} , \end{aligned}$$
    (10)

    where m is the sample size for Sample 1; \(Rk_1\) is the sum of the ranks in Sample 1; n is the sample size for Sample 2; and \(Rk_2\) is the sums of the ranks in Sample 2.

  3. 3.

    If \(U \le U_{m,n,\alpha }\), we reject \(H_0\), and vice versa, where \(\alpha \) represents the significance level; and \(U_{m,n,\alpha }\) represents the critical value that may be derived using the Mann-Whitney table and statistical software.

2.4.2 Bootstrap Sampling

Bootstrap sampling (Berkowitz et al., 2021; Cinaroglu, 2021; Efron, 1992; Ledoit & Wolf, 2008; Sewell, 2017) is a common technique for assessing the robustness of a statistic of interest, denoted as \(\xi \). Given an n-observation sample, \(x=\left\{ x_{1},x_{2},\ldots ,x_{n} \right\} \), the Bootstrap sampling technique is summarized as follows.

  1. 1.

    Select n elements at random from x, with replacement.

  2. 2.

    Calculate the statistic of interest, \(\xi \), based on the obtained sample.

  3. 3.

    Repeat the two above steps N times to obtain a bootstrap distribution of \(\xi \), then derive the required information, such as the confidence interval for \(\xi \).

2.4.3 Metropolis-Hastings Algorithm

Metropolis-Hastings Algorithm (MHA) (Glen, 2014; Hastings, 1970; Hoff, 2009; Metropolis et al., 1953) is also a frequently used technique for approximating the posterior distribution of \(\xi \). Let \(x=\left\{ x_{1},x_{2},\ldots ,x_{n} \right\} \) be a sample of n observations and \(p \left( \xi \right) \) be the prior probability density function of \(\xi \). The following summarizes the technique for performing the MHA.

  1. 1.

    Initialize a starting point \(\xi (0)\).

  2. 2.

    For \(t=1,2,\ldots ,N\), draw a candidate \(\xi ^*\) from a proposal distribution \(q \left( \xi ^* \vert \xi (t-1) \right) \), where q is typically a symmetric function.

  3. 3.

    For \(t=1,2,\ldots ,N\), set:

    $$ \xi (t): = \left\{ {\begin{array}{*{20}l} {\xi ^{*} } \hfill & {{\text{with}}\;{\text{probability}}\;\min \left\{ {r\left( {\xi (t - 1),\xi ^{*} } \right),1} \right\}} \hfill \\ {\xi (t - 1)} \hfill & {{\text{otherwise}}} \hfill \\ \end{array} } \right., $$
    (11)

    where

    $$\begin{aligned} r\left( \xi (t-1),\xi ^* \right) =\frac{p \left( \xi ^* \right) p \left( x \vert \xi ^* \right) q \left( \xi (t-1) \vert \xi ^* \right) }{ p \left( \xi (t-1) \right) p \left( x \vert \xi (t-1) \right) q \left( \xi ^* \vert \xi (t-1) \right) }. \end{aligned}$$
    (12)
  4. 4.

    Based on the generated data, calculate the necessary information, such as the confidence interval for \(\xi \).

3 Data and Methodology

We collected the daily stock prices of 100 companies on Ho Chi Minh Stock Exchange (HOSE) using the systematic sampling method. The investment period is from 01/03/2019 to 28/02/2021. Based on the daily number of positive COVID-19 cases in Vietnam (https://ncov.vncdc.gov.vn/), the investment period is divided into two periods: the pre-pandemic period (from 01/03/2019 to 29/02/2020) and the pandemic period (from 01/03/2020 to 28/02/2021). Similarly, there were three waves of Coronavirus in Vietnam during the investment periods; thus, the second period is divided into three sub-periods: Sub-period 2.1 (from 01/03/2020 to 31/05/2020), Sub-period 2.2 (from 01/06/2020 to 31/10/2020) and Sub-period 2.3 (from 01/11/2020 to 28/02/2021).

The profitability of the Ichimoku-based strategy is evaluated based on the Return on investment(ROI). And afterward, the differences between the ROI obtained in periods/sub-periods are identified based on the statistical test. For the Ichimoku-based strategy, the obtained profitability usually does not follow a Normal or a Student’s t-distribution; thus, the non-parametric Mann-Whitney U test rather than the independent samples t test is used in this paper. The above process is also conducted to verify the differences between the ROI acquired in the two periods when considering specific business industries. In addition to the ROI, other typical measures, such as the AR, SR, and JA, are also utilized to evaluate the performance of the Ichimoku-based strategy. Of available works evaluating the effectiveness of trading strategies, most used the Buy-and-hold method as a benchmark (Coe & Laosethakul, 2021; Hui & Chan, 2019; Zhang & Khushi, 2020). Therefore, we include the AR acquired using the Ichimoku-based strategy and the Buy-and-hold method, for further comparison. Finally, Bootstrap sampling and the Metropolis-Hastings algorithm are employed to determine the robustness of the obtained results.

4 Empirical Results

4.1 The Profitability of the Ichimoku Based Strategy in the Entire Market

Fig. 2
figure 2

Histogram of obtained ROI

Table 2 Statistics of obtained ROI on the two periods

The histograms of the ROI obtained on the two periods are represented in Fig. 2. It can be seen that the obtained mode values are less than 0 for both cases, which indicates that investors would lose a large number of times, as stated in Sect. 2.2. However, in both pre-pandemic and pandemic periods, there are a number of abnormal positive ROIs which are equal to around 6 to 12 times the mean values. This indicates the efficiency of the Ichimoku-based strategy when it can capture strong bullish signals. Generally, as shown in Table 2, the average values of ROIs are positive for both cases, but the average value of ROI obtained in the pandemic period is much higher than that in the pre-pandemic period.

The Mann-Whitney U test is used to determine whether the ROI obtained during the pandemic period is higher than that obtained during the pre-pandemic period. As shown in Table 2, the obtained p-value is equal to \(2.8 \times 10^{-5}\), implying that the pandemic has a positive effect on the profitability obtained from the Ichimoku-based strategy, at a significance level of \(5\%\). Because the pandemic had a negative impact on overall production and business activities, particularly real estate investing, which is one of the most common businesses in Vietnam, investors were said to have no choice but to invest in the stock market. The more money that flows in, the higher the price, and vice versa. This leads to the fact that most companies’ stock prices have increased during the pandemic period, even though the economy has been depressed, negatively affecting the companies’ financial status.

For further analysis, the pandemic period is separated into three sub-periods that correspond to the three waves of infection during the inquiry period. Table 3 provides the obtained pairwise p-values when performing the Mann-Whitney U tests over the four periods consisting of Period 1 (pre-pandemic), Sub-period 2.1 (pandemic), Sub-period 2.2 (pandemic), and Sub-period 2.3 (pandemic).

Table 3 p-values of Mann-Whitney Tests when comparing ROI obtained from sub-periods

According to Table 3, at a \(5\%\) significance level, there is no difference in the ROI produced from an Ichimoku-based approach during Period 1 and Subperiod 2.1 (p-value is equal to 0.986). In Sub-period 2.1, when the Covid-19 pandemic appearance was announced in Vietnam for the first time, investors were mainly cautious. According to our knowledge, many investors suddenly withdrew from the market due to the declining economic situation. In this sub-period, there were not many new investments, the stock market fluctuated very slightly. Therefore, the Ichimoku-based strategy, which aims to profit from strong market trends, was not very effective.

For Sub-periods 2.2 and 2.3, the Mann-Whitney U test shows the differences between the ROI obtained in these sub-periods and Period 1, with \(5\%\) and \(1\%\) significance levels, respectively. This demonstrates that the profit earned from the Ichimoku-based strategy tended to improve gradually in the later sub-periods. During sub-periods 2.2 and 2.3, stock prices were increased, regardless of the business situation. As previously stated, the prolonged pandemic situation halted production and business operations at the time. As a result, only a few investment avenues remained viable, including the stock market. The stock market had a strong uptrend due to the continuous inflow of money, which was consistent with the benefits of the Ichimoku-based strategy.

In summary, during the investigated periods, the profit obtained using the Ichimoku-based strategy was better and better over time. Ichimoku-based strategy correctly identified the buy signals so that investors could capture the strong uptrend of the stock market, under the influences of the prolonged pandemic situation.

4.2 The Profitability of the Ichimoku Based Strategy in Industries

The Mann-Whitney U test with a statistical significance value of 0.05 is used to further analyze the effects of the pandemic on the profitability of the Ichimoku-based strategy by industry. The null hypothesis \(H_0\) is constructed as follows: “there is no difference in the profitability of the Ichimoku-based strategy obtained in the two periods, by industry x”, where x is the industry under consideration. Table 4 displays the test results.

Table 4 p-values of Mann-Whitney Tests when comparing ROI obtained in the two periods by industry

The test results in Table 4 show that the difference in the profitability of the Ichimoku-based strategy obtained in the two periods is significant for four industries: Real estate, Food and beverages, Resources, and Automotive and electronic components. The findings show that industry was an important factor in investment. Some of the best industries for investors were those that could grow or could be not adversely affected by the pandemic. For example, it can be seen from Table 4 that the Food and beverages industry has a significant difference in the profitability of Ichimoku-based strategy between the two periods. This industry provides people with essential and nutritional foods which saw a significant increase in demand during the pandemic. This enabled food and beverages to become the most reliable and profitable industry. In contrast, the differences in profitability of Ichimoku-based strategy between the two periods are not significant for some other industries, e.g, Travel and leisure. The Travel and leisure industry was hit the hardest by the COVID-19 pandemic. This industry saw a significant decrease in demand during the pandemic because people were not permitted to travel for an extended time. As a result, the financial status of tourist agencies, as well as the corresponding stock prices, were impacted. However, in general, as shown in Table 4, most industries achieve either a positive or a very small negative value in ROI. This demonstrates that the Ichimoku-based strategy can be considered a suitable method with low risk, no matter if there were adverse influences on the industry during the pandemic.

In order to provide more informative results, other typical measures, such as the accumulated returns (AR), Sharpe ratio (SR), and Jensen alpha (JA) are also utilized to evaluate the performance of the Ichimoku-based strategy. The AR, SR, and JA are provided in Table 5, where the smaller values are in bold. As illustrated in Table 5, Period 2 saw a significant increase in terms of AR and SR. Meanwhile, trading with the Ichimoku-based strategy in this period still achieved a competitive JA for the majority of industries.

Particularly, regarding the AR and SR, their values sharply increased for the entire market as well as the specific industries. For the entire market, the AR rose from \(-7\%\) in Period 1 to \(19\%\) in Period 2 while the SR also rose from −2.02 to 1.19 in the same periods. For the majority of industries, such as the Real estate, Food and beverages, Building services, Resources, and Financial services, utilizing Ichimoku-based strategy in Period 2 a experienced considerable increase in AR and SR. Meanwhile, in the pandemic period, the Ichimoku-based strategy still attained slightly better performance for the rest of the sectors.

Regarding JA, while Period 2 saw a rise in JA for several sectors, this figure slightly declined for the total market. The reason is that the Ichimoku-based strategy outperformed the market in Period 1, but not in Period 2. During Period 1, stock prices did not increase and even depreciated. The Ichimoku-based approach with its exit signal might prevent severe losses, despite the fact that it would incur somewhat negative profit. As a result, the Ichimoku-based strategy outperformed the market in this period, resulting in a positive JA. In contrast, even though the entry signal of the Ichimoku-based strategy could capture strongly upward trends in Period 2 and generated positive AR and SR, it took time to verify the signal, i.e., was slower than the market. Consequently, the Ichimoku-based strategy could not beat the market, resulting in a negative JA throughout this time.

Table 5 The cumulative returns, Sharpe Ratio, and Jensen alpha of the Ichimoku-based trading rule

For further analyses, we compare the AR received using the Ichimoku-based strategy and the Buy-and-hold method which is a well-known benchmark often used in trading strategy evaluation. As shown in Fig. 3, the Ichimoku-based strategy achieved slightly higher AR and significantly lower risk than that of the Buy-and-hold method. During Period 1, the Buy-and-Hold strategy generated significantly negative returns as the stock price gradually declined. Regarding the Ichimoku-based strategy, it prompted investors to exit the market when the Chikou line crossed the cloud, thereby preventing substantial losses. The Ichimoku-based strategy, therefore, outperformed the Buy-and-Hold method in terms of AR and risk, throughout this time period. At the beginning of Period 2, when the COVID-19 pandemic was announced in Vietnam for the first time, the market suddenly fell. As a result, the AR of the Buy-and-hold method reached the bottom at about \(-32\%\). Meanwhile, the AR of the Ichimoku-based strategy was approximately \(-10\%\) at that time, which was 3 times better than that of the Buy-and-hold option. The outlined result again demonstrates the superiority of the Ichimoku-based strategy over the Buy-and-hold strategy. Nevertheless, the sharp increase in the market afterward let the Buy-and-hold strategy become the most suitable option for the rest of the pandemic period. Compared to the Buy-and-hold method, the Ichimoku-based strategy had a slower increase in terms of AR as this method needed time to verify an entry signal. Therefore, during the pandemic period, the Ichimoku-based strategy was unable to beat the market even though this strategy significantly outperformed itself in the previous time. Throughout the two periods, the final AR values of the Ichimoku-based strategy and the Buy-and-hold strategy were about \(8.14\%\) and \(8.65\%\), respectively. The preceding results demonstrate that the Ichimoku-based strategy could slightly increase AR while posing a lower risk, in comparison to the Buy-and-hold method.

Fig. 3
figure 3

AR of the two methods

4.3 Robustness Check

The Mann-Whitney U test utilized in Sects. 4.1 and 4.2 requires certain assumptions, such as the similarity of the sample distributions in terms of dispersion and shape. Therefore, robustness checks need to be conducted to clarify whether the obtained results are well-established regardless of various kinds of data conditions and beliefs. For this purpose, this subsection utilizes the Bootstrap sampling and the Metropolis-Hasting sampling to verify the robustness of the Mann-Whitney U test.

Let \(X_1=\left\{ x_{11},x_{12},\ldots ,x_{1m} \right\} \) be the data set of ROI in Period 1 and let \(X_2=\left\{ x_{21},x_{22},\ldots ,x_{2n} \right\} \) be the data set of ROI in Period 2. We first combine them to form a new data set containing ROI differences between the two periods, e.g., \(X_2-X_1=\left\{ x_{2j}-x_{1i} \right\} _{i=\overline{1,m},j=\overline{1,n}}\). The Bootstrap sampling describe in Sect. 2 is then utilized to obtain the \(95\%\) confidence interval for \(\mu \left( x_2-x_1 \right) \) or \(\mu _d\).

Fig. 4
figure 4

The distribution of \(\mu \left( x_2-x_1 \right) \) using Bootstrap sampling

Figure 4 depicts the distribution of \(\mu _d\), based on 10000 Bootstrap samples. It can be seen from Fig. 4 that the mean of difference is likely to have a normal distribution. The \(95\%\) confidence interval for \(\mu _d\) is approximately \(\left[ 0.0809,0.0913\right] \), which shows that the ROI obtained per each transaction using the Ichimoku-based strategy increases by roughly \(8-9\%\) in the pandemic period. This also verifies the robustness of the Mann-Whitney U test conducted in the previous subsections.

In addition to the Bootstrap sampling, the Metropolis-Hastings algorithm (MHA) is utilized for the purpose of robustness check. Conducting the MHA requires a given distribution of the difference \(X_2-X_1\), and a prior distribution of \(\mu _d\). In this paper, we set \((X_2-X_1) \sim N(\mu _d,\sigma _d)\) and \(\mu _d \sim N(\theta ,\tau )\), where \(\sigma _d\) is given by the sample variance of \((X_2-X_1)\), \(\theta >0\) indicates a belief of positive difference and vice versa.

Fig. 5
figure 5

The traceplot of 10000 generated samples

Figure 5 illustrates the trace plot of 10000 samples generated by MHA, with \(\theta =0\) and \(\tau =0.05\). During the simulation process, the samples with higher likelihoods are repetitively collected in certain regions, e.g. region R1. Meanwhile, the samples with smaller likelihoods are still accepted in a few regions, e.g., region R2. The above mechanisms ensure an adequate approximation of the posterior expectation, along with an acceptable level of the posterior dispersion. The \(95\%\) confidence interval for \(\mu _d\) in this case is approximately \(\left[ 0.0809,0.0915\right] \). Finally, we investigate the posterior \(95\%\) confidence interval, under various cases of prior probability. As shown in Fig. 6, all confidence intervals are positive, even though the prior distribution has a negative mean and large variance. Again, the results outlined confirm the robustness of the Mann-Whitney U test conducted earlier.

Fig. 6
figure 6

The effects of prior distribution on the posterior \(95\%\) confidence interval

5 Conclusion

In this paper, the profitability of the Ichimoku-based strategy on the Vietnamese stock market, under the impact of the COVID-19 pandemic is investigated for the first time. The findings indicate that the profitability of Ichimoku-based strategy in the pandemic period was significantly better than that in the pre-pandemic period, in terms of ROI, AR, and SR. Additionally, we examine the profitability of Ichimoku-based strategy in a variety of industries and obtain similar results. The robustness check reiterates that the ROI obtained per each transaction using the Ichimoku-based strategy increased by roughly \(8-9\%\) in the pandemic period. Compared to the Buy-and-hold method, the Ichimoku-based strategy could slightly increase AR while posing a lower risk. Generally, this strategy could be considered a suitable method for applying to the Vietnam stock market, regardless of the adverse effects of the pandemic on the industries. The findings in this paper could be considered useful references for researchers and investors working in financial economics and other related fields. Nevertheless, this paper only considers the conventional Ichimoku-based strategy, without any modification. Therefore, the strategy has less potential to beat the market in the pandemic period. Also, certain state-of-the-art statistical methods, e.g., the Bayesian Mann-Whitney test, have not been applied in this paper. These drawbacks are also interesting research directions that need to be conducted in the future.