All Projects → nuric → mt4-tcp

nuric / mt4-tcp

Licence: MIT license
Winsock bindings for MetaTrader 4 platform

Programming Languages

MQL4
33 projects
MQL5
34 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to mt4-tcp

ctsTraffic
ctsTraffic is a highly scalable client/server networking tool giving detailed performance and reliability analytics
Stars: ✭ 125 (+420.83%)
Mutual labels:  tcp-server, winsock
AsyncTcpClient
An asynchronous variant of TcpClient and TcpListener for .NET Standard.
Stars: ✭ 125 (+420.83%)
Mutual labels:  tcp-server
Account-Protector
Automate emergency position closing and autotrading termination using a multi-setting expert advisor.
Stars: ✭ 47 (+95.83%)
Mutual labels:  metatrader
Quantrade
Quantitative strategies portfolio index [DEPRECATED].
Stars: ✭ 14 (-41.67%)
Mutual labels:  metatrader
mt4-expander
DLL extension for the MetaTrader MQL4 framework
Stars: ✭ 25 (+4.17%)
Mutual labels:  metatrader
tcp server client
A thin and simple C++ TCP client server
Stars: ✭ 124 (+416.67%)
Mutual labels:  tcp-server
SuperSocketLite
SuperSocket 1.6 버전의 .NET Core 포팅
Stars: ✭ 48 (+100%)
Mutual labels:  tcp-server
cAndroid
cAndroid is tool for control your PC by Android phone
Stars: ✭ 23 (-4.17%)
Mutual labels:  tcp-server
khudro
Khudro is a very light weight web-server built with C.
Stars: ✭ 19 (-20.83%)
Mutual labels:  winsock
dukascopy-tools
✨ Download historical price tick data for Crypto, Stocks, ETFs, CFDs, Forex via CLI and Node.js ✨
Stars: ✭ 128 (+433.33%)
Mutual labels:  metatrader
go-eventserver
A socket server which reads events from an event source and forwards them to the user clients when appropriate
Stars: ✭ 18 (-25%)
Mutual labels:  tcp-server
Malware-Collection
Source codes of malwares, stress tests etc. for computer.
Stars: ✭ 27 (+12.5%)
Mutual labels:  winsock
MetaTrader4-Bridge
Communication layer between MetaTrader 4 and your project.
Stars: ✭ 66 (+175%)
Mutual labels:  metatrader
Socket-Programming-With-C
✉️ Learn Network Protocol and Network Programming
Stars: ✭ 147 (+512.5%)
Mutual labels:  tcp-server
SuperSimpleTcp
Simple wrapper for TCP client and server in C# with SSL support
Stars: ✭ 263 (+995.83%)
Mutual labels:  tcp-server
com2us cppNetStudy work
컴투스 C++ 네트워크 스터디 개인 작업 저장소
Stars: ✭ 32 (+33.33%)
Mutual labels:  tcp-server
rockgo
A developing game server framework,based on Entity Component System(ECS).
Stars: ✭ 617 (+2470.83%)
Mutual labels:  tcp-server
connect
tiny cross-platform socket API library
Stars: ✭ 46 (+91.67%)
Mutual labels:  winsock
trellio
Python3 asyncio based microframework for microservice architecture
Stars: ✭ 19 (-20.83%)
Mutual labels:  tcp-server
tcp-net
Build tcp applications in a stable and elegant way
Stars: ✭ 42 (+75%)
Mutual labels:  tcp-server

mt4-tcp

Winsock bindings for MetaTrader 4 platform to create experts that act as servers. Clients can connect from any other program over the network.

Usage

Example servers are contained within the experts/ folder which run as servers when loaded into MT4. There are also examples for clients that connect to the server under the clients/ folder. The experts can be modified to stream any data and the connection is bidirectional over TCP.

The best way is to create a expert server that streams the data you require and executes the commands your client will require. There is no fixed protocol because every client might need different data.

We recommend installing the git client on Windows for running the bash scripts. On Linux wine is required to run the MT4 terminal. You can mix platforms and run MT4 on Windows and clients elsewhere over the network.

The experts also run for backtesting but create a lot of networking. It is best to backtest locally so the network is not flooded.

Development

This project is highly experimental. It is aimed to be a microframework for conntecting in and out of MT4. The glue script make.sh is used to move files around between the repo and the MT4 expected folders. The library is written in MQL4.

Folder Structure

  • include/ contains the socket library functions.
  • experts/ contain different example servers built using the library.
  • clients/ contain example python scripts that connect to the servers.
  • config/ contains configuration for experts for backtesting

FAQ

  • Why not use make? The aim is to make the code run out of the box on multiple platforms which might not have make installed, in particular Windows.
  • Why doesn't make.sh backtest work when the MT4 is open? MT4 only allows one running instance on single client terminal. Either use multi-terminal MT4 or duplicate your entire MT4 profile folder to have a second one. Note that you must check which profile make.sh picks up on, usually the first one.

Version

0.1.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].