GetPaneHeights – library MetaTrader 4

GetPaneHeights - library for MetaTrader 4
This function calculates the height in pixel of each pane in a window. FOR WHAT: With the use of the built-in functions “WindowPriceMin/Max()” together, you can calculate appropriate spacing/margin to text/arrow objects (OBJ_TEXT/OBJ_ARROW), whatever size the window is. See the EXAMPLE section below. SYNOPSIS: #import “GetPaneHeights.ex4” int GetPaneHeights(int &height[]);#import height[i] = the height in pixel … Read more

WinSock – library MetaTrader 4

WinSock - library for MetaTrader 4
WinSock is a windows network interface that descented from TCP/IP Berkley Sockets, and is the default network interface for TCP/IP. The sockets lie on the session layer (OSI/5). The attached code is an operational example of windows sockets and the included library, although easily expandable, is in a basic form and not a full winsock implemenation. The advantage of the library and code presented is that it’s written completely in mql4 without any use of external dll helper. The WinSock.mqh is the library and should be placed in your include folder The wsockserv.mq4 is a winsock echo server blocking mode example that should be put in … Read more

ArrayVirtualOrders – library MetaTrader 4

ArrayVirtualOrders - library for MetaTrader 4
Description: Library for virtual trading. It can be used for careful checking of the multicurrency strategies and for the expert parameters self-optimization. The standard order processing functions Order*() has been replaced by v.Order*() functions. The orders loading/unloading to/from the arrays is supported. So, it’s possible to save results of the virtual trade between some sessions. … Read more

Send a notification to your ICQ, MSN, AIM,… contacts – library MetaTrader 4

Send a notification to your ICQ, MSN, AIM,... contacts - library for MetaTrader 4
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.. … Read more

TCP socket – library MetaTrader 4

TCP socket - library for MetaTrader 4
Description: I’m using this code for a script i have so i deleted the protocol mqh library, but it should still work. I made ryaz’s winsock server example into some utility functions. Report any bugs or improvements back please! Hope you find tcp sockets as simple as they should be = open connection, accept connection, … Read more

Symbols.mqh – library MetaTrader 4

Symbols.mqh - library for MetaTrader 4
Authors: 7bit and sxTed Retrieve a list of all Symbols/Instruments known to the Server with Symbol Description and MarketInfo output to a CSV file. Set up: Place file “Symbols.mqh” into the “\experts\include” subdirectory. Place file “Max.mq4” into the “\experts\indicators” subdirectory. Place file “Max.ex4” into the “\experts\indicators” subdirectory. Start up: Start up instructions at head of … Read more

ZeroMQ asynchronous communication – library MetaTrader 4

ZeroMQ asynchronous communication - library for MetaTrader 4
ZEROMQ These are partial bindings to the zeromq library along with a demo of a zeromq tcp socket. If anyone makes more complete bindings please share! I might if i need all of the features. Linux wine version also included. Quote: “Ø  The socket library that acts as a concurrency framework.  Ø  Carries messages across inproc, IPC, … Read more

“Native” MQL HTTP Client – library MetaTrader 4

"Native" MQL HTTP Client - library for MetaTrader 4
Author: gunzip <spammmmme@gmail.com> Description: This library implements two simple HTTP GET / POST function to communicate with HTTP servers. It doesn’t require any external dll(s) apart from the standard wininet shipped with win32. Moreover it provides some file upload ability. Put this in experts/include subfolder. Usage: #include <ghttp.mqh> string params[2][2]; params[0][0] = “key1”; params[0][1] = … Read more