Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > General Discussion


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 Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2006, 09:06 AM
Member
 
Join Date: Mar 2006
Posts: 77
iliaazshareef is on a distinguished road
how to set double orders

Hi All,
I am trying to add this to the EA below , Can anyone please help me do this?

example:
AT the Gloden Cross I want to open an instant order let's say open buy order with a stop loss of 40 pips.
At the same time I want to open a sellstop order at 20pips below the 1st order with a take profit of the 2nd order at 40pips .

1st order open buy =1.2550, stoploss= 1.2510, takeprofit = 1.2650

2nd order sellstop = 1.2530, stoploss = 1.2560, takeprofit = 1..2480

thankyou,
Attached Files
File Type: mq4 Double orders[1].mq4 (4.4 KB, 18 views)

Last edited by iliaazshareef; 06-29-2006 at 09:15 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-29-2006, 11:12 PM
Member
 
Join Date: Mar 2006
Posts: 77
iliaazshareef is on a distinguished road
I tried manually with the setup and seems to work very well. The idea is to capture the signals which become wrong and either profit from wronf signals or incur minimal loss. On the other hand the good signals will fetch handsome profits. Manual trades will miss some very good moves.
some one can help out . i have a good setup which i will post later.
thx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-30-2006, 12:16 AM
phoenix's Avatar
Senior Member
 
Join Date: May 2006
Posts: 287
phoenix is on a distinguished road
set your ea to allow more than one order per pair at a time

then

ticket1=ordersend(...OP_BUY.................);
ticket2=ordersend(...OP_SELLSTOP.........);

that's it....i use to do this it works
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-30-2006, 01:17 AM
Member
 
Join Date: Mar 2006
Posts: 77
iliaazshareef is on a distinguished road
Quote:
Originally Posted by phoenix
set your ea to allow more than one order per pair at a time

then

ticket1=ordersend(...OP_BUY.................);
ticket2=ordersend(...OP_SELLSTOP.........);

that's it....i use to do this it works


thank you Phoenix. will try .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-30-2006, 08:08 AM
Member
 
Join Date: Mar 2006
Posts: 77
iliaazshareef is on a distinguished road
Hi, I have made changes as per phoenix but it does not open 2 orders together, please check it out and diagnose the problem.
Attached Files
File Type: mq4 5-13 hi-lo.mq4 (6.5 KB, 15 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I check for a double top or double bottom iscuba11 Metatrader 4 4 04-25-2008 08:19 AM
double exponencial greenmouse General Discussion 8 06-13-2007 10:51 PM
modify orders and close pending orders bkgridley Questions 8 05-23-2007 09:49 PM
Double woodies CCI indicator shiningstar Indicators - Metatrader 4 5 11-01-2006 09:21 PM
Double CCI crossover Thruline Indicators - Metatrader 4 1 12-14-2005 08:22 AM


All times are GMT. The time now is 03:57 AM.



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