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
Libraries

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

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

Views:
7122
Rating:
votes: 4
Metacontrol.zip (3855.14 KB)
Description
=======

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..


Installation
=======

.) Install Miranda IM. 
http://www.miranda-im.org/

.) Install the Miranda CommandLine plugin.  (0.0.2.8)
http://addons.miranda-im.org/details.php?action=viewfile&id=3477

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

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



Function description
=============

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

Parameters:
     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.

e.g.:   
   if( m_sendCommandWaitResponse("message","susi|hello susi, how are you?","|",-1) != 0)
      Print("Error=",m_getLastResponseString());
   else
      Print("Return=",m_getLastResponseString());

e.g.:
   m_sendCommandWaitResponse("help","message","",-1);
   Print("message-command arguments:",m_getLastResponseString());

--------------------------

Function:
   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).