+ Reply to Thread
Results 1 to 14 of 14

Add NewSeries problem ?

  1. #1
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    Add NewSeries problem ?

    Hi beautiful people,
    1- Open enclosed file, and see that everything is okey in stock chart. (Look there is a orange line there)
    2- Delete that stock chart and then run following macro.
    Please Login or Register  to view this content.
    Why you can not see WEIGHTED AVERAGE series (orange series) after running that macro ?
    Attached Files Attached Files
    Sub DontForgetThese()
         If Your thread includes any code Then Please use code tags...
         If Your thread has been solved Then Please mark as solved...
         If Anybody has helped to you Then Please add reputation...
    End Sub

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Add NewSeries problem ?

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    Re: Add NewSeries problem ?

    Hi Andy, good to see you again
    Thanks for this support. Solved.

    I have another question regarding this chart.
    If you carefully look that stock chart, weighted average line does not go across middle of the candles... Any idea ?

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Add NewSeries problem ?

    The stock charts don't like doing anything beyond the designated task. You will see that changing the weighted average value distorts the candle.

    You may have to build the chart your self using a mixture of column, stacked column, error bars and lines.

  5. #5
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    Re: Add NewSeries problem ?

    Ok...
    Lets jump my similar question...
    Please help my similar question...
    http://www.excelforum.com/excel-char...hlc-chart.html

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Add NewSeries problem ?

    Well I guess that will have the same answer then

    You may have to build the chart your self using a mixture of column, stacked column, error bars and lines.

  7. #7
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    Re: Add NewSeries problem ?

    I couldnt solved that issue myself
    I believe that you are expert of this kind of chart

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Add NewSeries problem ?

    So what did you try?

  9. #9
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    Re: Add NewSeries problem ?

    I tried combined charts.
    I am very well with simple combined charts.
    But combined stock charts are very diffucult for me...

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Add NewSeries problem ?

    Create chart on range $J$1:$P$11

    Move series 2 to 6 to secondary axis
    change series 5 and 6 to line chart

    to series 5 add error bars and set to Plus using custom range $Q$2:$Q$11

    Only problem is the high/low line appears above the open/close box.
    Attached Files Attached Files

  11. #11
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    Re: Add NewSeries problem ?

    First of all thanks for your great effort.

    Formula in the P2 cell must be =G2 instead of =E2 as far as I understand...

    If this issue so diffucult, I am planning to create a new chart for average series,then making this chart's plot area transparant then put new chart above the old chart...
    Last edited by HerryMarkowitz; 08-25-2014 at 09:33 AM.

  12. #12
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Add NewSeries problem ?

    Yes, it should reference G2 if you want to use the weighted average value.

    Although that does not appear to be center of Open/Close box, which is what I thought you wanted.
    =C2+((F2-C2)/2)

  13. #13
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    Re: Add NewSeries problem ?

    Hi Andy,
    Enclosed file had been created by you.
    First of all thanks for your great job.
    Enclosed file includes a stock chart which includes average series.
    As you can see enclosed file you made some calculations (Pad, PosOpen, NegOpen, High Err).
    My question is if it is possible to create average series stock chart without making any calculation.

    In other words if it is possible to create average series stock chart using only following data and no calculation.
    Date, VOLUME, OPEN, HIGH, LOW, CLOSE, Average

    Best regards
    Attached Files Attached Files
    Last edited by HerryMarkowitz; 05-10-2015 at 05:39 PM.

  14. #14
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Add NewSeries problem ?

    No, as the pad series makes the columns float.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SeriesCollection.NewSeries Data Points not proper
    By mangalam.singhania in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-29-2013, 08:50 AM
  2. input box problem, cell filtering problem, result display while locking sheet
    By croozin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2013, 08:52 AM
  3. Replies: 6
    Last Post: 05-28-2013, 05:08 PM
  4. Multiple large .NewSeries lead to Run-time error 1004
    By Dave Booker in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2005, 11:05 PM
  5. Line colour of .SeriesCollection.NewSeries?
    By Dr.Ile in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2005, 03:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1