Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
With the help of the other posts, I figured out the problem. I'm sure anyone looking at it knew and were just letting me struggle so I'd learn from it :-)
1) I didn't understand the difference between a script and an indicator. That's why MT4 wouldn't accept it.
2) I left out the "return(0)" at the end of the start() section.
Working with Excel (tools, indicators, conversion ...)
I'm trying to use MT's history data in another program that needs the date in mm/dd/yyyy format. I've tried running a macro in Excel to convert it, but I'm running into all kinds of problems which have to be manually fixed, which of course defeats the whole purpose of the macro.
Any Excel gurus out there, or does anyone know of a conversion utility for MT's history data?
Working with Excel (tools, indicators, conversion ...)
Does anyone have a tool that record Open Trade information at some time interval (1m, 5m, etc.) so it can later be brought into Excel for analysis?
I know how to record Time, O, H, L, C, but not Open Trade information. If I had to, I could extrapolate drawdown and profit information for a given time if I could know when a trade is open or closed.
I'm trying to identify drawdown and profit information and correlate it with time and see if there's some interesting information for given timeframes, etc. when testing an EA.
For anyone who's interested, here is some analysis I did of average pip movement per day per hour. They are for EURUSD, GBPUSD, USDCHF, AUDUSD, NZDUSD.
I'm trying to create a history using the DDE-Sample provided by Metatrader.
The only thing is that I'm not proficient with VBA.
I need a macro that will insert a new line above the "live data" as soon as it changes. I know that the file will become huge in a short space of time, but there's no problem. It's a test for a tool that I'm developing and as soon as it is ready I'll make it available here for download so everyone can make use of it.
If you are good in excel I want to hear from you. Thanks.
Here is the file for download an a pic explaning.
Thanks guys!
__________________ * Forex Mega-Portal * www.forexpivotsbrasil.com
- largest forex portal in the world for portuguese speakers. -
Working with Excel (tools, indicators, conversion ...)
Here is a tool for combining trading results into an Excel spreadsheet from multiple accounts.
Put the EA where you want to start collecting results. This dumps the data so Excel can ingest it. Put that path in the Startup worksheet of the Excel spreadsheet along with which currency pair you want to extract and the name of the tab/worksheet you want the results to be placed. After extracting the information, it creates a Summary sheet of all of the sheets it analyzed with results by date & tab. It's not as pretty as the other, but I had a lot of kludged code in that which was customized for the sordid way I have my folders laid out.
When you launch the spreadsheet, you have to enable macros or it can't work. All of the source for the spreadsheet macros & EA are included as well as an instruction sheet, so tweak to your own tastes.
I have several Excel sheets that utilize the DDE data from MT4. I am unable to update my sheets. They just stall and have to be terminated. I tried the MT4 DDE Excel example and it would not update. Same results. I tested with codersguru's DDE client and another DDE client. They both are successful in reading the DDE data. I think the problem may be with Excel, some automatic security update or some system setting but I have not yet found a solution. Has anyone else run into a similar problem? I suspect that the solution is simple but it eludes me. Please help.
Reason found for stalling Excel when accessing DDE
Initially I tried a repair of Office. Still stalled. I removed and reinstalled Office. Excel worked with DDE. I did an Office update to install Service Pack 2 and a couple of updates. Excel stalled. I removed one of the updates, *** Update for Outlook Junk Email Filter 2003 (KB923095) *** and rebooted. Excel worked with DDE. I did another Office update to get additional updates required after the installation of Service Pack 2. I downloaded the Junk Email Filter again and installed it also. Excel stalled. I removed the Junk Email Filter and rebooted. Excel worked with DDE.
When I decided to reinstall Office I thought the best that I would get was Excel working again but that I would not know what initially caused it to fail. As it turns out I found a very specific cause, *** Update for Outlook Junk Email Filter 2003 (KB923095) ***. What this has to do with DDE I have no idea. I am just glad that I found a specific cause for the failure and that it was so simple to remedy.
It seems there are only commands for bid, ask, high, low, time, and quote...are there others? Specifically execution commands, or a way to accomplish this?