Export custom data via DDE?

To add comments, please log in or register
vitaliy_zh
75
vitaliy_zh  
Hi,



i have an custom indicator with alert function. Is it possible to export some dynamicaly generated (string-) data via DDE? How I can do that?



Thanks in advance!
Marco vd Heijden
Moderator
8166
Marco vd Heijden  
Maybe write to file and pick it up from there ?
vitaliy_zh
75
vitaliy_zh  
Marco vd Heijden:
Maybe write to file and pick it up from there ?
Hi Marco,


that would be an option, but not realy the best solution. I need the data as much as possible in real time.


I mean, MT4 has an integrated DDE server. This, as far as I know provides only the price data.  What I need is to determine by myself which data should be exported via DDE.
honest_knave
Moderator
2302
honest_knave  

You're probably going to need to write a DLL if you don't want to use Marco's solution.

AFAIK, DDE has fixed export formats: https://www.metatrader4.com/en/trading-platform/help/service/dde

Something like this may give you some ideas: https://www.mql5.com/en/forum/107448/page2#comment_3019162 

Export of Quotes - Tools - MetaTrader 4 Help
Export of Quotes - Tools - MetaTrader 4 Help
  • www.metatrader4.com
Source data serving as a basis for the entire analytical work of the terminal user are those about security price changes. This information is...
To add comments, please log in or register