No delay feature. You must WAIT until the specific time and THEN OrderSend()
If it is a "must have" problem: u can operate with infinity loop in script
extern string time = "2011.06.29 6:40"; //in script int start() { while (TimeCurrent() <= StrToTime(time)) Sleep(1000); OrderSend(Symbol(),OP_BUYSTOP,0.01,1.70,0,0,0); return(0); }
or make a specific ea
extern string time = "2011.06.29 6:40"; //in ea int start() { if (TimeCurrent() >= StrToTime(time)) OrderSend(Symbol(),OP_BUYSTOP,0.01,1.70,0,0,0); return(0); }
The above with the while loop will not work, you MUST RefreshRates() after the sleep
Both will not work (no price in the orderSend)
OrderSend method is a sample just a "dummy" its working iam using something similar...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
If anyone has a suggestion, it would be greatly appreciated. Thanks in advance.