Professional Documents
Culture Documents
Outline
Introduction and target problem Background knowledge and related work Modeling the candlestick pattern Candlestick pattern for financial prediction Experiments and applications Conclusion and Discussion
Target problem
Data preprocessing are needed before applying various of techniques
Data mining, machine learning & pattern recognition
Good knowledge representation method can assist investors Knowledge-based method to transfer financial data to comprehensible rules and visual patterns
Outline
Introduction and target problem Background knowledge and related work Modeling the candlestick pattern Candlestick pattern for financial prediction Experiments and applications Conclusion and Discussion
Outline
Introduction and target problem Background knowledge and related work Modeling the candlestick pattern Candlestick pattern for financial prediction Experiments and applications Conclusion and Discussion
Trend modeling
Two linguistic variables are used to model the trends before and after the candlestick pattern previous trend is represented by weekly candlestick line Six fuzzy sets are used to define the trend
CROSS, EQUAL, WEAK, NORMAL, STRONG, and EXTREME BEARISH and BULLISH define the body color
Trend modeling
Following trend is derived from the variation of close price (Closet+n Closet)/ Closet * 100
Closet+n and Closet mean the close price at day t+n and day t respectively n is a user-defined parameter
Outline
Introduction and target problem Background knowledge and related work Modeling the candlestick pattern Candlestick pattern for financial prediction Experiments and applications Conclusion and Discussion
Forecast procedure
Step 1
Calculate the variation percentage between two close prices. Use the minimum increase Imin and maximum increase Imax to define the universe of discourse UoD = [Imin D1, Imax +D2] E.g. Imin = -5.83, Imax = 7.66 then UoD = [-6, 8]
Step 2
Partition UoD into several intervals E.g. partition [-6, 8] into seven intervals [-6, -4], [4, -2], , [6, 8]
Forecast procedure
Step 3
Define fuzzy sets on the UoD associate with the intervals in step 2
Step 4
Fuzzifying the values calculated in step 1 If v ux, and there is Ay in which maximum membership function occurs at ux, v is translate to Ay
Forecast procedure
Step 5
Calculate all the candlestick patterns
Step 6
Refine extracted patterns, identify important attributes
Step 7
Select pattern for forecasting based on probability P(Ax |Py ) Statistic T = Count(Py Ax)/Count(Py) as the threshold to select the patterns
Forecast procedure
Step 8
Forecast the trend follows Rule 1: test pattern not found, set variation v to 0 Rule 2: test pattern found, set variation v to arithmetic average of midpoints of matched patterns Forecast = close + close * v
Step 9
Evaluate the forecasting MSE = (Forecasti - Actuali)2 / N
Outline
Introduction and target problem Background knowledge and related work Modeling the candlestick pattern Candlestick pattern for financial prediction Experiments and applications Conclusion and Discussion
Outline
Introduction and target problem Background knowledge and related work Modeling the candlestick pattern Candlestick pattern for financial prediction Experiments and applications Conclusion and Discussion
Q&A