거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

WinSock - MetaTrader 4용 라이브러리

rob
조회수:
25426
평가:
(11)
게시됨:
2009.10.28 12:03
업데이트됨:
2014.04.21 14:54
\MQL4\Include\
WinSock.mqh (12.33 KB) 조회
wsockclnt.mq4 (3.78 KB) 조회
wsockserv.mq4 (5.28 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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 your scripts folder

The wsockclnt.mq4 is a winsock client example that should be put in your scripts folder

Both server and client support the TCP (connection oriented) and UDP (connectionless) protocols.

To run the example attach the server to a MT4 terminal chart, and then attach the client to another chart in the same or any other MT4 terminal even in a different computer. If you use a different computer for the client take care to specify in server_addr the ip address of the computer that executes the server script. The client/server examples are adopted from the code presented here.




SLTP Currency SLTP Currency

This EA will use the deposit currency as Stop Loss and Take Profit for each trade, once profit or loss has been reached it will close the entire trade.

HistoryTraining_V3 HistoryTraining_V3

Pending orders ADDED. This program is created for training on historical data.

Multi Timeframe Candles Multi Timeframe Candles

Display Candles from a higher timeframe on top of your current chart (ex: see H1 candles on top of a M5 line chart)

Stairs strategy Stairs strategy

The multicurrency expert, which uses the "Stairs" strategy