How not to open an order if you already have an order in the vicinity?
  #1 (permalink)  
Old 01-09-2008, 02:05 AM
Freshman
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
JFonseca is on a distinguished road
Default How not to open an order if you already have an order in the vicinity?

Hi,

Iīm trying to learn MQL4 and I canīt figure out how to avoid buying if you already an open buy order less than 25 pips away, for both sides, or open a sell order if you have another sell order less than 25 pips away.

Can anyone help me to code this?

Thanks,

J Fonseca
Reply With Quote
  #2 (permalink)  
Old 01-13-2008, 10:09 PM
Freshman
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
JFonseca is on a distinguished road
Default

Hi,

I already found a way of doing it.

J Fonseca
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Order Script on MetaTrader 4 frankmarian System Coding 0 12-26-2007 08:36 PM
Trailing pending order fx_the_lion Tools / Utilities 1 11-06-2007 08:16 AM
Multi- Trendline Order trustdoc7 Indicators 0 04-10-2007 07:26 AM
Order place EA required pgtips Indicators 2 04-02-2007 12:12 PM
Need Order script w/ built in SL wadeboxjr MetaTrader and ZeroCode 0 03-05-2007 04:45 PM


All times are GMT. The time now is 06:36 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now