Export to Excel in Real Time - Page 2
Page 2 of 732 FirstFirst 12
Results 11 to 19 of 319

Thread: Export to Excel in Real Time

  1. #11
    1 Attachment(s) that is a pleasant Tool.
    I attempted to publish my Trades on my Homepage Afterward I discovered this program:
    https://www.mql5.com/de/code/1246
    how do I convert mq5 to mq4? This tool was composed in mq4 but is altered to mq5.
    All information that become available in MQL5 can be exported via this DDE interface.
    How do I modify dde_example in order to export my Closed Transactions, Open concessions and pending orders to excel.
    https://www.forexsoutheast.asia/gene...t-systems.html

  2. #12
    I liked this solution very much, but it needed updating to today's MT4.
    So I attach new files after minor changes that I made.
    Really changes were made only to ExcelExportLib, but I attach the test record also just in case.
    @bah12ram - This solution will mend what you experienced.
    https://www.forexsoutheast.asia/atta...2128899637.mq4
    https://www.forexsoutheast.asia/atta...1600486381.ex4

  3. #13
    Quote Originally Posted by ;
    I liked this solution very much, but it needed updating to the MT4.
    So I attach new documents after minor changes that I made.
    Really changes were made solely to ExcelExportLib, but that I attach the test file also only in case.
    @friday13, thanks very much. Would you mind submitting the ExcelExportLib.mq4 file?

    Regards

  4. #14
    Quote Originally Posted by ;
    @friday13, thanks very much. Would you mind submitting the ExcelExportLib.mq4 file with the changes you have made?
    No worries, I figured out it. Watch file attached.
    https://www.forexsoutheast.asia/atta...0593033486.mq4

  5. #15
    Quote Originally Posted by ;
    quote No worries, I figured out it. See file attached. file
    Nicely done. I did not add the code out of admiration to Sangmane, who did not place it here.

    Two opinions:
    1. Adding the ? is not necessary, as:
    Quote Originally Posted by ;
    MQL4 utilizes both approaches, with one exception: arrays, structure type factors and class objects are always passed by reference.
    (from https://docs.mql4.com/basis/function/parameterpass)

    2. Your code determines of a maximum cell size of 256 bytes, while my lib file uses dynamic range since I don't wish to limit my memory intake to a fixed size every time, and also an excel cell size may hold up to 32,767 bytes, according to: https://support.office.com/en-us/art...7-269d656771c3.

  6. #16
    Quote Originally Posted by ;
    quote Properly done. I simply didn't add the code out of respect to Sangmane, that didn't post it in the first loion.
    Hi,

    Thank you for your remarks, you're absolute right. Can you make any progress with reading from Excel using DDE?

    Regards

  7. #17
    Quote Originally Posted by ;
    quote Hello, Thanks for your opinions, you are absolute right. Can you perhaps make any progress with studying from Excel using DDE? Regards
    Hello,
    Actually no, I didn't attempt to read from Excel using DDE, only to export to Excel.
    Why do you wish to read from Excel using DDE and where do you want the information to be exported to?
    We can open a new thread regarding your idea if you want.

  8. #18
    Quote Originally Posted by ;
    quote Hi, Actually no, I didn't try and read from Excel using DDE, only to export into Excel. Do you want to read using DDE and where do you want the information to be exported to? We can open a new thread if you want.
    Hi,

    I wish to read information back to MT4 for various purposes. This is sometimes caused by calculations in Excel, or control issued from Excel. Excel is a great research tool. Anyway, I managed to get 2 way communiion functioning and have produced a C# DDE wrapper. It's a work in progress, but in principle it works fine.

    Regards

  9. #19
    Quote Originally Posted by ;
    quote Hi, I want to read data back to MT4 for various purposes. This is sometimes the result of calculations in Excel, as well as command issued from Excel. Excel is a great research tool. Anyhow, I have created a C# DDE wrapper and was able for 2 way communiion working. It is a work in progress, but in principle it works alright. Regards
    Sounds cool!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.