Pending order manager

MQL4 Experts Scripts

Specification

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. 

 

  

Responded

1
Developer 1
Rating
(626)
Projects
984
47%
Arbitration
33
36% / 36%
Overdue
97
10%
Working
Published: 6 codes
2
Developer 2
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Free
3
Developer 3
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
4
Developer 4
Rating
(25)
Projects
36
17%
Arbitration
14
14% / 57%
Overdue
3
8%
Free
5
Developer 5
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
6
Developer 6
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 15%
Overdue
32
22%
Working

Project information

Budget
Deadline
to 7 day(s)