Matlab to Metatrader, some advice needed

 

Hi,

Recently I have learnt how to make a fully fledged trading system in matlab that self-adapts,

I won't bother you with the details right now, I just need some advice.


Basicly what I need is to get a data stream going between metatrader and matlab, or at least make a DLL that I can use in an indicator or expert advisor.


My trading system optimizes within matlab, say every 6 hours or so.


I have read, and followed the DDE article, but it doesn't work for me, strangely enough, it gives no errors, but no data either, all the while with DDE turned on in metatrader, also it only goes one way.


Any advise on other options and approaches are more than welcome!


thanks in advance!