Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-02-2006, 09:40 PM
Junior Member
 
Join Date: Oct 2005
Posts: 1
jonjonau is on a distinguished road
Close all open positions

I am trying to find an expert that will close all open positions when an accumulated dollar profit level is reached, does anyone have one.

jonjonau
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 02-03-2006, 12:21 PM
Junior Member
 
Join Date: Oct 2005
Posts: 9
LazyPawn is on a distinguished road
You have 3 scripts here, save them to the MT4\experts\scripts folder. Not sure if that's what you're looking for.
Attached Files
File Type: zip close.zip (1.8 KB, 171 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 02-03-2006, 01:11 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by jonjonau
I am trying to find an expert that will close all open positions when an accumulated dollar profit level is reached, does anyone have one.

jonjonau
Do you mean you want to close all opened position in the case you made a specific total profit in all the positions.
For example: When my total profit is 1000USD close all the opened positions?
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 02-03-2006, 01:28 PM
BrunoFX's Avatar
Senior Member
 
Join Date: Sep 2005
Posts: 816
BrunoFX will become famous soon enough
Quote:
Originally Posted by codersguru
When my total profit is 1000USD close all the opened positions?


Open your speakers : Link audio
__________________
All long voyages always start from the first small steps ...

Last edited by BrunoFX; 02-03-2006 at 02:03 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 02-03-2006, 01:42 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking

Quote:
Originally Posted by BrunoFX
What's the wrong? 1000USD?
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 02-03-2006, 02:15 PM
BrunoFX's Avatar
Senior Member
 
Join Date: Sep 2005
Posts: 816
BrunoFX will become famous soon enough
Hello codersguru,

Not of wrong, but I had believed has a note of humour, because much would like to close all their positions with 10000USD ....


if you want nevertheless to slacken you a small moment even for another thing, follow the link above and to open your speakers.
__________________
All long voyages always start from the first small steps ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 07-12-2006, 06:01 AM
Junior Member
 
Join Date: Nov 2005
Posts: 26
jerseydevil20 is on a distinguished road
Yes!

Quote:
Originally Posted by codersguru
Do you mean you want to close all opened position in the case you made a specific total profit in all the positions.
For example: When my total profit is 1000USD close all the opened positions?
Let's resurrect this old thread if you don't mind...

I can't speak for jonjonau, but I am looking for the ability to do just this (and so far unsuccessfully trying to hack my way through altering some code from another EA). I stumbled across this discussion by accident. Does anybody have something like this developed? Thanks!

EDIT - The answer is yes - Codersguru did (surprise! ): http://www.forex-tsd.com/29024-post4.html
Now if I could just figure out how to implement this (my weak prog skills frustrates the heck out of me)... Thanks in any case Codersguru

Last edited by jerseydevil20; 07-12-2006 at 06:22 AM. Reason: follow-up
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EA to close positions after profit/loss hit james2ko Expert Advisors - Metatrader 4 1 05-22-2007 05:03 AM
Open/close trade on same bar's close? WNW Expert Advisors - Metatrader 4 2 03-29-2007 06:37 AM
Can't get EA to close 2 Open positions??? skorcht Expert Advisors - Metatrader 4 4 08-07-2006 11:15 PM
Close All Open Positions? lonespruce Metatrader 4 9 06-22-2006 08:20 AM


All times are GMT. The time now is 03:09 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.