Create a sciprt to open/close order

仕事が完了した

実行時間65 日
依頼者からのフィードバック
Good Job

指定

I need help to have a new mod script existing famous EasyOrder

https://www.forexfactory.com/showthread.php?t=281772

It also monitor existing trade sl/tp, which means it will modify existing sl/tp and open price (for pending order) when it detected a different value between order's sl/tp and the corresponding sl/tp line object.

Other feature :
- lot size calculated automatically based on the specified risk.
- a simple popup menu that allows you to quickly close an order based on ticket number

Unlike most line object based trading tools, this program doesn't use EA for monitoring lines object every tick, or a script which uses continuous looping with certain delay. It detects mouse dragging activities (hence why it uses dll) and fire the necessary script. All script will return once its job (opening new order / modifying existing orders) finished.

To use:
- download attached zip file. this zip contains 5 scripts (EasyOrder...mq4) and one EasyOrder.dll
- extract mq4 files to scripts folder, dll file to libraries folder
- attach EasyOrder to chart where you want to open new order or modifying exisiting orders
- you should only attach / run EasyOrder.mq4 scripts. Other scripts named EasyOrder_Draw, EasyOrder_Submit, EasyOrder_XXXX is companion scripts that will be run by

dll, not to be run manually

New Order
- to prepare new order, click combo box that has text "New Order", choose Buy Stop (for example)
- program will draw three lines, each of them are sl (red), open price (gold) and tp (blue). drag them to the required position.
- click submit, read progress on alert window

Modify SL/TP
- drag SL/TP line

Close Order
- click Close button, you will see a popup showing the list of order's ticket

Remove Window
- Right click on any part of the order window, on the popup menu, choose remove.


Instead of one order, i need a option to have 2 or 3 order

Eg, if i need 3 order, it will open with one SL but 3 different TP.

I need a dropdown to input my SL, TP1, TP2,& TP3


I going to open multiple trade and the script should not limit the number i would like open

For the buy/sell market order, all the SL, and TP will adjust according to order price

For buy/sell limit/stop

1. All the SL and TP will move according to the input if i adjust the order price

2. When i adjust SL, the rest of order price and TP should maintain

3. When i adjust TP, the rest of the order price, Sl and TP should maintain




Basically i need everything as per the original script, to choose
1.lot
2.risk (in %)

then new option to choose
1. multiple TP like pic above
2. SL and TP in "point" or "%"
AND (forgot to mention this) if i choose the %, the TP adjust accordingly once i adjust the SL, but when i adjust TP, the rest should maintain no chance

Source code will be needed at the end.

応答済み

1
開発者 1
評価
(19)
プロジェクト
35
26%
仲裁
10
30% / 70%
期限切れ
5
14%
2
開発者 2
評価
(209)
プロジェクト
357
32%
仲裁
33
42% / 27%
期限切れ
106
30%
取り込み中
パブリッシュした人: 1 code
3
開発者 3
評価
(1)
プロジェクト
2
0%
仲裁
0
期限切れ
1
50%

プロジェクト情報

予算
30+ USD
締め切り
最高 7 日