Y yhjia Newbie Messages 4 Likes 0 Sep 23, 2008 #1 Please help me figure out how to hold without trade until 30 minutes after open a position in mql4. Thanks very much.
Please help me figure out how to hold without trade until 30 minutes after open a position in mql4. Thanks very much.
kriss Junior member Messages 42 Likes 2 Sep 23, 2008 #2 Hi, 1 open position 2 save current time 3 IF (currentTime - savedTime >= 30 * 60) THEN 30 minutes passed Regards, Kriss Attachments timewait.mq4 1.5 KB · Views: 419 Last edited: Sep 23, 2008
Hi, 1 open position 2 save current time 3 IF (currentTime - savedTime >= 30 * 60) THEN 30 minutes passed Regards, Kriss
Y yhjia Newbie Messages 4 Likes 0 Sep 24, 2008 #3 Hi Kriss, Thank you very much for the kindly help. That's exactly what I wanted. Best Regards, Yhjia