- Tháng hai 20, 2014
- Gửi bởi: Nhóm ngoại hối Wiki
- Loại: Chuyên gia tư vấn
Tên: |
|
||
Tác giả: | lập trình viên (2014.02.17 14:07) | ||
Đã tải xuống: | 122 | ||
Tải xuống: |
|
||
Tác giả:Coders' Guru Sự miêu tả:While discovering the MQL4 New build (610) capabilities I found a very useful even OnTrade() highlighted in MetaEditor. I clicked F1 to see its implementation but unfortunately it's not supported yet in MQL4. That's why I created my own Simulator. This code will raise events on these cases: OnOpen: When open a new instant order. OnModify: When the order modified. OnStopLoss: When the order close because its StopLoss. OnTakeProfit: When the order close because its TakeProfit. OnClose: When the order close (Not by SL or TP). Please give it a test and tell me your comments.
Trân trọng, Coders' Guru
Hình ảnh: |