Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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 05-10-2006, 03:43 PM
huhenyo's Avatar
huhenyo huhenyo is offline
Senior Member
 
Join Date: Mar 2006
Posts: 112
huhenyo is on a distinguished road
Delaying trades

Hi,
I really need some help making this EA so that it is delay in closing the trade for at least 3 minutes. Could someone please help me out? I need it to open the trade like it normally does, but then I need it to not close the trade unless it has been at least 3 min. Could someone please tell me how to do that? Thanks.
Attached Files
File Type: mq4 SuperFXAntmod.mq4 (4.0 KB, 14 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2006, 03:46 PM
huhenyo's Avatar
huhenyo huhenyo is offline
Senior Member
 
Join Date: Mar 2006
Posts: 112
huhenyo is on a distinguished road
orderopentime()

I also have a question about how to add minutes to something like OrderOpenTime(). If I wanted to say if((OrderOpenTime()+3min)>CurTime()) how would I add those 3 minutes. How do I make it the same formate as time and in the minute format so that it will add to the OrderOpenTime()?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
sam trades lorix_ Expert Advisors - Metatrader 4 19 04-25-2007 03:10 PM
Delaying trades huhenyo Expert Advisors - Metatrader 4 1 05-17-2006 08:17 AM
Multiple trades per bar? Treponema Questions 8 04-07-2006 07:29 AM
All EA TRADES disappeared mj10 General Discussion 5 01-30-2006 10:06 AM


All times are GMT. The time now is 02:40 AM.