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
등급
(622)
프로젝트
975
46%
중재
32
38% / 34%
기한 초과
96
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%
중재
19
42% / 16%
기한 초과
32
22%
무료

프로젝트 정보

예산
기한
 7 일