Quote:
Originally Posted by ingvar_e
The DLL will act as an intermediate between MT4 and an Excel spreadsheet both delivering data to the spreadsheet and collect data. I have no problem communicating with the spreadsheet. Its communicating with MT4 that is the problem. The structure of the EA:s I have built have all required the calling structure described and that is not suitable for MT4 it seems.
|
You may be having a string problem. Are you having mt4 read a double value such as a price quote from Excel? If Excel is returning a string, you may need to convert this to a double in mt4. Not sure if that is your problem or not.
I only have experience reading and writing to .txt or .csv files. Often you have the need to convert a string value to a double or integer for mt4 to make sense of your values.
Some of these mq4 functions may be helpful:
StrToDouble( string value)
StrToInteger( string value)
StrToTime( string value)
Not sure if this is helpful to you or not.