Abstract
This study presents a novel approach to financial market forecasting based on a synergistic forecasting model, a type of techno-fundamental analysis that combines technical analysis indicators with fundamental variables using the Kalman filter to improve the accuracy of predictions. We used this model to forecast daily market price returns on gold. The obtained results show that our synergistic model can significantly deduct the root-mean-square error (RMSE) of the predictions compared to a sole technical and/or fundamental analysis. Also, 67% of the time, the model significantly and correctly predicted directional changes in prices one day ahead of time, outperforming the benchmark models.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Key words
5.1 Introduction
Gold is one of the most important precious metals for investment, as it maintains its value over time and can be used for hedging against risks (Khan, 2013; Shafiee & Topal, 2010). Many investment instruments such as accounts, stocks, derivative certificates, and contracts for differences have been created based on this precious metal. For this reason, the ability to forecast gold prices and gold price volatility has immense importance for the finance community. To this aim, we used a novel approach called synergistic forecasting modeling. This model expands upon previous methods by combining information obtained from technical analysis indicators and fundamental variables using Kalman filtering to improve forecasting accuracy.
Most changes in gold prices are attributed to demand-side factors. In this respect, demand for gold is affected by many variables. First, changes in the gold demand result from changes in sentiments and speculation, which cause daily movement in gold prices. Sentiments can be measured by technical analysis indicators (Potoski, 2013). Also, several fundamental factors are influential: Intermarket variables such as the oil price (Zhang & Wei, 2010), financial stress, political uncertainty (Reboredo & Uddin, 2016), and interest rates (Ul Sami & Junejo, 2017) are considered to be the most important fundamental factors that affect gold prices (Das et al., 2018).
Following the 2008 economic crisis, gold was considered a safe haven for investment, and the role of the gold market in the economy increased. Accordingly, forecasting the price and volatility of gold broadly attracted the interest of researchers and led researchers to propose a variety of mathematical and hybrid prediction models (Shafiee & Topal, 2010). Parisi et al. (2008) proposed a recursive and rolling neural network model to predict the sign variation of gold prices one step ahead by considering lags in changes to gold prices as well as lags in the Dow Jones industrial production index. Their method captured 60.68% of true sign variation. Yazdani-Chamzini et al. (2012) developed an adaptive neuro-fuzzy network based on oil and silver prices to predict changes in the gold price; this method outperformed the ANN and ARIMA model, generating a lower root-mean-square error (RMSE) and higher R-square. Khan (2013) also found that the Box Jenkins ARIMA (0,1,1) method is suitable for forecasting gold prices. Meanwhile, Kristjanpoller and Minutolo (2015) applied a hybrid ANN-GARCH model to forecast gold price volatility using foreign exchanges, the oil price, the Dow Jones index, the London stock exchange index, and the oil price return as inputs. They found that their hybrid model improved the mean absolute percentage error in the model compared to the standalone GARCH and ANN models. Finally, Fang et al. (2018) investigated the impact of macroeconomic variables on the volatility of US gold futures using the GARCH-MIDAS model. Their empirical results confirmed that the consideration of macroeconomic variables significantly improves the ability to predict long-term volatility in the US gold market.
The present research describes a hybrid prediction method: a synergistic forecasting model. This model performs a techno-fundamental analysis that fuses a structural model of technical analysis indicators with the exponential GARCH (EGARCH) model of fundamental variables, both of which have a significant impact on the price return volatility of gold. The aim is to create a better forecasting model that can determine gold price returns one step ahead. The data fusion was performed by applying a modified, extended Kalman filter to the indicators, wherein the operational parameters of the Kalman filter were calculated by a support vector regression (SVR) neural network.
5.2 Data
We applied the proposed model to a sample consisting of daily observations of fundamental variables and technical analysis indicators from March 2014 to March 2018. The historical returns of gold spot prices in US dollars (XAUUSD) were used as the dependent variable of the model. Two types of independent variables were used in the synergistic forecasting model, namely fundamental analysis and technical analysis indicators. For the fundamental indicators, the Cleveland Financial Stress Index (CFSI) was used as a proxy of investor sentiment; this index is released by the Federal Reserve Bank of St. Louis. Three-month treasury bill (DTB3MS) interest rates were also used and are considered to be indicators of short-term interest rates. Two CBOE® volatility indexes, the Gold Volatility Index (GVZ) and the Crude Oil Volatility Index (OVX), were used as proxies of the implied volatility of gold and oil options on the Standard & Poor’s depositary receipt (SPDR®) and the United States Oil Fund (USO®), respectively.
Technical analysis indicators contain rich information about market dynamics in terms of price and volume and are widely used as inputs in different models for predicting price turning points and price trends. The lagged values of these variables have significant forecasting power (Bekiros, 2015; Neely & Weller, 2012). Specifically, the Relative Strength Index (RSI), stochastic indicator (%K), on-balanced volume (OBV), and standard division indicator (STD) were used in this research. RSI shows the strength or weakness of trends by measuring the acceleration of price movement. %K measures the velocity of price by considering the tendency of close prices. OBV indicates whether the demand or supply side is increasing in the market. Finally, STD shows the volatility of the gold price.
The descriptive statistics of these variables are listed in Table 5.1Footnote 1. According to the Jarque-Bera test, with the exception of LGVZ, the variables are not normally distributed. So, the modified version of the Kalman filter must be applied (Mirza, 2011). Figure 5.1 shows the actual gold price returns in XAUUSD for the forecasting period.
5.3 Methodology
The applied synergistic forecasting approach is a type of time-series forecasting model that combines technical and fundamental models for more accurate prediction (Ebrahimijam et al., 2018). Appendix shows the synergistic model. The first input is the EGARCH regression, a fundamental model that estimates the impact of economic and financial variables on the volatility of gold price returns. Before performing GARCH-type estimations, the presence of an ARCH effect (Engle, 1982) should be verified. As the logarithm of variance is modeled by EGARCH, there is no need to artificially impose nonnegativity constraints on the negative model parameter and asymmetries are allowed. In the following, Eq. 5.1 describes the EGARCH model (Nelson, 1991):
where σ_t^2 is the conditional variance and u_(t-1) is the error distribution.
The economic and financial variables, short-term T-bills, and the OVX, GVZ, and CFSI were utilized as exogenous variables by the model to investigate the impact of these variables on the volatility of XAUUSD. The second input of the synergistic forecasting model was the prediction of standard deviation obtained from the structural time-series model of technical analysis indicators, which indicates the impact of lags in the technical analysis indicators on gold market price volatility.
The third input was the estimated covariance of process noise (Q) for the Kalman (1961) filter at the center of the analysis. The Kalman filter is a two-step process of prediction and correction stages (Welch & Bishop, 2001). First, an estimation of the current state is generated based on uncertainties in the prediction stage; then, it is updated using a weighted average from the prediction and observation stages, with more weight being given to the more certain one.
-
Prediction stage:
-
Update stage:
where f is the predicted state estimation function substituted by the EGARCH model as a predictor of fundamental variables, h is the prediction of the measurement function substituted by the structural model of the technical analysis indicators, \( {\hat{x}}_k^{-} \) is the prior estimate of the state variables, A _ k is the state transition matrix, \( {P}_k^{-} \) is the prior estimate of the current covariance matrix, \( {P}_k^{-} \) is the previous covariance matrix, Kk is the Kalman gain, Qk − 1 is the process noise covariance, and R is the measurement noise covariance.
An SVR neural network was applied to estimate gold market volatility as a time-varying parameter that changes based on market conditions and volatility (Q). In particular, SVR is a support vector machine (SVM) method based on supervised learning (machine learning) (Cortes & Vapnik, 1995) that can perform regression analysis and train sample data with target values. As shown in Fig. 5.2, the main characteristic of SVR is that it attempts to minimize the generalized bound instead of minimizing the observed training error. To develop a nonlinear SVR, sample data must be converted using kernel functions to perform linear separation.
The goal function and constraints are shown in Eqs. 5.8, 5.9, 5.10, and 5.11:
where
The Kernel function is a Gaussian nonlinear function, as shown below:
For SVR, Cortes & Vapnik (1995) proposed that the loss function (L) in Eq. 5.11 should be used to penalize errors that are greater than the ε threshold.
At the end of the synergistic forecasting model, there is a lag operator ( Z−1) that generates the predicted gold price return for further use in the Kalman filter (Welch & Bishop, 2001).
5.4 Empirical Findings
The EGARCH model was first conducted on the financial variables. The results are presented in Table 5.2. The Engle heteroscedasticity test showed that an ARCH effect was present in the residuals. The significant α coefficients indicated that all of the fundamental variables had a significant impact on the volatility of gold prices. The highest impact was from GVZ. T-bill had the least negative impact (−0.009), and the CSFI had a slight negative impact (−0.028) on gold price volatility. 1% increase in oil price volatility increases gold price volatility by 0.048%.
Figure 5.3 shows the forecasting output for XAUUSD volatility based on the fundamental model (EGARCH), which can effectively forecast upcoming high volatilities.
Table 5.3 presents the estimation results of the structural model of technical analysis indicators, showing the effects of the technical analysis indicators on the standard deviation of gold prices. Most of the lags in the technical analysis indicators are significant. The highest impact is for one-day-ago RSI, which is 0.13% on next-day gold price volatility.
Figure 5.4 shows the forecasting output for XAUUSD volatility based on the structural model of the technical analysis indicators. Notably, some upcoming high volatility situations can be predicted by the model.
The SVR model predicted the process error covariance (Q) (an estimation of volatility in gold price returns) for the Kalman filter using the financial variables of OVX, CFSI, GVZ, and T-bills as inputs. According to Fig. 5.5, which shows the Q estimation for upcoming volatilities, the estimation model fitted very well to the actual data.
Table 5.4 presents the predictive power based on the RMSE and correct directional change performance (%CDCP). This type of direction-of-change forecasting is very popular in financial market studies (Bekiros & Georgoutsos, 2008). The synergistic model had a very small RMSE (0.0268) and a high % CDCP. Therefore, the synergistic model was able to correctly predict the direction of the XAUUSD price returns 67% of the time through combining information on the volatilities of future gold market price returns from the models for technical and fundamental analysis indicators.
To confirm the superior performance of the synergistic model, the result of %CDCP must be greater than 50%, which would evidence that the model outperforms the random walk model (Hong et al., 2007). To confirm the statistical significance of %CDCP, the test statistic should be greater than the critical value defined at the 1% level (σ _ (0.01%)), which is approximately 0.083159 (Cai & Zhang, 2014).
5.5 Conclusion
This chapter presents a synergistic forecasting model that combines information from technical and fundamental analysis indicators (a techno-fundamental approach) to predict daily gold prices returns. Our model used information from the EGARCH model (a fundamental analysis) and from a time-series structural model of technical analysis indicators. This information was processed by a data fusion technique using the Kalman filter that can dynamically update process noise (Q) through support vector regression. The proposed new structure of the synergistic forecasting model effectively improved the accuracy of the prediction in comparison to forecasting solely based on technical and fundamental analysis and significantly outperformed the benchmark models in terms of its significant and correct prediction of the directional movement of XAUUSD price returns and RMSE. The results highlight how volatility forecasting can support the Kalman filter to generate superior gold price return predictions, which represents an important advantage of the proposed synergistic model. Also, these findings prove the efficiency of using publicly available data in forecasting and therefore have significant practical implications for the financial community.
Notes
- 1.
According to ADF and Phillips-Perron unit root test all of the variables are stationary at level. However, because of the space constraint, results are not presented here. They can be submitted upon request.
References
Bekiros, S. D. (2015). Heuristic learning in intraday trading under uncertainty. Journal of Empirical Finance, 30, 34–49.
Bekiros, S. D., & Georgoutsos, D. A. (2008). Direction-of-change forecasting using a volatility-based recurrent neural network. Journal of Forecasting, 27(5), 407–417.
Cai, C. X., & Zhang, Q. (2014). High-frequency exchange rate forecasting. European Financial Management, 22, 1–22.
Cortes, C., & Vapnik, V. N. (1995). Support-vector networks. Machine Learning, 20(3), 273–297.
Das, D., Kumar, S. B., Tiwari, A. K., Shahbaz, M., & Hasim, H. M. (2018). On the relationship of gold, crude oil, stocks with financial stress: A causality-in-quantiles approach. Finance Research Letters, 27, 169–174.
Ebrahimijam, S., Adaoglu, C., & Gokmenoglu, K. K. (2018). A synergistic forecasting model for high-frequency foreign exchange data. Economic Computation and Economic Cybernetics Studies and Research, 52(1), 293–312.
Engle, R. F. (1982). Autoregressive conditional heteroskedasticity with estimates of the variance of United Kingdom inflation. Econometrica, 50, 987–1007.
Fang, L., Chen, B., Yu, H., & Qian, Y. (2018). The importance of global economic policy uncertainty in predicting gold futures market volatility: A GARCH-MIDAS approach. Journal of Futures Markets, 38(3), 413–422.
Hong, Y., Li, H., Zhao, F., & Haitao, L. (2007). Can the random walk model be beaten in out-of-sample density forecasts? Evidence from intraday foreign exchange rates. Journal of Econometrics, 141, 736–776.
Kalman, R. (1961). A new approach to linear filtering and prediction problems. Journal of Basic Engineering, 82, 35–45.
Khan, M. M. A. (2013). Forecasting of gold prices (Box Jenkins approach). International Journal of Emerging Technology and Advanced Engineering, 3(3), 662–670.
Kristjanpoller, W., & Minutolo, M. C. (2015). Gold price volatility: A forecasting approach using the Artificial Neural Network–GARCH model. Expert Systems with Applications, 42(20), 7245–7251.
Mirza, M. J. (2011). A modified Kalman Filter for non-gaussian measurement noise. In Communication systems and information technology (pp. 401–409). Springer.
Neely, C. J., & Weller, P. A. (2012). Technical analysis in the foreign exchange market. In J. James, I. W. Marsh, & L. Sarno (Eds.), Handbook of exchange rates. Wiley.
Nelson, D. B. (1991). Conditional heteroskedasticity in asset return: A new approach. Econometrica, 59, 347–370.
Parisi, A., Parisi, F., & Díaz, D. (2008). Forecasting gold price changes: Rolling and recursive neural network models. Journal of Multinational Financial Management, 18(5), 477–487.
Potoski, M. (2013). Predicting gold prices. Computer Science CS229. Available at http://cs229.stanford.edu/proj2013/Potoski-PredictingGoldPrices.pdf
Reboredo, J. C., & Uddin, G. S. (2016). Do financial stress and policy uncertainty have an impact on the energy and metals markets? A quantile regression approach. International Review of Economics & Finance, 43, 284–298.
Shafiee, S., & Topal, E. (2010). An overview of global gold market and gold price forecasting. Resources Policy, 35(3), 178–189.
Ul Sami, I., & Junejo, K. N. (2017). Predicting future gold rates using machine learning approach. International Journal of Advanced Computer Science and Applications, 8(12), 92–99.
Welch, G., & Bishop, G. (2001). An introduction to the Kalman filter (TR95-041). UNC-Chapel Hill/ACM, Inc.
Yazdani-Chamzini, A., Yakhchali, S. H., Volungevičienė, D., & Zavadskas, E. K. (2012). Forecasting gold price changes by using adaptive network fuzzy inference system. Journal of Business Economics and Management, 13(5), 994–1010.
Zhang, Y. J., & Wei, Y. M. (2010). The crude oil market and the gold market: Evidence for cointegration, causality and price discovery. Resources Policy, 35(3), 168–177.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix
Appendix
5.1.1 Flow Chart of the Proposed Synergistic Techno-Fundamental Model
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Gokmenoglu, K.K., Ebrahimijam, S. (2022). A Synergistic Forecasting Model for Techno-Fundamental Analysis of Gold Market Returns. In: Procházka, D. (eds) Regulation of Finance and Accounting. ACFA ACFA 2021 2020. Springer Proceedings in Business and Economics. Springer, Cham. https://doi.org/10.1007/978-3-030-99873-8_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-99873-8_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-99872-1
Online ISBN: 978-3-030-99873-8
eBook Packages: Economics and FinanceEconomics and Finance (R0)