SlideShare uma empresa Scribd logo
1 de 27
Comparison of the Buy and Hold Strategy
with Trading System of Technical Rules
Enhanced by ANN and GA
Case Study: Tehran Stock Exchange
By:
K.Dehghan Manshadi
Sep 2012
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
Some Definitions
Trading
System
Technical
Analysis
Trading
Policy
Using set of tools and techniques in order to make investment
decisions
Methods and strategies used to forecast future prices based
on different factors e.g. past prices, volume, trends ,..
One turning point is a point in time where one price trend
change into another one. In general there are 3 main trends:
upward, downward, and uniform trends
Turning
Points
The approach that one trader choose in order to do his/her
trades to gain from positions he/she gets in the market
2
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
Research Goals
Resear
ch OBJ.
• Dependency of Parameter
setting to Investors Experience
• Different Signals from different
Trading Rule at the same Time
• Difficulty of changing different
signals from different rules to
one trading decision
Difficulties for using Technical
Analysis
Key Issues
Technical Rules are based on
parameters that if are set properly,
will lead to profitable positions in
market. The main challenge
regarding technical rules are their
different mechanism to produce
trading signals. This will result in
different signals by different rules
at the same time. And this will
mixed the traders.
Building Up the new Intelligent Trading System to omit the
Dependency of investments to Investors experience
4
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
Studies Categorization
Category
one
Studies done to develop scientific
framework for formulating TA
Netcci, Brok,
Murphi, Bollinger,
Achelis, Osle
Category
Two
Category
Three
Category
Four
StudiesCategories
Focus of the Research's Top Researchers
Studies done to investigate the
forecasting power of technical rules
compered to other forecasting tools
Studies done to evaluate the statistical
aspects and quality of the rules outputs.
Studies done to optimize the TA
indicators and rules and developing
new trading tools
Fama, Blume, James,
Chang,
Osler,Alexander
Scatchell
Thomson, Williams,
Bollinger
5
Previous Research's
Alejandro
Rodríguez
Researcher Year Subejct Key Take Away
Using ANN to enhance the TA
indices
ANN had a remarkable effect
on TA indices performance
2011
Xiaowei Lin
Using GA to improve the
forecasting parameters in TA
and enhancing the ESN
parameters to reach better
forecasted turning point
The system based on GA
resulted in more profitability
compared with B&H strategy2011
Liu, Chang ,
et.al Building up an efficient
forecasting model in order to
producing trading signals
CBDWNN had a better
performance than other
studied models
2009
Baba,Inoue,
& Yanjun
Establish a system composed
of ANN and GA to forecast
the TOPIX in future market
The composite model had a
good performance in
forecasting the market Index
2002
Kuo, Chen
and Hwang
Intelligent system to support
decision making based on GA
and fuzzy ANN
The new system enables
quantification of qualitative
variables affecting stock price2001
6
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
Study steps and Trading System Architecture
Setting
Parameters by
GA and Turning
Point Diagnoses
Network
Build up and
Training
Testing
Hypothesis and
Assess the
performance
The society and
selected Sample
Society: Stocks in
Tehran 50 Company
Indices
Sample: randomly
chosen 15 stocks
Timeframe: 8 years
2005-2012
Suitable training of
the GA parameters
for each trading rule
to forecast the
trading signals
Changing different
trading signals from
different rules to
one trading signal
with the help of
ELMAN network
Calculating the
portfolio %return by
considering uniform
weighting across all
assets and running
Mann Whitney non-
parametric Test
TradingSystemArch.
8
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
Technical Rules – 1 of 4
Golden
Cross
and Dead
Cross
Simple MA is a popular
technical indicator which
calculates the mean price in a
specified period in which
MA(N) means long-term MA
while MA(n) means short-term
MA. Cross section of these two
represent a trading point.
Approach FigureParameters
Moving
Average
Envelope
MA envelope forms a channel
or zone of commitment around
a MA. If price breaks the upper
band in downtrend, then it is
time to buy; if it breaks through
the lower band in uptrend,
then it is time to sell
MA(n)
MA(N)
10
Technical Rules – 2 of 4
Relative
strength
Index
System
RSI ranges from 0 to 100.
Generally, if the RSI rises above
overbought
level (usually 80), it indicates a
selling signal; if it falls below
oversold level (usually 20), it
indicates a buying signal.
Approach FigureParameteres
Rate of
change
Index
The divergence of different
ROCs can indicate possible
reversal of price trend.
Generally, when long-term ROC
reaches a new high while short-
term ROC locates near the
equilibrium line (usually with
the value of 100), the price will
possibly fall down; similarly,
when long-term ROC reaches a
new low while short-term
ROC is near the equilibrium
line, the price may ascend
11
Technical Rules – 3 of 4
Stochastic
System
In the up-trend, it tries to
measure when the closing
price would get close to the
lowest price in the given
period; in the down-trend,
it means when the closing
price would get close to the
highest price in the given
period.
The crossover of %K and %D
lines may indicate meaningful
reversal in price trend.
Approach FigureParameters
• C:close price at now
• LL :lowest price in the period
• HH :highest price in the priod
12
Technical Rules – 4 of 4
Hammer
and
Hanging
man
Indicates price reversal in the
future
Approach FigureParameters
Dark
Cloud
Cover
Indicates price reversal in the
future
ndC :next day close price
pdO :previous day open price
Piercing
Line
Indicates price reversal in the
future
Engulfing
Pattern
Indicates price reversal in the
future
13
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
GA Structure – Fitness Function
Genetic Structure- Buy Position
If Ti is a buy position, then there are three
states for fitness function:
B) If Sj is a sell signal then we should have
punishment for wrong identification
If the Ti is an expected selling position then
the fitness function will be build in a similar
way.
15
1
2
3
4
5
6
7
8
9
GA Steps
GA Structure – Key Steps
Considering following chromosome structure
for each feasible solution
Creating a random society as chromosomes
with above structure
Calculating the fitness function for each
chromosome
In order to generating the next generation,
some current chromosomes are selected as
parents
F (Position) = 2- sp + 2 *(sp -1) * (pos-1) / (n-1)
With the following equations each pare of parents
reproduce new spring:
Offspring 1 = Parent 1 * (rand1) + Parent 2 * (1-rand1)
Offspring = Parent 1 * (rand ) + Parent 2 * (1-rand )
Next step is to produce new generation.
Next generation is composed of the best
current springs and new springs.
Parameters and Specifications of the used GA:
Population: 50
Gen: 300
GGAP: 0.8
Parent selection approach:
Roulette wheel selection
New spring creation approach:
Recombination
Mutation probability: 0.1
Policy to create new generation: keeping 10% of the
best current springs+ keeping 10% of the worst
current springs+ the random springs of the old and
new generation
P1 p2 P3 …… Pn
16
1
3
2
5
4
6
7
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
ELMAN Network
NetworkArchitectureNetworkSpecification
• Recurrent Network with two layer
• The recurrent specification of the network enable detecting time varying
trends – high approximating power
• The main difference of ELMAN with other 2layers networks is to have a
recurrent relationship in layer one – delay in this layer keep the past values
in the network to use them in future.
18
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
Testing Hypothesis Approach
Implica
tions
• To what extend we can rely on historic
data?
• How much data is suitable to train the
network?
• It’s a rule of thumb that using more data
to train the Network don’t result in better
performance all the time
• Price time series nonstationary and
changing behavior
Challenges with the Network Rolling Window Approach
If the time series behavior trough the time is nonstattionary, it means
some characteristics of the series such as noise as well as the forecasting
parameters change trough the time . Therefore using a static model lead
to weak forecast.
P-Value of the Mackinnon statistic in dickey-
Fuller test for most of the stocks is
remarkable(very big) and the unit root
hypothesis is rejected that admit the
nonstationary of the price time series in our
sample
20
Table of Contents
• Definitions
• Goals of the research
• Previous Research
• Study steps
• Technical Rules as the trading system parts
• GA structure used
• ELMAN Network
• Testing Hypothesis Approach
• Key Results
2
4
5
8
10
15
18
20
22
The system performance in diagnosing turning points
0
20
40
60
80
100
120
140
No. of Correct Signals
No. of incorrect Signals
No. of Zero Signals in Windows
Signals %Frequency
Correct Signals 31%
Zero Signals 61%
Wrong Signals 8%
Implica
tion
The developed trading system have a good performance in diagnosing
trading points
22
Comparison between B&H Strategy and the developed Trading System
performance
151%
-10%
24%
48%
77%
49%
17%
26% 29%
44%
-20%
0%
20%
40%
60%
80%
100%
120%
140%
160%
window1 window2 window3 window4 window5
%RETURN
Implica
tion
Both Strategy performance are remarkable. The trading system in
all window had positive performance
23
Buy and Hold
Trading System
Testing Hypothesis
Implica
tion
Statistically there is no significant difference between the returns in
B&H strategy and the intelligent Trading System
Non-ParametricTestParametricTest
No significant
difference
between
performance
of the two
strategy
5α
24
Conclusions
Suggestionsforfuture
studies
KeyResults • TA like the buy and hold strategy possess the potential for profitability in
Iran Market
• Both Active and Passive Strategies can be profitable in Iran Stock Market
• Artificial Intelligence can help improve the performance of technical
Analysis rules
• The variance of returns in B&H strategy is more than suggested trading
system
• Good performance of the technical analysis can approve the weak
efficiency of the market.
• Comparison of the trading system based on technical rules with other trading
strategies such as momentum and reverse.
• In this study the weights of different assets assumed equal. Rebalancing the
portfolio trough the time can be good option to enhance the trading system
performance.
• Using more technical rules to build the system
• Using other artificial intelligence techniques to set the technical parameters
• Considering other factors like volume of the trades in trading system to
moderate the sensitivity of the system to price changes.
25

Mais conteúdo relacionado

Destaque

Copia de titelles
Copia de titellesCopia de titelles
Copia de titelles
mbquesada
 
Virtual museum provisional-2
Virtual museum provisional-2Virtual museum provisional-2
Virtual museum provisional-2
monstersmuseum
 
Biogeohemijski ciklusi
Biogeohemijski ciklusiBiogeohemijski ciklusi
Biogeohemijski ciklusi
jurrasic1234
 

Destaque (12)

Entre
EntreEntre
Entre
 
Copia de titelles
Copia de titellesCopia de titelles
Copia de titelles
 
maes
maesmaes
maes
 
NAS Botnet Revealed - Mining Bitcoin
NAS Botnet Revealed - Mining Bitcoin NAS Botnet Revealed - Mining Bitcoin
NAS Botnet Revealed - Mining Bitcoin
 
Virtual museum provisional-2
Virtual museum provisional-2Virtual museum provisional-2
Virtual museum provisional-2
 
Inside TorrentLocker (Cryptolocker) Malware C&C Server
Inside TorrentLocker (Cryptolocker) Malware C&C Server Inside TorrentLocker (Cryptolocker) Malware C&C Server
Inside TorrentLocker (Cryptolocker) Malware C&C Server
 
ASL Lab Meeting Presentation 20/3/2013
ASL Lab Meeting Presentation 20/3/2013ASL Lab Meeting Presentation 20/3/2013
ASL Lab Meeting Presentation 20/3/2013
 
Autonomous Infrastructure Inspection and Maintenance
Autonomous Infrastructure Inspection and MaintenanceAutonomous Infrastructure Inspection and Maintenance
Autonomous Infrastructure Inspection and Maintenance
 
Pp u06-mates1º decimales
Pp u06-mates1º decimalesPp u06-mates1º decimales
Pp u06-mates1º decimales
 
MED 2011 UPATcopter Presentation
MED 2011 UPATcopter PresentationMED 2011 UPATcopter Presentation
MED 2011 UPATcopter Presentation
 
Biogeohemijski ciklusi
Biogeohemijski ciklusiBiogeohemijski ciklusi
Biogeohemijski ciklusi
 
ICRA 2013 Tilt-TriRotor
ICRA 2013 Tilt-TriRotorICRA 2013 Tilt-TriRotor
ICRA 2013 Tilt-TriRotor
 

Semelhante a Buy and Hold Strategy

Goal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and RefinementGoal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Emil Lupu
 
Big Data Project - Final version
Big Data Project - Final versionBig Data Project - Final version
Big Data Project - Final version
Mihir Sanghavi
 

Semelhante a Buy and Hold Strategy (20)

major project PPT AKHIL.pptx
major project PPT AKHIL.pptxmajor project PPT AKHIL.pptx
major project PPT AKHIL.pptx
 
AI in Finance: An Ensembling Architecture Incorporating Machine Learning Mode...
AI in Finance: An Ensembling Architecture Incorporating Machine Learning Mode...AI in Finance: An Ensembling Architecture Incorporating Machine Learning Mode...
AI in Finance: An Ensembling Architecture Incorporating Machine Learning Mode...
 
Trends in-om-scm-27-july-2012-2
Trends in-om-scm-27-july-2012-2Trends in-om-scm-27-july-2012-2
Trends in-om-scm-27-july-2012-2
 
SAS Training session - By Pratima
SAS Training session  -  By Pratima SAS Training session  -  By Pratima
SAS Training session - By Pratima
 
SECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & EvaluationSECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & Evaluation
 
Goal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and RefinementGoal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
 
DS M1 full - KQB KtuQbank.pdf
DS M1 full - KQB KtuQbank.pdfDS M1 full - KQB KtuQbank.pdf
DS M1 full - KQB KtuQbank.pdf
 
Big Data Project - Final version
Big Data Project - Final versionBig Data Project - Final version
Big Data Project - Final version
 
Sesión 6: La experiencia de Trinidad y Tobago
Sesión 6:  La experiencia de Trinidad y TobagoSesión 6:  La experiencia de Trinidad y Tobago
Sesión 6: La experiencia de Trinidad y Tobago
 
Stock Price Prediction using ML Techniques
Stock Price Prediction using ML TechniquesStock Price Prediction using ML Techniques
Stock Price Prediction using ML Techniques
 
Statistical Arbitrage
Statistical ArbitrageStatistical Arbitrage
Statistical Arbitrage
 
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
 
Token engineering presentation 5 13-18
Token engineering presentation 5 13-18Token engineering presentation 5 13-18
Token engineering presentation 5 13-18
 
Fuzzy Presentation
Fuzzy PresentationFuzzy Presentation
Fuzzy Presentation
 
Equipment finance projects 101
Equipment finance projects 101Equipment finance projects 101
Equipment finance projects 101
 
Agile analytics : An exploratory study of technical complexity management
Agile analytics : An exploratory study of technical complexity managementAgile analytics : An exploratory study of technical complexity management
Agile analytics : An exploratory study of technical complexity management
 
Foreaign Exchange Data Crawling and Analysis for Knowledge Discovery Leading ...
Foreaign Exchange Data Crawling and Analysis for Knowledge Discovery Leading ...Foreaign Exchange Data Crawling and Analysis for Knowledge Discovery Leading ...
Foreaign Exchange Data Crawling and Analysis for Knowledge Discovery Leading ...
 
Equipment finance systems project guide 101
Equipment finance systems project guide 101Equipment finance systems project guide 101
Equipment finance systems project guide 101
 
Equipment finance projects guide "101"
Equipment finance projects guide "101"Equipment finance projects guide "101"
Equipment finance projects guide "101"
 
Equipment finance systems project guide "101"
Equipment finance systems project guide "101"Equipment finance systems project guide "101"
Equipment finance systems project guide "101"
 

Último

Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
lizamodels9
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 
Call Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂Escort
Call Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂EscortCall Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂Escort
Call Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂Escort
dlhescort
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 

Último (20)

BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Call Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂Escort
Call Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂EscortCall Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂Escort
Call Girls In Nangloi Rly Metro ꧂…….95996 … 13876 Enjoy ꧂Escort
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceEluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
 
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 

Buy and Hold Strategy

  • 1. Comparison of the Buy and Hold Strategy with Trading System of Technical Rules Enhanced by ANN and GA Case Study: Tehran Stock Exchange By: K.Dehghan Manshadi Sep 2012
  • 2. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 3. Some Definitions Trading System Technical Analysis Trading Policy Using set of tools and techniques in order to make investment decisions Methods and strategies used to forecast future prices based on different factors e.g. past prices, volume, trends ,.. One turning point is a point in time where one price trend change into another one. In general there are 3 main trends: upward, downward, and uniform trends Turning Points The approach that one trader choose in order to do his/her trades to gain from positions he/she gets in the market 2
  • 4. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 5. Research Goals Resear ch OBJ. • Dependency of Parameter setting to Investors Experience • Different Signals from different Trading Rule at the same Time • Difficulty of changing different signals from different rules to one trading decision Difficulties for using Technical Analysis Key Issues Technical Rules are based on parameters that if are set properly, will lead to profitable positions in market. The main challenge regarding technical rules are their different mechanism to produce trading signals. This will result in different signals by different rules at the same time. And this will mixed the traders. Building Up the new Intelligent Trading System to omit the Dependency of investments to Investors experience 4
  • 6. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 7. Studies Categorization Category one Studies done to develop scientific framework for formulating TA Netcci, Brok, Murphi, Bollinger, Achelis, Osle Category Two Category Three Category Four StudiesCategories Focus of the Research's Top Researchers Studies done to investigate the forecasting power of technical rules compered to other forecasting tools Studies done to evaluate the statistical aspects and quality of the rules outputs. Studies done to optimize the TA indicators and rules and developing new trading tools Fama, Blume, James, Chang, Osler,Alexander Scatchell Thomson, Williams, Bollinger 5
  • 8. Previous Research's Alejandro Rodríguez Researcher Year Subejct Key Take Away Using ANN to enhance the TA indices ANN had a remarkable effect on TA indices performance 2011 Xiaowei Lin Using GA to improve the forecasting parameters in TA and enhancing the ESN parameters to reach better forecasted turning point The system based on GA resulted in more profitability compared with B&H strategy2011 Liu, Chang , et.al Building up an efficient forecasting model in order to producing trading signals CBDWNN had a better performance than other studied models 2009 Baba,Inoue, & Yanjun Establish a system composed of ANN and GA to forecast the TOPIX in future market The composite model had a good performance in forecasting the market Index 2002 Kuo, Chen and Hwang Intelligent system to support decision making based on GA and fuzzy ANN The new system enables quantification of qualitative variables affecting stock price2001 6
  • 9. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 10. Study steps and Trading System Architecture Setting Parameters by GA and Turning Point Diagnoses Network Build up and Training Testing Hypothesis and Assess the performance The society and selected Sample Society: Stocks in Tehran 50 Company Indices Sample: randomly chosen 15 stocks Timeframe: 8 years 2005-2012 Suitable training of the GA parameters for each trading rule to forecast the trading signals Changing different trading signals from different rules to one trading signal with the help of ELMAN network Calculating the portfolio %return by considering uniform weighting across all assets and running Mann Whitney non- parametric Test TradingSystemArch. 8
  • 11. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 12. Technical Rules – 1 of 4 Golden Cross and Dead Cross Simple MA is a popular technical indicator which calculates the mean price in a specified period in which MA(N) means long-term MA while MA(n) means short-term MA. Cross section of these two represent a trading point. Approach FigureParameters Moving Average Envelope MA envelope forms a channel or zone of commitment around a MA. If price breaks the upper band in downtrend, then it is time to buy; if it breaks through the lower band in uptrend, then it is time to sell MA(n) MA(N) 10
  • 13. Technical Rules – 2 of 4 Relative strength Index System RSI ranges from 0 to 100. Generally, if the RSI rises above overbought level (usually 80), it indicates a selling signal; if it falls below oversold level (usually 20), it indicates a buying signal. Approach FigureParameteres Rate of change Index The divergence of different ROCs can indicate possible reversal of price trend. Generally, when long-term ROC reaches a new high while short- term ROC locates near the equilibrium line (usually with the value of 100), the price will possibly fall down; similarly, when long-term ROC reaches a new low while short-term ROC is near the equilibrium line, the price may ascend 11
  • 14. Technical Rules – 3 of 4 Stochastic System In the up-trend, it tries to measure when the closing price would get close to the lowest price in the given period; in the down-trend, it means when the closing price would get close to the highest price in the given period. The crossover of %K and %D lines may indicate meaningful reversal in price trend. Approach FigureParameters • C:close price at now • LL :lowest price in the period • HH :highest price in the priod 12
  • 15. Technical Rules – 4 of 4 Hammer and Hanging man Indicates price reversal in the future Approach FigureParameters Dark Cloud Cover Indicates price reversal in the future ndC :next day close price pdO :previous day open price Piercing Line Indicates price reversal in the future Engulfing Pattern Indicates price reversal in the future 13
  • 16. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 17. GA Structure – Fitness Function Genetic Structure- Buy Position If Ti is a buy position, then there are three states for fitness function: B) If Sj is a sell signal then we should have punishment for wrong identification If the Ti is an expected selling position then the fitness function will be build in a similar way. 15 1 2 3 4 5 6 7 8 9
  • 18. GA Steps GA Structure – Key Steps Considering following chromosome structure for each feasible solution Creating a random society as chromosomes with above structure Calculating the fitness function for each chromosome In order to generating the next generation, some current chromosomes are selected as parents F (Position) = 2- sp + 2 *(sp -1) * (pos-1) / (n-1) With the following equations each pare of parents reproduce new spring: Offspring 1 = Parent 1 * (rand1) + Parent 2 * (1-rand1) Offspring = Parent 1 * (rand ) + Parent 2 * (1-rand ) Next step is to produce new generation. Next generation is composed of the best current springs and new springs. Parameters and Specifications of the used GA: Population: 50 Gen: 300 GGAP: 0.8 Parent selection approach: Roulette wheel selection New spring creation approach: Recombination Mutation probability: 0.1 Policy to create new generation: keeping 10% of the best current springs+ keeping 10% of the worst current springs+ the random springs of the old and new generation P1 p2 P3 …… Pn 16 1 3 2 5 4 6 7
  • 19. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 20. ELMAN Network NetworkArchitectureNetworkSpecification • Recurrent Network with two layer • The recurrent specification of the network enable detecting time varying trends – high approximating power • The main difference of ELMAN with other 2layers networks is to have a recurrent relationship in layer one – delay in this layer keep the past values in the network to use them in future. 18
  • 21. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 22. Testing Hypothesis Approach Implica tions • To what extend we can rely on historic data? • How much data is suitable to train the network? • It’s a rule of thumb that using more data to train the Network don’t result in better performance all the time • Price time series nonstationary and changing behavior Challenges with the Network Rolling Window Approach If the time series behavior trough the time is nonstattionary, it means some characteristics of the series such as noise as well as the forecasting parameters change trough the time . Therefore using a static model lead to weak forecast. P-Value of the Mackinnon statistic in dickey- Fuller test for most of the stocks is remarkable(very big) and the unit root hypothesis is rejected that admit the nonstationary of the price time series in our sample 20
  • 23. Table of Contents • Definitions • Goals of the research • Previous Research • Study steps • Technical Rules as the trading system parts • GA structure used • ELMAN Network • Testing Hypothesis Approach • Key Results 2 4 5 8 10 15 18 20 22
  • 24. The system performance in diagnosing turning points 0 20 40 60 80 100 120 140 No. of Correct Signals No. of incorrect Signals No. of Zero Signals in Windows Signals %Frequency Correct Signals 31% Zero Signals 61% Wrong Signals 8% Implica tion The developed trading system have a good performance in diagnosing trading points 22
  • 25. Comparison between B&H Strategy and the developed Trading System performance 151% -10% 24% 48% 77% 49% 17% 26% 29% 44% -20% 0% 20% 40% 60% 80% 100% 120% 140% 160% window1 window2 window3 window4 window5 %RETURN Implica tion Both Strategy performance are remarkable. The trading system in all window had positive performance 23 Buy and Hold Trading System
  • 26. Testing Hypothesis Implica tion Statistically there is no significant difference between the returns in B&H strategy and the intelligent Trading System Non-ParametricTestParametricTest No significant difference between performance of the two strategy 5α 24
  • 27. Conclusions Suggestionsforfuture studies KeyResults • TA like the buy and hold strategy possess the potential for profitability in Iran Market • Both Active and Passive Strategies can be profitable in Iran Stock Market • Artificial Intelligence can help improve the performance of technical Analysis rules • The variance of returns in B&H strategy is more than suggested trading system • Good performance of the technical analysis can approve the weak efficiency of the market. • Comparison of the trading system based on technical rules with other trading strategies such as momentum and reverse. • In this study the weights of different assets assumed equal. Rebalancing the portfolio trough the time can be good option to enhance the trading system performance. • Using more technical rules to build the system • Using other artificial intelligence techniques to set the technical parameters • Considering other factors like volume of the trades in trading system to moderate the sensitivity of the system to price changes. 25

Notas do Editor

  1. D. Whitley, “The GENITOR Algorithm and Selection Pressure: Why Rank-Based Allocation of Reproductive Trials is Best”, Proc. ICGA 3, pp. 116-121,Morgan Kaufmann Publishers, 1989.