Forex



Go Back   Forex Trading > Downloads > Tools and utilities
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
  #101 (permalink)  
Old 02-17-2008, 09:01 AM
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
Quote:
Originally Posted by Rambaldi View Post
Hi,

i have a big problem, i try to code a script to "close a Part of a actuall Position", but my code skills are not so well, is there any chance to find this script?

Many Thanks, Ram
Not a problem at all : just put the quantity of lots you want to close in the OrderClose() function.
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
  #102 (permalink)  
Old 02-17-2008, 05:07 PM
Junior Member
 
Join Date: Nov 2007
Posts: 1
Dawny is on a distinguished road
Smile Request Script for OPen Order

4 all coder Meta here, Please help me to make this script. I need 8 srcipt for simple Open Order.. So this will make open order at the same time. And this is the rule... :

Script I :

Buy : 1.5 lot TP : 50 pip SL : 0
Buy : 0.25 lot TP : 100 pip SL : 0
Buy : 0.25 lot TP : 200 pip SL : 0

Script II:

Buy : 6 lot TP : 50 pip SL : 0
Buy : 0.25 lot TP : 100 pip SL : 0
Buy : 0.25 lot TP : 200 pip SL : 0

Script III
Buy : 27 lot TP : 50 pip SL : 0
Buy : 0.25 lot TP : 100 pip SL : 0
Buy : 0.25 lot TP : 200 pip SL : 0

Script IV
Buy : 50 lot TP : 50 pip SL : 0
Buy : 40 lot TP : 50 pip SL : 0
Buy : 8 lot TP : 50 pip SL : 0
Buy : 0.25 lot TP : 100 pip SL : 0
Buy : 0.25 lot TP : 200 pip SL : 0

And for script 5 until 8 is same like above, but the status is sell.. Thanks before 4 all
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
  #103 (permalink)  
Old 02-29-2008, 05:53 AM
etrade's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 278
etrade is on a distinguished road
Script for conditional trade

Is there any script or method to execute trades conditionally on MT4 ?

I mean for instance opening a new trade (on buy/sell limit) only and only if an old one is closed

or maybe a script to limit the number of trades ... of course it should be simple to change the setting as it needs to be set up regularly
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
  #104 (permalink)  
Old 03-03-2008, 02:01 PM
Junior Member
 
Join Date: Mar 2008
Posts: 6
HeftiFX is on a distinguished road
Trade nonexsitent crosses with EA or script?

Hello,

my broker is ok, but it has very high spread on EURAUD and it does not offer CADCHF. But i like to trade both, since im making superior profit with both crosses.

My idea is to trade EURAUD trhough EURUSD long and AUDUSD/short. This will equalize USD and end up in EURAUD. But it is quite unhandy to to open both (eurusd and audusd) in the same time.

So i thought i could programm a script that opens these positions for me, and also cloeses both when i want it to.

I am very new to mql4 and i have never programmed such, so besides the question how the code must look like, the next question is, should it run as a script or EA?

Note: this type of trading is good for saving spreas as well: e.g. EURAUD has 10 pips spread, EURUSD has 2 and AUDUSD has 3, so for trading EURAUD my sepcial way, will save 5 pips spread. This works out for all major currencies with minor crosses, like GBPAUD (great for trading) or GBPCAD or EURCAD.

I am open to all ideas and input regarding programming AND the trading idea itself.
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
  #105 (permalink)  
Old 03-07-2008, 03:21 AM
Telac's Avatar
Junior Member
 
Join Date: Jan 2008
Posts: 7
Telac is on a distinguished road
Looking for script/EA for manual scalping

Does anyone know of a simple script or EA that will allow you to enter buy limit/sell limit TP/SL parameters so you can bypass the 10 pip limits of the order entry box of the MT4 terminal. It would be a wonderful tool to use in manual scalping situations allowing you a bit more freedom from the mouse and screen

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
  #106 (permalink)  
Old 03-07-2008, 03:29 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,410
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by Telac View Post
Does anyone know of a simple script or EA that will allow you to enter buy limit/sell limit TP/SL parameters so you can bypass the 10 pip limits of the order entry box of the MT4 terminal. It would be a wonderful tool to use in manual scalping situations allowing you a bit more freedom from the mouse and screen

Thanks
the indicator posted on this thread helps to set, SL, Exit, etc. Another sophisticated tool is
Swiss Army EA (Automatic order management)

But, often, the limits are established by the broker not the software. That's means one broker could set a minimum of 10 pips between entry and stop, others could change this limit to 20 or 5, 40 or 1 pips.

Last edited by Linuxser; 03-07-2008 at 03:32 AM.
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
  #107 (permalink)  
Old 03-07-2008, 04:10 AM
Telac's Avatar
Junior Member
 
Join Date: Jan 2008
Posts: 7
Telac is on a distinguished road
Quote:
Originally Posted by Linuxser View Post
the indicator posted on this thread helps to set, SL, Exit, etc. Another sophisticated tool is
Swiss Army EA (Automatic order management)

But, often, the limits are established by the broker not the software. That's means one broker could set a minimum of 10 pips between entry and stop, others could change this limit to 20 or 5, 40 or 1 pips.
Thanks Linuxser - just what I was looking for
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
  #108 (permalink)  
Old 03-13-2008, 12:27 PM
Junior Member
 
Join Date: Jul 2006
Posts: 13
slonmd is on a distinguished road
Help!!!

Please help me!!! i am looking a script that will close all my positions when a certain amount of money is made.
ex. i set the script to close at 1500 USD profit (no matter how many is in + or hoe many is in-)
i have the following open orders.
1 buy with 1000 USD profit
1 buy with 1000 usd profit
1 buy with -500 USd loss
Total 2000-500=1500 so the script will colse all positions because the target of 1500 USD is reached.
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
  #109 (permalink)  
Old 03-13-2008, 11:09 PM
Senior Member
 
Join Date: Jul 2007
Posts: 148
roodstaart is on a distinguished road
Open two positions

hi,

I hope someone can help.
I need a script, that opens two positions at the same time.
If possible a stoploss must be placed for both positions and a TPtarget for one position.

So is has to be one script this way for sell and one for buy. I looked everywhere, but no such script to find. I managed to create a script for two selling but cannot get the rest done.
In advance: thank you so much
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
  #110 (permalink)  
Old 03-14-2008, 03:13 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,410
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by slonmd View Post
Please help me!!! i am looking a script that will close all my positions when a certain amount of money is made.
ex. i set the script to close at 1500 USD profit (no matter how many is in + or hoe many is in-)
i have the following open orders.
1 buy with 1000 USD profit
1 buy with 1000 usd profit
1 buy with -500 USd loss
Total 2000-500=1500 so the script will colse all positions because the target of 1500 USD is reached.
Hello,

Maybe this thread could help: does anyone have an expert that closes all trades based on equity gain or loss?
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: 2 (1 members and 1 guests)
usopjidin
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 06:41 AM.



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