scholarly journals Machine learning applied in the stock market through the Moving Average Convergence Divergence (MACD) indicator

2020 ◽  
Vol 17 (4) ◽  
pp. 44-60
Author(s):  
Alberto Antonio Agudelo Aguirre ◽  
Ricardo Alfredo Rojas Medina ◽  
Néstor Darío Duque Méndez

The implementation of tools such as Genetic Algorithms has not been exploited for asset price prediction despite their power, robustness, and potential application in the stock market. This paper aims to fill the gap existing in the literature on the use of Genetic Algorithms for predicting asset pricing of investment strategies into stock markets and investigate its advantages over its peers Buy & Hold and traditional technical analysis. The Genetic Algorithms strategy applied to the MACD was carried out in two different validation periods and sought to optimize the parameters that generate the buy-sell signals. The performance between the machine learning-based approach, technical analysis with the MACD and B&H was compared. The results suggest that it is possible to find optimal values of the technical indicator parameters that result in a higher return on investment through Genetic Algorithms, beating the traditional technical analysis and B&H by around 4%. This study offers a new insight for practitioners, traders, and finance researchers to take advantage of Genetic Algorithms for trading rules application in forecasting financial asset returns under a more efficient and robust methodology based on historical data analysis.

2018 ◽  
Vol 7 (3.21) ◽  
pp. 109
Author(s):  
Kelvin Lee Yong Ming ◽  
Mohamad Jais

Technical analysis is an analysis that widely applied by the investor in the stock market. However, various corporate announcements could cause the market to react, and the most significant corporate announcement is the earnings announcement (1). Thus, this study examines the effectiveness of technical analysis signals around the earning announcements dates in Malaysian stock market. In doing so, this study applied and tested four technical indicators, namely Simple Moving Average (SMA), Relative Strength Index (RSI), Stochastic (K line), and Moving Average Convergence/Divergence (MACD) in Malaysian stock market. The sample of this study consisted of 30 largest capitalization companies from the main market of Kuala Lumpur Stock Exchange (KLSE). Meanwhile, the sample period covered from 2nd January 2014 to 31st March 2016. This study found that Moving Average Convergence/Divergence (MACD) significantly produced higher returns as compared to the other technical indicator before the earning announcement dates in financial year 2014 and 2015. The combined indicator of MA-MACD also found to have higher return in financial year 2015. The findings conclude that the technical analysis signals can be used to generate returns before earning announcement dates.  


Kybernetes ◽  
2021 ◽  
Vol ahead-of-print (ahead-of-print) ◽  
Author(s):  
Shilpa B L ◽  
Shambhavi B R

PurposeStock market forecasters are focusing to create a positive approach for predicting the stock price. The fundamental principle of an effective stock market prediction is not only to produce the maximum outcomes but also to reduce the unreliable stock price estimate. In the stock market, sentiment analysis enables people for making educated decisions regarding the investment in a business. Moreover, the stock analysis identifies the business of an organization or a company. In fact, the prediction of stock prices is more complex due to high volatile nature that varies a large range of investor sentiment, economic and political factors, changes in leadership and other factors. This prediction often becomes ineffective, while considering only the historical data or textural information. Attempts are made to make the prediction more precise with the news sentiment along with the stock price information.Design/methodology/approachThis paper introduces a prediction framework via sentiment analysis. Thereby, the stock data and news sentiment data are also considered. From the stock data, technical indicator-based features like moving average convergence divergence (MACD), relative strength index (RSI) and moving average (MA) are extracted. At the same time, the news data are processed to determine the sentiments by certain processes like (1) pre-processing, where keyword extraction and sentiment categorization process takes place; (2) keyword extraction, where WordNet and sentiment categorization process is done; (3) feature extraction, where Proposed holoentropy based features is extracted. (4) Classification, deep neural network is used that returns the sentiment output. To make the system more accurate on predicting the sentiment, the training of NN is carried out by self-improved whale optimization algorithm (SIWOA). Finally, optimized deep belief network (DBN) is used to predict the stock that considers the features of stock data and sentiment results from news data. Here, the weights of DBN are tuned by the new SIWOA.FindingsThe performance of the adopted scheme is computed over the existing models in terms of certain measures. The stock dataset includes two companies such as Reliance Communications and Relaxo Footwear. In addition, each company consists of three datasets (a) in daily option, set start day 1-1-2019 and end day 1-12-2020, (b) in monthly option, set start Jan 2000 and end Dec 2020 and (c) in yearly option, set year 2000. Moreover, the adopted NN + DBN + SIWOA model was computed over the traditional classifiers like LSTM, NN + RF, NN + MLP and NN + SVM; also, it was compared over the existing optimization algorithms like NN + DBN + MFO, NN + DBN + CSA, NN + DBN + WOA and NN + DBN + PSO, correspondingly. Further, the performance was calculated based on the learning percentage that ranges from 60, 70, 80 and 90 in terms of certain measures like MAE, MSE and RMSE for six datasets. On observing the graph, the MAE of the adopted NN + DBN + SIWOA model was 91.67, 80, 91.11 and 93.33% superior to the existing classifiers like LSTM, NN + RF, NN + MLP and NN + SVM, respectively for dataset 1. The proposed NN + DBN + SIWOA method holds minimum MAE value of (∼0.21) at learning percentage 80 for dataset 1; whereas, the traditional models holds the value for NN + DBN + CSA (∼1.20), NN + DBN + MFO (∼1.21), NN + DBN + PSO (∼0.23) and NN + DBN + WOA (∼0.25), respectively. From the table, it was clear that the RMSRE of the proposed NN + DBN + SIWOA model was 3.14, 1.08, 1.38 and 15.28% better than the existing classifiers like LSTM, NN + RF, NN + MLP and NN + SVM, respectively, for dataset 6. In addition, he MSE of the adopted NN + DBN + SIWOA method attain lower values (∼54944.41) for dataset 2 than other existing schemes like NN + DBN + CSA(∼9.43), NN + DBN + MFO (∼56728.68), NN + DBN + PSO (∼2.95) and NN + DBN + WOA (∼56767.88), respectively.Originality/valueThis paper has introduced a prediction framework via sentiment analysis. Thereby, along with the stock data and news sentiment data were also considered. From the stock data, technical indicator based features like MACD, RSI and MA are extracted. Therefore, the proposed work was said to be much appropriate for stock market prediction.


2014 ◽  
Vol 15 (2) ◽  
pp. 143-156 ◽  
Author(s):  
Maciej Janowicz ◽  
Arkadiusz Orłowski ◽  
Franciszek Michał Warzyński

Abstract Application of simple prescriptions of technical analysis on the Warsaw Exchange Market (GPW) has been analyzed using several stocks belonging to WIG20 group as examples. Only long positions have been considered. Three well-known technical-analysis indicators of the market have been investigated: the Donchian channels, the Relative Strength Index, and Moving Average Convergence-Divergence indicator. Optimal values of parameters of those indicators have been found by „brute force“ evaluation of (linear) returns. It has been found that trading based on both Donchian channels and Relative Strength Index easily outperform the „buy and hold“ strategy if supplied with optimal values of parameters. However, those optimal values are by now means universal in the sense that they depend on particular stocks, and are functions of time. The optimal management of capital in the stock market strongly depends on the time perspective of trading. Finally, it has been argued that the criticism of technical analysis which is often delivered by academic quantitative financial science is unjustified as based of false premises.


2011 ◽  
Vol 66-68 ◽  
pp. 1703-1707
Author(s):  
Pang Wen Ling

The Taiwan stock market has millions of investors. If each investor spends $5,000 NTD each month on a professional technical analysis system (the current use price is $5,000~10,000 NTD) and it is conservatively estimated 100,000 investors would use the system, the market potential will be $500 million NTD. Developing an effective stock trading analysis system can help investors obtain profits. At the same time, the system buyers can also make considerable profits. The study is intended to develop a stock trading technical analysis system with moving average method.


2020 ◽  
Vol 17 (4) ◽  
pp. 1584-1589
Author(s):  
J. Shiva Nandhini ◽  
Chitrak Bari ◽  
Gareja Pradip

The basic tool aimed at increasing the rate of investor’s interest in stock markets is by developing a vibrant application for analyzing and predicting stock market prices. In this report we explain, the development and implementation of a stock market price prediction application using machine learning algorithm. In this report, we try to analyze existing and new methods of stock market prediction. We take three different approaches for solving the problem: Fundamental analysis, Technical Analysis and The application of Machine Learning. We found evidence in support of the weak form of the Efficient Market Hypothesis. We can use Fundamental Analysis and Machine Learning to guide an investor’s decisions. We demonstrate a common flaw in Technical Analysis methodology to show that it produces limited useful information. Based on our findings, algorithmic trading programs are developed and simulated using Quant. During the past few decades, various machine learning techniques have been applied to study the highly theoretical and speculative nature of stock market by capturing and using repetitive patterns. Different companies use different types of analysis tools for forecasting and the main aim is the accuracy, with which they predict which set of stocks would yield the maximum amount of profit.


Author(s):  
Mehmet F. Dicle ◽  
John D. Levendis

In this article, we provide four financial technical analysis tools: moving averages, Bollinger bands, moving-average convergence divergence, and the relative strength index. The tftools command is used with four subcommands, each referring to a technical analysis tool: bollingerbands, macd, movingaverage, and rsi. We provide examples for each tool. tftools allows researchers to backtest their own investment strategies and will be of interest to investors, researchers, and students of finance.


Machine Learning plays a unique role in the world of stock market when it comes to the trend prediction. Machine learning library MLIB helps in determining the future values of stocks. With the help of this research one can find the ups and downs of stock market by providing a signal for the same and done by analyzing the previous stock data. This study is based on analysis of stock data from 2000 to 2009 which includes top fifty companies of various sectors from all over India. Six stock data indicators known as, Bollinger Band, Relative Strength Index(RSI), Stochastic Oscillator, Williams % R, Moving Average Convergence Divergence (MACD), Rate of Change applied on the nineteen years of stock data then results of these indicators are compiled and finally with the use of machine learning libraries like Numpy, Pandas, Matplotlib, Sklearn a random forest algorithm is applied on the compiled result to predict the stock movement , these libraries which splits the results into two sets training set and testing set which also boost up the result and gives you the better prediction.


2006 ◽  
Vol 51 (170) ◽  
pp. 125-146 ◽  
Author(s):  
Aleksandra Bradic-Martinovic

Technical analysis (TA) is a form of analyzing market encompassing supply and demand of securities according to the study of their prices and trading volume. Using the appropriate methods, TA aims to identify price movements in the stock market, futures or currencies. In short, TA analysis is the process by which "future price movements are formulated according to the price history". TA originates from the work of Charles Dow and his conclusions about the global behavior of the market, as well as from Elliot Wave Theory. Dow did not regard its theory as a tool for stock market movement prediction, nor as a guide for investors, but as a kind of barometer of general market movements. The term TA methods encompasses all the methods used in tracking prices aiming to clearly predict future events. Many different methods, mainly statistical, are used in technical analysis, the most popular ones being: establishing and following trends using moving average, recognizing price momentum, calculating indicators and oscillators, as well as cycle analysis (structure indicators). It is also necessary to point out that TA is not a science in the true meaning of the term, and that methods it uses frequently deviate from the conventional manner of their use. The main advantage of these methods is their relative ease of use, aiming to give as clear picture as possible of price movements, while at the same time avoiding the use of complicated and complex mathematical methods. The reason for this is simple and is reflected in the dynamics of financial markets, where changes occur during short periods of time and where prompt decision-making is of vital importance.


Sign in / Sign up

Export Citation Format

Share Document