Metatrader and Ninjatrader

 
Has anyone tried to trade automatically with MT and Ninjatrader?
The thing is that my broker does not support MT so orders have to be sent from MT to NT via DLL or COM interface.
There is also option NT to generate order based on .txt file created by another program.
So my question is does MQL have that option, i.e. to generate pre-formatted .txt files based on orders from EA and to save them at a specific location on the hard disk?
 

MT4 can generate text files easily.
It is limited where to store the files.

https://docs.mql4.com/files

 
alekstrajkov:
Has anyone tried to trade automatically with MT and Ninjatrader?
The thing is that my broker does not support MT so orders have to be sent from MT to NT via DLL or COM interface.
There is also option NT to generate order based on .txt file created by another program.
So my question is does MQL have that option, i.e. to generate pre-formatted .txt files based on orders from EA and to save them at a specific location on the hard disk?

MT4 can call DLL's, write to database, write to file, etc. If you have an API for NT then MT4 can probably call this API. If you need a professional help doing this you can contact MQL Service. This is my company specialized in autotrading.
 
alekstrajkov:
...
The thing is that my broker does not support MT so orders have to be sent from MT to NT via DLL or COM interface.
...
Try to ask your broker support team about trading via MetaTrader 4 Server. It is the easiest way.
 
phy:

MT4 can generate text files easily.
It is limited where to store the files.

https://docs.mql4.com/files

You could also use a Windows hardlink, as phy pointed out elsewhere. This would essentially allow your EA to update the textfile anywhere on your drive.
Reason: