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
  #51 (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
  #52 (permalink)  
Old 11-15-2007, 09:27 PM
Member
 
Join Date: May 2007
Posts: 34
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
  #53 (permalink)  
Old 11-16-2007, 01:54 AM
kjhfdgjfhdghdf's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 678
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
  #54 (permalink)  
Old 11-16-2007, 11:40 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,942
Blog Entries: 64
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by derekz View Post
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
Some scripts to open the orders were posted here http://www.forex-tsd.com/159024-post34.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #55 (permalink)  
Old 11-17-2007, 06:44 PM
Junior Member
 
Join Date: Mar 2007
Posts: 25
Dimicr is on a distinguished road
Two useful scripts for manual traders

They send orders very sure!
Attached Files
File Type: zip OrderSendScripts.zip (30.5 KB, 163 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #56 (permalink)  
Old 11-21-2007, 05:59 AM
Junior Member
 
Join Date: Aug 2006
Posts: 2
manCatur is on a distinguished road
Quote:
Originally Posted by Dimicr View Post
They send orders very sure!
is it working bro?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #57 (permalink)  
Old 11-21-2007, 07:45 AM
Member
 
Join Date: Mar 2006
Posts: 49
master001 is on a distinguished road
quite good closing all function

int slippage=5;
void CloseAllOrders()
{

int Retry;
while (OrdersTotal()>0)
{ for (int cnt=OrdersTotal()-1;cnt>=0;cnt--)
{ OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if (OrderType()==OP_BUY)
{ Retry=0; while (Retry<5 && !IsTradeAllowed()) { Retry++; Sleep(1000); }
RefreshRates();
OrderClose(OrderTicket(),OrderLots(),Bid,slippage, Yellow);
Sleep(1000);
}
else if (OrderType()==OP_SELL)
{ Retry=0; while (Retry<5 && !IsTradeAllowed()) { Retry++; Sleep(1000); }
RefreshRates();
OrderClose(OrderTicket(),OrderLots(),Ask,slippage, Yellow);
Sleep(1000);
}
else
{ Retry=0; while (Retry<5 && !IsTradeAllowed()) { Retry++; Sleep(1000); }
OrderDelete(OrderTicket());
Sleep(1000);
}
}
}
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #58 (permalink)  
Old 11-26-2007, 04:32 PM
Junior Member
 
Join Date: Nov 2007
Posts: 15
irclay is on a distinguished road
Simple tool that closes all trades at a given time

Hello

As the topic says, i'm looking for a simple tool/EA that closes all trades at a given hour.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #59 (permalink)  
Old 12-10-2007, 09:25 PM
Junior Member
 
Join Date: Oct 2007
Posts: 17
scottiepip is on a distinguished road
close open position at trendline break

hi guys! i just want to ask you if you know of any script that closes an open position when a trendline(which i drew manually) is broken? thnx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #60 (permalink)  
Old 12-14-2007, 06:06 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,942
Blog Entries: 64
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
The scripts I am using (some people asked me to re-post it by PM because they got errors so I did).
Attached Files
File Type: mq4 Close all open and pending orders.mq4 (1.4 KB, 71 views)
File Type: mq4 Close all open positions.mq4 (1.2 KB, 72 views)
File Type: mq4 CloseAll.mq4 (5.8 KB, 75 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 On
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 05:34 AM.



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