Spezifikation
Hi all coder,
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