Tools
Let's create an expert for duplicating trades from another account via text file..
Submitted by serggry on Mon, 2006-05-15 11:11. ToolsI would like to draw attention of the community for a real need in creating an expert for exact duplication of trades made on an account by expert or human to another account where thae expert is attached.
Thus wwe need two expert:
1. For parent account to put all the orders into txt file.
2. For replica account to read this txt files and trade.
Would be grateful if the comunity could work on this!
Serggry
Tools - .csv reader!
Submitted by codersguru on Thu, 2006-04-20 15:26. ToolsHi folks,
I have a tool today that I hope it's a useful for you as it for me!
MQL4 enable us easily to write to csv (Comma-separated values) files. But it's hard to write script that handling reading from csv files and it's hard to make it a fast operation (Just imagine you have a csv file with 100000 record).
That's why I've got a lot of requests asking my to write a csv reader dll in c++
Our dll today have 4 functions:
int gGetRecordsCount(string file_path)
Use this function to get how many records in the csv file. You have to pass to it the path and the file name of the csv file.
Tools - FTP client!
Submitted by codersguru on Tue, 2006-04-18 15:05. ToolsHi folks,
I've got a lot of requests from my friends the members of forex-tsd forum asking me to make a better version of MetaTrader FTP sending.
I hope you find this tool useful and better than the SendFTP() MQL4 function!
Our dll today have 5 functions:
string gConnect(string FTPServer,string user,string pass,string path="ROOT");
You have to use this function to connect to the FTP server before uploading or downloading files to it.
The first parameter is the FTP server, the second parameter is the User name, the third parameter is the Password and the fourth parameter is the directory path on the ftp server you want to upload or download from.
Tools - Forex-tsd forum new posts notifier!
Submitted by codersguru on Sat, 2006-03-25 15:56. ToolsHi folks,
The most of my time goes to the navigating between MetaTrader and Forex-tsd forum. I'm visiting the forum to view if there are new posts or not.
With my tool today I will save my time and my concentration. I just click the Forex-tsd script and it will tell me if there are new posts or not in the forum.
I hope you find it useful too.
Tools - Shut Down
Submitted by codersguru on Wed, 2006-03-22 15:32. ToolsHi folks,
Welcome to a new MetaTrader tool! I hope you find it useful.
I was in my office yesterday till the 3 AM waiting a my expert advisor to open a position. And when my wife phoned me to return home I forced to Shut Down my computer.
When I returned to the office today morning and gave the chart a look I cried the trend I lost and the profit I didn't get.
No more wife calls any more , not more Shut Downs before the trends.
Now you can use this dll to Shut Down the computer at the event you want.
Tools - Shell script!
Submitted by codersguru on Tue, 2006-03-21 17:41. ToolsHi folks,
Scenario 1:
The EURUSD went up, I want to tell the boss. What if the MetaTrader can open my email client!
Scenario 1:
The EURUSD went down. Could MetaTrader open the notepad to write a piece of note.
If you are a lazy person like me, or you have more useful ideas (scenarios) about running applications from MetaTrader!
Running a program from MetaTrader is not a hard thing anymore.
Just you this library.
And enjoy with the Shell function:
Usage:
use this function to run any program you want from your MQL code.
Tools - SpeechText - 2
Submitted by codersguru on Mon, 2006-03-20 16:37. ToolsHi folks,
I want to thank you all because your interest in my SpeechText dll.
Upon your requests I have added these extra options:
gVolume:
Now you can set the volume of the voice (0 : -100).
gRate:
Set the rate of the voice (-10 : 10).
gPitch:
Set the pitch of the voice ( -50 : 50).
That's beside the original function:
gSpeak:
Speak the text.
Tools - SpeechText
Submitted by codersguru on Thu, 2006-03-16 17:59. ToolsHi folks,
A lot of MetaTrader fans complain because the removal of SpeechText function from MQL4 langauge (The function has been omitted in Build 188 (12 Jan 2006).
If you one of SpeechText lover just download this dll:
Setup:
1- Extract the "speak.dll" to "MetaTrader 4\experts\libraries" path.
2- Extract "SpeakDemo.mq4" to "MetaTrader 4\experts\scripts" path and compile it.
3- Extract "gSpeak.mqh" to "MetaTrader 4\experts\include".
4- Load SpeakDem from your Scripts - don't forget to enbable "Allow DLL Import"
5- Enjoy.
Tools - Easy MQL4 Compiler!
Submitted by codersguru on Sat, 2006-03-11 16:05. ToolsHi folks,
I'm receiving tens of messages everyday -in the forum- asking me about how to compile the Expert Advisors, Indicators, Script, and Libraries?How to know the kind of the MQL4 Program?
I automatically answer:
1- Download the program (.mq4)
2- Copy it to the /experts folder if it was an expert advisor, and to the experts/indicators folder if it was an indicator, and to experts/scripts if it was a script and it was a library copy it to experts/libraries folder.


