Announcement

Collapse
No announcement yet.

eSignal & MS Excel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • eSignal & MS Excel

    Has anyone tried to feed an EFS DDE opbject to any of the newer versions of office? On my older version of excel, it works perfectly (for me), but when I load up the feeder efs files (DDE Feeder) and try it with his newer version of Excel - nothing. No connection or change in price data.

    Has anyone had any success linking the DDE opject to the newest excel?? If so, do you have to create a new excel connection?

    Sorry, not real versed with the newer excel. Look for the trick.

    B


    PHP Code:
    /*

    Example:  This file will create a single dde object called "DDE1".  You should be able to access this value by typing the following into any cell in MS excel.

    =eSignal|EFS!DDE1

    */


    var dde1obj = new DDEOutput("DDE1");

    function 
    main() {
      
    dde1obj.setclose0sym(getSymbol()+", D") ) );


    Brad Matheny
    eSignal Solution Provider since 2000

  • #2
    Hi Doji3333,

    I'm no expert but this code seems to do what you want:
    I typed "=eSignal|EFS!'DDE1'" in Excel 2007.
    I don't own Excel 2010.

    NOTE: Once I typed the "=eSignal|EFS!'DDE1'" in Excel and it returned "FALSE" or "#NAME" in the cell, I had to delete the cell entry and re-enter it again or enter it in another cell. Otherwise even a working version of the efs returned the "FALSE" or "#NAME" in Excel.

    PHP Code:
    function preMain() {

    setPriceStudy(true);

    }

    var 
    dde1obj = new DDEOutput("DDE1");

    var 
    bInit false;
    var 
    study null;
    function 
    main() {
        if(!
    bInit){
            
    study closesym(getSymbol()+", D") );
            
    bInit true;
        }
        var 
    xy study.getValue(0);
        if(
    dde1obj != nulldde1obj.set(xy );


    This also works:
    PHP Code:
    function preMain() {

    setPriceStudy(true);

    }

    var 
    dde1obj = new DDEOutput("DDE1");

    var 
    bInit false;
    var 
    study null;
    function 
    main() {
        if(!
    bInit){
            
    study closesym(getSymbol()+", D") );
            
    bInit true;
        }
         
    dde1obj.set(study.getValue(0) );


    The next two also work:
    PHP Code:
    function preMain() {

    setPriceStudy(true);

    }

    var 
    dde1obj = new DDEOutput("DDE1");

    function 
    main() {

        var 
    xy close0sym(getSymbol()+", D"));
        
    dde1obj.set(xy );


    PHP Code:
    function preMain() {

    setPriceStudy(true);

    }

    var 
    dde1obj = new DDEOutput("DDE1");

    function 
    main() {
        
    dde1obj.set(close0sym(getSymbol()+", D")) );

    Wayne
    Last edited by waynecd; 09-14-2010, 01:11 AM.

    Comment


    • #3
      Maybe I could ask an esignal support staff to try this with the newest version of Excel?

      I'm trying to satisfy a client's request to build a custom solution using his excel spreadsheet and if this does not work properly with the newest version of excel, then I need to know so I can develop a better solution.

      Thanks?
      Brad Matheny
      eSignal Solution Provider since 2000

      Comment


      • #4
        Hi Doji,

        Sorry the last post wasn't useful. However at:


        they explain that you need to enable the DDE option and explains how.

        "I'm not able to get data from DDE links in Excel 2010. I tried that from more than one DDE servers, but everytime I tried to stabilish the connection, Excel stops to respond."

        "I found how to fix the DDE "problem", I think the default DDE option for this Office version will be disable.
        To enable DDE links, go thru Options > Advanced and unmark the option "Ignore other applications that use Dynamic Data Exchange (DDE)"
        In case that doesn't work try other settings as explained in:



        I hope it helps but I'll leave further responses to someone who actually knows.

        Regards,
        Wayne
        Last edited by waynecd; 09-14-2010, 11:32 AM.

        Comment


        • #5
          Thank you Wayne. I really appreciate the links.

          I spent 20 minutes yesterday trying to figure out how to get Excel to accept these DDE links. Guess I was looking in the wrong place. LOL
          Brad Matheny
          eSignal Solution Provider since 2000

          Comment


          • #6
            Glad I was able to help you out for a change.

            Wayne
            Last edited by waynecd; 09-14-2010, 12:25 PM.

            Comment

            Working...
            X