Impact of Technical Parameters For Short - and Long-Term Analysis of
Impact of Technical Parameters For Short - and Long-Term Analysis of
Impact of Technical Parameters For Short - and Long-Term Analysis of
a r t i c l e i n f o a b s t r a c t
Article history: Stock price forecasting is a type of time series problem that forecasts the future price or status of a com-
Available online 3 June 2021 pany on the basis of analysis of time respective values. As the price of stock or company varies with
respect to time, its behavior can be analyzed by different machine learning approaches. In this work,
Keywords: methodology is proposed to evaluate the stock position with variation in time using deep learning
Stock Market Price approach such as recurrent neural network (RNN). This methodology used the technical parameters to
Technical indicators evaluate the long term and short-term analysis of any stock or share. This approach also evaluates and
Co-relation analysis
gives suggestions to investors either to buy or sell any stock for long term and gives return at very
Stock Prediction
RNN
low risk. In this paper work, hybridization of co-relation analysis and deep learning approach for stock
price and long-term behavior analysis. The proposed work is termed as time lagged weight optimized
RNN (TL-WO-RNN) that is adopted in this work and effectively predict the technical parameters and
on the basis of that stock behavior is also predicted. The result analysis was performed on data from dif-
ferent sectors and such as Telecom, Powers, Manufacturing, Finance, Software sectors, etc. The result
analysis shows the effectiveness of the TL-WO-RNN algorithm as compared to existing work.
Ó 2021 Elsevier Ltd. All rights reserved.
Selection and peer-review under responsibility of the scientific committee of the International Confer-
ence on Nanoelectronics, Nanophotonics, Nanomaterials, Nanobioscience & Nanotechnology.
1. Introduction to its time series data behavior. Many researches and authors with
their rigorous efforts are able to study the time series data that
The stock market forms the fast going platform for procuring were also detected to be comprising of redundancies along with
large profits in small time interval by the majority of the big busi- the noises. The various works analyzed have explored mathemati-
nessmen in recent days. However the financial market comes cal and statistical approaches to carry out the predictive work for
enveloped with the risk of high losses while their asset investment the cost of stock prices. Certain works also assisted the advance-
in these areas as well if the judgement and analytical decision of ment in this field by designing machine learning of historical data
any individual fails that is average to bring about the misfortunes and then achieving the forecasting purpose for long term and
too. Hence there have been researches and works that are inclined short-term exchange. By properly utilizing these parameters, pre-
and dedicated towards drawing a framework that can more pre- diction of stock market can be done through the techniques per-
cisely and closely determine the expected rise and falls in the mar- taining to machine learning. Nabipour et al. [1] used the deep
ket for dropping the perceptions. From the studies it has been learning models to predict and analyze the behavior of stock price.
inferred that the in order to attain precise and most exact learning This approach was designed to reduce the market risk. In this work,
of the market behavior it is inexplicable to revise and comprehend different sector data was taken such as financial data for their
all the factors that have an effect on the market. The various factors diversification analysis. In this work, author analyzed different
are inclusive of entire technical as well as economical components machine learning algorithms and found that Recurrent Neural Net-
that bring about the decision of the time and duration of invest- work (RNN) and Long short-term memory (LSTM) outperforms
ment along with the study of returns. It was found a very typical best. But among two RNN results best output. This work also con-
task to dissect the conduct and prediction of the stock prices due sidered technical parameters but didn’t identified any relationship
among these features for future stock behaviour. Z.D. Aksßehir and
E. Kılıç [2] in this paper presented are the some bank stock of the
⇑ Corresponding author. forecast for the closing price in this research. According to linear
https://doi.org/10.1016/j.matpr.2021.05.474
2214-7853/Ó 2021 Elsevier Ltd. All rights reserved.
Selection and peer-review under responsibility of the scientific committee of the International Conference on Nanoelectronics, Nanophotonics, Nanomaterials,
Nanobioscience & Nanotechnology.
E.R. AL Silni Ahmed and S.B. Goyal Materials Today: Proceedings 80 (2023) 1731–1736
patterns are Observations show of that the stocks evolve. There for factors influence the financial market. For instance, a country’s
the different regression and decision tree methods are estimation social status, political status and economic status related to a coun-
models were created are the used. And these method are used to try. It is the need of the hour to have an accurate and automatic
created model and the used of the input variable of the used two system that will aid in the prediction of future aspects. This is
different types. In the set of the first input variable are the four because the irregular and fluctuating data has continuously
basic indicators and the techniques 46 (are the total indicator of increased in amount with the passage of time. By digging deeper
the 50). The small number of the indicator technical of due of small into the financial data, it is easier to develop a novel approach that
number, and the second set of input variable are the consist of the could aid in the prediction of stock prices as far investment and
main indicator are the 4, and the technical nature of the 29 indica- trading are concerned. Hence, the risk involved in the investment
tor (are the total indicator 33). These set of the input variable to gets lowered through this time series prediction system.
evaluate and the Trent are the used of the R2 criterion with of A close look at the trend in the individual stocks’ history could
the respect two model. These are the R2 results after then it was bring down uncertain investment choices. An in depth analysis of
found that are the model prediction had a positive effect on the the stock exchange trend, the simplest time is selected that is com-
performance. The reduced of the technical indicator are the reason. pletely suitable for purchasing and selling stocks. A number of
L. Sayavong, Z. Wu and S. Chalita [3] proposed a predictive model models exist, that combine the machine learning techniques with
of the stock forecasting in this paper. The need of the financial mar- the technical analysis for appropriate prediction of stock value
keting and the sector concerned of the adapted model on this movement
paper. And the mind of the convolution neural network (CNN)
and the Thai stock market are with, the date set after pre-
processing are the performed was the adequate training and the 2.1. Flow chart
testing. The nature in the Indian stock market in the volatile. The
convenient tool with the give people who trade are the Sharma The strategies pertaining to pricing can put forward evidence of
et al. [4] are the proposed method of the forecasting cost on the risk and also aid to minimize the risks involved with the equity
trends and the respect to the inventory of that takes into the investors. Cost-effective strategies or risk-adjusted strategies could
account the potential of the fundamental analysis of the review be developed through predictive studies. The reason being, the risk
and the machine learning. Strategies, for example, assessment level pertaining to an investment portfolio could get affected
investigation, multivariate relapse model and decomposable time through improved predictability. As a result, risk adjusted returns
arrangement model were utilized to give a system to estimating could be obtained by the investors through more accurate forecasts
and value examination. The huge demand for stock value conjec- for the pricing. The primary objective related to the present work is
tures and holes were noticed and dissected by Wei [5] in his explo- to put forward a combined machine learning approach that
ration. The examination between the various techniques accessible includes technical indicators so that future prices of specific stocks
for the forecast of neural organizations was done and broke down. could be predicted.
In the end, long haul transient memory or LSTM neural organiza- The proposed procedure includes the following steps:
tion was picked. In present scenario on neural network architec-
ture CISS compatible for multilayer which further discussed by Extraction of Data
the researcher Yang et.al. [6]. Initial knowledge from financial sec- Discovering technical indicators
tor is a appropriate method to attain knowledge with further for- Figuring out relation amongst features
ward in initial phase some inferential news create more Data classification into three kinds: holding type, selling type
attention which is also so the input of our method the news repre- and buying type
sentation output is the main concentrated area on which the each Calculating the parameters of performance for variable features,
moment of stock price depend which is further affect the final that have variable testing and training set.
mechanism and put a weight age which are assigned to the day
some empirical analysis of historical values of the stock quantity Fig. 1 demonstrates a flow chart for the proposed algorithm so
has been done which shows between the conventional and tradi- that buying and selling status of stocks related to a company could
tional methods. be predicted.
Some network indicators of financial nature were also introduce
by kyun et. al. [7].some Indications come from the Global investors
strategies a vector auto regression model and a volatility in the 2.1.1. Data extraction
network for the non-directional and directional equity market it The historical datasheets pertaining to the extraction of techni-
is identify in the present analysis the system of simple pair corre- cal features were collected from various companies for the year
lation and system level affiliation for the national equity value was 2015–2020. This was done to appropriately model the stock mar-
considered by various machine learning approaches some network ket analysis. The yahoo finance website was primarily utilized to
indicators have been employed such as Logistic regression, carrier obtain historical dataset. In order to carry out simulation analysis,
vector machine, random forest some point is figured out by observ- the historical dataset for 10 companies was made for about three
ing affecting effectiveness of these indicators. years (2015–2020). The rise or fall of any stock or share is pre-
dicted through the datasets, hence they are important. A suitable
machine learning algorithm is employed to train the available data
2. Methodology through proper use of weight recurrent neural network that is time
lagged (TL-WO-RNN).
In the modern day world, with the advancements in technology,
it is not possible for the humans to carry out analysis and make
accurate predictions for the future. As the digital communication 2.1.2. Technical Feature extraction
system gets advanced, it is possible to accumulate large amounts A certain formula is applied to the previous prices of a stock to
of data to carry out economic and financial analysis. The analysis derive data that in combination make the technical indicator. I
of financial time series data is not easy to analyze because the sce- order to make an in depth analysis of the proposed algorithm, 10
nario of the market changes every now and then [8,9]. A number of features are figured out.
1732
E.R. AL Silni Ahmed and S.B. Goyal Materials Today: Proceedings 80 (2023) 1731–1736
time window through the CCI. The average deviation and SMA
are also calculated through the use of number of CCI periods.
The value of the indicator varies between + 200 and 200. If a
value lesser that 200 is indicated, it is a weak price action and
it represents a buy or oversold condition. If a value higher
than + 200 is indicated, it is a strong price action and it represents
a sell or overbought condition.
2.1.4.4. Linear regression indicator (LRI). Trends and track trends, for
instance, a moving average is identified through the use of linear
regression indicator. If the price is very close to the bottom of
the channel, it represents a buy condition. On the contrary, if the
price is very close to the maximum value of LRI(the upper limit),
it represents a sell condition.
nc = number of concordant values (if xi < xj) False Positive (FP) = If predicted value is sell but actual value is
nd = number of discordant values (if xi > xj) buy.
n = sample size False Negative (FN) = If predicted value is buy but actual value is
Pearson Co-Relation sell.
Pearson Co-Relation coefficient q is calculated by the formula as
given below: 3.1.2. Precision
E½AD E½AE½D
q ¼ sffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ð5Þ
ðTPÞ
h i
Precision ¼ 100 ð8Þ
E½A2 ðE½AÞ2 E D2 ðE½DÞ2 ðTP þ FP Þ
Where,
3.1.3. Recall
A = first element (attribute)
D = second element (attribute)
E = sum of the elements ðTP Þ
Recall ¼ 100 ð9Þ
After finding Spearman, Kendall and Pearson co-relation respec- ðTP þ FN Þ
tively a list of features are gathered that satisfy the respective cor-
relation criteria. After obtaining the three individual results which
3.1.4. F_Measure
reduces the number of features using algorithm below:
1734
E.R. AL Silni Ahmed and S.B. Goyal Materials Today: Proceedings 80 (2023) 1731–1736
Table 1
Proposed time lagged steps and output details.
1735
E.R. AL Silni Ahmed and S.B. Goyal Materials Today: Proceedings 80 (2023) 1731–1736
WMA Output
If
average(pred_val) < average(thd)
WMA_out = 0
else
WMA _out = 1
End if
DPO Output
If
average(pred_val) > max(DPO)
DPO_out = 0
else
DPO _out = 1
End if
ETB Output
If
average(pred_val) < average(lower_thd)
WMA_out = 1
Elseif average(pred_val) > average(upper_thd)
WMA _out = 0
End if
Stock position is predicted as below:
For features selection
if count(SELL) > count(BUY)
Final_out = 0
else
Final_out = 1
end if
else
Final_out = 2
end if.
1736