MQL4-TradeManager
所属分类:金融证券系统
开发工具:MQL5
文件大小:0KB
下载次数:0
上传日期:2017-12-29 06:06:43
上 传 者:
sh-1993
说明: MQL4.的OnTrade(发生Trade事件时调用此函数)。,
(OnTrade (This function is called when the Trade event occurs) for MQL4.,)
文件列表:
LICENSE (1073, 2017-12-28)
MQL4/ (0, 2017-12-28)
MQL4/Include/ (0, 2017-12-28)
MQL4/Include/mql4_modules/ (0, 2017-12-28)
MQL4/Include/mql4_modules/TradeManager/ (0, 2017-12-28)
MQL4/Include/mql4_modules/TradeManager/TradeManager.mqh (7330, 2017-12-28)
sample/ (0, 2017-12-28)
sample/sampleEA.ex4 (10242, 2017-12-28)
sample/sampleEA.mq4 (798, 2017-12-28)
# MQL4-TradeManager
OnTrade (This function is called when the Trade event occurs) for MQL4.
## Description
Since there was a case where we wanted to execute processing every time a transaction occurred, as a result of checking, there was a predefined event called OnTrade in MQL5.
However, this OnTrade was not executed in MQL4.
Therefore, this module is created to reproduce the operation close to OnTrade.
## Requirement
- [MQL4-OrderData](https://github.com/KeisukeIwabuchi/MQL4-OrderData)
## Install
1. Download TradeManager.mqh
2. Save the file to /MQL4/Include/mql4_modules/TradeManager/TradeManager.mqh
## Usage
1. Include TradeManager.mqh.
2. Execute TradeManager::Init(); in OnInit function.
3. Execute TradeManager::Run(); in OnTick function.
4. Implement the OnTrade function.
The OnTick detects changes in position, and if there is a change, the OnTrade function is executed.
近期下载者:
相关文件:
收藏者: