Export custom data via DDE?

 
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!
 
Maybe write to file and pick it up from there ?
 
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.
 

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...
Reason: