DDE to Excel to new formula back to chart?

Discussion in 'Trading Software' started by ang_99, May 23, 2008.

  1. EdgeHunter-

    Very impressive. Some time ago I tried to do something similar within excel (with DDE) but could only use about 60 S&P stocks (which is more than 50% of the total market cap) before excel would consume nearly all my cpu cycles. Needless to say, I abandoned excel and dde.

    What data source do you use to feed Sierra charts (or Excel)?

    What do you use to transfer data between the apps?

    Thanks.

    Ang-

    Obviously to plot a graph you need x-y data (time-price), which is in a 2xn range, n being the number of data points you want to plot. What I did once (see above failed project) was to use a timer function in VBA to fill in the data in a preconfigured array that was mapped to a chart.
     
    #11     May 24, 2008
  2. Q1) What DDE feed do we use to get stock data into Excel 2007

    I tried various DDE sources over last 3 years...

    eSignal - Accurate DDE stock data but crushed my CPU

    DTN - Inaccurate DDE stock data and was bit of a drain on my CPU...

    MarketFeed - Accurate DDE stock data and quite light on my CPU but they terminated my account when they found i was pulling all the data from all 500 symbols THAT I HAD PAID FOR because i was using too much bandwidth... !!! ???... they did not expect me to use all 500 symbols...

    Now using...
    Equis - MetaStock - QuoteCenter
    using Reuters' DDE feed... for 500 symbols... all 500 symbols... of sp500... Accurate stock data and Works like a charm... very low CPU cost due to array links... and Incredible DDE field choices to build custom indicators galore...

    Besides basics like Last, net, Volume, they also have Beta, vWap, Money Flow, MAvgs, High Lows, and on and on, quite a number that Reuters supplies you with in their Metastock Equis subscription to their QuoteCenter product...

    I use NeoTicker and DTN for futures charting (DTN futures are great) but QuoteCenter for news and DDE... and MetaStock 10.1 only for EOD and Daily Stock Scans via custom explorer creations...

    Q2) What do we use to transfer data between two apps (Excel and Sierra Charts)

    We use a VBA timer in Excel VB module that pops every two seconds throughout the day which calls a function that SUMs data inside specific cells ranges... to create specific custom indicators to chart in Sierra Charts.

    myFastAvg = WorksheetFunction.Sum(Range("B1", "B500")) / 500
    myFastAdd = WorksheetFunction.Sum(Range("C1", "C500"))
    myFastVol = WorksheetFunction.Sum(Range("E1", "E500"))
    myFastVolSum = WorksheetFunction.Sum(Range("D1", "D500"))
    myFastTick = WorksheetFunction.Sum(Range("F1", "F500"))

    and then hold that data in a dimmed variable and then throw that directly into the file structure of Sierra Charts intra day files... (their .mnd file structure)... which they say (Sierra Charts support) you can only do with the C language but we were able to do it with VBA language and custom type creations.

    http://www.sierrachart.com/index.php?file=doc_IntradayDataFileFormat.html

    once the data is in the .mnd file and that chart that pulls from that .mnd file is open in Sierra Charts then Sierra Charts polls it to chart any new data every n-seconds (not sure)... so that is taken care of by them...

    HTHs

    edge...
     
    #12     May 24, 2008
  3. HSC.1775

    HSC.1775

    Multicharts allows you to choose any cell in Excel to plot and will store the data into a MYSQL database. Excel / DDE has some limitations, but the solution through Multi is decent.
     
    #13     May 24, 2008
  4. I did a quick search and came up with this software that can chart excel links. Never heard of them.

    They look expensive though as you have to call for prices...I hate that.

    http://www.aspenres.com/index.php
     
    #14     May 24, 2008
  5. yes, i talked to them 3 years ago... expensive... they quoted me $400 a month or so back then... not sure what it is now...
     
    #15     May 24, 2008
  6. Ahh, how lame. :mad:
     
    #16     May 24, 2008
  7. #17     May 24, 2008
  8. Call them on Tuesday... please post their prices now... maybe they came down a lot... with competition...
     
    #18     May 24, 2008
  9. doubt it, but who knows? I'll give them a call and report back..
     
    #19     May 24, 2008
  10. EdgeHunter-

    Thanks for the detailed explanation.

    Interesting that different feeds have such varying cpu usage. My data feed at the time was eSignal. At the time, I attributed my lack of success to problems with Excel/DDE, not the feed, so I dropped the project. I might have to revisit it now.
     
    #20     May 24, 2008