SlideShare a Scribd company logo
1 of 14
Download to read offline
By ThaiQuants.com
AmiBroker treme Course
Contents for ABXC
1. Advanced Market Analysis
2. Advanced AFL Coding
3. Advanced Money Management
4. Advanced Portfolio Construction
5. Advanced Miscellaneous Subjects
1. Advanced Market Analysis
β€’ AddToComposite
β€’ Market Breadth Indicator
β€’ Equity-curve Analysis
MKBI: Another view of the Market
Note: MKBI is informative/helpful especially in an early warning of a trend reversal.
Reversals which can be identifiedby both SET Index and MKBI
Only by MKBI (SET Index, cap-weightedindex, is still in uptrend.)
Market Breadth (MKB)
1. How to Count the Market (Raw MKB)
β€’ New High – New Low
β€’ Advance & Decline
β€’ Up & Down Volume
β€’ MKB on Indicator: MA40 > MA100, MACD > 0, …
2. How to Apply an indicator to MKB (Processed MKBI)
β€’ …
3. How to use MKBI
β€’ Market Filter (MKF)
β€’ Market Classification (MKC)
From Raw MKB to Processed MKBI
Note: Smoothed/processedMKBI results in a less-whipsaw/falsesignals
Raw
Processed
Market Analysis
7
MK = Market, MKF = Market Filter (basic), MKC = Market Classification (intermediate)
MKB = Market Breadth (advanced), MKBI = Market Breadth Indicators
MK
MKF
MKC
MKB
Without Filter = All Markets = MKC 0
With Filter
All Markets = MKC 0
basedMKC
mergedMKC
Standard Index
Indicators
MKF
MKCCustomized IndexMKBI
2. Advanced AFL Coding
β€’ Customized Position Metrics
β€’ Customized Strategy Metrics
β€’ High-Mid Level Custom Backtester
β€’ Low Level Custom Backtester
Customized Strategy Metrics with High-level CBI
from Van K. Tharp (VKT) and Ralph Vince (RV)
3. Advanced Money Management
β€’ Risk Management & Portfolio Heat
β€’ Equity Models
β€’Total, Cash, and Secured Equity Models
β€’ Position Sizing Strategies
β€’ Alternative Money Management Strategies
β€’Dollar Cost Averaging (DCA)
Risk Management with Portfolio Heat
Skipping 38% of signals
in order to control Risk
π‘ƒπ‘œπ‘Ÿπ‘‘π‘“π‘œπ‘™π‘–π‘œ π»π‘’π‘Žπ‘‘ 𝐿𝑒𝑣𝑒𝑙 =
Οƒ 𝑝=1
π‘€π‘Žπ‘₯π‘‚π‘π‘’π‘›π‘ƒπ‘œπ‘ π‘–π‘‘π‘–π‘œπ‘›π‘ 
π‘…π‘–π‘ π‘˜ 𝑝
πΈπ‘žπ‘’π‘–π‘‘π‘¦
Allowable PH could be:
β€’ Static:15%
β€’ Dynamic: iif(Uptrend,25, 15);
Different Types of Equity Models
11
//Code in Custom Backtest for Secured Equity
//Showing concept, not the actual AFL code
For OpenPositions
currentRiskPerShare = 10/100 x BuyPrice
sumCurrentRisk += currentRiskPerShare*Shares
Next
securedEquity= bo.Equity – sumCurrentRisk
For Signals
sig.Pos = 5/100 * securedEquity
Next
Baht
Year
1 M
2 M
1 2 3
Total Equity
Cash Equity
Secured Equity
4. Advanced Portfolio Construction
β€’ Strategy & Portfolio Analysis
β€’ Multiple-Strategy Portfolio Construction & Simulation
β€’ Multiple-Strategy Portfolio Optimization
Time
Equity (Baht)
Main STRATEGY01
Time
Equity (Baht)
Main STRATEGY02
Time
Equity (Baht)
OptimizedSTRATEGY01+02
+ =
π‘Šπ‘’π‘–π‘”β„Žπ‘‘01 Γ— πΈπ‘žπ‘’π‘–π‘‘π‘¦01 + π‘Šπ‘’π‘–π‘”β„Žπ‘‘02 Γ— πΈπ‘žπ‘’π‘–π‘‘π‘¦02
π‘Šπ‘’π‘–π‘”β„Žπ‘‘01 + π‘Šπ‘’π‘–π‘”β„Žπ‘‘02
= π‘‚π‘π‘‘π‘–π‘šπ‘–π‘§π‘’π‘‘ πΈπ‘žπ‘’π‘–π‘‘π‘¦01&02
Note: Each main strategy will be backtested/simulatedfor 300 runs for simulation & optimizationin order to obtainthe OptimizedStrategy.
5. Advanced Miscellaneous Subjects
β€’ Random & Walk-Forward Analysis
β€’ Ruin Test
β€’ Basket Backtesting
β€’ Multiple Time Frame Strategy & Analysis
2008 2009 2010 2011 2012 2013 20142007 2015
Case 1
Case 2
Case 3
Case 4
Case 200
Random & Walk-Forward CAR
Percentile
40%
30%
20%
10%
10 20 30 40 50 60 70 80 90 100
ThaiQuants.com/ABXC
AmiBroker Xtreme Course

More Related Content

What's hot

Quant studio expert
Quant studio expertQuant studio expert
Quant studio expertVishal Doshi
Β 
Quant studio dealing
Quant studio dealingQuant studio dealing
Quant studio dealingVishal Doshi
Β 
Algorithmic Trading: an Overview
Algorithmic Trading: an Overview Algorithmic Trading: an Overview
Algorithmic Trading: an Overview EXANTE
Β 
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris..."A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...Quantopian
Β 
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...Quantopian
Β 
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016Quantopian
Β 
Testing trading strategies in JavaScript
Testing trading strategies in JavaScriptTesting trading strategies in JavaScript
Testing trading strategies in JavaScriptAshley Davis
Β 
[Data Meetup] Data Science in Finance - Factor Models in Finance
[Data Meetup] Data Science in Finance - Factor Models in Finance[Data Meetup] Data Science in Finance - Factor Models in Finance
[Data Meetup] Data Science in Finance - Factor Models in FinanceData Science Society
Β 
[Data Meetup] Data Science in Finance - Building a Quant ML pipeline
[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline
[Data Meetup] Data Science in Finance - Building a Quant ML pipelineData Science Society
Β 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency tradingQuantInsti
Β 
Differences ledgers
Differences ledgersDifferences ledgers
Differences ledgersb1af94le
Β 

What's hot (11)

Quant studio expert
Quant studio expertQuant studio expert
Quant studio expert
Β 
Quant studio dealing
Quant studio dealingQuant studio dealing
Quant studio dealing
Β 
Algorithmic Trading: an Overview
Algorithmic Trading: an Overview Algorithmic Trading: an Overview
Algorithmic Trading: an Overview
Β 
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris..."A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
Β 
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
Β 
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
Β 
Testing trading strategies in JavaScript
Testing trading strategies in JavaScriptTesting trading strategies in JavaScript
Testing trading strategies in JavaScript
Β 
[Data Meetup] Data Science in Finance - Factor Models in Finance
[Data Meetup] Data Science in Finance - Factor Models in Finance[Data Meetup] Data Science in Finance - Factor Models in Finance
[Data Meetup] Data Science in Finance - Factor Models in Finance
Β 
[Data Meetup] Data Science in Finance - Building a Quant ML pipeline
[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline
[Data Meetup] Data Science in Finance - Building a Quant ML pipeline
Β 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency trading
Β 
Differences ledgers
Differences ledgersDifferences ledgers
Differences ledgers
Β 

Similar to Advanced Market Breadth Indicator Course

MetaStock Webcast May 2018
MetaStock Webcast May 2018MetaStock Webcast May 2018
MetaStock Webcast May 2018Bryan Johnson
Β 
Presentation MSc thesis
Presentation MSc thesisPresentation MSc thesis
Presentation MSc thesisCulic
Β 
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...Quantopian
Β 
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Antoine Savine
Β 
Internship in securities in vertex
Internship in securities in vertexInternship in securities in vertex
Internship in securities in vertexJithendar Jit
Β 
Derivatives
DerivativesDerivatives
DerivativesMani Saxena
Β 
4_RealOptions.pdf
4_RealOptions.pdf4_RealOptions.pdf
4_RealOptions.pdfLilyChan67
Β 
Empowering Innovation Portfolio Decision-Making through Simulation
Empowering Innovation Portfolio Decision-Making through SimulationEmpowering Innovation Portfolio Decision-Making through Simulation
Empowering Innovation Portfolio Decision-Making through SimulationSopheon
Β 
security analysis and port portfolio mgmt
security analysis and port portfolio mgmtsecurity analysis and port portfolio mgmt
security analysis and port portfolio mgmtBabasab Patil
Β 
money markets academy
money markets academymoney markets academy
money markets academyAvis Avis
Β 
Equity Option Trading : Derivatives Market Practices
Equity Option Trading : Derivatives Market PracticesEquity Option Trading : Derivatives Market Practices
Equity Option Trading : Derivatives Market PracticesJames Prichard
Β 
VAR_Models__1705848850 e value at risk presentation
VAR_Models__1705848850 e value at risk presentationVAR_Models__1705848850 e value at risk presentation
VAR_Models__1705848850 e value at risk presentationnhvrmw5mtj
Β 
Gmo the value vs growth dilemma
Gmo the value vs growth dilemmaGmo the value vs growth dilemma
Gmo the value vs growth dilemmaRohan Khandelwal
Β 
Portfolio management
Portfolio managementPortfolio management
Portfolio managementanilkumar
Β 

Similar to Advanced Market Breadth Indicator Course (20)

MetaStock Webcast May 2018
MetaStock Webcast May 2018MetaStock Webcast May 2018
MetaStock Webcast May 2018
Β 
ACTPORT.ppt
ACTPORT.pptACTPORT.ppt
ACTPORT.ppt
Β 
Presentation MSc thesis
Presentation MSc thesisPresentation MSc thesis
Presentation MSc thesis
Β 
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Beware of Low Frequency Data by Ernie Chan, Managing Member, QTS Capital Mana...
Β 
Mma course
Mma courseMma course
Mma course
Β 
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Β 
Internship in securities in vertex
Internship in securities in vertexInternship in securities in vertex
Internship in securities in vertex
Β 
LCPB_EA
LCPB_EALCPB_EA
LCPB_EA
Β 
Derivatives
DerivativesDerivatives
Derivatives
Β 
Derivatives
DerivativesDerivatives
Derivatives
Β 
4_RealOptions.pdf
4_RealOptions.pdf4_RealOptions.pdf
4_RealOptions.pdf
Β 
Empowering Innovation Portfolio Decision-Making through Simulation
Empowering Innovation Portfolio Decision-Making through SimulationEmpowering Innovation Portfolio Decision-Making through Simulation
Empowering Innovation Portfolio Decision-Making through Simulation
Β 
security analysis and port portfolio mgmt
security analysis and port portfolio mgmtsecurity analysis and port portfolio mgmt
security analysis and port portfolio mgmt
Β 
money markets academy
money markets academymoney markets academy
money markets academy
Β 
Equity Option Trading : Derivatives Market Practices
Equity Option Trading : Derivatives Market PracticesEquity Option Trading : Derivatives Market Practices
Equity Option Trading : Derivatives Market Practices
Β 
VAR_Models__1705848850 e value at risk presentation
VAR_Models__1705848850 e value at risk presentationVAR_Models__1705848850 e value at risk presentation
VAR_Models__1705848850 e value at risk presentation
Β 
Gmo the value vs growth dilemma
Gmo the value vs growth dilemmaGmo the value vs growth dilemma
Gmo the value vs growth dilemma
Β 
Ch01
Ch01Ch01
Ch01
Β 
Portfolio management
Portfolio managementPortfolio management
Portfolio management
Β 
Portpolio mgt.ch01
Portpolio mgt.ch01Portpolio mgt.ch01
Portpolio mgt.ch01
Β 

Recently uploaded

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
Β 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
Β 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
Β 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
Β 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
Β 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
Β 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)Dr. Mazin Mohamed alkathiri
Β 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
Β 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
Β 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
Β 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
Β 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
Β 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
Β 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
Β 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
Β 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
Β 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
Β 

Recently uploaded (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
Β 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
Β 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
Β 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Β 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Β 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
Β 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
Β 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
Β 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
Β 
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Β 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
Β 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
Β 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
Β 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
Β 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
Β 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
Β 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Β 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Β 

Advanced Market Breadth Indicator Course

  • 2. Contents for ABXC 1. Advanced Market Analysis 2. Advanced AFL Coding 3. Advanced Money Management 4. Advanced Portfolio Construction 5. Advanced Miscellaneous Subjects
  • 3. 1. Advanced Market Analysis β€’ AddToComposite β€’ Market Breadth Indicator β€’ Equity-curve Analysis
  • 4. MKBI: Another view of the Market Note: MKBI is informative/helpful especially in an early warning of a trend reversal. Reversals which can be identifiedby both SET Index and MKBI Only by MKBI (SET Index, cap-weightedindex, is still in uptrend.)
  • 5. Market Breadth (MKB) 1. How to Count the Market (Raw MKB) β€’ New High – New Low β€’ Advance & Decline β€’ Up & Down Volume β€’ MKB on Indicator: MA40 > MA100, MACD > 0, … 2. How to Apply an indicator to MKB (Processed MKBI) β€’ … 3. How to use MKBI β€’ Market Filter (MKF) β€’ Market Classification (MKC)
  • 6. From Raw MKB to Processed MKBI Note: Smoothed/processedMKBI results in a less-whipsaw/falsesignals Raw Processed
  • 7. Market Analysis 7 MK = Market, MKF = Market Filter (basic), MKC = Market Classification (intermediate) MKB = Market Breadth (advanced), MKBI = Market Breadth Indicators MK MKF MKC MKB Without Filter = All Markets = MKC 0 With Filter All Markets = MKC 0 basedMKC mergedMKC Standard Index Indicators MKF MKCCustomized IndexMKBI
  • 8. 2. Advanced AFL Coding β€’ Customized Position Metrics β€’ Customized Strategy Metrics β€’ High-Mid Level Custom Backtester β€’ Low Level Custom Backtester Customized Strategy Metrics with High-level CBI from Van K. Tharp (VKT) and Ralph Vince (RV)
  • 9. 3. Advanced Money Management β€’ Risk Management & Portfolio Heat β€’ Equity Models β€’Total, Cash, and Secured Equity Models β€’ Position Sizing Strategies β€’ Alternative Money Management Strategies β€’Dollar Cost Averaging (DCA)
  • 10. Risk Management with Portfolio Heat Skipping 38% of signals in order to control Risk π‘ƒπ‘œπ‘Ÿπ‘‘π‘“π‘œπ‘™π‘–π‘œ π»π‘’π‘Žπ‘‘ 𝐿𝑒𝑣𝑒𝑙 = Οƒ 𝑝=1 π‘€π‘Žπ‘₯π‘‚π‘π‘’π‘›π‘ƒπ‘œπ‘ π‘–π‘‘π‘–π‘œπ‘›π‘  π‘…π‘–π‘ π‘˜ 𝑝 πΈπ‘žπ‘’π‘–π‘‘π‘¦ Allowable PH could be: β€’ Static:15% β€’ Dynamic: iif(Uptrend,25, 15);
  • 11. Different Types of Equity Models 11 //Code in Custom Backtest for Secured Equity //Showing concept, not the actual AFL code For OpenPositions currentRiskPerShare = 10/100 x BuyPrice sumCurrentRisk += currentRiskPerShare*Shares Next securedEquity= bo.Equity – sumCurrentRisk For Signals sig.Pos = 5/100 * securedEquity Next Baht Year 1 M 2 M 1 2 3 Total Equity Cash Equity Secured Equity
  • 12. 4. Advanced Portfolio Construction β€’ Strategy & Portfolio Analysis β€’ Multiple-Strategy Portfolio Construction & Simulation β€’ Multiple-Strategy Portfolio Optimization Time Equity (Baht) Main STRATEGY01 Time Equity (Baht) Main STRATEGY02 Time Equity (Baht) OptimizedSTRATEGY01+02 + = π‘Šπ‘’π‘–π‘”β„Žπ‘‘01 Γ— πΈπ‘žπ‘’π‘–π‘‘π‘¦01 + π‘Šπ‘’π‘–π‘”β„Žπ‘‘02 Γ— πΈπ‘žπ‘’π‘–π‘‘π‘¦02 π‘Šπ‘’π‘–π‘”β„Žπ‘‘01 + π‘Šπ‘’π‘–π‘”β„Žπ‘‘02 = π‘‚π‘π‘‘π‘–π‘šπ‘–π‘§π‘’π‘‘ πΈπ‘žπ‘’π‘–π‘‘π‘¦01&02 Note: Each main strategy will be backtested/simulatedfor 300 runs for simulation & optimizationin order to obtainthe OptimizedStrategy.
  • 13. 5. Advanced Miscellaneous Subjects β€’ Random & Walk-Forward Analysis β€’ Ruin Test β€’ Basket Backtesting β€’ Multiple Time Frame Strategy & Analysis 2008 2009 2010 2011 2012 2013 20142007 2015 Case 1 Case 2 Case 3 Case 4 Case 200 Random & Walk-Forward CAR Percentile 40% 30% 20% 10% 10 20 30 40 50 60 70 80 90 100