MetaTrader with Matlab

 
What are the best sollution to send data to matlab, then make calculations in it and return other data to MT? I saw many methods but mostly they are described few years ago or earlier. What ways do you use and can recommend as "working"?
 
lopeeez:
What are the best sollution to send data to matlab, then make calculations in it and return other data to MT? I saw many methods but mostly they are described few years ago or earlier. What ways do you use and can recommend as "working"?
There are two options:

1. MQL4 <-> Rterm <-> "matlab"( Emulate MATLAB code using R)

2. MQL4 <-> Rterm <-> "matlabr"(Provides users to call MATLAB from using the "system" command. Allows users to submit lines of code or MATLAB m files. This is in comparison to 'R.matlab', which creates a MATLAB server.)

Best regards

Vladimir

 
Vladimir Perervenko:
There are two options:

1. MQL4 <-> Rterm <-> "matlab"( Emulate MATLAB code using R)

2. MQL4 <-> Rterm <-> "matlabr"(Provides users to call MATLAB from using the "system" command. Allows users to submit lines of code or MATLAB m files. This is in comparison to 'R.matlab', which creates a MATLAB server.)

Best regards

Vladimir

Is this serious? Using Matlab for trading? isn't that too slow?
Reason: