You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi brother, do you have a MT4 version of this. the MT4 DDE doesn't work. But the one I'm using for FX doesn't have an MT5 server. Thanks for providing me a code if you have one. I want to get my net worth and position currency profit/loss,.
The method upstairs can't get the net value and currency gain/loss, only the high open/low close price.
Here is a method through the RTD bridge method, interested in reading http://www.fxchs.com/productdetails.aspx?pcid=2&pid=63
THOMASILVA :
Please visit the brazilian comments
https://www.mql5.com/en/forum/33344
Forum on trading, automated trading systems and testing trading strategies
Expert Advisors: MT5 DDE - Server
Tom Sasson , 2020.06.28 09:52
Sorry for late replying, it was possible of course.
I said "was" because I haven't used this tool for 3 years now, and haven't tried on Windows 10 so you may experiment and report back.
Hi THOMASILVA,
Following these steps ...
Start the DDE server.
Start mt5 and compile dde_example.mq5.
Open the graph of the desired asset in mt5 and drag the dde_example.ex5 (result of the compilation).
You will see the items on the server display.
... I still not able to show up any values into the MT4DDE window even though the sample EA is running.
May you have any advice about MT5 or Windows config or other aspects that could affect the process?
(ie for MT4 DDE it's required to allow DDE server but this checkbox is not in MT5)
Thanks in advance!
I changed the code a little to print the most basic values: Current, Open, Close, Low of the Day and High of the Day.
It lacks polish but is functional if you need the DDE to report the values in international format (separating thousands with a full stop and decimals with a comma).
Example: Quotation of 12 reais and 13 centavos, instead of reporting 12.13, with the script below it will report 12.13. Great for keeping the Excel spreadsheet the way it's already installed.
I can't place ticks that have a dash, for example (OIL-XXX) OR BRENT-XXX Can anyone tell me how to change the ask and bid codes to pick up these ticks?
Here are the changes I've made to the code below.