Git Product home page Git Product logo

canslimtechnical's Introduction

canslimTechnical

Stock pattern recognition of cup and handle patterns

This project is used to implement various stock pattern recognition mechanisms. Focus is on implementing algorithms to identify the cup and handle pattern as popularised by William O' Neil in his CANSLIM approach to stock picking.

The codes are based on the following papers:

  1. http://web.mit.edu/people/wangj/pap/LoMamayskyWang00.pdf
  2. ftp://80.240.216.180/Transmission/%D0%A4%D0%B0%D0%B9%D0%BB%D1%8B/S&C%20on%20DVD%2011.26/VOLUMES/V16/C10/077CUP.pdf

Cup and handle pattern

Rules for cup and handle patterns

Bandwidth for kernel regression = 3.

Between points K and A

  1. p.a > 30, p.a >= 1.15*p.k
  2. uprv1/dprv1 > 1

Between points A and B

  1. p.b < 0.85p.a, p.b >= 0.65p.a
  2. avg.vol < avg.ma.vol
  3. Length of left side of cup 20 to 60 days

Between points B and C

  1. p.c > 0.6p.a + 0.4p.b & p.c <= p.a
  2. uprv2/dprv2 > 1
  3. Length of right side of cup 3 to 30 days

Between points C and D

  1. p.d <= p.c
  2. uprv2/dprv3 > 1
  3. Length of right side of cup 3 to 20 days

canslimtechnical's People

Contributors

kanwalpreet18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.