Pending order manager

MQL4 专家 脚本

指定

Pending order Manager for MT4

 

I need a manager for pending orders.

 

I want to enter the following:
1.       Dropdown with instrument. (forex, gold, silver, indices)
2.       Sell or Buy limit order.
3.       Execution price.
4.       Stop loss.
5.       Comment.

 

The manager should calculate the following:
1.       Lot size based on X % risk of account.
2.       Adjust the Stop loss price to account for the current spread.
3.       Take Profit X times the SL. (if SL is 20 pips, X=2 then TP should be 40 pips)
 

Show the following information where I enter the order:
1.       Current spread.
2.       Stop loss in pips (after I have entered price and SL.)
3.       Calculated lot size.
4.       Potential risk and profit if TP/SL is hit in USD.

 

Trade Management:
1.       As soon as a pending order has been executed ALL other pending orders should be temporary disabled for a period of X minutes.
2.       After X minutes the disabled pending orders should be put back. If the execution price was hit during the time the order was disabled, the order should be Permanent deleted and not put back.
3.       After price have moved X% in favor SL should be moved to Break even. (50% being half way from entry to TP etc.)
4.       After SL have been moved to BE, enable trailing SL at the same amount of pips as the original SL. 

 

Misc.
1.       Possibility to release an order from the manager so the trade can be managed manually.
2.       List pending orders so they can easily be deleted. 

 

  

反馈

1
开发者 1
等级
(626)
项目
984
47%
仲裁
33
36% / 36%
逾期
97
10%
工作中
发布者: 6 代码
2
开发者 2
等级
(258)
项目
396
28%
仲裁
69
19% / 49%
逾期
121
31%
空闲
3
开发者 3
等级
(219)
项目
370
42%
仲裁
145
17% / 41%
逾期
124
34%
空闲
发布者: 38 代码
4
开发者 4
等级
(25)
项目
36
17%
仲裁
14
14% / 57%
逾期
3
8%
空闲
5
开发者 5
等级
(1156)
项目
1462
63%
仲裁
21
57% / 10%
逾期
43
3%
空闲
6
开发者 6
等级
(64)
项目
144
46%
仲裁
20
40% / 15%
逾期
32
22%
工作中

项目信息

预算
截止日期
 7 天