Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2010.03.25 15:57

Send a notification to your ICQ, MSN, AIM,... contacts - library for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 4 (3855.14 KB)

This library is based on Cristian Libotean's CommandLine-Plugin for "Miranda IM".
Miranda IM is a (open source) multi-protocol (ICQ,MSN,AIM,...) instant messaging client for Windows.
In conjunction with Miranda IM, you can use this library to control your Miranda IM client. 
E.g. Send and receive messages, set the status, read the contact list, etc..


.) Install Miranda IM.

.) Install the Miranda CommandLine plugin.  (

.) Copy the mtmim.dll to ...[MetaTrader]\experts\libraries\

.) Copy the example files to ...[MetaTrader]\experts\indicators\
   See the example files for usage.

Function description

     int m_sendCommandWaitResponse(string command, string args, string delimiter, int timeout);
        sends a command to Miranda IM.

     string command
        A command-string 
        e.g.: status awaymsg xstatus popups sounds clist quit help exchange yamn 
             callservice message db proxy contacts history version

     string args
        Arguments divided by a special character (delimiter)

     string delimiter
        a character to seperate the arguments     

     int timeout
     	Time in ms to wait for response, -1  endless
        use the m_getLastResponseString() function to get the response-string.

Return Value:
     Returns 0 if the call is successful.

   if( m_sendCommandWaitResponse("message","susi|hello susi, how are you?","|",-1) != 0)

   Print("message-command arguments:",m_getLastResponseString());


   string m_getLastResponseString();
        Retrieves the response-string

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.

Pivot Star Pivot Star

Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN).