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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Looking for MT4 Script: Close all trades when balance is XXX 17 replies

Script/EA to balance losing trades agianst winning trades 23 replies

Simple EA needed to manage pending trades. 0 replies

EA to manage trades for each pair 1 reply

Employing Protective Stops to Manage Your Trades 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: Looking for a script or EA to manage trades in groups
Exit Attachments
Tags: Looking for a script or EA to manage trades in groups
Cancel

Looking for a script or EA to manage trades in groups

  • Post #1
  • Quote
  • First Post: Dec 27, 2013 3:28am Dec 27, 2013 3:28am
  •  lappies
  • | Joined Dec 2010 | Status: Member | 144 Posts
Hi,

If anyone knows of a script or EA that will enable you to assign trades to groups, and then be able to manage those groups of trades, please direct me to a link or let me know where I can get hold of something similar.

i.e. I have 4 buy trades, I assign the first buy trade to group1, and the other 3 to group2. I need to be able to close group1 or group2 separately.

Will be much appreciated if someone can help me with this.

Cheers!!
  • Post #2
  • Quote
  • Dec 27, 2013 5:27am Dec 27, 2013 5:27am
  •  futurespec
  • Joined May 2011 | Status: If you think I'm mad, I must be mad | 1,058 Posts
If you simply wish to close a group (which may be in any pair) then something like this should do it.
Script ... to go in 'scripts' folder.

You will need to assign a comment to each trade in the group (either manually or from within an EA)
Set mGroup to the same as the comment of the group you wish to close.

Script could be modified to use MagicN if you use an EA to assign one.

NOT TESTED ... so use carefully at first!

HTH

M.
Attached File(s)
File Type: mq4 mn Close Group.mq4   1 KB | 158 downloads
If you think I'm mad, I must be mad
 
 
  • Post #3
  • Quote
  • Dec 27, 2013 5:30am Dec 27, 2013 5:30am
  •  fxdaytrader_
  • Joined Jan 2011 | Status: UberTroll | 1,847 Posts
Quoting lappies
Disliked
i.e. I have 4 buy trades, I assign the first buy trade to group1, and the other 3 to group2. I need to be able to close group1 or group2 separately. Will be much appreciated if someone can help me with this. Cheers!!
Ignored
The most of the ordermanager-eas (like mptm) can do it. Assign different magic numbers to your trade-groups and let the manager-ea do his job ...
PM me with coding requests and I'll probably put you on my ignore list
 
 
  • Post #4
  • Quote
  • Last Post: Dec 27, 2013 5:39am Dec 27, 2013 5:39am
  •  lappies
  • | Joined Dec 2010 | Status: Member | 144 Posts
Thank you, will play around with this.
 
 
  • Platform Tech
  • /
  • Looking for a script or EA to manage trades in groups
  • Reply to Thread
0 traders viewing now
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