Mira cómo descargar robots gratis
¡Búscanos en Facebook!
Pon "Me gusta" y sigue las noticias
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Evalúe su trabajo en el terminal MetaTrader 5
- Visualizaciones:
- 30367
- Ranking:
- Publicado:
- 2013.06.03 08:01
- Actualizado:
- 2014.04.21 14:56
-
¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa
I use DDE library provided by Windows and wrap it up so that a novice coder can use it easily.
DDE works as follow:
- Initialize DDE
- Create string handle for Excel Application (in DDE term, it is known as SERVICE)
- Create string handle for Sheet name (TOPIC)
- Connect to Sheet
- Free the above handles, they won't be used anymore
- Create string handle for cell (ITEM) using cell address in R1C1 style
- Send the data
- To export data to another cell, repeat 6-7
- You can reuse the already created items' handle (in case you want to update the cells regularly)
- Before program return, free all items' string handle
- Disconnect Excel and sheet
- Uninitialize DDE
Make sure to enable "Allow DLL imports" in Expert Advisor settings. You may need to disable MT4 DDE Server before running this script.
There are 2 files attached in this post:- ExcelExportLib.mq4, put this file in experts\libraries folder. This is just a simple mq4 library that wrap a few DDE functions.
- ExcelExportTest.mq4, put this file in experts\scripts folder. This is a test script that will write text on Excel Sheet 1, cell R2C2
Cheers,
sangmane
![Sliders](https://c.mql5.com/i/code/indicator.png)
Uses up to 4 visual "sliders" in the chart window to quickly and easily adjust values of any technical indicator in a separate window. Based on MetaTrader 4 chart objects, not DLLs.
![VR---FIGURA](https://c.mql5.com/i/code/indicator.png)
Different view of the figures and the patterns of the day ....
![Ichimoku Moving Average](https://c.mql5.com/i/code/indicator.png)
Ichimoku with Moving Average instead middle Price channel (Donchian channel) .
![Aeron Expert Advisor](https://c.mql5.com/i/code/expert.png)
Aeron Expert Advisor is well known. I am the author of Aeron Expert Advosor. It is based on martingale pattern and all of its parameters are fully customisable.