Forex



Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register More recent 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
  #391 (permalink)  
Old 08-25-2009, 06:02 AM
Junior Member
 
Join Date: May 2008
Posts: 3
mrheredia is on a distinguished road
Quote:
Originally Posted by newdigital View Post
'Close all' scripts for MT4.
Close all open and pending orders.mq4
The "Close all open and pending orders.mq4" script works like a charm on a live account.
Make sure TOOLS / OPTIONS / EXPERT ADVISORS / ENABLE EXPERT ADVISORS are checked in.
You can close any open order from any pair.
Thanks NewDigital!
Attached Images
File Type: jpg 1.jpg (55.6 KB, 270 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
  #392 (permalink)  
Old 08-27-2009, 03:32 AM
Junior Member
 
Join Date: May 2008
Posts: 21
plasmapants is on a distinguished road
Script to adjust sl/tp of multiple open and pending orders

I am looking for a script or ea which i can use to change the stoploss and takeprofit price of all the positions i have open and all the pending orders i have placed on a particular chart.

I have both buy and sell orders open and pending orders for both buy and sell aswell, so may need 1 script to deal with all the buys and another to deal with all the sells.

If it already exists, i would be grateful if someone could point me in the right direction.

Thanks.
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
  #393 (permalink)  
Old 09-03-2009, 03:25 AM
Junior Member
 
Join Date: Feb 2009
Posts: 1
catthinker is on a distinguished road
Question Can I stop an EA by itself

Hello, I want to control the max loss of an EA---When the loss reaches a certain amount, then stop it. I know I can set a varible as a flag in start() to do that. But its not ideal since the flag will lose in many cases(like restarting the computer).

So I have to know
1) Is there a better way to tell MT4 :not run a certain EA by that EA itself ?
2) Can I use an EA to switch off MT4 expert advisor function?
one more question occurs to me
3)If my MT4 is running, but I lose the internet connection or the market is closed. Then after its back to normal, will the EA start to run from Init() automatically or from start()?
Thanks ahead.
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
  #394 (permalink)  
Old 09-03-2009, 08:17 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
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
I moved your post to this thread. Because some time ago I posted some link or tool (EA or script, author is KimIV) which can close Metatrader and more.
Do not remember the post number now so you can check this thread by yourself.
__________________
My blog on TSD
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
  #395 (permalink)  
Old 10-03-2009, 09:39 PM
Junior Member
 
Join Date: Nov 2007
Posts: 1
habibiey is on a distinguished road
open limit order based on first entry order

Hi,

i am looking an EA that opens limit order based on instant order that i placed manually.
if I open buy order manually, it will open buy limit (max 8 orders) with 30 pipstep
and every limit order is double lot. That means, If i manually opens order with 0.1 lot, the EA will open first limit order with 0.2 lot, 0.4 lot, 0.8 lot, 1.6 lot and so on. after if my total profit is usd XXX, it will close all open and pending orders simultanously. Is there any of this EA out there? I would be appreciate.

Thanks,

habib.
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
  #396 (permalink)  
Old 10-03-2009, 10:35 PM
marcelcorzo's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Colombia
Posts: 238
marcelcorzo is on a distinguished road
Quote:
Originally Posted by habibiey View Post
Hi,

i am looking an EA that opens limit order based on instant order that i placed manually.
if I open buy order manually, it will open buy limit (max 8 orders) with 30 pipstep
and every limit order is double lot. That means, If i manually opens order with 0.1 lot, the EA will open first limit order with 0.2 lot, 0.4 lot, 0.8 lot, 1.6 lot and so on. after if my total profit is usd XXX, it will close all open and pending orders simultanously. Is there any of this EA out there? I would be appreciate.

Thanks,

habib.
You can use many Martingaled Eas like 10points3, but those who I know don't put limit orders, they simply put orders in a Martingale form. Anyway, there will be opened trades when the price reaches some pips against the first one, either with market or limit orders.
__________________
http://www.forex-tsd.com/raw-commerc...-accounts.html - Managed Accounts
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
  #397 (permalink)  
Old 10-07-2009, 03:17 PM
Junior Member
 
Join Date: Jul 2007
Posts: 10
Empori is on a distinguished road
need script for closing two positions from two different charts

Hello everybody fantastic programers and users!

I have the next problem:
Because I trade manual simulatensly eur/usd and usd/chf (buy or sell 1 lot eurchf and buy or sell 1.5 lots usdchf ) on different charts I need a script which close both position in the same time for example 10p profit total.Is there such a script, is it a possibility this script to check both charts, calculate and close both positions on profit given on me in the settings.

I read almost all threads here, but can't find necessery script for me.Perhaps it exist but I don't which one to use.Can help me someone?Thank you and happy trading!
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
  #398 (permalink)  
Old 10-08-2009, 01:07 PM
marcelcorzo's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Colombia
Posts: 238
marcelcorzo is on a distinguished road
Quote:
Originally Posted by Empori View Post
Hello everybody fantastic programers and users!

I have the next problem:
Because I trade manual simulatensly eur/usd and usd/chf (buy or sell 1 lot eurchf and buy or sell 1.5 lots usdchf ) on different charts I need a script which close both position in the same time for example 10p profit total.Is there such a script, is it a possibility this script to check both charts, calculate and close both positions on profit given on me in the settings.

I read almost all threads here, but can't find necessery script for me.Perhaps it exist but I don't which one to use.Can help me someone?Thank you and happy trading!
You'll need an EA, not a script. A script is a one-time execution, and you need to put it manually, so you are not automating almost anything, unless the script puts TP in many trades. If you trade manually, why you don't put the TP in the moment of entering the trade?
__________________
http://www.forex-tsd.com/raw-commerc...-accounts.html - Managed Accounts
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
  #399 (permalink)  
Old 10-13-2009, 04:36 PM
Robinhood69's Avatar
Junior Member
 
Join Date: Feb 2009
Posts: 6
Robinhood69 is on a distinguished road
Question How can I set up One click multiple orders

Hello Everyone,

I have a question about How can I set up One click multiple orders same lot orders with different profit targets with MT4?

Example:

3 .05 Lots with a 20 pip Stop Loss but with
lot #1 has a 5 pip TP
lot #2 has a 10 pip TP
lot #3 has a 20 pip TP

Is there a way to set something like that in MT4, I use to use NinjaTrader platform and NinjaTrader has that capability and I wonder if MT4 can do that?

Thanks,

Robinhood69
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
  #400 (permalink)  
Old 10-13-2009, 05:05 PM
Junior Member
 
Join Date: Feb 2009
Posts: 2
slimmpete is on a distinguished road
Set2StopOrders with OCO

Hey guys,

I am looking to modify a script to add the functionality of OCO. The Set2StopOrders.mq4 can be downloaded from Set2StopOrders - MQL4 Code Base. Is there an EA out there that will delete (cancel) the other side of a 2 straddling orders that are manually placed. It does not have to do anything else.

Thanks
Pete
Attached Files
File Type: mq4 Set2StopOrders.mq4 (3.9 KB, 9 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
Reply

Bookmarks

Tags
close, close all, Close all open positions.mq4, close all position script, close all positions, close all positions in MT4, close all script, close all trades, closeall, ddetool, forex, mt4 close all script, mt4 close all trades, open close, pending order ea, profit, script, scripts, stomper, stop, tools, trades, trailing


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
Open/close trade on same bar's close? WNW Expert Advisors - Metatrader 4 2 03-29-2007 06:37 AM
close all open trades ea G-Riper General Discussion 2 08-02-2006 10:41 PM
Close all open positions jonjonau Expert Advisors - Metatrader 4 6 07-12-2006 06:01 AM
Close All Open Positions? lonespruce Metatrader 4 9 06-22-2006 08:20 AM


All times are GMT. The time now is 05:44 PM.



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