You are on page 1of 8

Multivariate Approach Towards

Financial Market Prediction


Guided by:- Mrs. Shraddha Ovale
Motivation

• To ride the wave of retail participation in the stock market when it is at


one of it’s highest levels ever.
• With the variety of reforms that the country has been carrying out, India
has become a favourable destination over China.
Objective of Hough Transform

• Algorithmically draw trendlines on stock charts.


• To predict breakouts and breakdowns to get hold of profitable
trades.

Example of trend lines


Algorithm

• Decide on the range of ρ and θ. Often, the range of θ is [ 0, 180 ] degrees and ρ is [ -d, d ]
where d is the length of the edge image’s diagonal. It is important to quantize the range of ρ
and θ meaning there should be a finite number of possible values.
• Create a 2D array called the accumulator representing the Hough Space with dimension
(num_rhos, num_thetas) and initialize all its values to zero.
• Perform edge detection on the original image. This can be done with any edge detection
algorithm of your choice.
• For every pixel on the edge image, check whether the pixel is an edge pixel. If it is an edge
pixel, loop through all possible values of θ, calculate the corresponding ρ, find the θ and ρ
index in the accumulator, and increment the accumulator base on those index pairs.
• Loop through all the values in the accumulator. If the value is larger than a certain threshold,
get the ρ and θ index, get the value of ρ and θ from the index pair which can then be
converted back to the form of y = ax + b.
To extract points for trend line detection we
go along the following flow:

• Rescale the data such that we get similar results for different price
data.
• Find turning points and use them as edge detection.
• Apply the Hough transformation.
• Filter the best candidates for nice trend lines.
Literature Review
Reference 1
A Novel Method of Trend Lines Generation Using Hough Transform Method.
• Proposed Solution:

• Result: Some examples of trendline generation from the Thailand stock market data have been presented here. The trend
lines are extracted from stock data in day period, we use the historical data back to 150 days.

• Limitations: 1. The level of a trend line has noise, just as general time series data that isn’t 100% accurate may have slippage
or a false break out. 2. Successive channel strategy developed by us for a greater accuracy rate isn’t implemented yet.
Conclusion

• Successfully got hold of trendline generation and identification to


pick up profitable trades.

• Additional functionality of successive channel breakdown


implemented to achieve accuracy of over 95% like nobody else.

You might also like