• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 1:28am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:28am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

How to calculate forex position sizing / lot sizing 17 replies

MT4 plugin for simultaneous trade on friend's account? 1 reply

BUY run profit 1 lot, SELL LIMIT 2 LOT down again n BUY 1 lot - EA Reqd 5 replies

Help with Lot sizing 3 replies

IBFX Lot sizing 10 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 211
Attachments: MT4 Order Plugin: Trade by lines with risk based lot sizing
Exit Attachments
Tags: MT4 Order Plugin: Trade by lines with risk based lot sizing
Cancel

MT4 Order Plugin: Trade by lines with risk based lot sizing

  • Last Post
  •  
  • 1 2223Page 242526 65
  • 1 23Page 2425 65
  •  
  • Post #461
  • Quote
  • Oct 4, 2012 1:03am Oct 4, 2012 1:03am
  •  vega77
  • | Joined Oct 2012 | Status: Junior Member | 1 Post
it was a great tools.. can someone edit script to remove SL & TP?
 
 
  • Post #462
  • Quote
  • Oct 4, 2012 8:01am Oct 4, 2012 8:01am
  •  nazmulhyder
  • | Joined Jun 2012 | Status: Member | 5 Posts
hi,
this script is a unique one i have found ever. it would be more wonderful if you can add trailing stop to this script. plz reply.
 
 
  • Post #463
  • Quote
  • Edited 5:24pm Oct 4, 2012 3:30pm | Edited 5:24pm
  •  xrismak
  • | Joined Apr 2012 | Status: Member | 42 Posts
Hi,
I tried to run this script but nothing seems to be happening, I downloaded it and put the mq4 files to scripts folder, dll file to libraries folder, I run windows 7 and my Criminals are Hantec Markets, I have tried to attach the script to a chart but I can not see any lines, can someone help please.


many thanks,

xrismak.
Attached Image (click to enlarge)
Click to Enlarge

Name: easy order script on mt4 platform.gif
Size: 77 KB
 
 
  • Post #464
  • Quote
  • Oct 4, 2012 10:19pm Oct 4, 2012 10:19pm
  •  xrismak
  • | Joined Apr 2012 | Status: Member | 42 Posts
Quoting xrismak
Disliked
Hi,
I tried to run this script but nothing seems to be happening, I downloaded it and put the mq4 files to scripts folder, dll file to libraries folder, I run windows 7 and my Criminals are Hantec Markets, I have tried to attach the script to a chart but I can not see any lines, can someone help please.


many thanks,

xrismak.
Ignored
Ok I have set it up finally, took having to finally locate the options tab and set things up.
Attached Image (click to enlarge)
Click to Enlarge

Name: easy order script on mt4 platform 1.gif
Size: 87 KB
 
 
  • Post #465
  • Quote
  • Oct 4, 2012 10:29pm Oct 4, 2012 10:29pm
  •  xrismak
  • | Joined Apr 2012 | Status: Member | 42 Posts
Quoting luiemo
Disliked
Piece Of The Pie
There Are Enough Pips For All Of Us
Member Since Jul 2006
153 Posts

http://www.forexfactory.com/images/icons/icon1.gif
So what I'm hearing you say is once I close my previous manual orders I had placed, I can use the script and it will work fine.



Hi there....
Trying to set up this script, but I can't make it work... maybe my english is not good....
I...
Ignored

Hello luiemo,

On your MT4 Platform go to Tools which the fifth Icon from the left on top and select Options or better still use Ctrl - O option then in the drop down menu select Expert Advisors and click the Allow Live Trading Tab then close and that will enable you to use EASY ORDER.
Please see the attachment.

Happy Trading.

xrismak.
Attached File(s)
File Type: doc Set up Easy Order.doc   239 KB | 1,128 downloads
 
 
  • Post #466
  • Quote
  • Oct 9, 2012 1:43am Oct 9, 2012 1:43am
  •  Bugman2012
  • | Membership Revoked | Joined Jan 2012 | 9 Posts
Can anyone Mod EasyOrder to risk a fixed amount for e.g. $50 for every trade!!

Surely there must be someone smart enough
 
 
  • Post #467
  • Quote
  • Oct 15, 2012 1:02pm Oct 15, 2012 1:02pm
  •  DaTrader
  • | Joined May 2007 | Status: Member | 146 Posts
I have one very large complaint about this thread and this script, why can't I give it a five star rating!!!
This thing is a little gem, Thank You So Much!
 
 
  • Post #468
  • Quote
  • Nov 7, 2012 11:50am Nov 7, 2012 11:50am
  •  MarkW1979
  • | Joined Jan 2012 | Status: Member | 30 Posts
Superb tool.

Very much appreciated, thanks.
 
 
  • Post #469
  • Quote
  • Nov 7, 2012 5:25pm Nov 7, 2012 5:25pm
  •  fc29
  • | Joined Apr 2011 | Status: Member | 3 Posts
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
 
 
  • Post #470
  • Quote
  • Nov 12, 2012 9:24am Nov 12, 2012 9:24am
  •  fc29
  • | Joined Apr 2011 | Status: Member | 3 Posts
Quoting fc29
Disliked
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
Ignored
Well, I have to modify, I dont know why but it is ok wiyh FXCM demo acc. but not with Alpary_UK
 
 
  • Post #471
  • Quote
  • Nov 14, 2012 10:57am Nov 14, 2012 10:57am
  •  Jikkie
  • | Joined May 2011 | Status: Member | 72 Posts
This is a lovely tool.

I have edited in accordance with #244 to give default stop and take profit.

My request is, would it be possible to have these move as you drag the entry line... so wherever you position the entry line, the stop and tp are there?
 
 
  • Post #472
  • Quote
  • Edited 5:31am Nov 17, 2012 2:30am | Edited 5:31am
  •  alex41
  • | Joined Nov 2012 | Status: Junior Member | 1 Post
First of all I would like to thank you for demonstrating such an awesome idea realized in this plugin.
I modificated it for a bigger functionality and informativity, in my opinion. But in final stage of realising my idea I faced a problem. Sangmane, could you please change a little bit EasyOrder.dll for me. I need you to change the type of array aticket[] from integer(int) to string and form the line of order number for the opening list of orders, i.e. string with information created script EasyOrder_Close and writes to the array aticket[], EasyOrder.dll only displays the text of the array.
I want that in this list it would be possible to see profit/loss in point or account currency for open orders or distance till current price for pending orders,example:
#10123412 BL 105
#10123468 B -67
#10123504 S 46
Where the letters mean order operation type for the selected order(B-Buy,S-Sell,BL-BuyLimit,asf) and number after them means profit/loss or distance.
Because the type of array is aticket[] int and maximal value of ticket number is restricted, I get it not very ergonomically:
#10123412
#300105
#10123468
#11067
#10123504
#20046
Example #20046:
First number 2 indicates the type of order (1-Buy,2-Sell,3-BuyLimit,asf),
Second number 0 positive (1-negative)
Third number 0 just separator
Then the value itself 46
and we get information
ticket #10123412 buylimit distance 105 pips (#300105)
ticket #10123468 buy loss 67 pips (#11067)
ticket #10123504 sell profit 46 pips (#20046)
Sangmane please help and then after changes in code, if You let me, I will place mine modification of this plugin in this branch.
 
 
  • Post #473
  • Quote
  • Nov 23, 2012 5:40am Nov 23, 2012 5:40am
  •  rengel
  • | Joined Feb 2010 | Status: Member | 22 Posts
Quoting sangmane
Disliked
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...
Ignored
Hi,
I installed exactly how you indicated, 4 mq4 files into experts/scripts and 1 dll file into experts/libraries then restarted mt4
but it doesn't do anything at all...
I drag the "EasyOrder" script in the scripts folder inside the navigator onto the chart...
I wonder what is going wrong
thanks for the help
 
 
  • Post #474
  • Quote
  • Edited 5:51pm Nov 26, 2012 4:30pm | Edited 5:51pm
  •  ramy3
  • | Membership Revoked | Joined Oct 2008 | 923 Posts
Hey guys,

Spent all day modifying this a bit. I did not like the way it placed SL and TP beforehand, so i took some code from here and there and made it so it places them after your trade is placed at the amount of pips predefined. It also loads automatically and you can set your settings thru the Expert advisor window.

I added time based SL and TP they will automatically adjust to your settings at the time you predefined when a new trade is placed. They are set with your PC time, not the sever time.

You can drag and modify all your orders. It does not work with the risk based parameter so far. It gives a invalid stop msg. Maybe someone could look into this. I don’t use the risk parameter. Works great with the lot setting.

It works fine on my 5 digit broker accounts, not sure about the 4 digit ones I haven’t tried it.

It also shows you the pip distance of your SL and TP and the ticket number.

P.S might be bugs, none that i know of yet. So far all works ok here. Try it out on demo accounts first. I will not be putting in any more time on it unless I find some bugs or add some features later on, so feel free to mod it to fit your needs if need be.

And, I commented out the alerts, and made the order box a bit bigger.

I am not a programmer ,so keep that in mind. I am just trying to stay busy a bit, lol.

Hope you like it.

Easy order settings.mq4 goes in your experts folder the other ones go in the scripts folder. Easyorder.dll goes in your libraries folder.

Thank you again sagmane for this great gem of a tool!
Attached Image (click to enlarge)
Click to Enlarge

Name: ScreenShot003.png
Size: 28 KB
Attached File(s)
File Type: zip experts.zip   15 KB | 565 downloads
Fuck Forex Factory.Wake up people.
 
 
  • Post #475
  • Quote
  • Nov 27, 2012 3:33pm Nov 27, 2012 3:33pm
  •  ramy3
  • | Membership Revoked | Joined Oct 2008 | 923 Posts
Fixed some wording.
Fixed the pips and ticket number not staying in place. You can move the text around now in the settings.
Fixed line style, colors, fonts and show not show options for the numbers and more…
Fixed the price line not deleting after closing a limit order.
Cleaned up coding a bit, it’s a bit “perkier” now.

Hope you like.

Not working still:
The risk based setting, it gives an invalid stop message. I’ll leave that to someone else…

P.S. Thank you guys for all your great contributions to this thread. Never could have done it without your coding skills.

Happy trading!
Attached File(s)
File Type: zip EasyOrder Settings V2.zip   16 KB | 503 downloads
Fuck Forex Factory.Wake up people.
 
 
  • Post #476
  • Quote
  • Edited 12:46pm Nov 28, 2012 8:49am | Edited 12:46pm
  •  ramy3
  • | Membership Revoked | Joined Oct 2008 | 923 Posts
Could someone help me fix the order text numbers flashing in v2? EasyOrder Settings V2.zip They work fine until I add some indicators that have a lot of math/variables. Tried all morning with different variations of delete functions but they still “blink”. It’s annoying.

The rest works fine so far.

Thks.
Fuck Forex Factory.Wake up people.
 
 
  • Post #477
  • Quote
  • Edited Nov 29, 2012 5:04am Nov 28, 2012 11:27am | Edited Nov 29, 2012 5:04am
  •  ramy3
  • | Membership Revoked | Joined Oct 2008 | 923 Posts
Here is the set of moded files for v2 mod in case some of you guys have the “ blinking “ problem too.

Delete previous v2 .mq4 and .ex4 files. The files go in the same folder names in your MT4 folder. Pretty straight forward. Attach EA to chart and add the indicator to your chart.

Enjoy!

God, I need to find other things to do, lol.

Risk based not working, only lot based works for now.

Still would like to get the original v2 to stop "blinking" though...
Attached File(s)
File Type: zip EasyOrder Settings V2 Mod.zip   18 KB | 463 downloads
Fuck Forex Factory.Wake up people.
 
 
  • Post #478
  • Quote
  • Edited 7:46pm Dec 6, 2012 11:51am | Edited 7:46pm
  •  ramy3
  • | Membership Revoked | Joined Oct 2008 | 923 Posts
EasyOrder Settings v3 Stealth.

Had some spare time this morning.

Works for 4 and 5 digit brokers.

Cleaned up my coding a bit.

Added Stealth mode with movable lines. Hard Sl&TP are still available with movable lines.

Risk lot sizing not working, Just lot sizes.

Remove all previous .ex4 and .mq4 files. Might be better if you compile these files after installation. Attach EA and Indicator to chart.

Line size and width for limit order lines are adjustable on top of the submit and draw file, see screenshot. The rest is settable via the EA window.

Enjoy!

In the next v4 everything works (including Risk sizing) and everything is adjustable form the EA window, But I am having an issue with the lines moving around with the price. Still working on that. Will see how far I get given my limited coding skills…
Attached Image
Attached File(s)
File Type: zip EasyOrder Settings v3 Stealth.zip   18 KB | 480 downloads
Fuck Forex Factory.Wake up people.
 
 
  • Post #479
  • Quote
  • Edited 4:37pm Dec 14, 2012 5:58am | Edited 4:37pm
  •  ramy3
  • | Membership Revoked | Joined Oct 2008 | 923 Posts
Minor bug fix for v3 Stealth: While placing a couple of limit orders yesterday, I noticed that the limit price line after the trade is closed was not getting deleted. It now gets deleted. And the stealth lines jumped around a very few times for no reason.

You can always delete the lines via the refresh lines option on the EasyOrder window. Or, switch time frames if some lines are left behind at times when the trade is closed out. Issues seem fixed.

One other bug i am working on, which should be the final one left, is the lines not deleting in stealth mode after a sell order is closed. Works ok with a buy order, but not the sell. The trade closes,but the lines come back. Going through the code for now.

P.S. In non stealth mode everything works as it should for lot size trading.

Hope you like. Missed a trade while posting this, damn…

Still keep in mind i am not a coder. I am enjoying the challenge of figuring this out. it's keeping me busy...
Attached File(s)
File Type: zip EasyOrder Settings v3 Stealth delete line fix.zip   19 KB | 507 downloads
Fuck Forex Factory.Wake up people.
 
 
  • Post #480
  • Quote
  • Dec 14, 2012 12:33pm Dec 14, 2012 12:33pm
  •  bergvall63
  • | Joined Nov 2009 | Status: Member | 1 Post
Hi there,

First of all Thank You Sangmane for this wonderful plug-in. I use it every day for quick short term trades. It is wonderful.

I use EasyOrder together with a "close 50%" script to be able to take partial profit "on the fly" so to speak.

The problem I have is that if I use the Risk based part of EasyOrder, a lot of times the lot size is an odd number, for example 0.89 lots. The Close 50% script will NOT round up/down to the closest available lot size and close that portion of the trade.

I have been using the fixed lot size, but that takes away some of the flexibility. My SL is different every time I take a trade, so I have to change the fixed lot size every time to maintain a somewhat fixed percentage risked per trade.

The two possible solutions I can think of are:

1. To change the "close 50%" script somehow to take the nearest lot size if the lot is an odd number. Unfortunately it is an EX4 file. If someone happens to have another close half script, I would love to try that out.

2. To change the EasyOrder script to force the the lot size to be the nearest even number.

My coding skills are unfortunately very limited (non existent). I can copy paste, but only if I know exactly where to do it

If someone with some coding skills could point me in the right direction, I would be forever in your gratitude.

Anders
 
 
  • Platform Tech
  • /
  • MT4 Order Plugin: Trade by lines with risk based lot sizing
  • Reply to Thread
    • 1 2223Page 242526 65
    • 1 23Page 2425 65
1 trader viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023