Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Scripts | MS Excel: Data Exchange and Management | Source Code Included

Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Image for MS Excel: Data Exchange and Management

mt4excel.dll is a library written in Delphi. At calling the DLL, the COM library is initialized.

Before using it, you should call one of the following functions: ExcelOpen or ExcelOpenPattern, or ExcelOpenFile.

At calling, an OLE object is created, MS Excel is opened, a new book and page are created by template or an existing Excel file is opened (depending on the function). Function ExcelClose will close MS Excel and free the OLE object.

Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.

You can write and read in either a separate cell: ExcelSetFormulaCell, ExcelSetValueCell, ExcelSetTextCell, ExcelGetValueCell, ExcelGetTextCell, ExcelGetFormulaCell, or in a range previously memorized with function ExcelSetRange, then using ExcelSetFormula, for example, or other functions requiring a range to be set.

There is a number of auxiliary functions to manage displaying, format information, etc. You can find more details about them in the comments on the example.

Use function ExcelSetDiagramma to create a diagram.

Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.

8175

Best MetaTrader Indicators + Profitable Expert Advisors