Consulting

Results 1 to 11 of 11

Thread: Solved: Point And Figure Chart

  1. #1
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location

    Solved: Point And Figure Chart

    Does anyone have VBA code / Excel add-in to generate a point and figure chart in excel ?

  2. #2
    MS Excel MVP VBAX Mentor Andy Pope's Avatar
    Joined
    May 2004
    Location
    Essex, England
    Posts
    344
    Location
    Cheers
    Andy

  3. #3
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location
    Hi Andy... thanks for the link.... Just a couple of questions.. I'm new to VBA so couldn't get the intricacies of your code, but you seem to be feeding in 'arranged' share prices into columns D &E . Any suggestions on how I can tweak it to use a live feed of data and parse it out?

    Thanks.

  4. #4
    MS Excel MVP VBAX Mentor Andy Pope's Avatar
    Joined
    May 2004
    Location
    Essex, England
    Posts
    344
    Location
    I guess that would really depend on how you have your live data feed set up.

    You would need to provide a lot more detail.
    Cheers
    Andy

  5. #5
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location
    I will be getting live price data into a spreadsheet as and when a trade occurs. I am looking at plotting a point and figure chart in real time based on the streaming prices.

    Thanks.

  6. #6
    MS Excel MVP VBAX Mentor Andy Pope's Avatar
    Joined
    May 2004
    Location
    Essex, England
    Posts
    344
    Location
    Okay, but that is no more information than you posted before.

    As you can tell by the date of the file I have not used this file for many years.
    The input apears to be the High and Low price of share.

    You need to transfer you information from feed cells to charting cells.
    Cheers
    Andy

  7. #7
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location
    Hmm.. well.. from what I understood... the prices seem to be arranged into 'high's and 'lows' from which the charting is done. I don't quite understand how those high and low prices are derived from a continuous stream of unsorted prices...... I guess that would have probably been mentioned in the example that you made this for....and since its an old file. you may not recollect it...


    Is there anything specific that you need to know about the input / output ???

  8. #8
    MS Excel MVP VBAX Mentor Andy Pope's Avatar
    Joined
    May 2004
    Location
    Essex, England
    Posts
    344
    Location
    The site where I read about P+F is still active
    http://www.stockcharts.com/education...rts-print.html


    It mentions that the time periods are not so relevant, just that you know the high and low within that period.

    So I not sure how your realtime data fits in with the chart.

    I guess you would need to capture the price at 2 points in time. One of the values will be the high value the other the low. If the price is the same it is not used.

    If your feed is updated by code then you can add code to copy the values.
    If it is done via DDE you will need to run code using the OnTime method as I done think DDE updates fire an event on the worksheet. Although I could be recalling incorrectly about that. If so then code in the change or calculate event will be required.
    Cheers
    Andy

  9. #9
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by Andy Pope
    If it is done via DDE you will need to run code using the OnTime method as I done think DDE updates fire an event on the worksheet. Although I could be recalling incorrectly about that. If so then code in the change or calculate event will be required.
    Your recall is good Andy!
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  10. #10
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location
    hmmm... so do i understand this correctly ? By using the on-time method, will I have to set up the procedure to grab data at periodic intervals ( eg 1 sec. 5 sec) and compare it to the previous value ? .. as opposed to doing it in real time, whenevr data comes in ???

  11. #11
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location
    Andy.... Regarding the link that you posted,that refers to specific type of point and figure chart that only takes in daily highs and lows.. the one i am trying to build will use intra-day data as the input,,, checking the latest value against the previous to see if an X,O, Multiple X, Multiple O or a blank character needs to be plotted.... the rest of the logic is the same....


    am trying to figure this out.. let me know if you have any further suggestions..... thanks a lot.. Andy... Bob...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •