Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Tools and utilities


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (9) Thread Tools Display Modes
  9 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-16-2007, 05:06 AM
Junior Member
 
Join Date: Jul 2007
Posts: 14
FXTradepro is on a distinguished road
Close and Reverse Script Modification

I found this Close and Reverse Script here on TSD and was wondering if anyone might be able to add the following functions to the code.

Currently this Script will Close an open Position and immediately place a Trade in the OPPOSITE Direction with the same Lot Size as the Position it just closed. I am looking for someone who can modify this so that the Lot Size of the NEW Position can be entered into the Script as an External Parameter and also be able to set a TP Level in the Script.

Can anyone help?

Thanks

Dan
Attached Files
File Type: mq4 Close and Reverse.mq4 (2.2 KB, 106 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-19-2007, 04:01 PM
Junior Member
 
Join Date: Jul 2007
Posts: 14
FXTradepro is on a distinguished road
Quote:
Originally Posted by FXTradepro View Post
I found this Close and Reverse Script here on TSD and was wondering if anyone might be able to add the following functions to the code.

Currently this Script will Close an open Position and immediately place a Trade in the OPPOSITE Direction with the same Lot Size as the Position it just closed. I am looking for someone who can modify this so that the Lot Size of the NEW Position can be entered into the Script as an External Parameter and also be able to set a TP Level in the Script.

Can anyone help?

Thanks

Dan
Can anybody help out with this request (SEE POST #46).....Any assistance is appreciated.

Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-18-2007, 07:12 PM
Member
 
Join Date: Mar 2007
Location: Portugal
Posts: 87
Cross is on a distinguished road
Close all

Can you people inform me about some EA that closes all open positions if floating P/L goes below a predefined level?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-19-2007, 01:23 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 703
wolfe is on a distinguished road
Quote:
Originally Posted by Cross View Post
Can you people inform me about some EA that closes all open positions if floating P/L goes below a predefined level?

Thanks
Here you go, I made this. Hope it helps. In the external parameter enter a number as a dollar amount for Take_Profit and Stop_Loss. This EA will execute according to the TOTAL VALUE of all open orders, it also deletes any pending orders.

example:

Take_Profit=200
Stop_Loss=-200
Attached Files
File Type: mq4 Close All 1_0.mq4 (2.0 KB, 148 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-23-2007, 04:46 PM
Member
 
Join Date: Mar 2007
Location: Portugal
Posts: 87
Cross is on a distinguished road
Tanks a lot

Quote:
Originally Posted by wolfe View Post
Here you go, I made this. Hope it helps. In the external parameter enter a number as a dollar amount for Take_Profit and Stop_Loss. This EA will execute according to the TOTAL VALUE of all open orders, it also deletes any pending orders.

example:

Take_Profit=200
Stop_Loss=-200
Thanks Wolf
Cross
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-22-2007, 08:04 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,159
matrixebiz is on a distinguished road
Quote:
Originally Posted by wolfe View Post
Here you go, I made this. Hope it helps. In the external parameter enter a number as a dollar amount for Take_Profit and Stop_Loss. This EA will execute according to the TOTAL VALUE of all open orders, it also deletes any pending orders.

example:

Take_Profit=200
Stop_Loss=-200
This is good Now, does it work by specific currency? If not can it be currency specific? Sort of like the attached? but the attached doesn't have value amount.
Attached Files
File Type: mq4 Delete All orders for GBPJPY.mq4 (1.0 KB, 29 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-24-2007, 01:31 PM
forexmoments's Avatar
Senior Member
 
Join Date: Dec 2007
Posts: 366
forexmoments is on a distinguished road
Another one attached.
Attached Files
File Type: mq4 closeall1.mq4 (2.2 KB, 62 views)
__________________
Ash's Signals
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-07-2008, 07:32 PM
Member
 
Join Date: Jul 2006
Posts: 32
agarwalsharma is on a distinguished road
Is there an EA that close all the orders when the equity increase or decrease certain $ ?

Thank you



Quote:
Originally Posted by wolfe View Post
Here you go, I made this. Hope it helps. In the external parameter enter a number as a dollar amount for Take_Profit and Stop_Loss. This EA will execute according to the TOTAL VALUE of all open orders, it also deletes any pending orders.

example:

Take_Profit=200
Stop_Loss=-200
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-15-2007, 09:27 PM
Member
 
Join Date: May 2007
Posts: 37
derekz is on a distinguished road
search a simple ea/script that only buy/sell

hi

I need a script (or ea if have trailing stop support) that simply
buy or sell with SL/TP already set.
More good is if the script have a symbol detection and can
set different sl/tp for more cross.

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-16-2007, 01:54 AM
kjhfdgjfhdghdf's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 679
kjhfdgjfhdghdf is on a distinguished road
Do you mean from an existing indicator?
An EA that buys and sells from an existing indicator?
__________________
Dont worry, bout a thing, cos every little thing, gonna be alright.
The future has not been written.
There is not fate, but what we make for ourselves.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
close all

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/tools-utilities/174-close-all-open-tools.html
Posted By For Type Date
Ind close sume post with one click? - Nogold.com This thread Refback 08-08-2008 11:34 AM
Close all trades with a push of a button? This thread Refback 07-21-2008 03:38 PM
Close all trades with a push of a button? This thread Refback 07-21-2008 03:28 PM
Close all trades !!! This thread Refback 06-24-2008 03:13 AM
Close all trades !!! This thread Refback 06-19-2008 10:53 AM
Close all trades !!! This thread Refback 06-19-2008 09:33 AM
Antara EA yang telah diLIVE test oleh MyMEFx Grup - Page 50 - Nogold.com This thread Refback 12-05-2007 03:58 PM
skrypty close i modify This thread Refback 08-07-2007 04:11 AM
Ind close sume post with one click? - Nogold.com This thread Refback 06-30-2007 03:02 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open/close trade on same bar's close? WNW Expert Advisors - Metatrader 4 2 03-29-2007 05:37 AM
close all open trades ea G-Riper General Discussion 2 08-02-2006 09:41 PM
Close all open positions jonjonau Expert Advisors - Metatrader 4 6 07-12-2006 05:01 AM
Close All Open Positions? lonespruce Metatrader 4 9 06-22-2006 07:20 AM


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



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