stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Empty4 Order Plugin: Trade by lines with risk based lot sizing
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=339
Page 1 of 1
Author:  ironrick [ Wed Feb 08, 2012 6:12 am ]
Post subject:  Empty4 Order Plugin: Trade by lines with risk based lot sizing

Empty4 Order Plugin: Trade by lines with risk based lot sizing --

I love this script from sangmane over at FF! I use it all the time when doing manual trading. I know it isn't even close to the complexity and options of MPTM. But it is super handy and simple!

Allows you to trade visually on the chart by dragging a Pending, TP and SL line on the chart with your mouse. It also has all the calcs for auto sizing your positions according to a % of account of risk you define.

A lot of you have probably heard of it before, but just in case and for any noobs out there -- I post it here.

Read all about it here: http://www.forexfactory.com/showthread.php?t=281772

Or here is a copy of the first post -- hope you find it useful:
This plugin inspired by some great scripts / tools available on FF that make trading easier.

I made this simple tool to give me the ability to specify sl/tp for new order by using mouse (dragging line object). Input sl/tp manually is a boring task, especially for lazy trader.

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.

Let me know your experience with this baby

Update
2011.02.24:
- Add notification if program failed to get market watch handle
- When user drag SL/TP line, lines of closed order will be deleted
2011.02.25:
- Add new popup menu item to refresh lines (dll)
- Risk lot is editable, you can type any lot size (dll)
- Files are listed separately
2011.07.10:
- Put latest update (March 16, 2011) on the front page
Author:  AnotherBrian [ Mon Feb 20, 2012 11:01 pm ]
Post subject:  Re: Empty4 Order Plugin: Trade by lines with risk based lot siz

I used this before, but I kept searching for others. I'm not a fan of running dll's, too open to unknown things happening in the background without my knowledge. I prefer the TT2P EA. It also does lot sizing as well and also takes a snap shot of my trades so I can review them at the end of the week.
If your comfortable with running dll's made by other people than this is a great tool for placing manual trades.
Author:  fc29 [ Wed Nov 07, 2012 2:21 pm ]
Post subject:  Re: Empty4 Order Plugin: Trade by lines with risk based lot siz

I find EasyOrder very useful. Thanks.

But when I try to send an order with "JPY" in a pair I got a msg "Not enough Money" while it's not the case with other pair without "jpy" on it.

Can you help me ? Please.

FC
Author:  dietcoke [ Wed Nov 07, 2012 3:36 pm ]
Post subject:  Re: Empty4 Order Plugin: Trade by lines with risk based lot siz

fc29 wrote:I find EasyOrder very useful. Thanks.

But when I try to send an order with "JPY" in a pair I got a msg "Not enough Money" while it's not the case with other pair without "jpy" on it.

Can you help me ? Please.

FC
You might be better off posting this question on the original FF thread
Author:  MurphyMan [ Tue Feb 19, 2013 9:16 pm ]
Post subject:  Re: Empty4 Order Plugin: Trade by lines with risk based lot siz

This is a great tip! :D :D :D

Thanks!
Author:  ironrick [ Wed Aug 07, 2013 11:06 pm ]
Post subject:  Re: Empty4 Order Plugin: Trade by lines with risk based lot siz

Just so everyone knows: Apparently the latest Empty4 now includes drag and drop functionality along with some rudimentary "one click" functions.

BUT! The update appears to have now broken this wonderful tool.

Your mileage may vary...

Many pips,
R
Author:  Mike [ Wed May 28, 2014 7:10 am ]
Post subject:  Re: Empty4 Order Plugin: Trade by lines with risk based lot siz

ironrick ยป Thu Aug 08, 2013 12:06 am wrote:
BUT! The update appears to have now broken this wonderful tool.
There is an update at FF http://www.forexfactory.com/showthread.php?t=281772
Enjoy Mike
All times are UTC Page 1 of 1